Tagged articles

MySQL

5000 articles · Page 22 of 50
ITPUB
ITPUB
Nov 2, 2023 · Databases

How to Diagnose and Fix Slow SQL Queries: Practical Steps and Real Examples

This article explains why slow SQL queries become a major risk for service stability, outlines a step‑by‑step investigation process using EXPLAIN, and presents multiple real‑world case studies with code snippets and optimization principles to quickly locate and resolve performance bottlenecks.

EXPLAINMySQLSQL
0 likes · 14 min read
How to Diagnose and Fix Slow SQL Queries: Practical Steps and Real Examples
Java High-Performance Architecture
Java High-Performance Architecture
Nov 2, 2023 · Databases

How to Tackle Large MySQL Tables: Partitioning, Sharding, and Archiving Strategies

When MySQL tables grow to millions of rows, insert and query latency increase, schema changes become costly, and irrelevant data bloats storage, so this guide evaluates table size, explains why B+‑tree depth hurts performance, and presents partitioning, sharding, and hot‑cold archiving solutions with practical SQL examples.

B+TreeMySQLTable Partitioning
0 likes · 15 min read
How to Tackle Large MySQL Tables: Partitioning, Sharding, and Archiving Strategies
Laravel Tech Community
Laravel Tech Community
Nov 1, 2023 · Databases

MySQL my.cnf Configuration Parameters Reference

This article presents a detailed reference of MySQL server configuration options (my.cnf), explaining each setting such as storage engine, networking, replication, logging, cache sizes, and performance‑related parameters to help administrators fine‑tune their databases.

MySQLPerformance TuningSQL
0 likes · 12 min read
MySQL my.cnf Configuration Parameters Reference
dbaplus Community
dbaplus Community
Nov 1, 2023 · Databases

What’s New in MySQL 8.2.0? Features, Deprecations, and Firewall Updates

MySQL 8.2.0, released on October 25, 2023, introduces audit‑log cleanup scripts, FIDO‑based authentication, named‑parameter support, numerous deprecations, firewall reload scheduling, expanded SQL syntax options, and new client and server features while dropping outdated functions and variables.

Database FeaturesMySQLSQL
0 likes · 9 min read
What’s New in MySQL 8.2.0? Features, Deprecations, and Firewall Updates
ITPUB
ITPUB
Oct 31, 2023 · Databases

Demystifying MySQL InnoDB Buffers: Pool, Change, Log & Doublewrite

This article explains MySQL InnoDB’s key buffering mechanisms—buffer pool, change buffer, log buffer, and doublewrite buffer—detailing their roles, internal structures, eviction policies, and how they improve performance and data durability while handling page reads, writes, and crash recovery.

Database PerformanceDoublewriteInnoDB
0 likes · 14 min read
Demystifying MySQL InnoDB Buffers: Pool, Change, Log & Doublewrite
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 31, 2023 · Databases

MySQL Disaster Recovery: Multi‑Region Three‑Center Replication and RTO/RPO Optimization

This article explains the principles of disaster recovery for MySQL, covering RTO/RPO metrics, national backup level standards, common master‑slave topologies, a comparative analysis of high‑availability solutions, and a detailed three‑center multi‑region replication design with code patches to avoid replication loops.

DatabaseMySQLRPO
0 likes · 17 min read
MySQL Disaster Recovery: Multi‑Region Three‑Center Replication and RTO/RPO Optimization
ITPUB
ITPUB
Oct 30, 2023 · Databases

Why MySQL Queries Slow Down and How to Speed Them Up

This article explores common reasons MySQL queries become sluggish—beyond missing indexes—including connection limits, insufficient InnoDB buffer pool size, and query cache issues, and provides practical steps such as profiling, using FORCE INDEX, adjusting max_connections, enlarging the buffer pool, and tuning connection pools to improve performance.

IndexingMySQLconnection-pool
0 likes · 16 min read
Why MySQL Queries Slow Down and How to Speed Them Up
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 30, 2023 · Databases

MySQL 8.2 Transparent Read/Write Splitting with MySQL Router

MySQL 8.2 introduces transparent read/write splitting via MySQL Router, allowing automatic routing of read traffic to replica instances and write traffic to the primary source without any changes to the application, demonstrated with a simple InnoDB ReplicaSet deployment and configuration examples.

