Tagged articles

MySQL

5000 articles · Page 32 of 50
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 22, 2022 · Databases

Diagnosing Excessive data_free Values in MySQL and Managing ibtmp1 Temporary Tablespace Bloat

This article walks through a real‑world case where a MySQL instance showed an abnormal 13 GB data_free value, explains how the ibtmp1 temporary tablespace caused the growth, demonstrates verification steps with sysbench and SQL queries, and provides configuration and operational solutions to prevent and resolve the issue.

MySQLPerformance Tuningdata_free
0 likes · 9 min read
Diagnosing Excessive data_free Values in MySQL and Managing ibtmp1 Temporary Tablespace Bloat
Programmer DD
Programmer DD
Jun 22, 2022 · Databases

Why Did My Spring @Transactional Rollback Fail? Uncovering a MySQL Connector Bug

An in‑depth investigation reveals that Spring’s @Transactional rollback can silently fail due to a bug in mysql‑connector‑java 8.0.28 when useLocalSessionState=true, causing auto‑commit to stay enabled; the article explains the root cause, debugging steps, and how upgrading to 8.0.29 resolves the issue.

Connector/JMySQLautocommit
0 likes · 14 min read
Why Did My Spring @Transactional Rollback Fail? Uncovering a MySQL Connector Bug
IT Services Circle
IT Services Circle
Jun 21, 2022 · Databases

MySQL High‑Availability Incident Review and Resolution in a Dual‑Master Setup with Keepalived

This article recounts a MySQL high‑availability incident in a dual‑master environment, explains how missing binary‑log index files caused replication failures, and details step‑by‑step troubleshooting, directory recreation, binlog position correction, and configuration improvements to restore reliable database operation.

KeepalivedMySQLReplication
0 likes · 8 min read
MySQL High‑Availability Incident Review and Resolution in a Dual‑Master Setup with Keepalived
Ops Development Stories
Ops Development Stories
Jun 21, 2022 · Databases

Inside MySQL UPDATE: How Undo, Redo, and Binlog Work

This article explains in detail what happens inside MySQL when an UPDATE statement is executed, covering the execution flow, the roles of undo log, redo log, and binlog, buffer pool mechanics, two‑phase commit, group commit, and practical optimization tips.

MySQLRedo LogUndo Log
0 likes · 40 min read
Inside MySQL UPDATE: How Undo, Redo, and Binlog Work
Open Source Linux
Open Source Linux
Jun 20, 2022 · Databases

Understanding Buffer vs Cache and MySQL’s Flush Strategies

This article explains the fundamental differences between buffers and caches, details MySQL’s multi‑layer buffer architecture, and examines how write‑through, write‑back, and Direct I/O affect data durability and performance through various InnoDB flush parameters.

BufferCacheDatabase Performance
0 likes · 12 min read
Understanding Buffer vs Cache and MySQL’s Flush Strategies
dbaplus Community
dbaplus Community
Jun 19, 2022 · Databases

Master MySQL Upgrades with pt‑upgrade: Detect Compatibility Issues Seamlessly

This article explains why MySQL upgrades can cause syntax, semantic and performance incompatibilities, introduces the Percona Toolkit's pt‑upgrade tool, details its detection logic and common usage patterns, provides a full demo with real query results, and lists essential parameters and precautions for safely migrating from MySQL 5.7 to 8.0.

MySQLSQLcompatibility testing
0 likes · 17 min read
Master MySQL Upgrades with pt‑upgrade: Detect Compatibility Issues Seamlessly
Selected Java Interview Questions
Selected Java Interview Questions
Jun 18, 2022 · Backend Development

A Quick Guide for Developers to Install and Use Docker: From Hello World to MySQL and Custom Images

This tutorial walks developers through installing Docker on Ubuntu, explains core concepts such as images, containers and repositories, and demonstrates practical tasks including pulling a hello‑world image, running nginx and MySQL containers, configuring network bridges, handling common errors, and building a custom Spring Boot image with a Dockerfile.

