Hi everyone,
New to this forum. I've been appreciating Percona's work for a couple of months and we do get very impressive performance results using XtraDB on a couple of projects
So good job !
Right now, our problem is that we can't understand a particular behaviour of MySQL engine.
Our project is making lots (>2K/sec) of inserts in a specific table.
The problem is that, when running a pretty big SELECT query on another table, INSERTS on the other table get locked :/
There absolutely no link to our "inserts table" in the SELECT query.
Here is our cnf config :
Quote:
Any idea?
We also noticed very intensive disk usage (compared to MyISAM) on the "inserts" table.
Thanks for your help !
Gaëtan
New to this forum. I've been appreciating Percona's work for a couple of months and we do get very impressive performance results using XtraDB on a couple of projects
So good job !Right now, our problem is that we can't understand a particular behaviour of MySQL engine.
Our project is making lots (>2K/sec) of inserts in a specific table.
The problem is that, when running a pretty big SELECT query on another table, INSERTS on the other table get locked :/
There absolutely no link to our "inserts table" in the SELECT query.
Here is our cnf config :
Quote:
# MySIAM Tuning
max_connections = 1200
table_cache = 8192
open_files_limit = 16384
query_cache_type = 2
query_cache_size = 1024M
query_cache_limit = 8M
key_buffer_size = 2048M
thread_cache_size = 24
long_query_time = 1
max_heap_table_size = 4096M
tmp_table_size = 4096M
join_buffer_size = 3M
max_connect_errors = 100000
innodb_buffer_pool_size = 6G
innodb_data_file_path = ibdata1:10M:autoextend
# Tuning
innodb_file_io_threads = 4
innodb_thread_concurrency = 24
#innodb_flush_log_at_trx_commit = 1
innodb_log_buffer_size = 8M
innodb_log_file_size = 256M
innodb_log_files_in_group = 3
innodb_max_dirty_pages_pct = 90
#innodb_flush_method=O_DIRECT
innodb_file_per_table = 1
# XtraDB
innodb_io_capacity = 1000
innodb_adaptive_checkpoint = 1
innodb_write_io_threads = 24
innodb_read_io_threads = 24
max_connections = 1200
table_cache = 8192
open_files_limit = 16384
query_cache_type = 2
query_cache_size = 1024M
query_cache_limit = 8M
key_buffer_size = 2048M
thread_cache_size = 24
long_query_time = 1
max_heap_table_size = 4096M
tmp_table_size = 4096M
join_buffer_size = 3M
max_connect_errors = 100000
innodb_buffer_pool_size = 6G
innodb_data_file_path = ibdata1:10M:autoextend
# Tuning
innodb_file_io_threads = 4
innodb_thread_concurrency = 24
#innodb_flush_log_at_trx_commit = 1
innodb_log_buffer_size = 8M
innodb_log_file_size = 256M
innodb_log_files_in_group = 3
innodb_max_dirty_pages_pct = 90
#innodb_flush_method=O_DIRECT
innodb_file_per_table = 1
# XtraDB
innodb_io_capacity = 1000
innodb_adaptive_checkpoint = 1
innodb_write_io_threads = 24
innodb_read_io_threads = 24
We also noticed very intensive disk usage (compared to MyISAM) on the "inserts" table.
Thanks for your help !
Gaëtan
Comment