Skip navigation links

MySQL Forums :: Partitioning :: How to handle secondary keys in partitioning?


Advanced Search

Re: How to handle secondary keys in partitioning?
Posted by: John Smith ()
Date: May 06, 2010 10:50PM

Mattias,

Thanks.

One more question:

Does partitioning help concurrent inserts/updates?

I was under the impression that it does. But then I read this:
http://datacharmer.blogspot.com/2010/05/two-quick-performance-tips-with-mysql.html

"Whenever you insert a record, the partitioning engine locks the entire table."

It it is true that MySQL locks the entire partitioned table for inserts, then all writes are being serialized. That'd mean partitioned tables would have much worse insert/update performance than an unpartitioned table which uses row-level instead of table-level locks.

Could you clarify this? Thanks

Options: ReplyQuote


Subject Views Written By Posted
How to handle secondary keys in partitioning? 2418 John Smith 05/04/2010 12:46AM
Re: How to handle secondary keys in partitioning? 1401 Mattias Jonsson 05/04/2010 01:29PM
Re: How to handle secondary keys in partitioning? 1204 John Smith 05/04/2010 04:30PM
Re: How to handle secondary keys in partitioning? 1426 Mattias Jonsson 05/05/2010 02:20AM
Re: How to handle secondary keys in partitioning? 1355 Rick James 05/06/2010 12:04AM
Re: How to handle secondary keys in partitioning? 1537 Mattias Jonsson 05/06/2010 03:23PM
Re: How to handle secondary keys in partitioning? 1182 John Smith 05/06/2010 10:50PM
Re: How to handle secondary keys in partitioning? 1336 Mattias Jonsson 05/07/2010 02:38AM
Re: How to handle secondary keys in partitioning? 1263 John Smith 05/08/2010 05:31PM
Re: How to handle secondary keys in partitioning? 1374 Mattias Jonsson 05/09/2010 04:37AM
Re: How to handle secondary keys in partitioning? 1253 John Smith 05/09/2010 12:41PM
Re: How to handle secondary keys in partitioning? 1167 Mattias Jonsson 05/09/2010 01:23PM
Re: How to handle secondary keys in partitioning? 1276 Mattias Jonsson 05/12/2010 05:29AM
Re: How to handle secondary keys in partitioning? 1707 John Smith 05/06/2010 12:34AM


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.