Tagged articles

MySQL

5000 articles · Page 25 of 50
Top Architect
Top Architect
Jun 13, 2023 · Backend Development

Implementing Business Operation Logging with Spring AOP in a Java Backend

This article explains how to design and implement a business operation logging feature in a Spring Boot application using custom annotations and Spring AOP, covering requirement analysis, pitfalls of a naïve implementation, AOP design, code examples, and testing procedures.

Backend DevelopmentJavaMySQL
0 likes · 16 min read
Implementing Business Operation Logging with Spring AOP in a Java Backend
政采云技术
政采云技术
Jun 13, 2023 · Databases

MySQL Logical Architecture Design and Performance Optimization

This article explains MySQL's four‑layer logical architecture, describes high‑performance read strategies, details data pages, buffer pool and LRU algorithm, and provides comprehensive guidance on index structures, optimization techniques, and best practices for improving query performance.

IndexingLRU algorithmMySQL
0 likes · 14 min read
MySQL Logical Architecture Design and Performance Optimization
Code Ape Tech Column
Code Ape Tech Column
Jun 12, 2023 · Databases

Understanding MySQL DDL Execution and Online DDL Mechanisms

This article explains the differences between MySQL DDL and DML, describes how online DDL works—including copy and inplace algorithms, execution phases, common pitfalls, limitations, and recent MySQL 8.0 enhancements—providing practical guidance for safely altering large tables.

DDLDatabaseInnoDB
0 likes · 16 min read
Understanding MySQL DDL Execution and Online DDL Mechanisms
Su San Talks Tech
Su San Talks Tech
Jun 12, 2023 · Databases

Master MySQL Indexes: From B+ Trees to Index Merge and Optimization

This article explains MySQL InnoDB index fundamentals, covering index types, data structures, clustered and secondary indexes, covering indexes, index pushdown, index merge, cost‑based index selection, common index‑inefficiency scenarios, and practical guidelines for designing effective indexes.

B+TreeIndexInnoDB
0 likes · 31 min read
Master MySQL Indexes: From B+ Trees to Index Merge and Optimization
dbaplus Community
dbaplus Community
Jun 11, 2023 · Databases

Splitting a 500‑Million‑Row MySQL Table: Practical Sharding‑JDBC Lessons

Facing a MySQL transaction table exceeding 50 million rows and growing rapidly, a finance team redesigned the schema using sharding‑jdbc, chose transaction time as the shard key, tackled multi‑data‑source transactions and cross‑shard pagination, and executed a phased migration to ensure stability and performance.

Data MigrationMySQLSharding-JDBC
0 likes · 11 min read
Splitting a 500‑Million‑Row MySQL Table: Practical Sharding‑JDBC Lessons
IT Services Circle
IT Services Circle
Jun 10, 2023 · Databases

Comprehensive MySQL Interview Guide: Key Concepts and Practices

This article provides a systematic, interview‑focused overview of MySQL fundamentals—including normal forms, DML vs DDL, primary and foreign keys, storage engines, redo and binlog mechanisms, indexing strategies, transaction properties, MVCC, lock types, replication, and common performance pitfalls—helping candidates quickly master essential database knowledge for interview success.

DatabaseIndexingMySQL
0 likes · 32 min read
Comprehensive MySQL Interview Guide: Key Concepts and Practices
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 10, 2023 · Databases

Weekly Tech Share Summary – SQL and Database Highlights

This weekly newsletter curates top industry tech articles covering SQL deployment capabilities, MySQL replication issues, LLM‑to‑SQL benchmarks, connection limit errors, OceanBase tracing, and provides an open‑source SQL quality management platform update with development progress and upcoming plans.

AuditDatabaseMySQL
0 likes · 4 min read
Weekly Tech Share Summary – SQL and Database Highlights
Open Source Linux
Open Source Linux
Jun 9, 2023 · Backend Development

How We Built a High‑Availability Membership System for Billions of Users