DatabasePerformanceInnoDBReplicaSetMySQL
0 likes · 6 min read
MySQL 8.2 Transparent Read/Write Splitting with MySQL Router
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 30, 2023 · Databases

ActionTech Open Source Community Weekly Newsletter – SQLE Updates, Technical Articles, and Events

The newsletter announces the SQLE 3.0 release with new UI and demo environments, highlights the SQLE 2.2310.0‑pre3 update, reviews technical articles on MySQL cloning, OceanBase indexing, data replication, charset issues, and connection‑pool design, recaps recent conferences, and previews upcoming OB Cloud open class events.

DataReplicationDatabaseMySQL
0 likes · 8 min read
ActionTech Open Source Community Weekly Newsletter – SQLE Updates, Technical Articles, and Events
LouZai
LouZai
Oct 30, 2023 · Databases

How to Diagnose and Fix MySQL Master‑Slave Replication Lag

The article explains what MySQL master‑slave replication lag is, analyzes why it occurs—especially during relay‑log replay and large DDL/DML operations—and provides concrete configuration, hardware, and architectural solutions to reduce or eliminate the delay.

ConfigurationLagMaster‑Slave
0 likes · 8 min read
How to Diagnose and Fix MySQL Master‑Slave Replication Lag
dbaplus Community
dbaplus Community
Oct 29, 2023 · Databases

Why MySQL 8.0 MTS Hangs After 2³¹ Transactions and How to Reproduce the Bug

MySQL 8.0.28 and earlier can deadlock in multi‑threaded slave replication when the internal commit sequence counter overflows after 2³¹ transactions, causing workers to stop waking and the replica to hang; the article explains the underlying slave_preserve_commit_order mechanism, the overflow bug, and a step‑by‑step reproduction method.

MTSMySQLbug reproduction
0 likes · 11 min read
Why MySQL 8.0 MTS Hangs After 2³¹ Transactions and How to Reproduce the Bug
Architecture & Thinking
Architecture & Thinking
Oct 27, 2023 · Databases

How to Choose the Optimal Prefix Length for MySQL Indexes

This article explains why indexing long character columns can bloat MySQL indexes, introduces the concept of index selectivity, shows how to calculate the best prefix length with real‑world queries, and demonstrates performance differences between short and optimal index prefixes.

IndexMySQLPrefix Index
0 likes · 8 min read
How to Choose the Optimal Prefix Length for MySQL Indexes
ITPUB
ITPUB
Oct 26, 2023 · Databases

Mastering Case Sensitivity Across Snowflake, Databend, MySQL, and PostgreSQL

This guide explains why case‑sensitivity issues arise in databases, how naming conventions can prevent them, and compares the behavior of Snowflake, Databend, MySQL, and PostgreSQL for database, table, column names and string literals, complete with practical examples and a concise checklist.

DatabendMySQLPostgreSQL
0 likes · 6 min read
Mastering Case Sensitivity Across Snowflake, Databend, MySQL, and PostgreSQL
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 26, 2023 · Databases

SQL Learning Course Outline and Book Giveaway Announcement

This announcement details a book giveaway sponsored by Tsinghua University Press and presents a comprehensive SQL learning curriculum covering SQLite, MySQL, query fundamentals, subqueries, joins, and advanced database features, complete with micro‑lecture videos and hands‑on exercises.

Book GiveawayDatabaseDatabase Tutorial
0 likes · 9 min read
SQL Learning Course Outline and Book Giveaway Announcement
Practical DevOps Architecture
Practical DevOps Architecture
Oct 26, 2023 · Operations

Step-by-Step Guide to Deploy MySQL Using Ansible Roles

This tutorial walks through creating an Ansible role that structures directories, defines configuration templates, sets variables, writes task files, and runs a playbook to install MySQL 8.0.32 on a Linux host, illustrating a complete automation workflow for database deployment.

AnsibleDevOpsMySQL
0 likes · 4 min read
Step-by-Step Guide to Deploy MySQL Using Ansible Roles
ITPUB
ITPUB
Oct 25, 2023 · Databases

SELECT FOR UPDATE: When MySQL Locks Rows vs. Tables – 20 Tested Scenarios

This article systematically investigates how MySQL's SELECT FOR UPDATE behaves under different versions (5.7 and 8.0) and isolation levels (RR and RC), covering twenty scenarios that vary by index type and query range, and summarizes whether the statement acquires row‑level, gap, or table‑level locks.

