I am using 4.017 version of mysql, and created a fully independent test table like
CREATE TABLE tickets (
TicketID bigint(20) NOT NULL auto_increment,
TicketNumber int(11) NOT NULL default '0',
DateTimeID datetime NOT NULL default '0000-00-00 00:00:00',
GameID smallint(6) NOT NULL default '0',
CashIn varchar(100) NOT NULL default '',
CashOut varchar(100) NOT NULL default '',
PRIMARY KEY (`TicketID`)
) TYPE=MyISAM;
When It was set to type InnoDB, insert 1000 rows takes nearly 30 seconds! But with MyISAM, only a little more than half second. How could different be that big?
Any help very be greatly appreciated.
CREATE TABLE tickets (
TicketID bigint(20) NOT NULL auto_increment,
TicketNumber int(11) NOT NULL default '0',
DateTimeID datetime NOT NULL default '0000-00-00 00:00:00',
GameID smallint(6) NOT NULL default '0',
CashIn varchar(100) NOT NULL default '',
CashOut varchar(100) NOT NULL default '',
PRIMARY KEY (`TicketID`)
) TYPE=MyISAM;
When It was set to type InnoDB, insert 1000 rows takes nearly 30 seconds! But with MyISAM, only a little more than half second. How could different be that big?
Any help very be greatly appreciated.