MySQL Forums
Forum List  »  InnoDB

Re: INSERT/UPDATE within transactions (autocommit=0)
Posted by: Rick James
Date: July 28, 2010 12:08AM

A bad combination:
   `id` bigint(20) unsigned NOT NULL auto_increment,
   PRIMARY KEY (`id`,`created`),
I worry that it will cause trouble with id not being unique.

How much RAM do you have? 64-bit MySQL?

A little speed could be had by turning this off:
innodb doublewrite

FOREIGN KEY has overhead -- a check into the other table.

Anything in the slowlog?

How many rows in the tables?

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: INSERT/UPDATE within transactions (autocommit=0)
1703
July 28, 2010 12:08AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.