MySQLRow LockSELECT FOR UPDATE
0 likes · 21 min read
SELECT FOR UPDATE: When MySQL Locks Rows vs. Tables – 20 Tested Scenarios
MaGe Linux Operations
MaGe Linux Operations
Oct 25, 2023 · Cloud Native

Deploy a Typecho Blog on Kubernetes: Step‑by‑Step Guide with MySQL

This tutorial walks you through preparing a Kubernetes cluster, deploying MySQL and Typecho containers with detailed YAML configurations, creating the necessary services and ingress, testing the setup, and highlighting Kubernetes' high‑availability and auto‑scaling benefits for a reliable blog platform.

KubernetesMySQLTypecho
0 likes · 8 min read
Deploy a Typecho Blog on Kubernetes: Step‑by‑Step Guide with MySQL
Code Ape Tech Column
Code Ape Tech Column
Oct 24, 2023 · Big Data

Synchronizing MySQL Data to Elasticsearch Using Logstash

This tutorial explains how to set up the environment, configure Elasticsearch and Logstash, create the necessary MySQL tables, and use a Logstash pipeline to continuously sync MySQL records into an Elasticsearch index, while also covering common pitfalls and troubleshooting steps.

Data synchronizationETLElasticsearch
0 likes · 12 min read
Synchronizing MySQL Data to Elasticsearch Using Logstash
LouZai
LouZai
Oct 24, 2023 · Databases

Understanding MySQL SQL Execution Process with a Single Diagram

This article provides a step‑by‑step walkthrough of MySQL’s execution pipeline—from the client connection and parsing, through optimization, execution, undo/redo logging, change buffer handling, and binlog recording—illustrated with diagrams and detailed explanations of each component.

InnoDBMySQLOptimizer
0 likes · 11 min read
Understanding MySQL SQL Execution Process with a Single Diagram
Architect's Guide
Architect's Guide
Oct 21, 2023 · Databases

Implementing Monthly Horizontal Partitioning in MySQL Using Stored Procedures and Dynamic Table Creation

This article details a practical approach to handling massive billing data by dynamically creating monthly tables in MySQL via stored procedures, integrating them with a SpringBoot‑MyBatis backend, and providing APIs for insertion, serial‑number lookup, and time‑range queries, complete with code examples and operational tips.

Dynamic TableMySQLSpringBoot
0 likes · 31 min read
Implementing Monthly Horizontal Partitioning in MySQL Using Stored Procedures and Dynamic Table Creation
JD Retail Technology
JD Retail Technology
Oct 20, 2023 · Databases

Understanding Pagination Issues with ORDER BY and LIMIT in MySQL

This article examines why combining ORDER BY with LIMIT in MySQL pagination can produce duplicate rows on subsequent pages, analyzes the optimizer’s priority‑queue behavior introduced in version 5.6, and presents practical solutions such as using unique sort keys, adding ID ordering, and understanding deep‑pagination limitations.

LIMITMySQLORDER BY
0 likes · 8 min read
Understanding Pagination Issues with ORDER BY and LIMIT in MySQL
macrozheng
macrozheng
Oct 19, 2023 · Information Security

How to Perform Fuzzy Search on Encrypted Phone Numbers in MySQL

This article explores multiple strategies for enabling fuzzy search on encrypted phone numbers, including in‑memory caching, database decryption functions, segment‑wise storage, and dedicated fuzzy‑search fields, comparing their trade‑offs in performance, memory usage, and data consistency.

EncryptionFuzzy SearchMySQL
0 likes · 10 min read
How to Perform Fuzzy Search on Encrypted Phone Numbers in MySQL
Su San Talks Tech
Su San Talks Tech
Oct 19, 2023 · Databases

Mastering Database Sharding: Solving Read Amplification and Partition Strategies

This article explains database sharding concepts, compares vertical and horizontal partitioning, details ID‑range and modulo sharding methods, discusses the read‑amplification issue caused by non‑shard queries, and presents solutions such as auxiliary index tables, Elasticsearch integration, and TiDB as alternatives.

MySQLTiDBread amplification
0 likes · 13 min read
Mastering Database Sharding: Solving Read Amplification and Partition Strategies
Code Ape Tech Column
Code Ape Tech Column
Oct 18, 2023 · Databases

Efficient Strategies for Importing One Billion Records into MySQL

