Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MySQL (Innodb vs MyISAM)
#1
Recently I was having severe mysql problems with my biggest forum. I would have constant crashes and I tried just about everything.

Eventually I tried to alter tables from myisam to innodb and with a few minor adjustments my 1.8gb database was actually consuming 1/10th of it's previous resources. Where I was nearly about to get a new server now I have room to double or even triple in database size without a problem.

The secret why innodb was so much more efficient was how it handles table locks over mysiam. The method used by myisam to lock tables is to lock the entire table on every read/write. Innodb does row-level locking which means only the effected row is locked.

For tables that are constantly accessed that get locked very often Innodb is incredibly efficient. One important note is that innodb does take more overheard and ram but for large databases the offset could be a huge difference to your server resources.

Here is a blog post I made about my adjustments: Innodb Vs MyISAM
Superman I am here to rescue you.
This is Support Forums not Support PMs.  Do not PM me for support unless it's private and site related.
Reply


Messages In This Thread
MySQL (Innodb vs MyISAM) - by Omniscient - 01-16-2010, 06:30 PM
RE: MySQL (Innodb vs MyISAM) - by Gaijin - 01-16-2010, 06:38 PM
RE: MySQL (Innodb vs MyISAM) - by Omniscient - 01-16-2010, 06:45 PM
RE: MySQL (Innodb vs MyISAM) - by Gaijin - 01-16-2010, 08:37 PM
RE: MySQL (Innodb vs MyISAM) - by Cyandelta - 05-05-2010, 10:25 AM
RE: MySQL (Innodb vs MyISAM) - by alfonzo1955 - 05-24-2010, 05:10 PM
RE: MySQL (Innodb vs MyISAM) - by Camgaertner - 05-24-2010, 05:47 PM
RE: MySQL (Innodb vs MyISAM) - by Omniscient - 05-24-2010, 06:12 PM
RE: MySQL (Innodb vs MyISAM) - by Camgaertner - 05-24-2010, 06:15 PM
RE: MySQL (Innodb vs MyISAM) - by Omniscient - 05-24-2010, 06:19 PM
RE: MySQL (Innodb vs MyISAM) - by Camgaertner - 05-24-2010, 06:55 PM
RE: MySQL (Innodb vs MyISAM) - by fabay - 08-23-2010, 01:56 PM
RE: MySQL (Innodb vs MyISAM) - by Omniscient - 08-23-2010, 03:43 PM
RE: MySQL (Innodb vs MyISAM) - by Splodge0007 - 03-24-2011, 04:28 AM
RE: MySQL (Innodb vs MyISAM) - by developer99 - 07-22-2011, 03:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  vb6.0 + mysql Anurag.91 1 1,677 09-08-2012, 04:19 PM
Last Post: spesificrelax
  Creating and inserting data into a PHP and MySQL Database Peter L 9 4,130 03-24-2012, 10:49 AM
Last Post: Haxalot
  VB.NET MySql , Help please booterphhp 2 1,718 03-19-2012, 11:13 AM
Last Post: RainbowDashFTW
  [TUT] Include mySQL into php. MyNameIs940 48 23,339 01-14-2012, 04:45 PM
Last Post: Strafeness
  MySQL question ImFocuzz 8 2,777 07-17-2011, 06:57 PM
Last Post: Pedo bear

Forum Jump:


Users browsing this thread: 2 Guest(s)