Link to home
Start Free TrialLog in
Avatar of ee-itpro
ee-itpro

asked on

what's the best MySql Engine for my database?

Please refer to the link(question) below  and then please advice on what would be the best storage engine for this database  keeping in Mind the Performance, Load , Db Integrity(if needed since it's designed on MyISAM engine currently and hence no Db integrity) and whatever else there is to consider for such a site.


I know specific database issues/problems can only be handled only when they occur in reality, but at least i want to make a start in  the right direction.

https://www.experts-exchange.com/questions/27290657/ADVICE-NEEDED-FROM-PROEVEN-DATABASE-AND-HIGH-TRAFFIC-SITE-EXPERTS-ONLY.html



SOLUTION
Avatar of oleggold
oleggold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ee-itpro
ee-itpro

ASKER

That article is quite old... since then MySql version 5 has been released and there are plenty more storage engines now than at that point of time.
Also, I do have a bit of understanding  about that since i read up on this before asking this question...

I am also interested to know how would you classify a classifieds site - a frequent updates requirement (case for Innodb) or not so frequently updated but many reads(case for MyISAM)


And as i said before there have been a number of changes since that time and plenty more storage engines... so it might be possible there are other choices than InnoDb as well.
ASKER CERTIFIED SOLUTION
Avatar of Kevin Cross
Kevin Cross
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Mwvisa1 for answering  both questions.   I was just reading up on Mysql 5.5 and innodb being the default engine for Mysql from this version onwards.


I guess apart from Innodb and MyIsam there isn't much choice actually  ,  since all other storage engines are for special cases.


If possible, can you point me to some resources, blogs, personal experiences of teams/projects etc that details the performance aspects after they migrated to Mysql 5.5  with Innodb as default storage engine.


Many Thanks for all the help.
Here is one perspective:
http://www.ovaistariq.net/460/why-do-i-recommend-switching-over-from-myisam-to-innodb/

Author upgraded the database hosting the blog containing entry above and then wrote these:
http://www.ovaistariq.net/490/a-step-by-step-guide-to-upgrading-to-mysql-5-5/
http://www.ovaistariq.net/496/tuning-innodb-configuration/

My experiences with older versions of MySQL were drastically different scenarios and different organization years ago. So my current MySQL installations are fresh installs of 5.x and so are not upgrades or comparable. The one tied to our web site is running Innodb and performs well. Never ran it using MyISAM to give you a comparison.

Hope that helps!
Thanks for those links, however, I was actually looking for some kind of a case study that compared the performance gains after switching over from MYISAM to InnoDb. I guess i'll do a bit of search or ask another question here if someone can point me to any resources.

I appreciate all the help. Thank You.
The author of the last blog I sent you too said he was doing such a case study. I would check again there or contact author. As I said, my comparisons are not direct. When I used MyISAM I was logging millions of records in a short period of time and constantly had to fight with crashes and database corruption. MyISAM is fast but transactional integrity can be compromised under high stress.

InnoDB has been very reliable for me in recent years, but different companies, different load, different purposes of the data. Therefore, I did not want to present that as a valid case study as too many variables. The key is if your site is highly transaction-based, then the row-level locking of InnoDB may end up making its performance more efficient and fast despite InnoDB's relative speed otherwise to MyISAM.

Good luck!

Best regards,
Kevin
Thank You for providing a personal perspective ... I understand InnoDb is better than MyIsam in most cases but just just looking for a case study to substantiate the belief or the worthiness of the process of migration    :)

And yes the blog's author did mention that he would report his results about the migration but i did a search on the blog but couldn't find any posts detailing that.

Please let me know if you come across such a post.

Thank You once again.