DockerfileMySQLnginx
0 likes · 14 min read
A Quick Guide for Developers to Install and Use Docker: From Hello World to MySQL and Custom Images
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 17, 2022 · Databases

SQLE 1.2206.0-pre1 Release Notes and New Feature Overview

The preview release SQLE 1.2206.0-pre1 introduces TiDB audit plugin support, TiDB‑specific rules, enhanced SQL syntax checks, and recommendations on primary‑key usage, while providing full release details, documentation links, and references to prior versions for database administrators and developers.

Database AuditingMySQLSQLE
0 likes · 6 min read
SQLE 1.2206.0-pre1 Release Notes and New Feature Overview
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 17, 2022 · Databases

MySQL Database High‑Availability Architecture Exploration – Highlights from the 2022 Gdevops Global Agile Operations Summit

The 2022 Gdevops Global Agile Operations Summit in Guangzhou featured a technical session by Zheng Zengquan of Aikesheng on MySQL high‑availability architecture, covering data consistency, production‑ready solutions, and a comparison of MGR versus traditional master‑slave setups, with the full PPT available for download.

Gdevops SummitMySQLPPT
0 likes · 3 min read
MySQL Database High‑Availability Architecture Exploration – Highlights from the 2022 Gdevops Global Agile Operations Summit
Su San Talks Tech
Su San Talks Tech
Jun 16, 2022 · Databases

Master MySQL Index Design: Essential Principles for Optimal Performance

This article explains MySQL index fundamentals, covering clustered and secondary indexes, best‑practice design rules such as using auto‑increment primary keys, avoiding large or low‑cardinality columns, respecting the left‑most prefix, and common scenarios that cause index loss, with practical SQL examples.

MySQLSQLindex design
0 likes · 12 min read
Master MySQL Index Design: Essential Principles for Optimal Performance
Sanyou's Java Diary
Sanyou's Java Diary
Jun 15, 2022 · Databases

How to Build MySQL Master‑Master HA with Keepalived and Docker

This tutorial walks through setting up a highly available MySQL master‑master cluster using Docker containers, configuring MySQL replication, and employing Keepalived for automatic failover and virtual IP management, complete with step‑by‑step commands, configuration files, and troubleshooting tips.

DockerKeepalivedLinux
0 likes · 23 min read
How to Build MySQL Master‑Master HA with Keepalived and Docker
Laravel Tech Community
Laravel Tech Community
Jun 14, 2022 · Operations

LNMP One-Click Installation Package V1.9 Release Notes and Usage Guide

The LNMP one‑click installation package V1.9 adds support for Rocky Linux, AlmaLinux, CentOS Stream 9 and several Chinese Linux distributions, introduces PHP 8.1, new PHP extensions, MySQL 5.7/8.0 binaries, IPv6 and ZeroSSL options, and provides detailed management commands for deploying and maintaining Nginx, MySQL, PHP and related services.

LNMPLinuxMySQL
0 likes · 7 min read
LNMP One-Click Installation Package V1.9 Release Notes and Usage Guide
Wukong Talks Architecture
Wukong Talks Architecture
Jun 14, 2022 · Databases

MySQL High‑Availability Incident Review and Recovery Steps

The article recounts a production‑like MySQL dual‑master HA setup using Keepalived, describes how a missing binary‑log index caused replication failure, and details step‑by‑step troubleshooting commands, configuration fixes, and preventive measures to restore reliable database synchronization.

KeepalivedMySQLdatabases
0 likes · 9 min read
MySQL High‑Availability Incident Review and Recovery Steps
ITPUB
ITPUB
Jun 14, 2022 · Databases

12 Common MySQL Slow‑Query Causes and How to Fix Them

This article enumerates twelve typical reasons why MySQL queries become slow—such as missing or ineffective indexes, deep pagination, massive tables, excessive joins, large IN lists, dirty pages, file‑based ORDER BY, and hardware limits—and provides concrete SQL examples and step‑by‑step optimization techniques to resolve each issue.

Database PerformanceMySQLPagination
0 likes · 33 min read
12 Common MySQL Slow‑Query Causes and How to Fix Them
Top Architect
Top Architect
Jun 14, 2022 · Databases