This article details the design and implementation of a highly available, high‑performance membership platform serving over a billion users, covering Elasticsearch dual‑center clusters, traffic‑isolated clusters, deep ES optimizations, Redis caching strategies, MySQL dual‑center partitioning, seamless migration, and fine‑grained flow‑control and degradation mechanisms.

ElasticsearchMySQLRedis
0 likes · 21 min read
How We Built a High‑Availability Membership System for Billions of Users
Laravel Tech Community
Laravel Tech Community
Jun 7, 2023 · Databases

MySQL Logical vs Physical Backup and Percona XtraBackup Installation, Configuration, and Backup/Restore Procedures

This article explains the differences between MySQL logical and physical backups, introduces Percona XtraBackup, provides step‑by‑step installation commands, details common parameters, and demonstrates full and incremental backup and recovery workflows with practical code examples.

Database AdministrationLogical BackupMySQL
0 likes · 13 min read
MySQL Logical vs Physical Backup and Percona XtraBackup Installation, Configuration, and Backup/Restore Procedures
Test Development Learning Exchange
Test Development Learning Exchange
Jun 7, 2023 · Backend Development

Using Python Decorators for API Automation Testing

This article explains how Python decorators can abstract common functionalities such as logging, authentication, and performance monitoring in API automation testing, providing code examples, recommended use‑cases, and a complete demonstration that integrates logging and MySQL data storage to improve test efficiency and maintainability.

LoggingMySQLPython
0 likes · 7 min read
Using Python Decorators for API Automation Testing
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 7, 2023 · Databases

OceanBase vs MySQL/TiDB: Performance Evaluation, Deployment Guide, and Migration Practices

This article presents a comprehensive performance comparison of OceanBase with MySQL and TiDB, details step‑by‑step deployment of OceanBase (both single‑node and cluster), explains configuration and resource‑pool management, and shares practical migration techniques and troubleshooting tips for production workloads.

Database MigrationMySQLOceanBase
0 likes · 23 min read
OceanBase vs MySQL/TiDB: Performance Evaluation, Deployment Guide, and Migration Practices
Liangxu Linux
Liangxu Linux
Jun 6, 2023 · Databases

Why MySQL Chooses B+ Trees Over Skip Lists for Indexing

The article explains the structural differences between B+ trees and skip lists, compares their read‑write performance in MySQL and Redis, and shows why MySQL prefers B+ trees while Redis adopts skip lists for its in‑memory ZSET implementation.

B+TreeDatabaseIndexing
0 likes · 13 min read
Why MySQL Chooses B+ Trees Over Skip Lists for Indexing
Test Development Learning Exchange
Test Development Learning Exchange
Jun 6, 2023 · Backend Development

Building a Mock Service Tool with Django, MySQL, and Vue

This article provides a step‑by‑step guide to creating a mock service tool using Django, MySQL, and Vue, covering backend environment setup, model and view implementation, API routing, frontend Vue project configuration, component development, and how to run both servers for efficient front‑end development and testing.

DjangoMock APIMySQL
0 likes · 9 min read
Building a Mock Service Tool with Django, MySQL, and Vue
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 6, 2023 · Databases

Why Does Inserting a Record that Triggers a Unique Index Conflict Add a Next‑Key Exclusive Lock on the Primary‑Key Supremum Record?

This article reproduces a MySQL 8.0.32 InnoDB scenario where inserting a row that violates a unique index causes a next‑key exclusive lock on the primary‑key supremum record, explains the underlying implicit‑lock mechanism, walks through the relevant source‑code stack, and details the lock‑conversion and rollback steps under REPEATABLE‑READ isolation.

Database InternalsInnoDBMySQL
0 likes · 25 min read
Why Does Inserting a Record that Triggers a Unique Index Conflict Add a Next‑Key Exclusive Lock on the Primary‑Key Supremum Record?
Bilibili Tech
Bilibili Tech
Jun 6, 2023 · Backend Development

Evolution of Bilibili Relationship Chain Service: From MySQL to KV Storage and Multi‑Layer Caching