This article explains how to import 1 billion 1 KB log records stored in HDFS or S3 into MySQL by analyzing table capacity limits, choosing storage engines, designing batch inserts, coordinating file reading and writing, and handling task reliability with Redis, Redisson, and Zookeeper.

Batch InsertDistributed TasksMySQL
0 likes · 18 min read
Efficient Strategies for Importing One Billion Records into MySQL
php Courses
php Courses
Oct 17, 2023 · Databases

Choosing and Optimizing Indexes in PHP and MySQL

This article explains the fundamentals and types of MySQL indexes, provides guidelines for selecting appropriate indexes based on query frequency, uniqueness and complexity, and presents PHP code examples for adding and using indexes, along with optimization strategies such as proper schema design, data types, and index maintenance.

IndexingMySQLPHP
0 likes · 5 min read
Choosing and Optimizing Indexes in PHP and MySQL
dbaplus Community
dbaplus Community
Oct 16, 2023 · Databases

How to Monitor MySQL Performance in Real-Time with mysqlstat

The mysqlstat command‑line tool provides real‑time monitoring and analysis of MySQL servers, offering metrics such as QPS, TPS, network bandwidth, top‑executed SQL statements, hot tables, lock and deadlock information, index analysis, connection counts, table size statistics, binlog insights, and replication status, with usage examples and download instructions.

Command LineDatabase AdministrationMySQL
0 likes · 8 min read
How to Monitor MySQL Performance in Real-Time with mysqlstat
Efficient Ops
Efficient Ops
Oct 16, 2023 · Databases

Why Master‑Master MySQL Replication Is Risky and How to Avoid Its Pitfalls

This article explains why the dbops tool does not support MySQL master‑master architecture, describes the two common dual‑master patterns, outlines their drawbacks such as role‑confusion, dirty‑data risk, split‑brain, and update loss, and provides practical workarounds and step‑by‑step deployment instructions to safely implement or avoid dual‑master setups.

GTIDMaster-Master ReplicationMySQL
0 likes · 17 min read
Why Master‑Master MySQL Replication Is Risky and How to Avoid Its Pitfalls
php Courses
php Courses
Oct 16, 2023 · Backend Development

Techniques to Optimize PHP and MySQL Access Speed

This article presents practical methods—including indexing, query consolidation, field selection, PHP code refinements, and caching strategies with Redis and page caching—to significantly improve the performance of PHP‑MySQL applications, accompanied by concrete code examples.

DatabaseMySQLOptimization
0 likes · 6 min read
Techniques to Optimize PHP and MySQL Access Speed
dbaplus Community
dbaplus Community
Oct 12, 2023 · Databases

How to Achieve Zero‑Downtime MySQL Version Upgrades: Strategies, Risks, and Best Practices

This article presents a comprehensive guide to planning and executing MySQL version upgrades—including industry version statistics, performance benchmarks, migration challenges, stability guarantees, detailed upgrade strategies, compatibility testing, and post‑upgrade validation—to ensure zero‑downtime and minimal operational impact.

Database MigrationMySQLcompatibility testing
0 likes · 18 min read
How to Achieve Zero‑Downtime MySQL Version Upgrades: Strategies, Risks, and Best Practices
JD Cloud Developers
JD Cloud Developers
Oct 12, 2023 · Databases

How to Handle MySQL Replication Lag in Read/Write Splitting Architectures

This article explains the reasons for read/write splitting, compares direct‑client and proxy‑based master‑slave setups, and presents five practical strategies—including forcing reads to the master, sleep delays, lag checks, master‑position waiting, and GTID waiting—to mitigate stale reads caused by MySQL replication lag.

Lag MitigationMaster‑SlaveMySQL
0 likes · 15 min read
How to Handle MySQL Replication Lag in Read/Write Splitting Architectures
Su San Talks Tech
Su San Talks Tech
Oct 12, 2023 · Information Security

How to Enable Fuzzy Search on Encrypted Phone Numbers in MySQL

This article explores practical methods for performing fuzzy searches on encrypted phone numbers, covering in‑memory caching, database decryption functions, segment‑based storage, and adding dedicated fuzzy‑search fields to balance security, performance, and scalability.

EncryptionFuzzy SearchMySQL
0 likes · 10 min read
How to Enable Fuzzy Search on Encrypted Phone Numbers in MySQL
dbaplus Community
dbaplus Community
Oct 11, 2023 · Databases

