Recommend InnoDB tables for performance

Kiev1.org - March 11, 2008 - 22:10
Project:Drupal
Version:7.x-dev
Component:mysql database
Category:feature request
Priority:normal
Assigned:Kiev1.org
Status:active
Description

tables sessions, node_counter and cache and all must be not MYISAM - tebles must be INNODB, otherwise the loaded site will be slow

#1

Damien Tournoud - March 13, 2008 - 15:02
Title:tables must be not MYISAM - tebles must be INNODB» Recommend InnoDB tables for performance
Category:bug report» feature request
Priority:critical» normal

This is not a bug, reassigning as a feature request.

#2

ScoutBaker - March 13, 2008 - 16:41
Version:5.7» 7.x-dev

And all feature requests go against current dev.

#3

irstudio - May 2, 2008 - 17:51

just tested
innodb was slower ... a LOT slower for sessions
no difference for other tables

#4

Kiev1.org - May 4, 2008 - 19:46

myisam lock table in the moment of record in her values - that a base, in not dependence on power of server, can serve in one moment to time only read one node from one user.

#5

jdev - May 8, 2008 - 09:12

Innodb provide transaction support, which very important for enterprise cms.
We can also adopt mix of innodb and myisam for performance.
--
Sharique

#6

rantenki - June 24, 2008 - 00:39

Sessions can sometimes be broken by InnoDB usage, depending on configuration. In particular, there is a race condition in the current (6.1) upload module where in some cases the page load for the upload occurs BEFORE the session update completes with a list of uploaded files. When this occurs, the upload fails, sometimes with unusual results. If InnoDB is set, we should have a start transaction / commit wrapper around session updates.

 
 

Drupal is a registered trademark of Dries Buytaert.