Bilibili’s relationship‑chain service, which handles follows, blacklists, whispers and mutual follows, migrated from a single sharded MySQL instance to an internal distributed KV store and introduced a three‑tier cache (memcached, Redis and a Bloom filter) plus automated hotspot routing, achieving near‑million QPS, lower latency, and preparing for multi‑tenant reuse.

KV storeMySQLRedis
0 likes · 17 min read
Evolution of Bilibili Relationship Chain Service: From MySQL to KV Storage and Multi‑Layer Caching
Java High-Performance Architecture
Java High-Performance Architecture
Jun 5, 2023 · Databases

Master MySQL Indexes: Types, Usage, and Performance Optimization

This guide explains MySQL indexes—what they are, their data structures, advantages and drawbacks, when to create them, various index types, how to interpret EXPLAIN output, common pitfalls that cause index loss, and practical optimization techniques for queries, joins, ordering, grouping, and slow‑query logging.

Database PerformanceEXPLAINIndex
0 likes · 19 min read
Master MySQL Indexes: Types, Usage, and Performance Optimization
Programmer DD
Programmer DD
Jun 3, 2023 · Databases

Master MySQL Binlog: Sync Data and Power Business Innovations

This article explains MySQL's binlog, its role in master‑slave replication, and how businesses can harness it for data heterogeneity, cache synchronization, and task dispatch, illustrating practical middleware designs that transform raw changes into valuable services.

Data ReplicationDatabaseMySQL
0 likes · 7 min read
Master MySQL Binlog: Sync Data and Power Business Innovations
Architecture & Thinking
Architecture & Thinking
Jun 2, 2023 · Databases

Mastering Database High Availability: From Basic Replication to Seamless Scaling

This article examines the evolution of database high‑availability architectures in large‑scale internet environments, covering basic direct‑connect setups, scale‑up/scale‑out sharding, master‑slave/master‑master with Keepalived, and advanced solutions such as MHA, Percona XtraDB Cluster, and MySQL Group Replication, plus smooth scaling steps.

KeepalivedMaster‑SlaveMySQL
0 likes · 7 min read
Mastering Database High Availability: From Basic Replication to Seamless Scaling
Top Architect
Top Architect
Jun 1, 2023 · Databases

Comprehensive Guide to MySQL Indexes, Types, and Query Optimization

This article explains the definition, data structures, advantages, disadvantages, and appropriate usage scenarios of MySQL indexes, details primary, unique, single‑column and composite index types, analyzes common performance bottlenecks with EXPLAIN, demonstrates index creation, invalidation cases, query and join optimizations, and shows how to configure and use the slow‑query log.

Database PerformanceEXPLAINMySQL
0 likes · 19 min read
Comprehensive Guide to MySQL Indexes, Types, and Query Optimization
MaGe Linux Operations
MaGe Linux Operations
May 31, 2023 · Operations

How We Achieved 20k TPS High‑Availability for a Billion‑User Membership System

This article details the design and implementation of a highly available, high‑performance membership system that serves over a billion users, covering Elasticsearch dual‑center HA, traffic‑isolated clusters, Redis caching, MySQL dual‑center partitioning, seamless migration, and refined flow‑control and degradation strategies.

ElasticsearchMySQLRedis
0 likes · 19 min read
How We Achieved 20k TPS High‑Availability for a Billion‑User Membership System
Java Backend Technology
Java Backend Technology
May 30, 2023 · Databases

Why count(*) Slows Down MySQL and How to Optimize It

This article explains why MySQL count(*) can become a performance bottleneck on InnoDB tables, compares different count() variants, and presents practical optimization techniques such as Redis caching, second‑level caches, parallel execution, reducing joins, and offloading analytics to ClickHouse.

COUNTClickHouseInnoDB
0 likes · 10 min read
Why count(*) Slows Down MySQL and How to Optimize It
Su San Talks Tech
Su San Talks Tech
May 30, 2023 · Databases

Master MySQL Indexes: From B+ Trees to Index Merge and Optimization

