Tagged articles
155 articles
Page 2 of 2
ITPUB
ITPUB
Jun 9, 2021 · Databases

Master MySQL Optimization: From Status Variables to Index Tuning

This article walks through practical MySQL performance tuning techniques, covering how to inspect server status variables, enable and read slow query logs, analyze execution plans with EXPLAIN, understand and apply various index types, and use table analysis, checking, and optimization commands to improve query efficiency.

MySQLexplain
0 likes · 19 min read
Master MySQL Optimization: From Status Variables to Index Tuning
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 27, 2021 · Databases

How to Locate and Analyze Slow SQL Queries in MySQL

This article explains how to identify slow MySQL queries using the slow‑query log and SHOW PROCESSLIST, configure logging parameters, and analyze query performance with EXPLAIN, including detailed explanations of key output fields and practical code examples.

Database PerformanceMySQLexplain
0 likes · 13 min read
How to Locate and Analyze Slow SQL Queries in MySQL
Laravel Tech Community
Laravel Tech Community
Apr 28, 2021 · Databases

Understanding and Analyzing MySQL Execution Plans

This article explains the three‑layer architecture of MySQL, how an execution plan is generated and interpreted, and provides a detailed walkthrough of the columns displayed by the EXPLAIN statement to help developers optimize their SQL queries.

MySQLdatabaseexecution plan
0 likes · 8 min read
Understanding and Analyzing MySQL Execution Plans
Top Architect
Top Architect
Apr 2, 2021 · Databases

MySQL Index Types, Usage Guidelines, and EXPLAIN Interpretation

This article explains MySQL index types—including ordinary, unique, primary, composite, and full‑text indexes—their creation syntax, optimal usage scenarios, situations where indexes should be avoided, cases that render indexes ineffective, and how to interpret EXPLAIN output types for query performance analysis.

MySQLdatabaseexplain
0 likes · 7 min read
MySQL Index Types, Usage Guidelines, and EXPLAIN Interpretation
Selected Java Interview Questions
Selected Java Interview Questions
Feb 16, 2021 · Databases

Analysis of MySQL Index Usage Cases and Best Practices

This article demonstrates how to create a test table, build indexes, and analyze their effectiveness across multiple query scenarios using MySQL's EXPLAIN output, highlighting the best‑left‑prefix rule, range condition impacts, ORDER BY considerations, and common pitfalls such as Using filesort and temporary tables.

Database OptimizationMySQLexplain
0 likes · 6 min read
Analysis of MySQL Index Usage Cases and Best Practices
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 2, 2021 · Databases

Overview of MySQL Execution Plan Fields

This article explains the meaning of each column in MySQL's EXPLAIN output, including id, select_type, type, possible_keys, key, key_len, ref, rows, filtered, and Extra, with examples of various query patterns such as simple selects, joins, subqueries, UNIONs, and derived tables.

MySQLexecution planexplain
0 likes · 22 min read
Overview of MySQL Execution Plan Fields
ITPUB
ITPUB
Jan 6, 2021 · Databases

Why Do MySQL Queries Slow Down? Understanding Write/Read Bottlenecks

This article explains why MySQL queries become slow by examining write‑operation issues such as dirty‑page flushing and locking, read‑operation problems like missing indexes and buffer‑pool evictions, and provides practical steps to diagnose and prevent these performance bottlenecks.

MySQLPerformance Tuningdirty page
0 likes · 11 min read
Why Do MySQL Queries Slow Down? Understanding Write/Read Bottlenecks
ITPUB
ITPUB
Dec 25, 2020 · Databases

Master MySQL Index Usage: When and How Queries Leverage Indexes

This article explains how MySQL decides whether an index can be used for range scans, LIKE patterns, and ORDER BY operations, detailing key_len calculation, index key vs. filter vs. table filter distinctions, and providing concrete examples and code snippets for better query optimization.

MySQLRange ScanSorting
0 likes · 10 min read
Master MySQL Index Usage: When and How Queries Leverage Indexes
ITPUB
ITPUB
Nov 20, 2020 · Databases

How Indexes Supercharge MySQL Queries: A Deep Dive into EXPLAIN

This article explains why indexes dramatically improve MySQL query speed on large tables, outlines common reasons for slow SQL, shows how to use EXPLAIN and SHOW PROFILE to diagnose problems, and provides step‑by‑step examples of creating and evaluating indexes for optimal performance.

Database PerformanceMySQLexplain
0 likes · 15 min read
How Indexes Supercharge MySQL Queries: A Deep Dive into EXPLAIN
ITPUB
ITPUB
Nov 3, 2020 · Databases

How Indexes Supercharge MySQL Queries: A Deep Dive into EXPLAIN

This article explains why MySQL indexes dramatically improve query speed, outlines common reasons for slow SQL, shows how to use EXPLAIN to analyze execution plans, and provides step‑by‑step optimization examples with code and visual illustrations.

MySQLPerformanceexplain
0 likes · 14 min read
How Indexes Supercharge MySQL Queries: A Deep Dive into EXPLAIN
Programmer DD
Programmer DD
Oct 23, 2020 · Databases

Master MySQL EXPLAIN: Decode Execution Plans and Optimize Queries

This guide walks you through MySQL's EXPLAIN command, explaining each output column, demonstrating how to read execution plans for simple selects, joins, subqueries, UNIONs, and advanced variants, and showing how to use this information to improve query performance.

MySQLexecution planexplain
0 likes · 24 min read
Master MySQL EXPLAIN: Decode Execution Plans and Optimize Queries
Top Architect
Top Architect
Sep 8, 2020 · Databases

Understanding MySQL EXPLAIN Output and Query Optimization

This article explains how MySQL generates execution plans using EXPLAIN, details the meaning of each column such as id, select_type, table, type, possible_keys, key, rows, and Extra, and demonstrates how to interpret and improve query performance through examples and code snippets.

Subqueriesexplainquery-optimization
0 likes · 29 min read
Understanding MySQL EXPLAIN Output and Query Optimization
JavaEdge
JavaEdge
Aug 30, 2020 · Databases

Master MySQL EXPLAIN: Decode Every Column and Boost Query Performance

This guide explains each column returned by MySQL's EXPLAIN output, details join types, possible keys, extra information, and shows how to use EXPLAIN EXTENDED, SHOW PROFILE, and optimizer trace to analyze and optimize SQL queries effectively.

MySQLOptimizer_traceSQL profiling
0 likes · 14 min read
Master MySQL EXPLAIN: Decode Every Column and Boost Query Performance
dbaplus Community
dbaplus Community
Aug 19, 2020 · Databases

Why MySQL Chose the Wrong Index and How to Fix It

A production MySQL query that should have returned instantly took 44 seconds because the optimizer selected the primary key index instead of a suitable composite index, and the article explains the root cause, the optimizer's decision process, and multiple practical solutions to prevent such slow‑query incidents.

Database OptimizationFORCE INDEXIndex Selection
0 likes · 15 min read
Why MySQL Chose the Wrong Index and How to Fix It
ITPUB
ITPUB
Jul 15, 2020 · Databases

Master MySQL Performance: Indexes, EXPLAIN, and Slow‑Query Optimization

This guide compiles essential MySQL optimization techniques—including index cardinality, function indexes, EXPLAIN usage, covering indexes, ICP, slow‑query log analysis, online schema changes, and common SQL pitfalls—to help developers efficiently tune database performance.

Database OptimizationMySQLPerformance Tuning
0 likes · 19 min read
Master MySQL Performance: Indexes, EXPLAIN, and Slow‑Query Optimization
Architecture Digest
Architecture Digest
Jun 21, 2020 · Databases

Optimizing Large-Scale MySQL Join Queries Using EXPLAIN

This article explains how to analyze and tune MySQL join queries with EXPLAIN, addressing issues like using temporary tables and filesort, and provides practical techniques—including STRAIGHT_JOIN and index strategies—to achieve sub‑second response times on tables with millions of rows.

