May 24, 2012

Post: Benchmarking single-row insert performance on Amazon EC2

… the buffer pool is sized at 55G and I am using 4 buffer pool instances to reduce the contention caused by buffer pool… avg. insert rate of ~25k INSERTs Per Second, while with the table purchases_index, the avg. insert rate reduced to ~9k INSERTs Per Second… to ~12.5k INSERTs per second, with noticeable spikes after every 100 million rows inserted. I noticed that the insert rate drop was…

Comment: Benchmarking single-row insert performance on Amazon EC2

Examining the insert buffer during the insertions on purchases_index should be interesting. You are seeing periodic … over at Facebook has seen big performance difference on insertion rate when increased insert buffer flushing was enabled (using the FB patch, not…

Comment: Benchmarking single-row insert performance on Amazon EC2

Partitioning probably reduces the stress on the insert buffer. Does XtraDB/Percona Server have an option to use more IO for insert buffer merges when the ibuf gets too big?

Comment: Benchmarking single-row insert performance on Amazon EC2

Mark, Probably what you are referring to is provided by the configuration option “innodb_ibuf_accel_rate” available in Percona (as mentioned by Justin). Increasing/decreasing the value of innodb_ibuf_accel_rate, you will increase/decrease the insert buffer activity.

Comment: Benchmarking single-row insert performance on Amazon EC2

… auto-incremented, and so partitioning on transaction-id makes the insertions easy. Basically you fill in 100 million rows, then start… are inserting on an auto-increment key, I would expect Inno to fill the B-tree pretty efficiently. With a 55GB buffer…’s measurements (http://www.tokutek.com/2012/01/1-billion-insertions-%E2%80%93-the-wait-is-over/) on a newer…

Comment: InnoDB thread concurrency

insert buffer thread .just like follows: ——– FILE I/O ——– I/O thread 0 (thread id: 18578) state: waiting for completed aio requests (insert buffer

Comment: High Rate insertion with MySQL and Innodb

… so then child record is inserted, otherwise it first inserts parent and then child, after setting innodb_buffer_pool_instances to 8, I…

Comment: Predicting how long data load would take

… mod(partition_key, ), so we found a good ordering is insert into target-tab … select from source_tab … order by mod…, load in PK order. This will result in very nice buffer pool behavior. We loaded a 1.5 billion row table…

Post: Some little known facts about Innodb Insert Buffer

…, for example to understand when insert buffer merge will be completed. The “inserts” is number of inserts to insert buffer since start and number of merged… in insert buffer but this would not be correct – insert buffer may not be empty at the start. So you can only tell insert buffer has…

Post: Choosing innodb_buffer_pool_size

… only contain data pages – it also contain adaptive hash indexes, insert buffer, locks which also take some time. Though it is not… MySQL needs – these include MySQL buffers – query cache, key_buffer, mysql threads, temporary tables, per thread sort buffer which can be allocated. There… MySQL to use Large Pages for allocating Innodb Buffer Pool and few other buffers, which may have other performance benefits as well…