This article explains MySQL index fundamentals—including classification, B+‑tree and hash structures, clustered and secondary indexes, single‑ and composite‑column indexes, covering indexes, index condition pushdown, index merge strategies, cost‑based index selection, common index‑invalidating scenarios, and practical guidelines for creating effective indexes.

B+TreeDatabase PerformanceIndex
0 likes · 29 min read
Master MySQL Indexes: From B+ Trees to Index Merge and Optimization
Liangxu Linux
Liangxu Linux
May 29, 2023 · Databases

What Happens When MySQL Auto‑Increment IDs Reach Their Limits?

This article explains how MySQL handles overflow of various auto‑generated identifiers—including table auto_increment, InnoDB row_id, Xid, trx_id, and thread_id—detailing the wrap‑around behavior, potential data loss, and the rare edge cases that can lead to bugs.

InnoDBMySQLXid
0 likes · 13 min read
What Happens When MySQL Auto‑Increment IDs Reach Their Limits?
Top Architect
Top Architect
May 29, 2023 · Databases

Large Table Splitting in MySQL: Challenges, Solutions, and Lessons Learned

Facing a 50‑million‑row financial transaction table, the team implemented horizontal sharding with sharding‑jdbc, designed migration and pagination strategies, tackled multi‑datasource transaction issues, and outlined a phased rollout, providing practical insights for large‑scale MySQL table splitting and backend system stability.

Data MigrationMySQLPerformance Optimization
0 likes · 11 min read
Large Table Splitting in MySQL: Challenges, Solutions, and Lessons Learned
IT Services Circle
IT Services Circle
May 29, 2023 · Databases

Storing IPv4 Addresses in MySQL: Choosing the Optimal Data Type

The article explains why storing IPv4 addresses as VARCHAR is suboptimal, demonstrates that a 32‑bit unsigned INT perfectly fits an IPv4 address, compares storage size and query performance, and shows how to use MySQL's inet_aton and inet_ntoa conversion functions.

IntegerMySQLdata type
0 likes · 6 min read
Storing IPv4 Addresses in MySQL: Choosing the Optimal Data Type
php Courses
php Courses
May 28, 2023 · Backend Development

Implementing Single Sign-On (SSO) with PHP: A Step-by-Step Guide

This tutorial explains how to build a PHP-based single sign‑on system using a main login application, a shared authentication service backed by MySQL and Redis, and multiple external applications, providing complete code examples for database setup, login handling, session sharing, and logout.

AuthenticationMySQLPHP
0 likes · 8 min read
Implementing Single Sign-On (SSO) with PHP: A Step-by-Step Guide
php Courses
php Courses
May 26, 2023 · Databases

Using Indexes to Optimize MySQL Queries

This article explains what indexes are, when they should be applied, and provides step‑by‑step MySQL commands—including single‑column, composite, and index‑hint examples—to improve query performance on large datasets.

Database PerformanceIndexingMySQL
0 likes · 6 min read
Using Indexes to Optimize MySQL Queries
Laravel Tech Community
Laravel Tech Community
May 25, 2023 · Databases

Using Sequel Pro on macOS to Manage MySQL and MariaDB Databases

This article introduces Sequel Pro, a macOS GUI client for MySQL and MariaDB, explains how to configure standard connections with required fields, describes the main interface features such as database selection, table structure and content viewing, and highlights additional tools like Query and Table Info.

Database ManagementGUIMariaDB
0 likes · 3 min read
Using Sequel Pro on macOS to Manage MySQL and MariaDB Databases
Su San Talks Tech
Su San Talks Tech
May 25, 2023 · Databases

Why MySQL Uses B+ Trees Instead of Skip Lists for Indexing

This article compares B+ trees and skip lists, explaining their structures, insertion and search complexities, and why MySQL chooses B+ trees for disk‑based indexing while Redis prefers skip lists for in‑memory sorted sets, highlighting trade‑offs in read/write performance and I/O costs.

B+TreeDatabaseIndexing
0 likes · 12 min read
Why MySQL Uses B+ Trees Instead of Skip Lists for Indexing
Sanyou's Java Diary
Sanyou's Java Diary
May 23, 2023 · Databases