Detect and Cure MySQL Replication Lag: Step‑by‑Step Guide

This article explains how to identify whether MySQL replication delay originates from the I/O thread or SQL thread, demonstrates diagnostic commands, and provides practical tips, configuration tweaks, and monitoring tools such as pt‑stalk to reduce lag and improve replication performance.

MySQLPerformanceReplication
0 likes · 11 min read
Detect and Cure MySQL Replication Lag: Step‑by‑Step Guide
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 11, 2023 · Databases

Implementing Auto‑Increment Primary Keys When Migrating MySQL to OB Oracle

This article demonstrates two practical approaches for handling MySQL auto‑increment columns during migration to OB Oracle—creating custom sequences with DBCAT and using the GENERATED BY DEFAULT AS IDENTITY attribute—provides step‑by‑step commands, scripts, and validation results to help DBA engineers achieve seamless primary‑key migration.

Auto-IncrementDataXDatabase
0 likes · 16 min read
Implementing Auto‑Increment Primary Keys When Migrating MySQL to OB Oracle
Architect's Guide
Architect's Guide
Oct 10, 2023 · Databases

Advantages and Disadvantages of Application‑Layer Association vs JOIN in MySQL

The article examines why using application‑layer association instead of MySQL JOIN can improve cache efficiency, reduce lock contention, simplify scaling, and enhance query performance, while also outlining scenarios where JOIN is still beneficial and offering practical alternatives for large‑scale data retrieval.

Application LayerJOINMySQL
0 likes · 6 min read
Advantages and Disadvantages of Application‑Layer Association vs JOIN in MySQL
ITPUB
ITPUB
Oct 9, 2023 · Databases

Boost MySQL Performance on Large Tables: Proven Strategies and Tools

This article examines why MySQL can still handle massive tables and presents practical techniques—including proper primary keys, eliminating redundant indexes, choosing optimal data types, compression, archiving, partitioning, sharding, query optimization, and safe schema changes—to keep large‑table performance high.

IndexingMySQLcompression
0 likes · 16 min read
Boost MySQL Performance on Large Tables: Proven Strategies and Tools
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 9, 2023 · Databases

Using MySQL Offline Mode to Disconnect Client Connections

This article explains how MySQL's offline_mode variable and the pt‑kill tool can be used by DBAs to place a server in maintenance mode, instantly dropping non‑privileged client connections, preventing new ones, and providing a safe way to perform maintenance or backups.

Database MaintenanceMySQLOFFLINE_MODE
0 likes · 8 min read
Using MySQL Offline Mode to Disconnect Client Connections
dbaplus Community
dbaplus Community
Oct 8, 2023 · Databases

How to Optimize Pagination for Massive MySQL Tables with Sharding

When a single MySQL table grows to millions of rows, offset‑based pagination becomes painfully slow, so this article explains why, measures the performance impact, and presents three practical sharding‑aware pagination strategies—including global query, jump‑page prohibition, and a two‑step query method—along with concrete SQL rewrites and optimization tips.

MySQLPaginationPerformance
0 likes · 16 min read
How to Optimize Pagination for Massive MySQL Tables with Sharding
ITPUB
ITPUB
Oct 8, 2023 · Databases

Unlocking MySQL GIPKs: How Generated Invisible Primary Keys Simplify Schema Design

Starting with MySQL 8.0.30, the Generated Invisible Primary Keys (GIPKs) feature automatically adds an invisible bigint auto‑increment column named my_row_id when a table lacks an explicit primary key, simplifying schema design, easing DBA‑developer conflicts, and offering flexible handling in MGR and replication environments, while noting its limitations and usage commands.

GIPKsGenerated Invisible Primary KeysGroup Replication
0 likes · 8 min read
Unlocking MySQL GIPKs: How Generated Invisible Primary Keys Simplify Schema Design
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 8, 2023 · Databases

Why Adding foreign_key_checks to my.cnf Causes MySQL Startup Failure and How to Identify Non‑Configurable System Variables

This article investigates why inserting the foreign_key_checks system variable into MySQL's my.cnf prevents the server from starting, explains the underlying NO_CMD_LINE flag mechanism, and provides a simple command‑line method to distinguish variables that can or cannot be set via configuration files.

ConfigurationDebuggingMySQL
0 likes · 6 min read
Why Adding foreign_key_checks to my.cnf Causes MySQL Startup Failure and How to Identify Non‑Configurable System Variables
macrozheng
macrozheng
Oct 7, 2023 · Databases