Understanding MySQL Execution Process: Connectors, Cache, Parser, Optimizer, and Executor

This article explains MySQL's internal execution process—including the connector, cache, parser, optimizer, and executor—describes privilege tables and verification, discusses query caching removal, outlines logical SQL execution order, and provides practical tips for ordering WHERE conditions to improve performance.

DatabaseDatabase InternalsMySQL
0 likes · 12 min read
Understanding MySQL Execution Process: Connectors, Cache, Parser, Optimizer, and Executor
php Courses
php Courses
Jun 14, 2022 · Operations

Permission Configuration for Nginx, PHP‑FPM, and MySQL on Linux Servers

This article explains how to properly set file and process permissions for Nginx, PHP‑FPM, and MySQL on Linux servers, recommending the use of a dedicated www user group, showing configuration snippets, and illustrating how to verify running processes to enhance security and avoid permission‑related errors.

LinuxMySQLPHP-FPM
0 likes · 5 min read
Permission Configuration for Nginx, PHP‑FPM, and MySQL on Linux Servers
Top Architect
Top Architect
Jun 13, 2022 · Databases

Comprehensive MySQL Performance Optimization Guide

This article provides a detailed guide on optimizing MySQL performance, covering SQL statement tuning, index usage, table design normalization, system configuration, hardware choices, and the internal architecture of MySQL to help developers write faster and more efficient queries.

DatabaseIndexingMySQL
0 likes · 19 min read
Comprehensive MySQL Performance Optimization Guide
dbaplus Community
dbaplus Community
Jun 12, 2022 · Databases

12 Common MySQL Slow‑Query Triggers and Practical Fixes

This article enumerates twelve typical reasons why MySQL queries become slow—ranging from missing or ineffective indexes, type conversions, OR/LIKE patterns, composite‑index misuse, built‑in functions, large tables, deep pagination, join overload, oversized IN clauses, dirty‑page flushing, order‑by filesort, lock contention, delete‑in pitfalls, and group‑by temp tables—and provides concrete SQL examples, execution‑plan explanations, and optimization techniques for each case.

Database PerformanceMySQLSQL Tuning
0 likes · 28 min read
12 Common MySQL Slow‑Query Triggers and Practical Fixes
ITPUB
ITPUB
Jun 12, 2022 · Databases

10 Proven Ways to Prevent Dangerous SQL Mistakes in Production

This article presents ten practical techniques—ranging from avoiding chat‑tool SQL transmission to using logical deletes, backups, and temporary tables—to help developers and DBAs safely execute and modify data in production environments while minimizing accidental data loss.

Data SafetyMySQLProduction
0 likes · 14 min read
10 Proven Ways to Prevent Dangerous SQL Mistakes in Production
ITPUB
ITPUB
Jun 11, 2022 · Databases

How Meituan Optimized a Non‑Intrusive MySQL Packet Capture for Full‑SQL Auditing

This article explains Meituan's non‑intrusive, Go‑based packet‑capture solution for full‑SQL database auditing, details the performance challenges encountered at high QPS, and describes a series of systematic analyses and optimizations—including probe redesign, CPU profiling, data‑masking, scheduling, GC pressure reduction, and packet filtering—that dramatically lowered loss rates and CPU usage.

Database AuditingGoMySQL
0 likes · 12 min read
How Meituan Optimized a Non‑Intrusive MySQL Packet Capture for Full‑SQL Auditing
Big Data Technology Architecture
Big Data Technology Architecture
Jun 9, 2022 · Databases

Building a Real‑Time Data Warehouse with Apache Doris: Architecture, Benefits, and Lessons Learned

This article details how a fast‑growing supply‑chain platform migrated from MySQL and Hive to Apache Doris for real‑time analytics, describing the architectural evolution, the advantages of the new design, practical implementation steps, encountered challenges, and the performance and cost benefits achieved.

Apache DorisData IntegrationFlink CDC
0 likes · 12 min read
Building a Real‑Time Data Warehouse with Apache Doris: Architecture, Benefits, and Lessons Learned
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 7, 2022 · Databases

