June 20, 2013

Post: Benchmarking Percona Server TokuDB vs InnoDB

…wanted to compare InnoDB performance vs TokuDB. I have a particular workload I’m interested in testingto run: sysbench –test=insert_roll.lua –oltp-table-size=10000 –mysql-user=root –oltp-tables-count=32 –mysql… 4M thread_cache_size = 1000 query_cache_size = 0 query_cache_type = 0 ft_min_word_…

Post: Webinar: SQL Query Patterns, Optimized

…’ll test several SQL solutions for each type of query objective, and show how you can use MySQL 5.6 built-in methods to analyze them for optimal query efficiency.  The discussion will cover optimizer reports, query profiling, and session status to measure performance. The query patterns…

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

… then finally in the third installment, we’ll look at query performance. In the event that a new release of 5.6… possible to CREATE more than one at a time. If you try it, this is what happens: mysql> alter table dir_test_innodb….00 sec) mysql> delete from dir_test_innodb LIMIT 200000; Query OK, 200000 rows affected (8.65 sec) mysql> optimize table dir_test_innodb; +———————-+———-+———-+———-+ | Table…

Post: Eventual Consistency in MySQL

…significant performance overhead.1,2 MySQL allows us to set FOREIGN_KEY_CHECKS=0 to …COLUMN_USAGE, we can write a query to fetch every distinct KEY_COLUMN_USAGE…queries for quality control: mysql> CREATE TABLE test.MY_KEY_COLUMN_USAGE LIKE INFORMATION_SCHEMA.KEY_COLUMN_USAGE; mysql> INSERT INTO test

Post: Test Drive of Solid

to be multi versioning system ? Test 3: Phantom rows: before test: mysql> select * from test2; +—-+———–+ | id | names | +—-+———–+ | 1 | Mysql | | 2 | Solid | | 3 | MyISAM | +—-+———–+ Session1: mysql> begin; Query

Post: Troubleshooting MySQL Upgrade Performance Regressions

… need to create a more complicated test which runs this query concurrently many times or even workload consisting of several query types. …query which performs differently between MySQL Server versions you should: Check Query Plan Run EXPLAIN to see if plans for the query are the same. Changing Query

Post: TPC-H Run on MySQL 5.1 and 6.0

MySQL Also was very slow running some queries so we changed scripts a bit to kill extremely long running queries to…H result from MySQL,though at least we get to see performance of individual queries. We also …sec for Power test which is good order of magnitude better compared to MySQL results on 10G…

Post: DROP TABLE and stalls: Lazy Drop Table in Percona Server and the new fixes in MySQL

queries against a 20M rows table: sysbench –test=oltp –oltp-table-size=20000000 –mysql-table-engine=innodb –mysql-socket=/tmp/mysql_sandbox5524.sock –mysql-db=test

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

… connection I modified the queries to use ANSI JOIN syntax.  No other changes to the queries were made. Test Environment The MySQL versions used at the… the performance? Each “flight” of queries represents a set of drill-down queries to find an anomaly.  I am going to focus on the first query

Post: Cache Performance Comparison

… a lot of clode but having only couple of queries to MySQL parsing may be performance bottleneck, assuming PHP opcode cache is not used… file cache to work you need file named “test” containing “MyTestString” 2) You need to create table test.test for MySQL Cache to work CREATE TABLE `test` ( `k…