Deploy Apache Ignite and Compare Its Performance with MySQL

This guide walks through installing Apache Ignite via Docker, configuring it alongside MySQL in a Spring Boot project, setting up data sources and MyBatis, and performing benchmark tests to illustrate Ignite’s superior in‑memory SQL performance compared to traditional MySQL setups.

Apache IgniteDockerIn-Memory Database
0 likes · 11 min read
Deploy Apache Ignite and Compare Its Performance with MySQL
Architect's Guide
Architect's Guide
Oct 7, 2023 · Backend Development

Implementing Fuzzy Search on Encrypted Sensitive Fields in a Spring Boot Backend

This article explains how to enable fuzzy searches on encrypted sensitive fields such as names, phone numbers, and ID numbers in a Spring Boot backend by using a tokenized ciphertext mapping table, outlining four possible solutions, recommending the tokenized approach, and providing complete configuration and code examples.

Backend DevelopmentFuzzy SearchMySQL
0 likes · 11 min read
Implementing Fuzzy Search on Encrypted Sensitive Fields in a Spring Boot Backend
Architect
Architect
Oct 6, 2023 · Backend Development

Design and Implementation of QQ Reminder Subscription Push System

This article details the architecture, technical requirements, and implementation techniques—including hybrid push‑pull, heterogeneous storage, distributed scheduling, task chunking, and at‑least‑once delivery—used to build a high‑concurrency, reliable reminder notification service for QQ.

Message QueueMySQLdistributed scheduling
0 likes · 13 min read
Design and Implementation of QQ Reminder Subscription Push System
Su San Talks Tech
Su San Talks Tech
Oct 6, 2023 · Databases

How MySQL Executes SQL: From Connection Pools to Log Files Explained

This article walks through how a Java application interacts with MySQL, covering the driver, connection pooling, thread handling, query parsing, the optimizer, storage engine, buffer pool, undo/redo logs, binlog, and transaction commit, providing a complete end‑to‑end view of MySQL’s internal processing.

DatabaseInnoDBMySQL
0 likes · 22 min read
How MySQL Executes SQL: From Connection Pools to Log Files Explained
JD Cloud Developers
JD Cloud Developers
Oct 4, 2023 · Databases

Master MySQL Slow Query Optimization: EXPLAIN and Index Strategies

This article explains how to use MySQL's EXPLAIN statement to analyze slow queries, detailing each output column, various select types, access methods, and common pitfalls, then provides practical optimization techniques such as proper indexing, query rewriting, index merging, handling COUNT, UNION, OFFSET, and table maintenance.

EXPLAINMySQLSQL optimization
0 likes · 22 min read
Master MySQL Slow Query Optimization: EXPLAIN and Index Strategies
Liangxu Linux
Liangxu Linux
Oct 2, 2023 · Databases

Essential MySQL Optimization Tips: From EXPLAIN to Index Strategies

This guide presents a comprehensive set of MySQL performance‑tuning techniques—including proper use of EXPLAIN, limiting IN lists, selecting specific columns, avoiding costly ORDER BY RAND(), choosing UNION ALL over UNION, distinguishing IN from EXISTS, employing full‑text indexes, respecting left‑most prefix rules, and leveraging FORCE INDEX or STRAIGHT_JOIN—to help developers write faster, more efficient queries.

IndexingMySQLOptimization
0 likes · 12 min read
Essential MySQL Optimization Tips: From EXPLAIN to Index Strategies
ITPUB
ITPUB
Sep 28, 2023 · Databases

Mastering MySQL Index Merge: How Three Algorithms Boost Query Performance

Learn how MySQL's index merge optimization works, explore its three algorithms—intersect, union, and sort_union—understand when each applies, see practical setup and sample queries, and discover configuration flags and best‑practice tips to improve query efficiency.

DatabaseMySQLQuery Optimization
0 likes · 9 min read
Mastering MySQL Index Merge: How Three Algorithms Boost Query Performance
macrozheng
macrozheng
Sep 28, 2023 · Databases

Top Free MySQL GUI Clients You Should Try in 2024

This guide reviews popular free MySQL graphical clients—including MySQL Workbench, phpMyAdmin, HeidiSQL, Sequel Pro, and DBeaver—detailing their key features, platform support, and download links, offering a cost‑free alternative to paid tools like Navicat.

