June 19, 2013

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

total_word_count | | | optimize_start_time | | | optimize_end_time | | | stopword_table_name | | | use_stopword | 1 | | table_state | 0 | +—————————+———+ 10 rows in set (0.02 sec) mysql

Post: Advanced index analysis with mk-index-usage

database After that finishes, the ‘index_usage’ database contains several tables: mysql> show tables; +———————–+ | Tables_in_index_usage | +———————–+ | index_alternatives | | index_usage | | indexes | | queries | | tables

Post: Troubleshooting MySQL Memory Usage

MySQL to identify potential causes. Is it working with large blobs ? Using user variables ? Prepared Statements ? memory tables ? In…look at Prepared_stmt_count to see how … buffers 1 Database pages 8252672 Old database pages 3046376 Modified… inTotal memory allocated” line yet they are seen in one …

Post: MySQL Indexing Best Practices: Webinar Questions Followup

database that has about 400GB of indexes. The indexes can’t fit intotal size or less to almost 100%. When your go from working set what fits in… have, which is 64 per table in recent MySQL versions. However it is often… a SELECT competition_id, COUNT(user_id) AS user_count FROM user_competition…

Post: Finding out largest tables on MySQL Server

tables on MySQL instance is no brainier in MySQLdatabase you have active. It does not work with MySQL

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

DATABASE_PAGES: 7163 * DATABASE_PAGES: 7162 OLD_DATABASE_PAGES: 2624 * OLD_DATABASE_PAGES: 2623 MODIFIED_DATABASE_PAGES: 0 * MODIFIED_DATABASETOTAL: 0 UNCOMPRESS_CURRENT: 0 UNCOMPRESS_CURRENT: 0 As promised, here are the results from joining the tables in the other direction mysql

Post: Flexviews - part 3 - improving query performance using materialized views

in the databasetotal_price’); CALL flexviews.add_expr(@mvid,’COUNT‘,’*',’total_lines’); CALL flexviews.add_table(@mvid,’demo’,'orders’,'o’,NULL); CALL flexviews.add_table

Post: Identifying the load with the help of pt-query-digest and Percona Server

… not just for new connections as in MySQL. This is very helpful for …57 # Attribute pct total min max avg 95% stddev median # ============ === ======= ======= ======= ======= ======= ======= ======= # Count 0 149 # … # Tmp table 100% yes, 0% no # Tmp table on 100% yes, 0% no # String: # Databases wp…

Post: Ultimate MySQL variable and status reference list

…constantly referring to the amazing MySQL manual, especially the option and variable reference table. But just as frequently,…commanual Qcache_not_cachedblogpercona.commanual Qcache_queries_in_cacheblogpercona.commanual Qcache_total_blocksblogpercona.commanual Queriesblogpercona.commanual query_alloc…

Post: Researching your MySQL table sizes

total number of tables, rows, total data in index size for given MySQL Instance SELECT count(*) tables, concat(round(sum(table…+——–+———+———+——-+————+———+ 1 row in set (0.03 sec) Find biggest databases SELECT count(*) tables, table_schema,concat(round(sum(table_rows…