Tagged articles
16 articles
Page 1 of 1
Mingyi World Elasticsearch
Mingyi World Elasticsearch
Dec 5, 2024 · Databases

Practical Elasticsearch Filter Context Cases: When It Speeds Up Queries and When It Doesn't

This article examines two practical Elasticsearch filter‑context scenarios, showing how converting a must clause to a filter can activate the query cache and reduce latency, while also revealing cases where filter context offers no speed benefit and explaining the underlying ConstantScore behavior.

ConstantScoreElasticsearchfilter context
0 likes · 5 min read
Practical Elasticsearch Filter Context Cases: When It Speeds Up Queries and When It Doesn't
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.

ConfigurationDatabase Optimizationmysql
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.

MPP databaseStarRocksaggregation
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.

Isolation LevelsTransaction Logsindexes
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.

Database OptimizationIsolation Levelmysql
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.

Database Optimizationmysqlquery cache
0 likes · 2 min read
When Does MySQL Query Cache Hurt More Than Help?