June 18, 2013

Post: How Percona does a MySQL Performance Audit

query, I run EXPLAIN if possible (rewriting non-SELECT queries if needed, and using careful judgment for queries with subqueries in

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

in MySQL 5.6: Part 2, The Queries![/caption] This is part 2 in a 3 part series. In… There’s only one row in the table that actually matches all three search terms, and in this case, …single phrase: With 5.5: mysql: SELECT id, full_name, MATCH(full_name, details) AGAINST (‘”Thomas B Smith”‘ IN

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

queries in this post, but instead intended to focus only on the overall response time for answering all of the queries intables in the other direction mysql> select

Post: Using any general purpose computer as a special purpose SIMD computer

…, 0.0063340663909912s) The set of three numbers are wall clock time …in the table. This allows MySQL to set up a sequential scan over the items inqueries together. This query is single threaded, and thus this serves no purpose. It will be much more important in a moment. — AGGREGATION SQL: SELECT

Post: Faster MySQL failover with SELECT mirroring

in both directions. Aside from MySQL …than a single server can …in the buffer pool. I measured the active master’s buffer pool with the following query: select table_schema, tablethree samples stored in tables on my laptop, I wrote a query against these three sets of stats to find the top tables

Post: How to recover deleted rows from an InnoDB Tablespace

three of them: A) INNODB_SYS_INDEXES Percona Server has some extra tables in INFORMATION_SCHEMA that can help us to find the different indexes and types. mysql (information_schema) > select

Post: Full Text Search Webinar Questions Followup

…of any SQL query, and if you can form a SELECT query that returns the “…table-scans. Jessy B. also asked: Q: Were these tests performed on a single… me two to three weeks to do something equivalent with MySQL and it … solutions had in common, so I tested only simple queries without customizing the …

Post: Why MySQL could be slow with large tables ?

selects about 1% of the table. The times for full table scan vs range scan by index: mysql> selectIn MySQL single query runs as single thread (with exeption of MySQL Cluster) and MySQL issues IO requests one by one for query execution, which means if single query

Post: High-Performance Click Analysis with MySQL

single one doesn’t know what data should live in… wrote a three-part …tables is hard work for the database server.  If you do it on the master with INSERT..SELECT queriestables in a complex query with many joins. I have never seen this approach scale well. Use The Best Technologies You Can MySQL

Post: On Character Sets and Disappearing Tables

table in place.  The first table certainly proceeds well enough: (root@localhost) [oops4]> set foreign_key_checks=0; Querytables; +—————–+ | Tables_in_oops4 | +—————–+ | dos1 | | dos3 | +—————–+ 2 rows in set (0.00 sec) “Oops” indeed. Where we once had three tables