Tagged articles

Query Cache

17 articles · Page 1 of 1
Senior Xiao Ying
Senior Xiao Ying
Feb 24, 2026 · Databases

Mastering MySQL Performance: Connection Pool Tuning, Built‑in Cache, and Application‑Level Caching

This guide walks through three defensive layers for MySQL performance—optimizing the connection pool, configuring the query cache and memory tables, and designing multi‑level application caches (including Cache‑Aside, Write‑Through, and Redis integration) with concrete code examples and best‑practice recommendations.

Cache DesignConnection PoolMemory Table
0 likes · 13 min read
Mastering MySQL Performance: Connection Pool Tuning, Built‑in Cache, and Application‑Level Caching
MaGe Linux Operations
MaGe Linux Operations
Oct 11, 2024 · Databases

Comprehensive MySQL Optimization Guide: Hardware, OS, Config & Query Tuning

This guide details a step‑by‑step MySQL performance optimization strategy covering hardware selection, disk I/O planning, operating‑system tweaks, vertical and horizontal sharding, my.cnf parameter tuning, query cache configuration, resource limits, table and index caching, and practical query‑level best practices.

ConfigurationMySQLQuery Cache
0 likes · 18 min read
Comprehensive MySQL Optimization Guide: Hardware, OS, Config & Query Tuning
StarRocks
StarRocks
Aug 22, 2023 · Databases

How StarRocks Query Cache Supercharges High‑Concurrency Aggregations

StarRocks introduces a Query Cache that stores intermediate aggregation results in memory, enabling reuse across semantically equivalent, partition‑overlapping, or append‑only queries, which can boost query performance by 3‑17× in high‑concurrency scenarios while reducing CPU and disk load.

AggregationHigh concurrencyMPP database
0 likes · 13 min read
How StarRocks Query Cache Supercharges High‑Concurrency Aggregations
Liangxu Linux
Liangxu Linux
Apr 26, 2021 · Databases

Master MySQL Internals: Query Cache, Indexes, Optimizer & Transaction Logs

This article explains MySQL's query cache settings, clustered and non‑clustered index design, optimizer cost calculations, how to interpret EXPLAIN output, and the roles of redo/undo logs and transaction isolation levels, providing practical examples and performance tips.

IndexesIsolation LevelsMySQL
0 likes · 23 min read
Master MySQL Internals: Query Cache, Indexes, Optimizer & Transaction Logs
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 6, 2021 · Databases

Understanding MySQL Architecture: Layers, Components, and Storage Engines

This article explains the complete MySQL architecture, covering its connection, service, storage‑engine, and system‑file layers, the role of each component such as connection pools, query cache, parser, optimizer, executor, and the differences between InnoDB and MyISAM, providing practical insights for developers and interview preparation.

Database ArchitectureInnoDBMyISAM
0 likes · 13 min read
Understanding MySQL Architecture: Layers, Components, and Storage Engines
ITPUB
ITPUB
Oct 10, 2016 · Databases

Why MySQL Query Cache Slowed My Production Database and How We Fixed It

A production MySQL 5.5 instance suffered intermittent latency and bursts of slow queries, which were traced to an oversized enabled query cache that caused mutex contention during frequent DML operations, and disabling the cache resolved the issue.

MySQLPerformanceQuery Cache
0 likes · 6 min read
Why MySQL Query Cache Slowed My Production Database and How We Fixed It
21CTO
21CTO
Feb 6, 2016 · Databases

Master MySQL Monitoring, Tuning, and Schema Design for Optimal Performance

This guide walks through MySQL monitoring tools, enabling slow query logging, using mysqldumpslow and EXPLAIN for query analysis, optimizing the query cache, adjusting key configuration parameters, and applying proper normalization and denormalization techniques to improve database performance and reliability.

MySQLQuery Cache
0 likes · 12 min read
Master MySQL Monitoring, Tuning, and Schema Design for Optimal Performance
Java High-Performance Architecture
Java High-Performance Architecture
Aug 4, 2015 · Databases

When Does MySQL Query Cache Hurt More Than Help?

The article explains how MySQL's Query Cache, while simple and fast, can incur CPU overhead from hash calculations, suffer frequent invalidations on table changes, and consume excessive memory, making its use potentially counter‑productive under high‑concurrency or volatile data scenarios.

MySQLQuery Cachedatabase optimization
0 likes · 2 min read
When Does MySQL Query Cache Hurt More Than Help?