Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

what's the best MySql  Engine for my database?

Posted on 2011-09-04
9
Medium Priority
?
408 Views
Last Modified: 2012-05-12
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.

http://www.experts-exchange.com/Database/MySQL/Q_27290657.html



0
Comment
Question by:ee-itpro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
9 Comments
 
LVL 21

Assisted Solution

by:oleggold
oleggold earned 200 total points
ID: 36480151
This analysis gives You good idea:
http://forums.mysql.com/read.php?22,34479,34709
0
 

Author Comment

by:ee-itpro
ID: 36480198
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.
0
 

Author Comment

by:ee-itpro
ID: 36480220
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.
0
Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

 
LVL 60

Accepted Solution

by:
Kevin Cross earned 1800 total points
ID: 36480699
There are other storage engines, but I would go with INNODB for a highly transactional site. It has a lower storage limit compared to MyISAM; however, if you need more than 64TB, you are probably using other techniques like archiving, sharding, etc anyway. INNODB has row-level locking versus table-locking of some of the other engines. Add in indexing benefits, I think that is your best bet.

Reference: http://dev.mysql.com/doc/refman/5.5/en/innodb-storage-engine.html
0
 

Author Comment

by:ee-itpro
ID: 36490173
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.
0
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 36490307
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!
0
 

Author Comment

by:ee-itpro
ID: 36495765
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.
0
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 36496122
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
0
 

Author Comment

by:ee-itpro
ID: 36496248
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.
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes has been used since a very long time as an e-mail client and is very popular because of it's unmatched security. In this article we are going to learn about  RRV Bucket corruption and understand various methods to Fix "RRV Bucket Corrupt…
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question