Search

Discover articles.

Search across authors, categories, and technical themes. The layout mirrors the editorial references while staying responsive and fast.

Results

Matches for “mysql”

1000 results
Databases Jun 12, 2025 IT Xianyu

Why Mastering MySQL Slow Query Log Is Essential for Performance

This guide explains what the MySQL slow query log is, why it matters for performance, how to check its status, enable it temporarily or permanently in Docker‑based deployments, troubleshoot command‑not‑found errors, read the log file, and filter entries to focus on the truly slow queries.

DockerMySQLSQL OptimizationDatabase PerformanceSlow Query Log
Databases Jun 11, 2025 Sohu Tech Products

Unlocking MySQL InnoDB: Deep Dive into Tablespaces, Undo Logs, and Indexes

This article explains MySQL InnoDB's dual memory and on‑disk architecture, detailing the various tablespace types (system, file‑per‑table, general, undo, temporary), their internal structures (segments, extents, pages), configuration tips, and how tables, row formats, primary keys, auto‑increment lock modes, and B+Tree indexes are organized and managed.

Database ArchitectureInnoDBMySQLIndexesUndo LogTablespaces
Databases Jun 11, 2025 Aikesheng Open Source Community

Why Does Adding a Column Trigger Duplicate Entry Errors in MySQL?

An experienced DBA explains why adding a new column in MySQL can unexpectedly raise duplicate entry errors during online DDL, detailing the role of primary and unique keys, the innodb_online_alter_log_max_size setting, and how concurrent DML operations cause the conflict.

databaseMySQLonline DDLDDLduplicate entry
Databases Jun 11, 2025 IT Xianyu

Master MySQL Replication: Fix Common Errors and Resolve ‘command not found’ Issues

Learn step‑by‑step how to troubleshoot MySQL master‑slave replication problems, from verifying component roles and executing the correct SHOW SLAVE STATUS command inside the MySQL client, to fixing missing command errors, checking IO/SQL threads, and restarting replication in Docker‑based environments.

DockerDatabaseLinuxMySQLReplicationTroubleshooting
Databases Jun 11, 2025 Full-Stack Internet Architecture

Understanding MySQL Transaction Isolation Levels with Real‑World Examples

This article explains MySQL's four transaction isolation levels—READ UNCOMMITTED, READ COMMITTED, REPEATABLE READ, and SERIALIZABLE—through step‑by‑step examples, demonstrating their effects on dirty reads, non‑repeatable reads, phantom reads, and performance considerations, helping developers choose the appropriate level.

SQLInnoDBMySQLTransaction IsolationDatabase Concurrency
Databases Jun 10, 2025 Java Captain

Master MySQL Performance: Slow Queries, Indexes, Transactions & Replication

This article explains how to locate and analyze MySQL slow queries, understand index structures and types, apply best practices for index creation, handle large pagination, manage transaction isolation and MVCC, and implement master‑slave replication and sharding strategies for high‑performance databases.

TransactionShardingMySQLReplicationIndex OptimizationSlow Query
Databases Jun 9, 2025 Sanyou's Java Diary

Inside InnoDB: How Buffer Pool, Change Buffer, and Adaptive Hash Index Boost MySQL Performance

This article explores the inner workings of InnoDB's architecture—including the Buffer Pool, Change Buffer, Adaptive Hash Index, and Log Buffer—detailing their designs, configuration parameters, performance impacts, and best‑practice recommendations for high‑throughput MySQL deployments.

Database ArchitectureInnoDBBuffer PoolChange BufferLog BufferAdaptive Hash IndexMySQL Performance
Databases Jun 8, 2025 Java Tech Enthusiast

Why DELETE Is Discouraged in MySQL and When to Use DROP or TRUNCATE

This article explains MySQL's storage architecture, compares the DELETE, TRUNCATE, and DROP commands, shows their performance and side‑effects, and provides practical guidance on choosing the safest and most efficient way to remove data from a MySQL table.

MySQLSQL OptimizationData DeletionDatabase StorageTRUNCATEDELETEDROP
Databases Jun 7, 2025 Java Tech Enthusiast

How to Optimize Multi-Table Joins in MySQL: Practical Strategies

This article explains why excessive MySQL joins can cause performance problems and provides a comprehensive set of techniques—including query splitting, temporary tables, denormalization, index tuning, query rewriting, result‑set reduction, configuration tweaks, big‑data tools, and summary tables—to effectively optimize multi‑table join queries.

MySQLdatabase performancejoin optimizationtemporary tabledenormalizationSQL indexing
Databases Jun 7, 2025 Cognitive Technology Team

Mastering MySQL Locks: Types, Mechanisms, and Best Practices

This article explains MySQL’s locking mechanisms, categorizing locks by performance, operation type, data granularity, and finer‑grained levels such as gap and next‑key locks, and offers guidance on selecting the appropriate lock strategy for reliable concurrent database operations.

PerformanceInnoDBMySQLConcurrency ControlTransaction IsolationDatabase Locks
Page 1 Next