Master MySQL Indexes: From B+ Trees to Index Merge and Optimization

This article provides a comprehensive guide to MySQL indexing, covering index types, data structures, clustering vs. non‑clustering, hash and B+Tree indexes, covering indexes, index push‑down, index merge strategies, cost‑based index selection, common pitfalls, and practical indexing principles with illustrative examples and SQL snippets.

B+TreeDatabaseIndex
0 likes · 31 min read
Master MySQL Indexes: From B+ Trees to Index Merge and Optimization
MaGe Linux Operations
MaGe Linux Operations
May 21, 2023 · Information Security

Step‑by‑Step Webshell Upload and Kernel Privilege Escalation on Ubuntu 16.04

This tutorial walks through setting up an Ubuntu 16.04 vulnerable environment, gathering information, uploading a webshell via MySQL into outfile or log injection, establishing a reverse shell with Metasploit, and finally exploiting CVE‑2021‑4034 for kernel privilege escalation, while also covering post‑exploitation persistence techniques.

KaliLinuxMetasploit
0 likes · 10 min read
Step‑by‑Step Webshell Upload and Kernel Privilege Escalation on Ubuntu 16.04
MaGe Linux Operations
MaGe Linux Operations
May 20, 2023 · Databases

What Happens When MySQL Auto‑Increment IDs Reach Their Limits?

This article explains how MySQL handles auto‑increment primary keys, InnoDB’s internal row_id, transaction Xid and trx_id counters when they reach their maximum values, the resulting primary‑key conflicts, data overwrites, and a theoretical dirty‑read bug caused by counter wrap‑around.

Database InternalsInnoDBMySQL
0 likes · 13 min read
What Happens When MySQL Auto‑Increment IDs Reach Their Limits?
Python Programming Learning Circle
Python Programming Learning Circle
May 18, 2023 · Backend Development

Online Movie Website System Developed with Python Flask

This article introduces a Python‑based online movie website built with the Flask framework, detailing its project structure, front‑end using HTML5 and Bootstrap, back‑end in Python 3, MySQL database integration, deployment instructions, and includes screenshots of the UI and architecture.

Backend DevelopmentMySQL
0 likes · 3 min read
Online Movie Website System Developed with Python Flask
Architecture Digest
Architecture Digest
May 17, 2023 · Backend Development

Step-by-Step Guide to Setting Up Nacos and Seata for Distributed Transactions in Spring Cloud Alibaba

This tutorial walks through the complete environment setup, including rapid installation of Nacos with MySQL mode, configuring Seata 1.5.0 for distributed transactions, creating the required MySQL tables, building micro‑services with Spring Boot, defining Feign clients, enabling global transactions, testing the workflow, and noting important version compatibility issues.

MicroservicesMySQLNacos
0 likes · 15 min read
Step-by-Step Guide to Setting Up Nacos and Seata for Distributed Transactions in Spring Cloud Alibaba
MaGe Linux Operations
MaGe Linux Operations
May 16, 2023 · Databases

How We Split a 50‑Million‑Row MySQL Table: Strategies and Lessons Learned

This article recounts how a finance team tackled a 50‑million‑row MySQL table by analyzing system bottlenecks, defining splitting goals, selecting sharding‑jdbc, addressing multi‑datasource transactions and pagination, designing data migration strategies, and executing a staged rollout to ensure stability and performance.

Database MigrationMySQLbackend
0 likes · 12 min read
How We Split a 50‑Million‑Row MySQL Table: Strategies and Lessons Learned
Architecture Digest
Architecture Digest
May 16, 2023 · Backend Development

High‑Availability Architecture for a Membership System: Dual‑Center ES Cluster, Redis Caching, MySQL Migration, and Fine‑Grained Flow Control

This article presents a comprehensive engineering case study of a high‑traffic membership system, detailing the dual‑center Elasticsearch high‑availability design, traffic‑isolated three‑cluster ES architecture, Redis caching strategy, dual‑center MySQL partitioning and migration plan, abnormal member relationship governance, and future fine‑grained flow‑control and downgrade policies.