Implementing MySQL Auditing with init_connect, MariaDB Audit Plugin, and McAfee Audit Plugin

This article explains three practical methods for adding audit capabilities to MySQL 5.7—using the init_connect parameter to log user connections, installing the MariaDB server_audit plugin for detailed event logging, and deploying the McAfee audit plugin—while providing step‑by‑step commands, configuration examples, code snippets, and a comparison of advantages and drawbacks.

AuditingMariaDBMcAfee
0 likes · 27 min read
Implementing MySQL Auditing with init_connect, MariaDB Audit Plugin, and McAfee Audit Plugin
政采云技术
政采云技术
Jun 7, 2022 · Databases

Understanding MySQL Auto‑Increment Locks and Their Behaviors

This article explains the concept of MySQL auto‑increment locks, describes different insertion methods and lock modes, analyzes how InnoDB allocates and manages auto‑increment IDs—including simple, bulk, and mixed inserts—and provides source‑code insights, practical experiments, and mitigation strategies for ID continuity issues.

DatabaseInnoDBMySQL
0 likes · 21 min read
Understanding MySQL Auto‑Increment Locks and Their Behaviors
Su San Talks Tech
Su San Talks Tech
Jun 6, 2022 · Databases

Why Is MySQL Query Slow? Hidden Factors Beyond Indexes and How to Fix Them

This article explores the various reasons MySQL queries become slow—including index misuse, insufficient connection pools, small InnoDB buffer pools, and query cache limitations—while providing practical solutions such as optimizing indexes, adjusting max_connections, enlarging buffer pools, and configuring connection pools for better performance.

InnoDBMySQLPerformance Tuning
0 likes · 16 min read
Why Is MySQL Query Slow? Hidden Factors Beyond Indexes and How to Fix Them
Ops Development Stories
Ops Development Stories
Jun 5, 2022 · Databases

What Really Happens Inside MySQL When You Run a SELECT Query?

This article walks through the complete lifecycle of a MySQL SELECT statement, from establishing the TCP connection and authentication, through query cache, parsing, optimization, and execution, detailing how the server and storage engine collaborate and explaining concepts like index usage, connection handling, and memory management.

MySQLQuery ExecutionSQL
0 likes · 20 min read
What Really Happens Inside MySQL When You Run a SELECT Query?
Liangxu Linux
Liangxu Linux
Jun 5, 2022 · Databases

MySQL IPv4 Storage: Unsigned INT vs String – Benefits, Drawbacks & Java Example

The article explains why MySQL’s high‑performance guide recommends storing IPv4 addresses as a 32‑bit UNSIGNED INT instead of VARCHAR, detailing space savings, faster range queries, conversion functions (INET_ATON/INET_NTOA), associated drawbacks, and provides Java code to convert between string and integer representations.

Data StorageIPv4Java
0 likes · 5 min read
MySQL IPv4 Storage: Unsigned INT vs String – Benefits, Drawbacks & Java Example
ITPUB
ITPUB
Jun 4, 2022 · Databases

Understanding MySQL Architecture: From Storage Engines to InnoDB Internals

This article explains MySQL’s core architecture, detailing components such as connection pools, SQL interface, optimizer, and storage engine plugins, then compares MyISAM and InnoDB, and dives deep into InnoDB’s memory structures, buffer pool, adaptive hash index, tablespaces, and redo log mechanisms.

InnoDBMySQLStorage Engine
0 likes · 18 min read
Understanding MySQL Architecture: From Storage Engines to InnoDB Internals
Ops Development Stories
Ops Development Stories
Jun 1, 2022 · Databases

Master MySQL Indexes: From B+Tree Basics to Advanced Optimization

This article explains MySQL index fundamentals, covering B+Tree structures, various index types, creation syntax, and practical optimization techniques such as prefix, covering, and composite indexes, while illustrating how to avoid common pitfalls like index misuse and performance‑degrading scenarios.

B+TreeIndexMySQL
0 likes · 23 min read
Master MySQL Indexes: From B+Tree Basics to Advanced Optimization
Architecture & Thinking
Architecture & Thinking
May 31, 2022 · Databases

