Why both MySQL and PostgreSQL?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bcolliver
Posts: 3
Joined: Tue Apr 02, 2013 2:51 pm

Why both MySQL and PostgreSQL?

Post by bcolliver »

Can anyone explain, in a nutshell, why NagiosXI uses both MySQL and PostgreSQL? It seems like it would be a lot easier to use a single database backend.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Why both MySQL and PostgreSQL?

Post by abrist »

MySQL stores the core config data (nagiosql) and the historical data (nagios) and is retained for ease of compatibility with ndo and nagiosql. The postgres nagiosxi database is for XI specific settings and data, and is more optimized in postgres.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
stevkato
Posts: 1
Joined: Thu Jun 06, 2013 12:38 pm

Re: Why both MySQL and PostgreSQL?

Post by stevkato »

Is it possible to just use MySQL for both?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Why both MySQL and PostgreSQL?

Post by lmiltchev »

Even if it were possible, it wouldn't be supported.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked