Tagged articles

index optimization

227 articles · Page 3 of 3
Beike Product & Technology
Beike Product & Technology
Jun 1, 2018 · Databases

InnoDB Transaction and Index Principles

This article explains InnoDB's transaction and index principles, covering ACID properties, transaction logs, MVCC, locking mechanisms, and B+ tree index structures to help backend developers understand how InnoDB ensures data consistency and high concurrency.

ACIDB+TreeInnoDB
0 likes · 11 min read
InnoDB Transaction and Index Principles
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.

DatabaseEXPLAINMySQL
0 likes · 17 min read
MySQL Index Optimization and Performance Analysis
dbaplus Community
dbaplus Community
May 9, 2018 · Databases

How We Migrated MySQL from Docker Swarm to Alibaba RDS and Fixed a CPU Crisis

This article recounts a real‑world MySQL migration from Docker Swarm containers to an Alibaba Cloud RDS instance, detailing the original architecture, migration steps, backup scripts, a critical index‑missing outage, and the practical indexing strategies used to restore performance.

Backup ScriptDatabase MigrationDocker Swarm
0 likes · 13 min read
How We Migrated MySQL from Docker Swarm to Alibaba RDS and Fixed a CPU Crisis
Java Backend Technology
Java Backend Technology
Apr 8, 2018 · Databases

Master MySQL: Table Design, Slow Query Fixes, and Recovery Strategies

This article reviews common MySQL pitfalls—including engine choice, table partitioning, index design, slow‑query causes and optimizations, diagnostic tools, and how to recover from accidental data loss—offering practical guidance for developers to improve performance and reliability.

Database DesignMySQLPartitioning
0 likes · 10 min read
Master MySQL: Table Design, Slow Query Fixes, and Recovery Strategies
Qunar Tech Salon
Qunar Tech Salon
Dec 20, 2017 · Databases

Diagnosing and Resolving MySQL InnoDB Deadlocks and Lock‑Wait Timeouts in Data‑Warehouse Workloads

This article explains how to quickly locate and fix online MySQL problems such as partial update failures, InnoDB deadlocks, and lock‑wait timeouts by analyzing server logs, understanding InnoDB row‑lock behavior, optimizing indexes, adjusting transaction settings, and using a custom log‑collection script.

Database PerformanceDeadlockInnoDB
0 likes · 19 min read
Diagnosing and Resolving MySQL InnoDB Deadlocks and Lock‑Wait Timeouts in Data‑Warehouse Workloads
ITPUB
ITPUB
Nov 25, 2017 · Databases

How to Handle Billions of Rows in SQL Server: Bulk Insert, Partitioning, and Index Tuning

This article walks through a real‑world monitoring project that must store over 400 million rows per day in SQL Server 2012, detailing the performance bottlenecks, bulk‑copy tuning, schema redesign, partitioning strategies, index removal and creation, and query‑optimisation techniques that finally achieve sub‑second query times and meet strict latency requirements.

Bulk InsertPartitioningSQL Server
0 likes · 16 min read
How to Handle Billions of Rows in SQL Server: Bulk Insert, Partitioning, and Index Tuning
21CTO
21CTO
Nov 18, 2017 · Databases

Boost MySQL Performance: Config Tweaks, Index Strategies, and Essential Tools

This article walks through practical MySQL optimization techniques—including configuration file tuning, key InnoDB parameters, effective index design, and the use of Percona and MySQL Tuner tools—to help you speed up queries and eliminate performance bottlenecks in production environments.

ConfigurationMySQLSlow Query
0 likes · 17 min read
Boost MySQL Performance: Config Tweaks, Index Strategies, and Essential Tools
ITPUB
ITPUB
Oct 25, 2017 · Databases

Mastering MySQL ORDER BY: Principles, Optimizations, and Index Pitfalls

This article explains how MySQL processes ORDER BY, compares conventional, optimized, and priority‑queue sorting algorithms, shows how to leverage indexes, and provides practical tuning tips such as adjusting max_length_for_sort_data and sort_buffer_size to avoid costly temporary files and random I/O.

MySQLORDER BYSorting Algorithms
0 likes · 12 min read
Mastering MySQL ORDER BY: Principles, Optimizations, and Index Pitfalls
Programmer DD
Programmer DD
Sep 19, 2017 · Databases

Why MySQL Ignored My Index and How to Speed Up Periodic Deletions

The article investigates why a seemingly indexed MySQL DELETE query still performs a full‑table scan, analyzes execution plans and statistics, demonstrates forcing the index, and finally rewrites the query to limit the date range, achieving a much faster operation.

Database PerformanceMySQLSQL
0 likes · 7 min read
Why MySQL Ignored My Index and How to Speed Up Periodic Deletions
Qunar Tech Salon
Qunar Tech Salon
May 24, 2017 · Databases

Common Scenarios Where SQL Fails to Use Indexes and How to Resolve Them

This article explains eight typical situations in which Oracle SQL statements cannot use indexes, illustrates each case with concrete examples and step‑by‑step rewrites, and offers practical solutions—including predicate adjustments, function indexes, and query‑transformation fixes—to improve database performance.

Database PerformanceOracleSQL
0 likes · 12 min read
Common Scenarios Where SQL Fails to Use Indexes and How to Resolve Them
dbaplus Community
dbaplus Community
May 22, 2017 · Databases

Why Your SQL Queries Skip Indexes and How to Make Them Use Indexes

This article explains eight common reasons why Oracle SQL statements fail to use indexes, provides concrete rewrite techniques, shows how optimizer bugs can block index usage, and outlines practical steps for enforcing SQL development standards through automated audit tools.

Database PerformanceOracleSQL
0 likes · 13 min read
Why Your SQL Queries Skip Indexes and How to Make Them Use Indexes
转转QA
转转QA
May 9, 2017 · Databases

MySQL Slow Query and Index Optimization

This article explains how to identify and analyze MySQL slow queries using tools like SHOW VARIABLES, EXPLAIN, mysqldumpslow, and profiling, and provides practical recommendations for configuring server variables, optimizing indexes, and improving query performance through systematic testing and best‑practice SQL design.

MySQLSQLSlow Query
0 likes · 18 min read
MySQL Slow Query and Index Optimization
ITPUB
ITPUB
Feb 19, 2017 · Databases

Turning an 89ms Query into 0ms: Real‑World SQL Server Index Optimization

The article recounts a performance bottleneck in a Windows service that processed only about 12 records per second, analyzes why a simple SELECT TOP 1 query without proper indexes caused 89 ms latency, and demonstrates step‑by‑step how adding appropriate clustered and non‑clustered indexes reduced the execution time to virtually zero, while also discussing broader indexing strategies and common LEFT JOIN pitfalls.

Clustered IndexNon-clustered IndexSQL Server
0 likes · 9 min read
Turning an 89ms Query into 0ms: Real‑World SQL Server Index Optimization
ITPUB
ITPUB
Jun 21, 2016 · Databases

Eliminate Bookmark Lookups in SQL Server: Index Strategies Explained

This article explains what bookmark (key) lookups are in SQL Server, shows how they appear in execution plans, and presents three practical indexing techniques—clustered indexes, covering indexes with INCLUDE, and index intersection—to remove the extra I/O overhead.

Bookmark LookupCovering IndexInclude Clause
0 likes · 6 min read
Eliminate Bookmark Lookups in SQL Server: Index Strategies Explained
dbaplus Community
dbaplus Community
Jun 7, 2016 · Databases

Master MySQL Data Types and Index Optimization for Faster Queries

This guide explains how to choose optimal MySQL data types, use enums, handle dates, and design efficient indexes—including B‑tree, prefix, and covering indexes—while also covering storage engine differences, maintenance commands, and normalization strategies to boost database performance.

Data TypesDatabase PerformanceMySQL
0 likes · 16 min read
Master MySQL Data Types and Index Optimization for Faster Queries
dbaplus Community
dbaplus Community
Feb 2, 2016 · Databases

Unlock SQL Speed: Real-World Optimization Tricks and Techniques

This article walks through practical Oracle SQL optimization methods—explaining execution plans, indexes, statistics, hints, and partitioning—using concrete examples and step‑by‑step case studies that show how to dramatically reduce query runtimes and CPU load.

OracleSQLindex optimization
0 likes · 24 min read
Unlock SQL Speed: Real-World Optimization Tricks and Techniques
Java High-Performance Architecture
Java High-Performance Architecture
Jul 29, 2015 · Databases

How Indexes Enable Efficient GROUP BY Queries in MySQL

This article explains why GROUP BY requires sorting like ORDER BY, how a suitable index can satisfy both operations, and outlines the precise conditions—including single‑table queries, left‑most index prefixes, constant values, and limited aggregates—that allow MySQL to execute GROUP BY using an index scan.

GROUP BYMySQLSQL
0 likes · 3 min read
How Indexes Enable Efficient GROUP BY Queries in MySQL