Seite 1 von 1

Other flavours of mySQL

Verfasst: 02 Dez 2014, 14:45
von shade
Hello,

Can OPSI handle other "flavours" of mySQL ?

We use Percona Server for our 2 other SQL servers and are happy with it, and if it possible I would like to have the OPSI server to also run that version to only have one version. Is this possible with OPSI ?

Regards

Re: Other flavours of mySQL

Verfasst: 03 Dez 2014, 09:36
von dkoch
Its been reported that some people here use MariaDB instead of Mysql which is another fork.
Percona should be fine if they didnt change anything that breaks the compatibility to mysql.

I am also maintaining a postgres backend which is not supported by uib https://github.com/kochd/opsi-postgres but compatible.

Re: Other flavours of mySQL

Verfasst: 08 Dez 2014, 15:12
von n.wenselowski
Hello,
dkoch hat geschrieben:Its been reported that some people here use MariaDB instead of Mysql which is another fork.
Percona should be if they didnt change anything that breaks the compatibility to mysql.

I am also maintaining a postgres backend which is not supported by uib https://github.com/kochd/opsi-postgres but compatible.
Great answer.

Officially we only support MySQL but as long as they are compatible to MySQL you should be fine. One small tripwire could be that we use MySQLdb to connect to the database and your server must work with that too.


With kind regards

Niko

Re: Other flavours of mySQL

Verfasst: 09 Dez 2014, 00:22
von denmarknian
Hi Dkoch, We used your postgres DB and it's working fine. It's just that the server had a high memory utilization after we converted but I think it's Ok we can just upgrade to a higher memory. Do you have suggested hardware requirements for the postgres DB? Thank you.

Re: Other flavours of mySQL

Verfasst: 09 Dez 2014, 09:32
von dkoch
Hi denmarknian,

Is that memory cosumed by a opsi process or by a postgresql process ?

If its opsi and still present after restarting the services and running some time there might be a memory leak.
I know about a memory leak in opsi-package-manager which i have not attend to yet. But that is not related to the postgres backend.
If its postgres that might be because databases usually cache a lot. Also there is a difference between used memory, buffer and cache. Don't know how familiar you are with linux. http://www.linuxatemyram.com/
You can tune postgres and its memory usage a lot. For assistance in that have a look at pgtune and the postgres wiki

Re: Other flavours of mySQL

Verfasst: 09 Dez 2014, 12:07
von denmarknian
Thanks a lot dkoch. I have to check thiat with our administrators. Btw, it usually happened every morning when clients boots up and tred to connect to the server. After all clients boots up then the utilzation goes down.

Re: Other flavours of mySQL

Verfasst: 09 Dez 2014, 14:19
von dkoch
Well that’s meant to be ;)

Re: Other flavours of mySQL

Verfasst: 12 Dez 2014, 21:23
von SisterOfMercy
dkoch hat geschrieben:Its been reported that some people here use MariaDB instead of Mysql which is another fork.
I'm one of them, but am only using it to store certain things, because I don't have a license for the MySQL backend. So, YMMV.
If I'm correct, Red Hat has MariaDB as standard since RHEL7.0

Re: Other flavours of mySQL

Verfasst: 26 Aug 2016, 15:07
von rmtevesjr
Anyone tested postgres or mariadb in 4.0.6?

Re: Other flavours of mySQL

Verfasst: 05 Sep 2016, 13:47
von n.wenselowski
Hi,
rmtevesjr hat geschrieben:Anyone tested postgres or mariadb in 4.0.6?
mariadb works.
Also in 4.0.7.
Until now I haven't seen incompatibility that required special MySQL drivers.


Kind regards

Niko