Database PerformanceJOINMySQL
0 likes · 6 min read
Optimizing Large-Scale MySQL Join Queries Using EXPLAIN
Programmer DD
Programmer DD
Jun 18, 2020 · Databases

How to Optimize MySQL Joins for Million‑Row Tables in Under 2 Seconds

This article explains how to use EXPLAIN to analyze MySQL join queries, identifies causes of temporary tables and filesorts, and provides practical techniques—including driver‑table selection, STRAIGHT_JOIN usage, and index strategies—to optimize two‑ and multi‑table joins so that million‑row results return within two seconds.

Database PerformanceJOINMySQL
0 likes · 8 min read
How to Optimize MySQL Joins for Million‑Row Tables in Under 2 Seconds
macrozheng
macrozheng
Jun 8, 2020 · Databases

Why MySQL’s Index Choice Can Miss the Best Plan – A Deep Cost Analysis

This article examines how MySQL estimates execution costs for queries, explains why COUNT(*) can be optimal, demonstrates index selection with real‑world examples, and shows how optimizer_trace can reveal mismatches between estimated and actual performance.

Index OptimizationMySQLOptimizer_trace
0 likes · 10 min read
Why MySQL’s Index Choice Can Miss the Best Plan – A Deep Cost Analysis
macrozheng
macrozheng
Jun 3, 2020 · Databases

Master MySQL EXPLAIN: Decode Execution Plans for Faster Queries

This article explains the purpose of the MySQL EXPLAIN command, details each column in its output (id, select_type, table, type, possible_keys, etc.), provides real‑world SQL examples, and shows how to interpret the plan to identify indexing, join, and sorting issues for query optimization.

MySQLQuery PlanSQL optimization
0 likes · 18 min read
Master MySQL EXPLAIN: Decode Execution Plans for Faster Queries
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Mar 29, 2020 · Databases

How to Locate and Analyze Slow SQL Queries in MySQL

This article explains how to identify slow MySQL queries using the slow‑query log and SHOW PROCESSLIST, configure logging parameters, and analyze query performance with EXPLAIN, covering key output fields, common values, and practical code examples for effective SQL optimization.

Database PerformanceMySQLSQL optimization
0 likes · 14 min read
How to Locate and Analyze Slow SQL Queries in MySQL
Architect's Tech Stack
Architect's Tech Stack
Sep 3, 2019 · Databases

Practical MySQL Slow Query Optimization: Case Studies and Techniques

This article presents a step‑by‑step analysis of several real‑world MySQL slow‑query problems, demonstrates how to reproduce the issues, examines execution plans, applies concrete optimizations such as removing function calls, adjusting date comparisons, adding bigint indexes, and explains the impact of different EXPLAIN types on performance.

MySQLdatabase indexingexplain
0 likes · 12 min read
Practical MySQL Slow Query Optimization: Case Studies and Techniques
Efficient Ops
Efficient Ops
Jun 28, 2019 · Databases

Master MySQL Optimization: 19 Practical EXPLAIN Tips and Best Practices

This guide presents nineteen essential MySQL optimization techniques—including effective use of EXPLAIN, proper handling of IN and EXISTS, avoiding SELECT *, limiting rows, optimizing ORDER BY, leveraging UNION ALL, employing full‑text indexes, and advanced join strategies—to help developers write faster, more efficient queries.

JOINMySQLQuery Performance
0 likes · 12 min read
Master MySQL Optimization: 19 Practical EXPLAIN Tips and Best Practices
Programmer DD
Programmer DD
Jun 21, 2019 · Databases

Master MySQL EXPLAIN: Decode Execution Plans Like a Pro

This article walks you through using MySQL's EXPLAIN command to analyze query execution plans, explains each column in the output, shows how to interpret IDs, select types, tables, access types, possible and actual indexes, key lengths, row estimates, and extra information, and provides practical code examples for better performance tuning.

Database PerformanceMySQLSQL optimization
0 likes · 14 min read
Master MySQL EXPLAIN: Decode Execution Plans Like a Pro
Liangxu Linux
Liangxu Linux
Feb 20, 2019 · Databases