Master Database Naming: Standards, Design & SQL Best Practices

This comprehensive guide details naming conventions for databases, tables, columns, indexes, views, procedures, functions, triggers, users, and constraints, along with design principles for objects, storage engines, character sets, table structures, field types, index strategies, and SQL usage to ensure consistency, performance, and maintainability in MySQL environments.

Database NamingMySQLSQL Standards
0 likes · 22 min read
Master Database Naming: Standards, Design & SQL Best Practices
IT Architects Alliance
IT Architects Alliance
May 30, 2022 · Backend Development

How to Diagnose and Fix API Performance Bottlenecks in Java Backend

This article walks through the background of a production Java service that received many performance complaints, enumerates common causes such as slow MySQL queries, complex business logic, thread‑pool misconfiguration, lock contention and machine issues, and provides concrete diagnostic steps and code‑level solutions including pagination fixes, indexing strategies, async processing, thread‑pool tuning, lock refinement and caching techniques.

JavaMySQLOptimization
0 likes · 17 min read
How to Diagnose and Fix API Performance Bottlenecks in Java Backend
dbaplus Community
dbaplus Community
May 29, 2022 · Backend Development

How Ctrip Migrated a Decade‑Old Hotel Order System from SQL Server to MySQL

Ctrip’s hotel order platform evolved from a single SQL Server instance to a multi‑IDC, sharded architecture, and this article details the middleware‑driven migration, unified caching, data‑chain redesign, consistency safeguards, and operational practices that enabled seamless, high‑performance order processing at millions of transactions per day.

MiddlewareMySQLSQL Server
0 likes · 29 min read
How Ctrip Migrated a Decade‑Old Hotel Order System from SQL Server to MySQL
dbaplus Community
dbaplus Community
May 28, 2022 · Databases

Mastering MySQL Backups: Strategies, Tools, and RTO/RPO Optimization

This article explains why backup is the last line of data security, outlines multi‑location and multi‑media deployment requirements, compares physical and logical backup methods, reviews MySQL backup tools, evaluates their speed, and provides practical guidance for testing backup validity and minimizing RTO and RPO.

Backup ToolsLogical BackupMySQL
0 likes · 14 min read
Mastering MySQL Backups: Strategies, Tools, and RTO/RPO Optimization
Top Architect
Top Architect
May 27, 2022 · Databases

Comprehensive Guide to MySQL Master‑Slave Replication, Binlog/Redo Log, and ShardingSphere‑Jdbc/Sharding‑Jdbc Read‑Write Splitting and Sharding

This article provides a step‑by‑step tutorial on configuring MySQL master‑slave replication with Docker, explains redo log and binlog fundamentals, demonstrates two‑phase commit, and shows how to implement read‑write splitting and sharding using ShardingSphere‑Jdbc and Sharding‑Jdbc with detailed code examples.

MySQLShardingSphere
0 likes · 22 min read
Comprehensive Guide to MySQL Master‑Slave Replication, Binlog/Redo Log, and ShardingSphere‑Jdbc/Sharding‑Jdbc Read‑Write Splitting and Sharding
Aikesheng Open Source Community
Aikesheng Open Source Community
May 26, 2022 · Databases

Resolving Xtrabackup Backup Failures Caused by Non‑Redo Logging DDL Operations in MySQL 5.7

This article analyses why physical backups using Xtrabackup fail when MySQL 5.7 performs online DDL operations that skip redo logging, demonstrates the issue with real‑world logs, and presents four practical solutions—including lock‑DDL parameters, per‑table MDL locks, and disabling online DDL—to ensure consistent backups.

DDLMySQLOnline DDL
0 likes · 23 min read
Resolving Xtrabackup Backup Failures Caused by Non‑Redo Logging DDL Operations in MySQL 5.7
Liangxu Linux
Liangxu Linux
May 25, 2022 · Databases

Understanding MySQL Internal vs External Temporary Tables and Their Storage Engines

