June 18, 2013

Comment: MySQL 5.5 and MySQL 5.6 default variable values differences

….5 but tuned a few variables up with confidence since 5.6 sets them higher by default. Another minor correction: innodb_auto_extend_increment should be innodb_autoextend_increment (no space in autoextend) I made the mistake of copying the directive and using it in my.cnf which…

Comment: The ultimate tool for generating optimal my.cnf files for MySQL

… hints regarding my.cnf tuning, only some trolling on how bad “automated scripts” are and how superior the writer is into tuning my.cnf (but on… named “The ultimate tool for generating optimal my.cnf files for MySQL” ? ;-) The meaning of tuning my.cnf is not do to some magic (which… a very bad my.cnf can bring performance down even if you have correct design, index and optimized queries. Innodb on the other…

Post: What's required to tune MySQL?

… not configuring the InnoDB buffer pool size or log file size, and not using InnoDB. If your server … simply looking at your my.cnf file. It’s sometimes possible to look at the my.cnf file and see …. [1] I prefer to avoid the word “tuning,” because database tuning is an activity that can be done …

Post: What to tune in MySQL Server after installation

… created on disk. innodb_buffer_pool_size This is very important variable to tune if you’re using Innodb tables. Innodb tables are much… larger) so you can see how much memory Innodb allocates for misc needs. innodb_log_file_size Very important for write intensive… session variable tuning to second step after I can analyze workload. P.S Note MySQL distribution contains bunch of sample my.cnf files…

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

… and MySQL 5.6.10 with no tuning whatsoever (with one exception that I’ll explain … lower_case_table_names = 1 in /etc/my.cnf), but I think it’s even worse …innodb_ft_aux_table=’test/dir_test_innodb‘; mysql> set global innodb_optimize_fulltext_only=1; mysql> select * from information_schema.innodb

Post: Tuning InnoDB Concurrency Tickets

… you’re optimizing for throughput in this scenario, you will tune innodb_concurrency_tickets to the 99th percentile of small PK lookups….sock run Applicable my.cnf settings: innodb_buffer_pool_size=24G innodb_data_file_path=ibdata1:10M:autoextend innodb_file_per_table=1 innodb_flush_log…

Post: thread_concurrency doesn't do what you expect

my.cnf file by default. One example is Debian and its variants. Furthermore the default my.cnf files of MySQL like my-large.cnf, my-innodb-heavy-4G.cnf and so on have the thread_concurrency enabled with a tune advice…

Post: How Percona does a MySQL Performance Audit

… attention. I use “tuning” in a generic way here — we focus on far more than my.cnf files. In fact my.cnf files are usually… look at my.cnf quickly for anything weird: [percona@db1 ~]$ grep -v ‘^#’ /etc/my.cnf | grep . My goal here is to look at the my.cnf without… might find that there are InnoDB tables whose .frm files exist but have been dropped from InnoDB, for example. (The INFORMATION_SCHEMA…

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

… shame. When you are new to MySQL, trying to configure my.cnf, and you have heard guidance that seems so definite, mathematical… it? What about InnoDB tuning? You might be wondering, what about InnoDB tuning? What is the best way to choose an innodb_buffer_pool_size… version is: ratio-based tuning is just as wrong for InnoDB as it is for MyISAM. Ratio-based tuning is invalid and wrong…

Post: New SpecJAppServer results at MySQL and Sun.

…probably what is the most interesting: MySQL 5.0 Tuning in /etc/my.cnf (included in FDA) [mysqld] sql-mode = IGNORE_SPACE transaction…autoextend innodb_file_per_table innodb_log_group_home_dir = /log/mysql/var/ innodb_checksums = 0 innodb_doublewrite = 0 innodb_buffer_pool_size = 5000m innodb_…