Data MigrationElasticsearchMySQL
0 likes · 19 min read
High‑Availability Architecture for a Membership System: Dual‑Center ES Cluster, Redis Caching, MySQL Migration, and Fine‑Grained Flow Control
MaGe Linux Operations
MaGe Linux Operations
May 15, 2023 · Databases

Why MySQL LIMIT Slows Down on Millions of Rows—and How to Fix It

Through hands‑on experiments with a 10‑million‑row MySQL 5.7 table, this article shows how standard LIMIT pagination becomes slower as offset and data volume grow, then presents practical optimizations—sub‑queries, ID‑based ranges, and column selection—to dramatically improve query performance.

MySQLlarge datasets
0 likes · 11 min read
Why MySQL LIMIT Slows Down on Millions of Rows—and How to Fix It
Architecture Digest
Architecture Digest
May 15, 2023 · Databases

Case Study: Splitting a Massive MySQL Financial Transaction Table Using Sharding-JDBC

This article details how a finance team tackled a 50‑million‑row MySQL transaction table by designing a horizontal sharding strategy with Sharding‑JDBC, addressing performance bottlenecks, multi‑source transaction handling, pagination across shards, and a phased data migration and rollout plan.

Backend DevelopmentData MigrationDatabase Scaling
0 likes · 11 min read
Case Study: Splitting a Massive MySQL Financial Transaction Table Using Sharding-JDBC
Architect
Architect
May 13, 2023 · Databases

Splitting a Massive MySQL Financial Transaction Table: Challenges, Strategies, and Implementation

The article details how a finance team tackled a 50‑million‑row MySQL transaction table by analyzing the pre‑split problems, defining split goals, choosing sharding‑jdbc, addressing multi‑datasource transaction and pagination issues, designing a phased migration and rollout plan, and summarizing lessons learned.

Data MigrationMySQLPagination
0 likes · 13 min read
Splitting a Massive MySQL Financial Transaction Table: Challenges, Strategies, and Implementation
Aikesheng Open Source Community
Aikesheng Open Source Community
May 11, 2023 · Databases

Why MySQL 8.0 Upgrade Can Suddenly Slow Down Queries: The Hidden Lock Table Trap

After upgrading from MySQL 5.7 to 8.0, a client experienced a flood of slow queries despite low system load; the root cause was a change in the sys.innodb_lock_waits view that now relies on performance_schema.data_locks, whose large lock table holds a global mutex and blocks other transactions, a problem solved by adding an index to reduce lock volume.

DatabaseInnoDBLock
0 likes · 11 min read
Why MySQL 8.0 Upgrade Can Suddenly Slow Down Queries: The Hidden Lock Table Trap
IT Services Circle
IT Services Circle
May 10, 2023 · Backend Development

Debugging a .NET Login Hang Caused by MySQL SSL Connection Using WinDbg

An engineer troubleshoots a .NET application login freeze by capturing a dump with WinDbg, discovers the thread blocked in MySQL SSL handshake, verifies the MySQL driver version, and resolves the issue by disabling SSL via the connection string, illustrating effective debugging without source code or logs.

.NETConnectionStringDebugging
0 likes · 8 min read
Debugging a .NET Login Hang Caused by MySQL SSL Connection Using WinDbg
Efficient Ops
Efficient Ops
May 9, 2023 · Databases

Building a Robust Database Consistency Check Tool for Seamless Migrations

This article examines the challenges of data consistency verification during database migrations, reviews existing tools like pt-table-checksum, sync‑diff‑inspector and gt‑checksum, outlines essential capabilities, and proposes a detailed workflow and future enhancements for a versatile, low‑impact consistency checking solution.

Data MigrationMySQLchecksum tools
0 likes · 11 min read
Building a Robust Database Consistency Check Tool for Seamless Migrations
Top Architect
Top Architect
May 9, 2023 · Databases

Performance Testing and Optimization of MySQL Pagination for Large Datasets

