June 20, 2013

Post: Benchmarking Percona Server TokuDB vs InnoDB

… workload produces SEQUENTIAL inserts into Primary Key, that this is quite suitable for InnoDB, and in it we have random inserts into SECONDARY… #####plugin options innodb_read_io_threads = 16 innodb_write_io_threads = 4 innodb_io_capacity = 4000 innodb_use_native_aio=0 #not innodb options (fixed… = 8M read_buffer_size = 1M read_rnd_buffer_size = 4M bulk_insert_buffer_size = 8M myisam_sort_buffer_size = 8M myisam_max…

Post: Virident vCache vs. FlashCache: Part 2

…: #####fixed innodb options innodb_file_format = barracuda innodb_buffer_pool_size = 4G innodb_file_per_table = true innodb_data_file_path = ibdata1:100M innodb_flush_method… = 8M read_buffer_size = 1M read_rnd_buffer_size = 4M bulk_insert_buffer_size = 8M myisam_sort_buffer_size = 8M myisam_max…

Post: High Rate insertion with MySQL and Innodb

… and we could get over 200K of inserts/sec. This time I worked with Innodb tables… it was a different system with… your select queries dramatically. The inserts in this case of course are bulk inserts… using single value inserts you would get much lower numbers… a great performance (the competing way is to have prepared bulk insert statements). We need to try new Percona Server 5.5…

Post: InnoDB Full-text Search in MySQL 5.6 (part 1)

… engine is MyISAM rather than InnoDB. Loading the data was done via a simple Perl script, inserting one row at a time… discusses improving bulk insert performance. At the very bottom, the page claims that you can speed up bulk loading into an InnoDB FT index….00 sec) mysql> insert into dir_test_innodb (full_name, details) SELECT reverse(full_name), details FROM dir_test_innodb WHERE id < 500000…

Comment: When is it a time to upgrade memory ?

… default-storage-engine=InnoDB bulk_insert_buffer_size=8M # Innobd Tuning #innodb_force_recovery=2 innodb_thread_concurrency=2 innodb_file_per_table=1 innodb_doublewrite=0… buffer pool size innodb_log_group_home_dir = /mnt/log_mysql innodb_log_file_size=1G innodb_log_buffer_size=64M innodb_flush_log…

Post: Innodb locking and Foreign Keys

… a quick check so could be missing some details. All Innodb Foreign Key related operations happen on data modification. So for… in CHILD table will be performed with row lock performed. Innodb is smart enough to detect which updates are affecting foreign… have users table and messages table. If you would use bulk inserts (for performance) to messages table you will have significant number…

Post: MySQL Server Variables - SQL layer or Storage Engine specific.

bulk inserts (multiple value inserts). Really helps if you have really bulk inserts 100-1000+ values per single insert statement. concurrent_insert – Enables concurrent insert

Post: How many partitions can you have ?

…(10) unsigned NOT NULL, PRIMARY KEY (`id`), KEY(c) ) ENGINE=InnoDB PARTITION BY RANGE(id) ( PARTITION p100000 VALUES LESS THAN(100001… UPDATE path on INSERT OF DUPLICATE KEY UPDATE (adding ON DUPLICATE KEY UPDATE set c=c+1 to my bulk inserts) the regression became even larger. 1 partition insert took 50 seconds to complete, 10…

Comment: Linux schedulers in tpcc like benchmark

… written log files to the more write-costly spreaded/random innodb data file. Whatever, I stand corrected now, thank you :) You… interface stuck because some bulk thing does fill the BBU cache, the I/O queue and the innodb log file in the… device layout) or is it more of a “plain sequential bulk insert/update on a very few tables” thing? Seekwatcher (http://oss…

Post: Ultimate MySQL variable and status reference list

….commanual bulk_insert_buffer_…innodb_change_bufferingblogpercona.commanual innodb_checksumsblogpercona.commanual innodb_commit_concurrencyblogpercona.commanual innodb_concurrency_ticketsblogpercona.commanual innodb_data_file_pathblogpercona.commanual Innodb_data_fsyncsblogpercona.commanual innodb