MySQL Forums
Forum List  »  InnoDB

Re: How to track page splits
Posted by: Dan Hermann
Date: September 29, 2016 08:14AM

Peter Brawley Wrote:
-------------------------------------------------------
> Then nothing to do with "page splits".
>
> If you're counting on auto_increment to provide
> monotonically incrementing values, forget it.
> Auto_increment doesn't, can't do that. If you need
> monotonic sequentiality, code it.

I was looking for monotonically increasing keys, not sequential keys and auto_increment can do the former.

In either case, I think I found what I was looking for with the index_page_splits metric from INFORMATION_SCHEMA.INNODB_METRICS. In the tests I ran, there were ~40% more page splits on a table with an integer PK when inserts were random rather than ordered.

Options: ReplyQuote


Subject
Views
Written By
Posted
1580
September 21, 2016 07:50AM
942
September 21, 2016 10:46AM
875
September 21, 2016 10:53AM
845
September 25, 2016 10:44AM
Re: How to track page splits
881
September 29, 2016 08:14AM
785
September 29, 2016 11:17AM
838
October 02, 2016 12:53PM


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.