June 19, 2013

Post: Benchmarking Percona Server TokuDB vs InnoDB

to 18000 tps, but InnoDB can’t make 5h run. After 3h the disk is full, and InnoDB dataselectivity is not good for fast inserts, but it is suitable for range selects by `id`. However it will interesting how….x86_64/lib/mysql/libjemalloc.so [mysqld] gdb datadir=/mnt/data/mysql #for SSD innodb_flush_…

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

to find out how to make InnoDB FTS blazingly-fast, but simply to get a sense of how it works compared to traditional MyISAM FTS. We’ll get tomysql> set global innodb_ft_aux_table=’test/dir_test_innodb’; mysql> set global innodb_optimize_fulltext_only=1; mysql> select… DIR data sets back to their …

Post: How adding another table to JOIN can improve performance ?

to analyze over 300.000 of rows which is relatively fastto trick around equity propagation to make it work) mysql> explain selectto get better performance by joining data to yet…to learn about MySQL Optimizer gotchas :) At the same time I figured out how to make MySQL Optimizer to do what we want to

Post: How to debug long-running transactions in MySQL

fast queries that you can’t capture them in the processlist. The steps I use tomysql -ss -e ‘SELECTto make sure you haven’t caught a false-positive). I also like todata, unless you make them commit between iterations. And watch your server to

Post: MySQL Backup tools used by Percona Remote DBA for MySQL

MySQL for binary backups. Strong Points: It can restore an entire server very fast. Often the limiter of how fast this can be restored toto the schema file create a schema-post file that has the triggers # mysqldump … -d -t How to restore mydumper data

Post: MySQL Indexing Best Practices: Webinar Questions Followup

SELECT * FROM TBL WHERE hash=crc32(‘string’) AND string=’string’ The other thing you need to consider is string comparison in MySQLto see if you can make them work well. You might need to redesign schema and queries to make it work well. Q: howdata in index order MySQL gets data

Post: Should we give a MySQL Query Cache a second chance ?

makes it hard to understand how exactly MySQL Query Cache is working in many cases. This however can be improved and datato Query Cache to make it cool again. The question is whenever anyone from “MySQL

Post: How to load large files safely into InnoDB with LOAD DATA INFILE

to load this data on many servers without putting it into the binary log. While this is generally a fast way to load dataSELECT queries might have to scan through lots of obsolete, but not-yet-purged, row versions. Later, the purge thread will have to clean these up. This is how you make

Post: MySQL 5.6 vs MySQL 5.5 and the Star Schema Benchmark

DATA_READ | 3140882432 | | INNODB_DATA_READS | 191581 | | INNODB_PAGES_READ | 191570 | | INNODB_ROWS_READ | 910844 | +—————————————+—————-+ 10 rows in set (0.01 sec) mysql> select

Post: MySQL-Memcached or NOSQL Tokyo Tyrant - part 1

data out of memcached to make room for new records I am reading from the database. Remember memcached needs repeatability toMySQL to using MySQL + Memcached, and then toto memcached to be successful. This application selects