MySQL Forums
Forum List  »  Performance

Re: How to improve performance in a table with 70 million rows
Posted by: Aftab Khan
Date: August 22, 2012 02:16PM

> Whenever you insert a record, the partitioning engine locks the entire table.
>Aftab, he is using InnoDB. So, I think it will _open_ each partition, but not _lock_ each one

Behavior is the same for all storage engines. For INSERT queries, when you insert a row, the partitioning layer opens and locks all partitions, determine which partition should receive the row, and forwards the row to that partition.

Options: ReplyQuote




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.