19 Essential MySQL Optimization Techniques Every Developer Should Know

This guide presents 19 practical MySQL optimization tips—including using EXPLAIN, avoiding SELECT *, limiting IN lists, preferring UNION ALL, improving pagination, leveraging full‑text indexes, and proper join strategies—to help developers write faster, more efficient queries.

Full‑Text SearchJOINMySQL
0 likes · 12 min read
19 Essential MySQL Optimization Techniques Every Developer Should Know
dbaplus Community
dbaplus Community
Nov 27, 2018 · Databases

Master MySQL Performance: Indexes, EXPLAIN Insights, and Slow Query Tactics

This guide compiles essential MySQL optimization techniques—including index cardinality, common index pitfalls, effective use of EXPLAIN, handling character sets, online schema changes, and practical slow‑query analysis commands—providing developers with actionable tips to improve query performance and avoid common pitfalls.

MySQLPerformanceexplain
0 likes · 19 min read
Master MySQL Performance: Indexes, EXPLAIN Insights, and Slow Query Tactics
Java Captain
Java Captain
Oct 6, 2018 · Databases

Exploring MySQL Database Fundamentals and Indexing Principles

This article examines MySQL database fundamentals, including storage architecture, block-based data access, disk I/O bottlenecks, and detailed explanations of B+Tree and hash indexes in MyISAM and InnoDB, while offering practical guidance on index design, selectivity, left‑most prefix rules, and using EXPLAIN for SQL optimization.

B+TreeDatabase FundamentalsMySQL
0 likes · 11 min read
Exploring MySQL Database Fundamentals and Indexing Principles
ITPUB
ITPUB
Jul 17, 2018 · Backend Development

Master MySQL Index Optimization: From Full Table Scans to Covering Indexes

This guide walks through common MySQL performance pitfalls, explains how to interpret EXPLAIN output, and demonstrates step‑by‑step index creation, composite and covering indexes, as well as force‑index usage to dramatically speed up order‑related queries in high‑volume systems.

Composite IndexMySQLQuery Performance
0 likes · 18 min read
Master MySQL Index Optimization: From Full Table Scans to Covering Indexes
Java Captain
Java Captain
May 19, 2018 · Databases

MySQL Index Optimization and Performance Analysis

This article explains MySQL index fundamentals, demonstrates performance issues with slow queries, and walks through practical optimization cases using EXPLAIN, covering index creation, covering indexes, and composite indexes, and best practices for when to add or avoid indexes.

Index OptimizationMySQLSQL Performance
0 likes · 17 min read
MySQL Index Optimization and Performance Analysis
Efficient Ops
Efficient Ops
Jan 10, 2018 · Databases

7 Proven Strategies to Supercharge MySQL Performance

This article explains why MySQL can become a bottleneck as load grows and presents seven practical techniques—using EXPLAIN, building proper indexes, tweaking defaults, caching data in memory, adopting SSDs, scaling horizontally, and improving visibility—to keep MySQL fast and reliable.

MySQLexplainoptimization
0 likes · 15 min read
7 Proven Strategies to Supercharge MySQL Performance
dbaplus Community
dbaplus Community
Dec 19, 2017 · Databases

7 Essential MySQL Performance Tuning Techniques You Must Apply

This article presents seven practical MySQL performance‑tuning techniques—including mastering EXPLAIN, building effective indexes, overriding default settings, optimizing memory usage, adopting SSD storage, scaling horizontally, and improving visibility—while explaining key configuration variables and monitoring tools to keep your database fast and reliable.

Database OptimizationInnoDBMySQL
0 likes · 16 min read
7 Essential MySQL Performance Tuning Techniques You Must Apply
ITPUB
ITPUB
Dec 11, 2017 · Databases

19 Essential MySQL Optimization Tips to Boost Query Performance

This guide walks through practical MySQL performance improvements—including using EXPLAIN, limiting IN lists, selecting specific columns, applying LIMIT 1, avoiding ORDER BY RAND(), preferring UNION ALL, proper index usage, forcing indexes, handling range queries, and optimizing JOINs—to help developers write faster, more efficient SQL statements.