DBeaverDatabase clientMySQL
0 likes · 8 min read
Top Free MySQL GUI Clients You Should Try in 2024
Java High-Performance Architecture
Java High-Performance Architecture
Sep 28, 2023 · Databases

How to Use Debezium for MySQL CDC in Spring Boot Without Adding Extra Middleware

Learn how to capture MySQL data changes using Debezium's CDC capabilities within a Spring Boot application, avoiding heavyweight message brokers by leveraging binlog monitoring, configuring connectors, handling snapshots, and processing change events for use cases like cache invalidation, data integration, and simplifying monolithic architectures.

CDCData IntegrationDebezium
0 likes · 24 min read
How to Use Debezium for MySQL CDC in Spring Boot Without Adding Extra Middleware
dbaplus Community
dbaplus Community
Sep 27, 2023 · Databases

Understanding MySQL Locks: Which Queries Actually Acquire Locks?

This article breaks down MySQL's complex locking mechanisms—global, table, and row locks—explaining how different SELECT statements, transaction isolation levels, and index types affect lock acquisition, and provides practical test scripts and visual examples to help developers master lock behavior.

InnoDBIsolationLevelLocks
0 likes · 14 min read
Understanding MySQL Locks: Which Queries Actually Acquire Locks?
JD Cloud Developers
JD Cloud Developers
Sep 27, 2023 · Databases

How to Design Effective MySQL Indexes for Service Log Queries

This article explains how to create optimal MySQL indexes for a service_log table based on various search conditions, covering single‑column, composite, full‑text, prefix, and covering indexes, along with best practices, index size considerations, and practical SQL examples.

Full-text SearchMySQLSQL
0 likes · 19 min read
How to Design Effective MySQL Indexes for Service Log Queries
php Courses
php Courses
Sep 26, 2023 · Databases

Best Practices for MySQL Backup: Strategy, Tools, Automation, and Recovery

This guide outlines a comprehensive MySQL backup solution, covering backup strategy planning, choosing physical versus logical backups, using tools like mysqldump and Percona XtraBackup, automating backups with scripts and cron, storage and retention considerations, and regular recovery testing to ensure data integrity.

DatabaseMySQLPercona XtraBackup
0 likes · 5 min read
Best Practices for MySQL Backup: Strategy, Tools, Automation, and Recovery
php Courses
php Courses
Sep 25, 2023 · Backend Development

Implementing Data Merging with PHP Backend and Vue Frontend

This article demonstrates how to implement a data merging feature by creating MySQL tables, building a PHP API that retrieves and combines records from two tables, and developing a Vue.js front‑end that fetches and displays the merged data, complete with full code examples.

APIMySQLPHP
0 likes · 5 min read
Implementing Data Merging with PHP Backend and Vue Frontend
dbaplus Community
dbaplus Community
Sep 24, 2023 · Backend Development

How to Sync MySQL Binlog to Elasticsearch Using Canal and RocketMQ

Learn step‑by‑step how to configure Alibaba’s open‑source Canal to capture MySQL binlog changes, route them through RocketMQ, and index the data into Elasticsearch, covering cluster mode, MySQL and Elasticsearch setup, Canal properties, and consumer implementation details.

CDCCanalMySQL
0 likes · 9 min read
How to Sync MySQL Binlog to Elasticsearch Using Canal and RocketMQ
ITPUB
ITPUB
Sep 23, 2023 · Databases

Is PostgreSQL Really the Most Popular Database? A Deep Dive into Rankings, Architecture, and Performance

This article examines why PostgreSQL appears to outrank MySQL in recent popularity surveys, explains the DB‑Engines ranking methodology, compares architectural choices such as MVCC, multi‑process vs multi‑thread models, transaction rollback behavior, licensing, and real‑world performance benchmarks like TPC‑C, ultimately revealing that MySQL still dominates many high‑throughput OLTP scenarios.

Database ComparisonMVCCMySQL
0 likes · 17 min read
Is PostgreSQL Really the Most Popular Database? A Deep Dive into Rankings, Architecture, and Performance
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 22, 2023 · Databases

SQLE 2.2309.0-pre4 Release Notes – New Features, Rule Knowledge Base, and Full Release Information

