Company
Date Published
Author
SingleStore
Word count
974
Language
English
Hacker News points
None

Summary

The text discusses improving the speed of queries in MySQL, using a demo database called `airportdb` that provides a structure for the discussion. The author emphasizes the importance of using the `EXPLAIN` command to analyze how the database manager is processing queries and identifies bottlenecks. Optimizations include avoiding FULL SCANS, creating indexes based on primary keys, using indexes with LIKE statements, grouping records with GROUP BY and ORDER BY clauses, and preferring derived tables over subqueries. Additionally, the text introduces SingleStoreDB as a real-time, distributed SQL database that offers improved performance and scalability compared to MySQL.