This article explains the two kinds of MySQL temporary tables—external and internal—covers the scenarios that trigger their creation, details how MySQL chooses MEMORY, MyISAM or InnoDB storage engines based on system variables and data size, and describes indexing, hash‑field fallbacks, and optimization hints such as SQL_SMALL_RESULT and SQL_BIG_RESULT.

MySQLSQL optimizationStorage Engine
0 likes · 22 min read
Understanding MySQL Internal vs External Temporary Tables and Their Storage Engines
dbaplus Community
dbaplus Community
May 25, 2022 · Backend Development

How to Ensure Concurrency Quality with Distributed Locks in E‑Commerce Systems

This article explains why concurrency issues like overselling occur in e‑commerce, introduces distributed lock concepts and mainstream implementations (MySQL, Redis, Zookeeper/etcd), and provides a three‑stage quality‑assurance framework with code‑review checklists, testing methods, and data‑reconciliation techniques.

ConcurrencyE‑commerceMySQL
0 likes · 12 min read
How to Ensure Concurrency Quality with Distributed Locks in E‑Commerce Systems
Top Architect
Top Architect
May 25, 2022 · Databases

Understanding MySQL Execution Process and SQL Execution Order

This article provides a comprehensive overview of MySQL's internal execution flow—from client connection handling, permission verification, caching, parsing, optimization, and execution—to the detailed SQL execution order, helping readers grasp how queries are processed and optimized within the database engine.

DatabaseExecution ProcessMySQL
0 likes · 12 min read
Understanding MySQL Execution Process and SQL Execution Order
Aikesheng Open Source Community
Aikesheng Open Source Community
May 24, 2022 · Databases

Read SQL Routed to Master Despite rwSplitMode=3 Configuration

The article investigates why read queries are sent to the master node when Dble is configured with rwSplitMode=3, analyzes reproductions on standard replication and MySQL Group Replication, identifies heartbeat and replication status issues, and provides troubleshooting steps and recommendations.

Database MiddlewareGroup ReplicationMySQL
0 likes · 7 min read
Read SQL Routed to Master Despite rwSplitMode=3 Configuration
Code Ape Tech Column
Code Ape Tech Column
May 24, 2022 · Databases

Understanding MVCC (Multi-Version Concurrency Control) in MySQL InnoDB

This article provides a comprehensive, step‑by‑step explanation of MySQL InnoDB's MVCC mechanism, covering its fundamentals, the role of Undo Log and Read View, and how it enables repeatable‑read and read‑committed isolation levels while preventing dirty reads and other concurrency anomalies.

ConcurrencyDatabaseMVCC
0 likes · 12 min read
Understanding MVCC (Multi-Version Concurrency Control) in MySQL InnoDB
Aikesheng Open Source Community
Aikesheng Open Source Community
May 20, 2022 · Databases

SQLE 1.2205.0-pre3 Release Notes and Feature Overview

The article introduces the SQLE 1.2205.0-pre3 preview release, detailing the project's purpose, new enterprise‑edition SQL query features, complete release notes, and upcoming plans, while providing download links, documentation, and demo environments for users and administrators.

Database AuditingFeature OverviewMySQL
0 likes · 5 min read
SQLE 1.2205.0-pre3 Release Notes and Feature Overview
Java High-Performance Architecture
Java High-Performance Architecture
May 19, 2022 · Databases

Mastering MySQL Replication: From Basics to Advanced Configurations

This article explains MySQL replication fundamentals, binary log mechanics, master‑slave roles, configuration steps, and the various replication types—including asynchronous, semi‑synchronous, multi‑source, and delayed replication—while providing practical commands and code examples for reliable high‑availability setups.

Binary LogDelayed ReplicationMySQL
0 likes · 14 min read
Mastering MySQL Replication: From Basics to Advanced Configurations
Top Architect
Top Architect
May 18, 2022 · Databases

Evolution of JD Baitiao Backend Architecture: From MySQL to ShardingSphere

This article chronicles the architectural evolution of JD Baitiao’s backend—from early MySQL monoliths through Solr‑HBase, MongoDB, and DBRep—to the adoption of Apache ShardingSphere, highlighting the motivations, technical trade‑offs, decoupling strategies, and performance outcomes for a high‑throughput financial service.