The SQLE 2.2309.0-pre4 release introduces an enterprise‑level SQL lifecycle management panel, a rule knowledge base, new TDSQL audit rules, and intelligent metadata scanning tasks, while providing links to the repository, documentation, and demo environments for both community and enterprise editions.

Database AuditingMySQLRule Knowledge Base
0 likes · 8 min read
SQLE 2.2309.0-pre4 Release Notes – New Features, Rule Knowledge Base, and Full Release Information
ITPUB
ITPUB
Sep 20, 2023 · Databases

UUID vs Auto‑Increment IDs in MySQL: Pros, Cons, and When to Choose

This article compares UUID and auto‑increment primary keys in MySQL, explaining how each is generated, their advantages and drawbacks, performance implications, and practical guidance on selecting the right key type for different business scenarios.

MySQLauto_incrementdatabase-design
0 likes · 7 min read
UUID vs Auto‑Increment IDs in MySQL: Pros, Cons, and When to Choose
Programmer DD
Programmer DD
Sep 19, 2023 · Backend Development

Spring Boot Virtual Threads vs WebFlux: Which Delivers Better Performance?

This article summarizes a performance comparison between Spring Boot applications using virtual threads and those built with Spring WebFlux, detailing the test scenario of JWT verification and MySQL queries, the environment, code implementations, benchmark results across various concurrency levels, and concluding that WebFlux outperforms virtual‑threaded Spring Boot.

JWTMySQLPerformance Benchmark
0 likes · 9 min read
Spring Boot Virtual Threads vs WebFlux: Which Delivers Better Performance?
JD Retail Technology
JD Retail Technology
Sep 18, 2023 · Databases

Deep Pagination in MySQL and Distributed Databases: Problems and VtDriver Optimizations

The article explains how large‑offset (deep) pagination in MySQL and distributed databases degrades performance and increases memory and bandwidth usage, and describes VtDriver's streaming and SQL‑rewrite techniques along with practical recommendations such as range queries and sub‑queries to mitigate these issues.

MySQLPaginationPerformance Optimization
0 likes · 7 min read
Deep Pagination in MySQL and Distributed Databases: Problems and VtDriver Optimizations
Tencent Cloud Developer
Tencent Cloud Developer
Sep 18, 2023 · Databases

Who Is the World's Most Successful Database? An In‑Depth Technical Comparison of PostgreSQL and MySQL

The article evaluates database success by comparing PostgreSQL and MySQL across popularity, features, licensing, transaction behavior, MVCC, concurrency models, and use cases, showing PostgreSQL leads in complex queries and feature richness while MySQL remains the most widely used OLTP system, especially in China.

DB-EnginesDatabase ComparisonMVCC
0 likes · 15 min read
Who Is the World's Most Successful Database? An In‑Depth Technical Comparison of PostgreSQL and MySQL
Architect's Guide
Architect's Guide
Sep 15, 2023 · Databases

Why You Should Never Use MySQL “utf8” and Switch to “utf8mb4”

The article explains that MySQL’s legacy “utf8” charset only supports three‑byte characters, causing errors with genuine four‑byte UTF‑8 symbols, and advises all MySQL/MariaDB users to migrate to the proper “utf8mb4” charset using available conversion guides.

MariaDBMySQLcharacter encoding
0 likes · 7 min read
Why You Should Never Use MySQL “utf8” and Switch to “utf8mb4”
dbaplus Community
dbaplus Community
Sep 14, 2023 · Databases

Master MySQL InnoDB Locks: From Row Locks to Deadlock Prevention

This article explains why MySQL needs locking, details every InnoDB lock type—including shared, exclusive, intention, record, gap, next‑key, insert‑intention and auto‑increment locks—covers lock compatibility, deadlock causes and prevention, compares optimistic and pessimistic locking, and shows how SELECT FOR UPDATE behaves under different isolation levels.

ConcurrencyDeadlockInnoDB
0 likes · 20 min read
Master MySQL InnoDB Locks: From Row Locks to Deadlock Prevention
Top Architect
Top Architect
Sep 14, 2023 · Backend Development

Using Nginx Stream Proxy to Securely Access MySQL

This article explains how to configure Nginx as a stream proxy to securely connect to MySQL servers, covering required modules, stream, server, listen directives, IP access restrictions, and provides complete configuration examples for both single‑instance and clustered environments.

ConfigurationMySQLnginx
0 likes · 8 min read
Using Nginx Stream Proxy to Securely Access MySQL