MySQLQuery PerformanceSQL optimization
0 likes · 12 min read
19 Essential MySQL Optimization Tips to Boost Query Performance
21CTO
21CTO
Aug 14, 2017 · Databases

Master MySQL Performance: Using EXPLAIN, Indexes, and Slow Query Analysis

This guide explains how to analyze MySQL performance with EXPLAIN statements, composite indexes, slow‑query logging, storage engine locking differences, and transaction settings, providing practical examples and detailed descriptions of each EXPLAIN output column.

Database OptimizationMySQLPerformance
0 likes · 7 min read
Master MySQL Performance: Using EXPLAIN, Indexes, and Slow Query Analysis
ITPUB
ITPUB
Jul 18, 2017 · Databases

Mastering MySQL B-Tree Indexes: How They Work and How to Optimize Queries

This article explains the inner workings of MySQL B‑Tree indexes, how the optimizer chooses the cheapest execution plan, demonstrates practical examples of index matching, cost calculation, and EXPLAIN analysis, and provides step‑by‑step troubleshooting techniques for real‑world performance issues.

B-Tree IndexDatabase PerformanceIndex Cost
0 likes · 16 min read
Mastering MySQL B-Tree Indexes: How They Work and How to Optimize Queries
ITPUB
ITPUB
May 22, 2017 · Databases

How to Speed Up MySQL Queries with Slow Query Log, EXPLAIN, and Indexes

Before profiling performance you must locate slow queries, enable MySQL's slow query log, use EXPLAIN to analyze execution plans, and add appropriate indexes—such as on picture.album_id—to dramatically reduce scanned rows and boost query speed by hundreds of times, while balancing read/write trade‑offs.

Database OptimizationMySQLPerformance
0 likes · 4 min read
How to Speed Up MySQL Queries with Slow Query Log, EXPLAIN, and Indexes
dbaplus Community
dbaplus Community
Sep 26, 2016 · Databases

Boost MySQL Query Performance with a Python‑Based Optimization Assistant

This article explains how DBA‑focused MySQL query optimization can be accelerated using a Python tool that automates EXPLAIN analysis, statistics collection, optimizer switches, and profiling, while providing step‑by‑step guidance, configuration details, and sample command usage.

Database PerformanceMySQLPython
0 likes · 18 min read
Boost MySQL Query Performance with a Python‑Based Optimization Assistant
MaGe Linux Operations
MaGe Linux Operations
Sep 17, 2016 · Databases

Master MySQL Field Types, Indexes, and EXPLAIN for Faster Queries

This guide outlines practical recommendations for selecting MySQL field types, optimizing indexes, interpreting EXPLAIN output, and understanding its limitations, helping developers design efficient schemas and improve query performance while also highlighting common pitfalls such as misuse of NULL columns and inappropriate enum expansions.

Database OptimizationMySQLexplain
0 likes · 10 min read
Master MySQL Field Types, Indexes, and EXPLAIN for Faster Queries
ITPUB
ITPUB
Apr 6, 2016 · Databases

Boost MySQL Performance: Engine Choice, Indexing, and EXPLAIN Tips

This guide explains practical MySQL optimization techniques—including selecting InnoDB vs. MyISAM, avoiding COUNT(*), using EXPLAIN, and adding selective indexes—to dramatically reduce query time and prevent full‑table scans.

Database OptimizationMySQLPerformance Tuning
0 likes · 7 min read
Boost MySQL Performance: Engine Choice, Indexing, and EXPLAIN Tips
Efficient Ops
Efficient Ops
Aug 5, 2015 · Databases

Mastering MongoDB Explain Plans: Optimize Queries with Index Strategies

This article explains MongoDB's three explain modes, details the fields returned by queryPlanner and executionStats, shows how IndexFilters influence the optimizer, and walks through practical examples that demonstrate how proper indexing eliminates collection scans and in‑memory sorts for faster query performance.

MongoDBPerformanceexplain
0 likes · 15 min read
Mastering MongoDB Explain Plans: Optimize Queries with Index Strategies