This article demonstrates how to generate, insert, and query ten‑million‑row MySQL tables, measures the latency of ordinary LIMIT pagination, analyzes the impact of offset size and result set size, and presents practical optimization techniques such as sub‑query pagination and ID‑range filtering to dramatically improve query speed.

Large DataMySQLOptimization
0 likes · 12 min read
Performance Testing and Optimization of MySQL Pagination for Large Datasets
Java High-Performance Architecture
Java High-Performance Architecture
May 9, 2023 · Databases

How to Efficiently Paginate 10 Million MySQL Records: Real‑World Tests & Optimizations

This article walks through creating a 10‑million‑row MySQL table, measuring pagination query times under different offsets and result sizes, and presents practical optimizations such as sub‑queries, ID‑range filtering, and column selection to dramatically improve performance while explaining why using SELECT * is discouraged.

Large DataMySQLOptimization
0 likes · 11 min read
How to Efficiently Paginate 10 Million MySQL Records: Real‑World Tests & Optimizations
Java High-Performance Architecture
Java High-Performance Architecture
May 7, 2023 · Backend Development

How We Built a Billion‑User High‑Availability Membership System with Dual‑Center ES, Redis, and MySQL

This article details the design and implementation of a high‑performance, highly available membership platform serving billions of users, covering dual‑center Elasticsearch clusters, traffic‑isolated three‑cluster ES architecture, Redis caching strategies, MySQL dual‑center partitioning, seamless migration, and fine‑grained flow‑control and degradation mechanisms.

ElasticsearchMySQLRedis
0 likes · 21 min read
How We Built a Billion‑User High‑Availability Membership System with Dual‑Center ES, Redis, and MySQL
dbaplus Community
dbaplus Community
May 7, 2023 · Databases

Mastering MySQL Indexes: 15 Essential Q&A to Boost Query Performance

This article provides a comprehensive 15‑question guide on MySQL indexes, covering their definition, various types across data‑structure, physical and logical dimensions, situations where indexes fail or are unsuitable, B+‑tree advantages, search process, covering indexes, left‑most prefix, index push‑down, adding indexes to huge tables, using EXPLAIN to verify index usage, hash versus B+‑tree differences, pros and cons, and the distinction between clustered and non‑clustered indexes.

B+TreeIndexMySQL
0 likes · 18 min read
Mastering MySQL Indexes: 15 Essential Q&A to Boost Query Performance
IT Services Circle
IT Services Circle
May 5, 2023 · Backend Development

Implementing Cache‑Database Consistency with Canal, MySQL, Redis and RabbitMQ

This article demonstrates how to achieve cache‑database consistency by updating MySQL first, deleting Redis cache asynchronously via Canal, publishing change events to RabbitMQ, and handling acknowledgments manually in a Spring Boot application, complete with configuration steps and troubleshooting tips.

Cache invalidationCanalMessage Queue
0 likes · 11 min read
Implementing Cache‑Database Consistency with Canal, MySQL, Redis and RabbitMQ
Liangxu Linux
Liangxu Linux
May 5, 2023 · Databases

Quickly Find the Highest CPU‑Consuming SQL in MySQL

This guide explains how to pinpoint the MySQL statements that use the most CPU by mapping OS thread IDs to MySQL sessions, querying performance_schema and information_schema, and reviewing the execution plan to identify optimization opportunities.

CPUDatabaseMySQL
0 likes · 3 min read
Quickly Find the Highest CPU‑Consuming SQL in MySQL
ITPUB
ITPUB
May 3, 2023 · Databases

Master MySQL Indexes: Types, Usage, and Optimization Tips

This comprehensive guide explains what MySQL indexes are, details various index types—including B+‑tree, hash, full‑text, and spatial—covers when indexes become ineffective, shows how to design, use, and troubleshoot them, and provides practical steps for large‑scale index management.

B+TreeDatabaseIndex
0 likes · 19 min read
Master MySQL Indexes: Types, Usage, and Optimization Tips
ITPUB
ITPUB
May 2, 2023 · Backend Development