Data PartitioningJD BaitiaoMySQL
0 likes · 15 min read
Evolution of JD Baitiao Backend Architecture: From MySQL to ShardingSphere
IT Architects Alliance
IT Architects Alliance
May 17, 2022 · Databases

Inside MySQL: How Queries Are Processed from Client to Execution

This article explains the complete MySQL query processing pipeline, covering the connector, authentication, privilege checks, caching, parser, optimizer, executor, and the detailed SQL execution order with examples of each stage, helping readers understand and optimize their SQL statements.

DatabaseMySQLPerformance
0 likes · 13 min read
Inside MySQL: How Queries Are Processed from Client to Execution
dbaplus Community
dbaplus Community
May 16, 2022 · Databases

Master MySQL 8.0.28: Install, Configure, and Connect via JDBC

This guide walks beginners through downloading, installing, and configuring MySQL 8.0.28 on Windows and Linux, covering environment variables, service management, password recovery, user and role creation, and JDBC connection setup with Maven, providing detailed commands, code snippets, and troubleshooting tips for a complete setup.

ConfigurationDatabaseInstallation
0 likes · 29 min read
Master MySQL 8.0.28: Install, Configure, and Connect via JDBC
Architect
Architect
May 16, 2022 · Databases

Understanding MySQL Execution Process and SQL Execution Order

This article explains the complete MySQL execution pipeline—from client connection, authentication, and permission checks through caching, parsing, optimization, and execution—plus the logical order of SQL clauses, illustrated with diagrams to help developers optimize and comprehend database queries.

MySQLQuery OptimizationSQL execution
0 likes · 12 min read
Understanding MySQL Execution Process and SQL Execution Order
Python Programming Learning Circle
Python Programming Learning Circle
May 16, 2022 · Backend Development

Using SQLAlchemy ORM in Python: Design, Initialization, Model Mapping, and Session Management

This article explains how to replace raw PyMySQL usage with SQLAlchemy ORM in Python, covering environment setup, database connection initialization, MVC‑style project structure, model class definitions, field attributes, session handling with context managers, and practical code examples for saving and querying data.

DatabaseMySQLORM
0 likes · 9 min read
Using SQLAlchemy ORM in Python: Design, Initialization, Model Mapping, and Session Management
Su San Talks Tech
Su San Talks Tech
May 12, 2022 · Databases

Why MySQL Indexes Matter: From Pages to B+ Trees Explained

This article walks through MySQL's InnoDB storage engine, explaining how pages, locality, skip‑list concepts and B+‑tree structures work together to make indexes efficient, and shows how clustered, non‑clustered and covering indexes affect query performance and I/O behavior.

B+TreeDatabaseIndex
0 likes · 18 min read
Why MySQL Indexes Matter: From Pages to B+ Trees Explained
Tencent Database Technology
Tencent Database Technology
May 11, 2022 · Databases

In-depth Analysis of InnoDB File Structure and Page Organization

This article provides a comprehensive examination of InnoDB's physical file layout, detailing page components such as the file header, page header, record storage formats, variable‑length and NULL handling, free space, page directory, file trailer, external storage pages, and the differences among row formats and compression techniques, illustrated with concrete hexdump examples and SQL statements.

InnoDBMySQLROW format
0 likes · 27 min read
In-depth Analysis of InnoDB File Structure and Page Organization
Aikesheng Open Source Community
Aikesheng Open Source Community
May 11, 2022 · Databases

Using Hash Partitioning in MySQL: Scenarios, Queries, and Optimizations

This article explains MySQL hash partition tables, illustrating their suitable use cases such as equality queries on IDs or dates, demonstrating creation, data loading, and query plans, and comparing standard hash partitions with linear hash partitions to highlight performance and data distribution considerations.

MySQLdatabase optimizationhash partition
0 likes · 13 min read
Using Hash Partitioning in MySQL: Scenarios, Queries, and Optimizations
dbaplus Community
dbaplus Community
May 10, 2022 · Databases

