June 19, 2013

Comment: Database problems in MySQL/PHP Applications

…etc/my.cnf to set global options, # mysql-data-dir/my.cnf to set server-specific …setting memory usage too high innodb_buffer_pool_size = 8000M #innodb_additional_mem_pool_size = 80M # Set .._log_file_size to 25 % of buffer pool size innodb_log_file_size = 1000M #innodb_log_buffer_size = 32M #innodb

Post: Replaying database load with Percona Playback

… during the peak time to get valuable information: SET GLOBAL slow_query_log=1; SET GLOBAL long_query_time=0; With long_query_time… benchmark. I’m going to add 1GB of buffer pool and run again the benchmark (innodb_buffer_pool_size=1G). Executed 429467 queries Spent 00:00… the buffer pool. Usually when doing a benchmark is a good idea to read the data first to warm up the buffer pool. This…

Post: Why you should ignore MySQL's key cache hit ratio

…_buffer hit ratio The metrics we’re interested in are all defined in terms of counters you can get from SHOW GLOBAL… the key_buffer_size until, when the buffer is full, Key_reads/Uptime reduces to a number you’re comfortable with. Set key_buffer_size really…? What about InnoDB tuning? You might be wondering, what about InnoDB tuning? What is the best way to choose an innodb_buffer_pool_size setting? This is…

Post: The performance effects of new patches

…of the storage. main common settings innodb_buffer_pool_size = 2048M innodb_thread_concurrency = 0 innodb_max_dirty_pages_pct = 70 innodb_flush_method = O_DIRECT…in this case. split_buf_pool_mutex_fixed_optimistic_safe.patch The patch splits global InnoDB buffer_pool mutex into several and eliminates…

Comment: MySQL on Amazon RDS part 2: Determining Peak Throughput

innodb_additional_mem_pool_size 2097152 innodb_autoextend_increment 8 innodb_autoinc_lock_mode 1 innodb_buffer_pool_size 55050240000 innodb_change_buffering inserts innodb_checksums ON innodb_commit_concurrency 0 innodb

Post: Wanted: Better memory profiling for MySQL

… consumed by Innodb (it is often higher than innodb_buffer_pool_size) substract memory used by other global buffers such as query_cache_size and key_buffer and will… queries currently running is using some of the buffers temporary based on per connection settings ? It also could be memory leak in…

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

… is to note that the InnoDB buffer pool for my 5.6 instance is 128MB – smaller than the size of my DIR data. So… happens: mysql> set global innodb_ft_aux_table=’test/dir_test_innodb‘; mysql> set global innodb_optimize_fulltext_only=1; mysql> select * from information_schema.innodb_ft_config…

Post: Read Buffers, mmap, malloc and MySQL Performance

buffer_size variable affects connection speed. This is not something you would expect right ? me too. Not only global… can tune you malloc settings so more buffers are allocated from the pools rather than mmap….These already can be used for Innodb Buffer Pool and Key Buffer but could be used for other…

Post: Copying InnoDB tables between servers

…xtrabackup: innodb_log_file_size = 92684288 xtrabackup: Starting InnoDB instance for recovery. xtrabackup: Using 8589934592 bytes for buffer pool (set by –use-memory parameter) InnoDB: Log … with 5.1.36. On new server we run set global innodb_expand_import=1; to put XtraDB into extended import …

Post: Troubleshooting MySQL Memory Usage

… use reasonable global buffers, such as innodb_buffer_size, key_buffer_size etc, you…_length) | +——————————-+ | 126984 | +——————————-+ 1 row in set (0.98 sec)… memory allocated 2623331 Buffer pool size 7864319 Buffer pool size, bytes 128849002496 Free buffers 1…