Four Ways to Sync MySQL Data to Elasticsearch – Pros, Cons, and Tools

This article compares four common approaches for synchronizing MySQL data to Elasticsearch—synchronous dual write, asynchronous dual write via message queues, scheduled tasks, and binlog‑based data subscription—detailing their advantages, drawbacks, implementation steps, and tool choices such as Canal, Maxwell, and Python‑MySQL‑Replication.

CanalElasticsearchMessage Queue
0 likes · 6 min read
Four Ways to Sync MySQL Data to Elasticsearch – Pros, Cons, and Tools
dbaplus Community
dbaplus Community
May 2, 2023 · Databases

How MySQL Parallel Replication Cuts Slave Lag: Group Commit, Lock‑Based & WRITESET Explained

This article explains why MySQL slave lag is a critical issue, compares the official parallel replication schemes—including Commit‑Parent‑Based, Lock‑Based, and WRITESET—details their internal mechanisms, presents benchmark results, and provides the exact configuration parameters needed to enable high‑performance parallel replication.

Group CommitMySQLParallel Replication
0 likes · 17 min read
How MySQL Parallel Replication Cuts Slave Lag: Group Commit, Lock‑Based & WRITESET Explained
ITPUB
ITPUB
Apr 29, 2023 · Backend Development

When Multiple Indexes Meet: How MySQL’s Index Merge Optimizer Works

This article explains how MySQL handles queries that involve two separate indexed columns, demonstrates the index_merge execution plan with real‑world examples, details the three index‑merge strategies (intersect, union, sort_union), and shows how to control or disable the feature for better performance.

MySQLOptimizerPerformance
0 likes · 11 min read
When Multiple Indexes Meet: How MySQL’s Index Merge Optimizer Works
MaGe Linux Operations
MaGe Linux Operations
Apr 28, 2023 · Big Data

How to Sync 50 Million Rows Efficiently with Alibaba’s DataX

This guide explains why traditional mysqldump and file‑based methods fail for massive cross‑database sync, introduces Alibaba’s open‑source DataX middleware, details its framework and plugin architecture, walks through installation on Linux, shows how to configure MySQL source and target, and demonstrates both full and incremental data synchronization with practical JSON job examples.

DataXETLMySQL
0 likes · 14 min read
How to Sync 50 Million Rows Efficiently with Alibaba’s DataX
JavaEdge
JavaEdge
Apr 27, 2023 · Databases

How to Deploy MySQL 5.7 with Docker: A Complete Step‑by‑Step Guide

This article walks you through downloading the MySQL 5.7 Docker image, configuring IPv4 networking, launching the container with proper volume mounts, troubleshooting common startup errors, verifying the setup, and discussing production‑grade considerations such as data persistence, memory isolation, and scaling.

DevOpsDockerLinux
0 likes · 14 min read
How to Deploy MySQL 5.7 with Docker: A Complete Step‑by‑Step Guide
Sanyou's Java Diary
Sanyou's Java Diary
Apr 27, 2023 · Databases

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

This article examines the most frequent reasons MySQL queries become slow—including missing or ineffective indexes, deep pagination, massive tables, excessive joins, IN‑list overload, dirty pages, ORDER BY file‑sort, lock contention, and hardware limits—while offering concrete optimization techniques and best‑practice recommendations.

MySQLSQLSlow Query
0 likes · 29 min read
12 Common MySQL Slow‑Query Causes and How to Fix Them
Tencent Database Technology
Tencent Database Technology
Apr 27, 2023 · Databases

Understanding MySQL Partition Pruning: Which Partition Should Be Queried?

This article explains how MySQL implements partition pruning, describing the conditions under which the optimizer can skip irrelevant partitions, the internal data structures such as read_partitions and lock_partitions, the role of SEL_TREE and SEL_ARG, and provides a detailed example with code to illustrate the pruning process.

MySQLSQLdatabase optimization
0 likes · 15 min read
Understanding MySQL Partition Pruning: Which Partition Should Be Queried?