MySQL Forums
Forum List  »  InnoDB

Locking problem. Auto-inc wait
Posted by: Adrian Chapela Cordeiro
Date: October 04, 2007 10:51AM

Hello,

I have a problem on an InnoDB table. This table has a size of 107 GB (this is a problem to do any change on it).

The table is:
CREATE TABLE `posiciones_tbl` (
`posicion_id` bigint(20) unsigned NOT NULL auto_increment,
`rx_id` int(11) NOT NULL default '0',
`vehiculo_id` int(11) NOT NULL default '0',
`bloque_posiciones_id` int(11) NOT NULL default '0',
`fecha` datetime NOT NULL default '1900-01-01 00:00:00',
etc....... (More fields without importance)
PRIMARY KEY (`posicion_id`),
KEY `bloque_pos_idDESC` (`bloque_posiciones_id`),
KEY `vehiculo_id__fecha__posicion_id__IDX` (`vehiculo_id`,`fecha`,`posicion_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1

My problem is to do inserts in the table. I have five intensive applications doing inserts. They are locking themselves and they are waiting for an auto-increment id.

Options: ReplyQuote


Subject
Views
Written By
Posted
Locking problem. Auto-inc wait
2042
October 04, 2007 10:51AM


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.