June 20, 2013

Post: How Percona does a MySQL Performance Audit

… lot of the same components. Tagging, friends, queues, click tracking, search, paginated displays — we’ve seen these and dozens of other…_disk_tmp_tables, I’ll paste in mysql> show global variables like ‘%table_size%’; +———————+———–+ | Variable_name | Value | +———————+———–+ | max_heap_table_size | 268435456 | | tmp_table_size…’ll look at, including checking for default users in the mysql.* tables, running mk-duplicate-key-checker to find redundant indexes, and…

Post: Ultimate MySQL variable and status reference list

table_definitionsblogpercona.commanual Open_tablesblogpercona.commanual Opened_filesblogpercona.commanual Opened_table_definitionsblogpercona.commanual Opened_tablesblogpercona.commanual optimizer_prune_levelblogpercona.commanual optimizer_search

Post: Sharing an auto_increment value across multiple MySQL tables

…); # $connection->insert_id(); Option #2: Use a table with one just row: CREATE TABLE option2 (id int not null primary key) engine… simulation is: Create a new sequence value insert into another table The testing options are: Option 1 – auto_commit each statement…, most of the threads are perpetually in a state of ‘Searching rows for update’ – which is what I suspect is better…

Post: Percona's Sessions at the O'Reilly MySQL Conference and Expo

MySQL The Aspersa System Administrator’s Toolkit Percona Server and XtraBackup: painless operations Forecasting MySQL Performance and Scalability Summary tables, aggregate tablesMySQL 5.5 Performance Schema Performance Best Practices for MySQL NoSQL with MySQL Using Sphinx Beyond Full Text Search

Post: Friends of Percona Get 20% Off at the MySQL Conference!

MySQL The Aspersa System Administrator’s Toolkit Percona Server and XtraBackup: painless operations Forecasting MySQL Performance and Scalability Summary tables, aggregate tablesMySQL 5.5 Performance Schema Performance Best Practices for MySQL NoSQL with MySQL Using Sphinx Beyond Full Text Search

Post: InnoDB Full-text Search in MySQL 5.6: Part 2, The Queries!

… easy enough: mysql: SHOW CREATE TABLE innodb_myisam_stopword\G *************************** 1. row *************************** Table: innodb_myisam_stopword Create Table: CREATE TABLE `innodb_myisam_stopword…search term, then that term *must* appear in the search results. But does it? With 5.5: mysql

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

… InnoDB full-text search in MySQL 5.6 (part 1) in MySQL 5.6 is syntactically identical to MyISAM full-text search, in the… a handful of references to FTS_DOC_ID found when searching the MySQL 5.6 manual, and the only page which appears… actually rebuild the table. -rw-rw—-. 1 mysql mysql 98304 Feb 20 18:57 FTS_0000000000000025_ADDED.ibd -rw-rw—-. 1 mysql mysql 98304 Feb…

Post: What to do with MySQL Full Text Search while migrating to Innodb ?

… Text Search indexes which are not supported for Innodb tables. So what can you do ? Leave Tables as MyISAM The beauty of MySQL storage engines is you do not have to convert all tables at once. In some cases full text search is…” MyISAM table which is used for full text search. In certain cases you can just use MySQL triggers to maintain such table, in other…

Post: Sphinx: Going Beyond full text search

….mysql.com” or “dev.mysql.com/download/” as well as they are all considered to belong to mysql.com domain, while searching for “dev.mysql… it in MySQL using partitioning by domain which link was pointing to. So “mysql.com” links were stored in one table group and… many search URLS, such as “dev.mysql.com/download/mysql-5.1.html” would match “mysql.com”, “dev.mysql.com”, “dev.mysql.com/download/” and “dev.mysql

Post: Sphinx search performance optimization: multi-threaded search

Queries in MySQL, Sphinx and many other database or search engines are typically single-threaded. That is when you issue … src1 { type = mysql sql_query = SELECT id, text FROM table } source src1p0 : src1 { sql_query = SELECT id, text FROM table WHERE id % 3… may want these to be ranges by using a helper table in MySQL to define those ranges, mixing it with sql_query…