easyengine icon indicating copy to clipboard operation
easyengine copied to clipboard

[Poll] Percona v/s MariaDB

Open rahul286 opened this issue 12 years ago • 17 comments

Update (25 Dec 2014)

@rtCamp/easyengine Lets do this in a slight different way.

Fresh Setup

  • [x] Modify install script so it installs MariaDB instead of Percona

Existing Servers

  • [x] Create a new command ee stack migrate. Then add option --mariadb.
  • [x] When ee stack migrate --mariadb is run, first throw error if remote mysql is used. Exit if, mariadb already installed. Then display a message like below:

    If your database size is big, migration may take some time. During migration non nginx-cached parts of your site may remain down Type "mariadb" to continue? ___

If user types mariadb then only script will proceed. This will prevent accidental enter, y, yes type of answers.

Update (16 Dec 2014)

MariaDB is finalized. We are leaving poll open for more suggestions and feedback.

  • [x] Check if Performance Schema is OFF by default in MariaDB. - https://github.com/rtCamp/easyengine/issues/326
  • [x] Percona to MariaDB upgrade script. I think Percona can handle this

We started with MySQL.

We switched to Percona sometime back.

Some users like MariaDB more.

We did not use MariaDB because one we migrate to MairaDB 10, I think there is no way to go back to MySQL or Percona.

But Percona has issues and there are bugs which affected us recently. Like - https://bugs.launchpad.net/percona-server/+bug/1390695

So we just wish to how EasyEngine users compare Percona v/s MariaDB?

rahul286 avatar Nov 21 '14 11:11 rahul286

Hmm, just to my opignon: this is an (almost) impossible choice while they're kind of forks... It relay on which one of them will be still support in few years?

Mermouy avatar Nov 21 '14 20:11 Mermouy

I switching to MariaDB 10. Using XtraDB by default, I think it' the better choice right now.

csfalcao avatar Nov 21 '14 21:11 csfalcao

I vote for mySQL first, but if that's completely off the menu, then MariaDB.

ghost avatar Nov 22 '14 05:11 ghost

@rippler MySQL (by Oracle) is very slow to develop. Their launchpad repos are also not uptodate. In fact, this was reason EasyEngine started with MySQL 5.5 even though MySQL 5.6 was there.

May I know why do you prefer MySQL over MariaDB?

rahul286 avatar Nov 22 '14 09:11 rahul286

@Mermouy Percona and MariaDB has different models. Percona has proper business model to support its offering. At the same time MariaDB is used by Google and it seems Google will support it for quite long.

I heard that MariaDB is progressing faster and as they are adding new features, going back to MySQL won't be possible. It seems MariaDB wish to race ahead without waiting for MySQL to catch up.

All my points are observations. I am yet to explore MariaDB so please correct if I am wrong anywhere.

rahul286 avatar Nov 22 '14 09:11 rahul286

@rahul286 my main reason is Oracle's version is available pretty much everywhere, so it's more convenient. On the other hand Percona DB is not available for Raspbian. Admittedly it's a tiny market and I don't mind to install mysql-server 5.5 by myself, but my issue is if ee ends up having incompatible commands to interface with SQL, then I'll have a bigger problem, so as long as I can plugin ee to Oracle's mysql-server 5.5, I don't mind that Percona's version is used. If on the other hand ee code can be modularized to allow if-then-else type of accommodation for Raspbian, then it'd be easier for us who run odd platforms to create pull requests or even stand-alone patches to deal with SQL problems.

ghost avatar Nov 22 '14 15:11 ghost

@rippler I guess Raspbian issue is isloated and can be handled via - http://blog.pi3g.com/2014/07/easy-mariadb-installation/

I cannot say more about next major release of EE, but we are considering some more options around database.

rahul286 avatar Nov 22 '14 15:11 rahul286

I vote for MariaDB.

csfalcao avatar Nov 25 '14 22:11 csfalcao

My vote would be on MariaDB 10.x as well. I've been tinkering with 10.1 and I've not had an issues, though I'm not using it on a high-traffic site at the moment (still in development). That said, many are moving to MariaDB, including other installers (I won't mention them here, though a few are specific to CentOS) due to their development and overall stability. I've tinkered with Percona, but not enough to make a direct comparison. When I moved from MySQL, MariaDB was the first logical choice as that's what I found to be common and widely-accepted.

ghost avatar Nov 26 '14 12:11 ghost

With Google support, MariaDb is my vote On Wed, Nov 26, 2014 at 7:34 PM Jonathan [email protected] wrote:

My vote would be on MariaDB 10.x as well. I've been tinkering with 10.1 and I've not had an issues, though I'm not using it on a high-traffic site at the moment (still in development). That said, many are moving to MariaDB, including other installers (I won't mention them here, though a few are specific to CentOS) due to their development and overall stability. I've tinkered with Percona, but not enough to make a direct comparison. When I moved from MySQL, MariaDB was the first logical choice as that's what I found to be common and widely-accepted.

— Reply to this email directly or view it on GitHub https://github.com/rtCamp/easyengine/issues/362#issuecomment-64598026.

joeguilmette avatar Nov 27 '14 00:11 joeguilmette

hmm, for me it's more and more difficult to choose: For sure, under google's directoin, MariaDB is going to be one of the most developed, but reading "going back to MySQL won't be possible" make me think and what next, if, anytime later google change their mind and don't use it anymore? Or worst, close the sources? (I bet on "forks" again and again...) Any way, I think it's too early to choose from and until we don't have better arguments... That's a good point for next easyengine devlopments: Maybe trying to use a lib dealing with as many DBs as possible? (I know not a so great news but just to point it... :)

Mermouy avatar Nov 28 '14 05:11 Mermouy

@Mermouy Multiple database support won't be added. Atleast not anytime soon. It will go against "Easy" nature and will complicate optimization and documentation.

We will be moving to MariaDB. I hope it will remain active for next 5 years which is long enough to make a decision for now IMHO.

rahul286 avatar Nov 28 '14 06:11 rahul286

Awesome! Thanks guys! On Fri, Nov 28, 2014 at 1:26 PM Rahul Bansal [email protected] wrote:

@Mermouy https://github.com/Mermouy Multiple database support won't be added. Atleast not anytime soon. It will go against "Easy" nature and will complicate optimization and documentation.

We will be moving to MariaDB. I hope it will remain active for next 5 years which is long enough to make a decision for now IMHO.

— Reply to this email directly or view it on GitHub https://github.com/rtCamp/easyengine/issues/362#issuecomment-64859288.

joeguilmette avatar Nov 29 '14 01:11 joeguilmette

MariaDB :+1:

irazasyed avatar Dec 06 '14 05:12 irazasyed

@rahul286 I also vote for MariaDB. Currently with Percona on low-ram machines the performance_schema is ON causing excessive memory usage.

pnommensen avatar Dec 07 '14 19:12 pnommensen

EDIT

Content moved to main task: https://github.com/rtCamp/easyengine/issues/362#issue-49687378

rahul286 avatar Feb 25 '15 16:02 rahul286

EasyEngine 3.0.5 released with MariaDB support

gau1991 avatar Mar 18 '15 06:03 gau1991