How Meituan Optimizes MySQL Slow Queries with Cost‑Based Index Recommendations

This article explains how Meituan tackles MySQL slow‑query problems by leveraging the database cost‑based optimizer to generate index suggestions, evaluate their quality, and operate a full‑stack governance workflow that includes data collection, statistical modeling, validation, and continuous improvement.

Database PerformanceIndex RecommendationMySQL
0 likes · 23 min read
How Meituan Optimizes MySQL Slow Queries with Cost‑Based Index Recommendations
Efficient Ops
Efficient Ops
May 10, 2022 · Operations

How to Containerize Ansible for Automated MySQL Backups

This article demonstrates how to package Ansible in a Docker container, use the mysql_db module to create MySQL backups, and run a simple playbook, highlighting the benefits of containerized deployment for clean, flexible operations automation.

AnsibleMySQLOps
0 likes · 10 min read
How to Containerize Ansible for Automated MySQL Backups
Top Architect
Top Architect
May 6, 2022 · Databases

Optimizing MySQL Batch Insert Performance: Determining the Ideal Batch Size

This article analyzes MySQL batch insertion by examining field size, max_allowed_packet limits, transaction overhead, buffer pool usage, and empirical tests with varying batch sizes, ultimately recommending a batch size around half of the max_allowed_packet for optimal throughput.

Batch InsertMySQLbuffer pool
0 likes · 14 min read
Optimizing MySQL Batch Insert Performance: Determining the Ideal Batch Size
Aikesheng Open Source Community
Aikesheng Open Source Community
May 6, 2022 · Databases

Analysis of MySQL Backup Blocking Issues and Optimization Strategies

The article investigates a production MySQL outage caused by FLUSH NO_WRITE_TO_BINLOG TABLES blocking during backups, presents three experimental scenarios to identify the root cause, and offers practical recommendations such as setting query timeouts, adding indexes, and using Percona XtraBackup options to avoid backup stalls.

MySQLPercona XtraBackupSlow Query
0 likes · 19 min read
Analysis of MySQL Backup Blocking Issues and Optimization Strategies
ITPUB
ITPUB
May 5, 2022 · Databases

When Does MySQL Use Temporary Tables and How Does It Choose the Storage Engine?

MySQL creates two kinds of temporary tables—external and internal—based on CREATE TEMPORARY TABLE statements or internal query processing, and uses the MEMORY engine by default unless large objects or the big_tables variable force MyISAM or InnoDB, with detailed guidance on scenarios, storage engine selection, conversion thresholds, indexing, and performance tuning.

MySQLQuery OptimizationSQL
0 likes · 19 min read
When Does MySQL Use Temporary Tables and How Does It Choose the Storage Engine?
Top Architect
Top Architect
May 3, 2022 · Databases

ShardingSphere-JDBC Overview, MySQL Master‑Slave Replication Setup, Binlog & Redo Log Review, and Sharding‑JDBC Read/Write Splitting & Sharding Implementation

This article provides a comprehensive tutorial on using ShardingSphere‑JDBC, configuring MySQL master‑slave replication with Docker, explaining binlog and redo‑log mechanisms, demonstrating two‑phase commit, and detailing Sharding‑JDBC read/write splitting and sharding configurations with code examples.

DatabaseJDBCMySQL
0 likes · 23 min read
ShardingSphere-JDBC Overview, MySQL Master‑Slave Replication Setup, Binlog & Redo Log Review, and Sharding‑JDBC Read/Write Splitting & Sharding Implementation
Java Backend Technology
Java Backend Technology
May 2, 2022 · Databases

When Does a MySQL Table Hit Its Limits? Insights and Demo

This article explains that MySQL imposes no fixed row limit, discusses the common 5‑million‑row myth and Alibaba's 2 GB recommendation, shows a Java insertion test that slows after millions of rows, and highlights how InnoDB buffer size and memory constraints affect table performance.

Data InsertionDatabase PerformanceInnoDB
0 likes · 4 min read
When Does a MySQL Table Hit Its Limits? Insights and Demo