May 24, 2012

Post: Benchmarking single-row insert performance on Amazon EC2

… = 4 innodb_buffer_pool_instances = 4 innodb_adaptive_flushing = 1 innodb_adaptive_flushing_method = estimate innodb_flush_log_at_trx_commit = 2 innodb_flush_method = O_DIRECT innodb_max_dirty_pages_pct = 50 innodb_io…

Comment: Benchmarking single-row insert performance on Amazon EC2

… not test with innodb_flush_log_at_trx_commit=1. I would also not recommend running on EBS with innodb_flush_log_at_trx…

Comment: Benchmarking single-row insert performance on Amazon EC2

This benchmark doesn’t test the IO performance of EBS though as you’re not flushing to disks on each commit. What numbers do you get when you set innodb_flush_log_at_trx_commit to 1?

Comment: MySQL on Amazon RDS part 1: insert performance

I see no improvement from RDS with innodb_flush_log_at_trx_commit set to 2 or 0. My benchmarks have the same results, regardless of the setting. Does RDS fools the flush in some way or has the setting disabled somehow?

Comment: Benchmarking single-row insert performance on Amazon EC2

@Time Callaghan, I did not test with innodb_flush_log_at_trx_commit=1 because the durability requirements are not that stringent. And following is how I invoked iiBench: iibench -T $tbl_name -D iiBench -r 200000000 -M 1 -s 1000000 -t 100000 -I 1 -a -S

Comment: Benchmarking single-row insert performance on Amazon EC2

Interesting results, and well presented. Would you mind sharing the command line you used for your iiBench clients? Also, did you run a test with innodb_flush_log_at_trx_commit = 1?

Comment: Benchmarking single-row insert performance on Amazon EC2

… accelerate the rate at which insert buffer pages are flushed to disk (innodb_ibuf_accel_rate) which might be interesting to tweak… big performance difference on insertion rate when increased insert buffer flushing was enabled (using the FB patch, not XtraDB but difference…

Post: How FLUSH TABLES WITH READ LOCK works with Innodb Tables

… | 2359297 | | 10290 | root | localhost | NULL | Query | 317 | Waiting for table flush | flush tables with read lock | 0 | 0 | 1 | | 10291 | root | localhost… | 2359297 | | 10290 | root | localhost | NULL | Query | 681 | Waiting for table flush | flush tables with read lock | 0 | 0 | 1 | | 10291 | root | localhost… gridlock one way or another. If you’re just using Innodb tables and you’re not actively changing users, stored procedures…

Comment: Innodb Performance Optimization Basics

…/mysql/data innodb_buffer_pool_size = 2000M innodb_additional_mem_pool_size = 2M innodb_log_file_size = 65M innodb_log_buffer_size = 8M innodb_flush_log_at_trx_commit = 1 innodb_lock…

Comment: ext4 vs xfs on SSD

Useful results for when we move to SSDs.. Were sync_binlog=1 and innodb_flush_at_trx_commit=1 ?