Tagged articles

MySQL

5000 articles · Page 5 of 50
ITPUB
ITPUB
Jan 22, 2026 · Backend Development

Sync New MySQL Tables to Doris in Real‑Time with Flink CDC and CdcTools

This article explains how to use Flink CDC together with the CdcTools utility to automatically capture newly created MySQL tables and synchronize both their schema and data to a Doris database in real time, covering the required code, side‑output handling, async execution, and a special delete‑sign field.

CDCDorisFlink
0 likes · 10 min read
Sync New MySQL Tables to Doris in Real‑Time with Flink CDC and CdcTools
Programmer XiaoFu
Programmer XiaoFu
Jan 21, 2026 · Databases

How to Add a Column to a Tens‑Million‑Row Order Table Without Locking It

When a tens‑million‑row order table needs a new business column, directly running ALTER TABLE can lock the table and disrupt services, so the article explores master‑slave promotion, online DDL tools, schema‑less JSON extensions, and a clever use of an existing redundant column to achieve the change safely.

DDLJSONMySQL
0 likes · 7 min read
How to Add a Column to a Tens‑Million‑Row Order Table Without Locking It
FunTester
FunTester
Jan 21, 2026 · Databases

Mastering MySQL Upserts: INSERT IGNORE, REPLACE INTO, and ON DUPLICATE KEY UPDATE Explained

This article explains three MySQL INSERT variants—INSERT IGNORE, REPLACE INTO, and INSERT ... ON DUPLICATE KEY UPDATE—detailing their syntax, execution behavior, advantages, drawbacks, typical use cases, and practical comparison to help developers choose the most suitable method for handling duplicate or bulk data operations.

Duplicate KeyINSERTMySQL
0 likes · 12 min read
Mastering MySQL Upserts: INSERT IGNORE, REPLACE INTO, and ON DUPLICATE KEY UPDATE Explained
java1234
java1234
Jan 20, 2026 · Databases

Why Do Some Projects Still Choose MySQL Over PostgreSQL?

The article compares PostgreSQL and MySQL, detailing PostgreSQL’s richer data types, true sequence support, extensible ecosystem, advanced monitoring and replication features, while also acknowledging MySQL’s simplicity and strong points, to help readers decide which database fits their workload best.

MVCCMySQLPostgreSQL
0 likes · 9 min read
Why Do Some Projects Still Choose MySQL Over PostgreSQL?
Alibaba Cloud Native
Alibaba Cloud Native
Jan 19, 2026 · Artificial Intelligence

Build a Multi‑Agent Boba Tea Shop with AgentScope Java: A Hands‑On Guide

This article introduces AgentScope Java 1.0.7, showcases its new features such as Ollama integration, Agent Skill support, and Nacos‑based A2A architecture, and walks through a complete boba‑tea‑shop example that demonstrates a Supervisor‑Worker multi‑agent system, ReActAgent configuration, dynamic MCP registration, MySQL session persistence, Mem0 long‑term memory, and AutoContextMemory compression, plus quick deployment options for local, Kubernetes, and Docker environments.

AgentScopeAutoContextMemoryJava
0 likes · 12 min read
Build a Multi‑Agent Boba Tea Shop with AgentScope Java: A Hands‑On Guide
Xiaohongshu Tech REDtech
Xiaohongshu Tech REDtech
Jan 19, 2026 · Databases

How Merged Seckill Boosts MySQL Write Throughput 5× for High‑Traffic E‑Commerce

The article details a MySQL kernel‑level merged‑seckill optimization that replaces traditional queue‑based flash‑sale handling, achieving up to 5.5× higher TPS (up to 23,543 TPS on 128 threads) and sustaining 1.5W+ orders per second, while remaining transparent to applications and preserving compatibility with existing SQL.

LockMySQLPerformance Optimization
0 likes · 11 min read
How Merged Seckill Boosts MySQL Write Throughput 5× for High‑Traffic E‑Commerce
Architect's Tech Stack
Architect's Tech Stack
Jan 19, 2026 · Databases

Why Leading Tech Giants Prefer PostgreSQL Over MySQL: A Deep Technical Comparison

The article examines why major Chinese cloud providers and enterprises are building PostgreSQL‑based distributed, cloud‑native databases instead of MySQL, detailing PostgreSQL's richer data types, native sequence support, extensible ecosystem, advanced replication, licensing advantages, and MVCC implementation, while also noting MySQL's remaining strengths.

Data TypesMySQLPostgreSQL
0 likes · 10 min read
Why Leading Tech Giants Prefer PostgreSQL Over MySQL: A Deep Technical Comparison
dbaplus Community
dbaplus Community
Jan 18, 2026 · Databases

Avoid These Common SQL Performance Pitfalls for Faster Queries

This guide enumerates frequent misconceptions in SQL performance—from over‑indexing and SELECT * misuse to improper transaction handling and outdated monitoring practices—explains why they hurt efficiency, and provides concrete, version‑aware solutions to optimize queries, schema design, and database operations.

MySQLOptimizationPerformance
0 likes · 26 min read
Avoid These Common SQL Performance Pitfalls for Faster Queries
Raymond Ops
Raymond Ops
Jan 18, 2026 · Databases

How I Cut a 20‑Second MySQL Query to 200 ms: A Step‑by‑Step Optimization Journey

When a critical e‑commerce report took over 20 seconds and triggered a flood of user complaints, a systematic investigation using EXPLAIN, slow‑query logs, and profiling revealed missing indexes, costly joins, and temporary tables, leading to a four‑stage rewrite that reduced execution time to sub‑second performance.

MySQLSQL Tuningslow query
0 likes · 21 min read
How I Cut a 20‑Second MySQL Query to 200 ms: A Step‑by‑Step Optimization Journey
Java Companion
Java Companion
Jan 18, 2026 · Databases

Why Choose MySQL When PostgreSQL Offers So Many Advantages?

The article compares PostgreSQL and MySQL, highlighting PostgreSQL's richer data types, true sequence support, powerful extensions, built‑in monitoring, advanced replication, open‑source licensing, and MVCC implementation, while acknowledging MySQL's strengths in quick deployment and read‑heavy workloads.

MVCCMySQLPostgreSQL
0 likes · 10 min read
Why Choose MySQL When PostgreSQL Offers So Many Advantages?
Ray's Galactic Tech
Ray's Galactic Tech
Jan 17, 2026 · Databases

Master MySQL Index Execution: From Index Key to Table Filter

This guide explains how MySQL processes queries in three index‑related stages—Index Key, Index Filter, and Table Filter—showing why keeping operations in the index layer dramatically improves performance and how to design and diagnose indexes effectively.

Covering IndexIndex OptimizationMySQL
0 likes · 9 min read
Master MySQL Index Execution: From Index Key to Table Filter
ITPUB
ITPUB
Jan 16, 2026 · Databases

How Meituan Built a Real‑Time Database Capacity Assessment System

Meituan's database team created a sandbox‑based capacity assessment platform that replays live traffic, uses accelerated replay to discover performance bottlenecks, and closes the loop with capacity monitoring and automated operations, dramatically improving stability and resource utilization.

Database CapacityMySQLautomation
0 likes · 16 min read
How Meituan Built a Real‑Time Database Capacity Assessment System
Architect's Guide
Architect's Guide
Jan 16, 2026 · Databases

How to Safely Update Billions of MySQL Rows Without Overloading Binlog

This article explains why a naïve full‑table UPDATE on massive MySQL tables can cripple replication, explores deep‑pagination and IN‑clause inefficiencies, and presents a batch‑processing strategy using NO_CACHE, FORCE INDEX, and rate‑controlled scripts to perform safe, high‑performance updates.

Batch ProcessingBinlogFull Table Update
0 likes · 8 min read
How to Safely Update Billions of MySQL Rows Without Overloading Binlog
macrozheng
macrozheng
Jan 15, 2026 · Databases

Master MySQL Full-Text Search: Inverted Index, Queries, and Best Practices

This guide explains why InnoDB fuzzy queries lose indexes, introduces MySQL full‑text search with inverted indexes, shows how to create and use full‑text indexes via CREATE TABLE and ALTER statements, and demonstrates natural language, boolean, and query‑expansion modes with practical SQL examples.

Boolean ModeMySQLQuery Expansion
0 likes · 12 min read
Master MySQL Full-Text Search: Inverted Index, Queries, and Best Practices
Ray's Galactic Tech
Ray's Galactic Tech
Jan 14, 2026 · Databases

Why MySQL’s B+Tree Indexes Power High‑Performance Queries

This article explains how MySQL implements indexes with B+Tree structures, why they outperform full table scans, the internal layout of leaf and internal nodes, insertion and split mechanics, range‑query processing, and practical optimization tips for clustered and secondary indexes.

B+ TreeInnoDBMySQL
0 likes · 11 min read
Why MySQL’s B+Tree Indexes Power High‑Performance Queries
Coder Trainee
Coder Trainee
Jan 14, 2026 · Backend Development

How to Build a Simple ERP System in Just a Few Hours

This article walks through creating a lightweight material‑management ERP system—including login, dashboard, inventory, inbound and outbound modules—using Vue 3 for the front end and Spring Boot 3, Java 17, MySQL, and MyBatis‑Plus for the back end, highlighting the architecture and development efficiency tricks employed.

ERPJavaMyBatis-Plus
0 likes · 7 min read
How to Build a Simple ERP System in Just a Few Hours
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 13, 2026 · Databases

Enforcing Client IP‑Based Access Control in MySQL InnoDB Cluster via Router

This article explains how to overcome MySQL InnoDB Cluster’s IP‑address loss and lack of Proxy Protocol by injecting real client IPs through MySQL Router connection attributes, configuring init_connect, creating a monitoring database and stored procedure, and testing access control for specific user‑IP ranges.

Access ControlDatabase SecurityInnoDB Cluster
0 likes · 8 min read
Enforcing Client IP‑Based Access Control in MySQL InnoDB Cluster via Router
Ray's Galactic Tech
Ray's Galactic Tech
Jan 12, 2026 · Databases

Master MySQL: Production-Ready Database Design & Operations Handbook

An experienced MySQL practitioner shares a comprehensive production‑grade design and operations guide, covering primary key selection, normalization, indexing, data types, sharding, foreign key trade‑offs, naming conventions, transaction handling, NULL usage, type safety, read/write splitting, caching, triggers, logging, monitoring, partitioning, security, and a three‑layer summary.

MySQLdatabase designnormalization
0 likes · 9 min read
Master MySQL: Production-Ready Database Design & Operations Handbook
Ray's Galactic Tech
Ray's Galactic Tech
Jan 12, 2026 · Databases

How to Safely Add Columns to Billion‑Row MySQL Tables Without Downtime

This guide explains why using a plain ALTER TABLE on massive MySQL tables can lock the table and halt services, and presents tool‑based online DDL, native INPLACE options, phased migration strategies, cloud‑DB features, best‑practice checks, monitoring, and rollback techniques to add new columns safely.

MySQLOnline DDLdatabase migration
0 likes · 8 min read
How to Safely Add Columns to Billion‑Row MySQL Tables Without Downtime
Top Architect
Top Architect
Jan 11, 2026 · Databases

How to Add a Column to a Billion‑Row Order Table Without Locking Production

When a core order table with tens of millions of rows needs a new business field, the article explores why a direct ALTER TABLE can lock the table, evaluates master‑slave switching, online DDL tools, extension tables, JSON fields, and a clever reuse of an existing redundant column, providing practical steps and performance insights.

DDLJSON fieldMySQL
0 likes · 9 min read
How to Add a Column to a Billion‑Row Order Table Without Locking Production
ITPUB
ITPUB
Jan 11, 2026 · Databases

6 Proven Strategies to Add Columns to Billion‑Row MySQL Tables Without Downtime

This article examines why adding a column to a MySQL table with tens of millions of rows can lock the table, then presents six practical solutions—including native online DDL, PT‑OSC, gh‑ost, dual‑write migration, maintenance downtime, and partition sliding‑window—detailing their procedures, trade‑offs, and suitable scenarios.

MySQLOnline DDLdatabase operations
0 likes · 12 min read
6 Proven Strategies to Add Columns to Billion‑Row MySQL Tables Without Downtime
LuTiao Programming
LuTiao Programming
Jan 10, 2026 · Backend Development

How Spring Boot 3 + Apache Calcite Eliminates Cross‑Database Chaos with a Unified Query Layer

This article explains why multi‑source data fragmentation hurts service code, introduces Apache Calcite as a query‑abstraction layer that decouples data location from query logic, and provides step‑by‑step Spring Boot 3 integration, practical code samples, common pitfalls, performance tips, and real‑world scenarios.

Apache CalciteMongoDBMulti-DataSource
0 likes · 11 min read
How Spring Boot 3 + Apache Calcite Eliminates Cross‑Database Chaos with a Unified Query Layer
java1234
java1234
Jan 10, 2026 · Databases

MySQL 8.2 Finally Supports Read/Write Splitting

MySQL 8.2 introduces native read/write splitting via MySQL Router, allowing automatic routing of reads to replicas and writes to the primary in an InnoDB ReplicaSet without any application changes.

Database ScalingInnoDB ReplicaSetMySQL
0 likes · 4 min read
MySQL 8.2 Finally Supports Read/Write Splitting
Java Companion
Java Companion
Jan 9, 2026 · Backend Development

Why Many Large Companies Discourage Using @Transactional in Spring

The article explains common pitfalls that cause Spring @Transactional to fail or not roll back, such as incorrect method visibility, final or static modifiers, internal method calls, beans not managed by Spring, multithreading, unsupported database engines, misconfigured propagation, swallowed exceptions, and improper rollback settings, and offers practical solutions for each case.

AOPBackendJava
0 likes · 18 min read
Why Many Large Companies Discourage Using @Transactional in Spring
Top Architect
Top Architect
Jan 8, 2026 · Backend Development

Why MyBatis‑Plus Migration Fails: LocalDateTime Conversion and Connector Version Issues

A legacy project using MySQL 5.7, MyBatis 3.5.0 and mysql‑connector‑java 5.1.26 encounters a "Conversion not supported for type java.time.LocalDateTime" error after switching to MyBatis‑Plus 3.1.1, which is traced to MyBatis 3.5.1 dropping built‑in LocalDateTime handling and the old connector not supporting the type, requiring an upgrade to mysql‑connector‑java 5.1.37 or later.

JDBC driverLocalDateTimeMyBatis-Plus
0 likes · 9 min read
Why MyBatis‑Plus Migration Fails: LocalDateTime Conversion and Connector Version Issues
Smart Sea Tide
Smart Sea Tide
Jan 8, 2026 · Databases

How count(1), count(*) and count(column) Differ in Execution

The article explains that count(1) and count(*) produce identical results and similar execution plans, while count(column) skips NULL values; it also compares their performance under various table schemas and provides a MySQL example demonstrating these differences.

COUNTMySQLPerformance
0 likes · 4 min read
How count(1), count(*) and count(column) Differ in Execution
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 8, 2026 · Databases

Understanding MySQL Transaction Isolation Levels with Practical Examples

This article explains MySQL's four transaction isolation levels—Read Uncommitted, Read Committed, Repeatable Read, and Serializable—by creating a simple table, running paired transactions, and showing how each level affects data visibility, concurrency, and potential anomalies such as dirty reads, non‑repeatable reads, and phantom reads.

Database ConcurrencyInnoDBMySQL
0 likes · 10 min read
Understanding MySQL Transaction Isolation Levels with Practical Examples
IT Services Circle
IT Services Circle
Jan 7, 2026 · Backend Development

What Tencent Backend Engineers Earn and How to Nail Their Interview

This article shares a collected list of 2023 Tencent backend developer compensation packages—showing total first‑year offers starting above 40 W RMB—followed by detailed explanations of interview questions covering Redis caching, MySQL transactions, hot‑key detection, SQL injection, HTTP/HTTPS differences, API timeout troubleshooting, and microservice migration strategies.

Backend SalaryMySQLRedis
0 likes · 24 min read
What Tencent Backend Engineers Earn and How to Nail Their Interview
Su San Talks Tech
Su San Talks Tech
Jan 7, 2026 · Databases

Why MySQL NULL Values Can Cause P0 Outages and How to Avoid Them

This article explains how improper use of NULL in MySQL columns can lead to serious production incidents, outlines official recommendations against NULL, demonstrates its impact on queries, indexes, and storage, and provides practical guidelines for when to use or avoid NULL values.

MySQLNULLPerformance
0 likes · 13 min read
Why MySQL NULL Values Can Cause P0 Outages and How to Avoid Them
Efficient Ops
Efficient Ops
Jan 6, 2026 · Databases

Why PostgreSQL Beats MySQL: 10 Technical Advantages Explained

This article compiles a detailed comparison of PostgreSQL and MySQL, highlighting PostgreSQL's lack of text‑size limits, better NULL handling, native array and JSON support, built‑in optimistic locking, superior GIS types, MVCC, flexible indexing, robust replication, and overall stability, while also noting the few areas where MySQL still holds an edge.

GISJSONBMySQL
0 likes · 9 min read
Why PostgreSQL Beats MySQL: 10 Technical Advantages Explained
dbaplus Community
dbaplus Community
Jan 3, 2026 · Databases

When MySQL Auto‑Increment Hits INT Limit: Diagnosis and Fixes

The article recounts a MySQL production incident where an INT auto‑increment column reached its maximum value, causing insert failures, and walks through analysis, three remediation options, a stored‑procedure cleanup, a conversion to BIGINT, performance monitoring, and lessons on concurrency and schema design.

BIGINTINT overflowMySQL
0 likes · 9 min read
When MySQL Auto‑Increment Hits INT Limit: Diagnosis and Fixes
Tech Freedom Circle
Tech Freedom Circle
Jan 3, 2026 · Databases

How Many Values Can MySQL IN Handle? 100K‑10M IDs and the Ultimate Solution

An interview scenario reveals that using a massive IN list (hundreds of thousands of IDs) in MySQL quickly exceeds packet limits, forces full‑table scans, and overloads CPU, while batch IN queries cause network storms; the article dissects these pitfalls and presents three progressive strategies—splitting IN, temporary tables with JOIN, and sharding with stream‑merge—to safely query massive ID sets.

IN ClauseMySQLquery optimization
0 likes · 32 min read
How Many Values Can MySQL IN Handle? 100K‑10M IDs and the Ultimate Solution
Top Architect
Top Architect
Jan 3, 2026 · Databases

How to Safely Add a Column to a Billion‑Row Order Table Without Downtime

When a core order table with tens of millions of rows needs a new business field, executing a plain ALTER TABLE can lock the table and disrupt services, so the article explores master‑slave switching, online schema‑change tools, extension tables, JSON fields, and a clever reuse of an existing redundant column to achieve the change with minimal risk.

DDLJSONMaster‑Slave
0 likes · 9 min read
How to Safely Add a Column to a Billion‑Row Order Table Without Downtime
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jan 3, 2026 · Databases

Essential MySQL Commands Every DBA Should Know

This guide presents a comprehensive collection of essential MySQL commands, covering connection management, database creation and selection, table definition and alteration, CRUD operations, query optimization techniques, performance monitoring, and user permission handling, providing clear examples for each command.

AdministrationMySQLPerformance
0 likes · 7 min read
Essential MySQL Commands Every DBA Should Know
Ray's Galactic Tech
Ray's Galactic Tech
Jan 2, 2026 · Databases

Is Containerized MySQL Ready for Production? A Deep Comparison with Traditional Deployments

This article provides a comprehensive, production‑grade comparison between containerized MySQL on Kubernetes and traditional on‑premises deployments, clarifying core concepts, evaluating elasticity, availability, performance, and operational overhead, and offering concrete best‑practice recommendations, risk considerations, and future trends.

Cloud NativeDatabase OpsMySQL
0 likes · 8 min read
Is Containerized MySQL Ready for Production? A Deep Comparison with Traditional Deployments
Top Architect
Top Architect
Jan 2, 2026 · Databases

Boost MySQL Performance: Master Pagination, Indexes, JOINs, and Query Rewrite Techniques

This article walks through common MySQL performance pitfalls such as inefficient pagination, implicit type conversion, costly UPDATE/DELETE subqueries, mixed sorting, and EXISTS clauses, and demonstrates practical rewrites—including index usage, JOIN conversion, condition push‑down, early LIMIT, and WITH‑clauses—to transform slow queries into millisecond‑level executions.

JOINMySQLQuery Rewrite
0 likes · 13 min read
Boost MySQL Performance: Master Pagination, Indexes, JOINs, and Query Rewrite Techniques
dbaplus Community
dbaplus Community
Jan 2, 2026 · Information Security

How We Built a High‑Performance, Low‑Cost Content Moderation System with Trie + Aho‑Corasick

Faced with minutes‑long posting delays and exploding review costs in a fast‑growing social app, the team introduced 24‑hour shift staffing, a local blacklist stored in MySQL, an in‑memory Trie + Aho‑Corasick matcher, Redis‑driven hot updates and a machine‑audit fallback with a feedback loop, dramatically cutting latency, cost and false‑positives.

Aho-CorasickGoMySQL
0 likes · 33 min read
How We Built a High‑Performance, Low‑Cost Content Moderation System with Trie + Aho‑Corasick
Java Architect Handbook
Java Architect Handbook
Jan 1, 2026 · Databases

COUNT(*), COUNT(1) or COUNT(column) in MySQL? Deep Interview Guide

This article explains the semantic differences, performance characteristics, and optimal usage scenarios of COUNT(*), COUNT(1), and COUNT(column) in MySQL 8.0+, covering engine behavior, indexing effects, common misconceptions, and practical best‑practice recommendations for interview preparation and real‑world development.

COUNTDatabase IndexingMySQL
0 likes · 10 min read
COUNT(*), COUNT(1) or COUNT(column) in MySQL? Deep Interview Guide
Ray's Galactic Tech
Ray's Galactic Tech
Dec 30, 2025 · Databases

Why MySQL Indexes Fail and 14 Proven Fixes for Faster Queries

This article explains how MySQL indexes work, enumerates eight common reasons they become ineffective, adds six advanced pitfalls, and provides concrete diagnostic steps and production‑grade optimization techniques to keep queries fast and reliable.

Index OptimizationMySQLQuery Planning
0 likes · 9 min read
Why MySQL Indexes Fail and 14 Proven Fixes for Faster Queries
Top Architect
Top Architect
Dec 29, 2025 · Databases

Why Top Companies Prefer PostgreSQL Over MySQL: A Deep Technical Comparison

The article examines why leading Chinese tech firms are increasingly adopting PostgreSQL instead of MySQL, detailing PostgreSQL‑based products, comparing data‑type support, sequence handling, extensions, monitoring tools, replication mechanisms, licensing, community openness, and MVCC implementation, while also outlining MySQL's limitations.

MySQLPostgreSQLSQL
0 likes · 11 min read
Why Top Companies Prefer PostgreSQL Over MySQL: A Deep Technical Comparison
Raymond Ops
Raymond Ops
Dec 27, 2025 · Databases

How to Cut MySQL Master‑Slave Lag to 0.2 seconds with Parallel Binlog Replication

This guide explains how to reduce MySQL master‑slave replication delay from seconds to sub‑second levels by configuring LOGICAL_CLOCK parallelism, binlog group‑commit tuning, and slave‑side optimizations, presenting concrete parameter settings, performance test results, monitoring scripts, advanced tips, and common pitfalls.

MySQLParallel Replicationdatabase optimization
0 likes · 7 min read
How to Cut MySQL Master‑Slave Lag to 0.2 seconds with Parallel Binlog Replication
Java Backend Technology
Java Backend Technology
Dec 24, 2025 · Databases

Why UUID Primary Keys Slow Down MySQL and How to Optimize Them

Using UUIDs as primary keys in MySQL can dramatically degrade performance on large tables due to larger index size, random inserts causing index splits, slower comparisons, and costly index refreshes on updates, but the impact can be mitigated with ordered UUIDs, binary storage, hybrid keys, or table partitioning.

MySQLUUIDindex
0 likes · 8 min read
Why UUID Primary Keys Slow Down MySQL and How to Optimize Them
Raymond Ops
Raymond Ops
Dec 23, 2025 · Databases

Master MySQL in Production: From Configuration Tuning to SQL Performance Optimization

This comprehensive guide walks you through a real‑world MySQL outage, then details step‑by‑step configuration tweaks, InnoDB parameter tuning, connection and thread settings, index design, query rewrites, monitoring scripts, backup strategies, high‑availability replication, and essential tooling to keep your database fast and reliable.

Database ConfigurationMySQLhigh availability
0 likes · 13 min read
Master MySQL in Production: From Configuration Tuning to SQL Performance Optimization
Architect Chen
Architect Chen
Dec 23, 2025 · Databases

Boost MySQL to 10k QPS: Multi‑Layer Optimization Strategies

When MySQL QPS reaches 10,000, common bottlenecks include CPU saturation, low buffer pool hit rate, connection limits, and lock contention, which can be mitigated through internal tuning, cache interception, read‑write splitting, and horizontal sharding.

CachingMySQLOptimization
0 likes · 4 min read
Boost MySQL to 10k QPS: Multi‑Layer Optimization Strategies
dbaplus Community
dbaplus Community
Dec 21, 2025 · Databases

How to Slash MySQL Master‑Slave Lag from Seconds to Milliseconds with Parallel Replication

This article explains why MySQL replication lag hurts performance, then details a three‑layer parallel replication strategy—including logical‑clock parallelism, binlog group‑commit tuning, and slave‑side optimizations—provides full my.cnf configurations, performance test results, monitoring commands, utility scripts, common pitfalls, and a summary of the achieved improvements.

MySQLParallelscripts
0 likes · 7 min read
How to Slash MySQL Master‑Slave Lag from Seconds to Milliseconds with Parallel Replication
Xiao Liu Lab
Xiao Liu Lab
Dec 21, 2025 · Databases

Master MySQL for Ops: DML/DQL Tricks, Permissions & Transaction Pitfalls

This guide equips MySQL ops engineers with practical DML/DQL commands, permission management, transaction handling, and common pitfalls, offering step‑by‑step examples, performance tips and safety checklists to ensure reliable database maintenance and troubleshooting.

MySQLTransactionsdatabase operations
0 likes · 27 min read
Master MySQL for Ops: DML/DQL Tricks, Permissions & Transaction Pitfalls
ITPUB
ITPUB
Dec 20, 2025 · Databases

Why MySQL IN Clauses Hit Limits and How to Optimize Them

This article explains the reasons behind MySQL IN‑clause parameter limits, the performance impact of large IN lists, and provides practical optimization techniques such as splitting queries in application code and using temporary tables with EXISTS to improve efficiency.

IN ClauseMySQLSQL optimization
0 likes · 5 min read
Why MySQL IN Clauses Hit Limits and How to Optimize Them
Architect
Architect
Dec 19, 2025 · Databases

Why Leading Chinese Tech Giants Prefer PostgreSQL Over MySQL – Key Advantages Explained

The article compares PostgreSQL and MySQL, highlighting PostgreSQL's richer data types, native sequence support, powerful extensions, superior monitoring and replication features, and open‑source licensing, while also noting MySQL's simplicity and ecosystem strengths, to explain why many Chinese enterprises choose PostgreSQL for their core databases.

MySQLPostgreSQLReplication
0 likes · 9 min read
Why Leading Chinese Tech Giants Prefer PostgreSQL Over MySQL – Key Advantages Explained
Full-Stack DevOps & Kubernetes
Full-Stack DevOps & Kubernetes
Dec 17, 2025 · Databases

10 Essential Steps to Optimize Your Database for High‑Performance E‑Commerce

This article shares practical, step‑by‑step guidance from a 15‑year e‑commerce veteran on why, when, and how to optimize databases—including segregation, archiving, query tuning, replication lag detection, parameter tweaks, partitioning, ProxySQL, caching, vertical scaling, and monitoring—to achieve faster, more reliable services.

MySQLdatabase optimizationperformance tuning
0 likes · 10 min read
10 Essential Steps to Optimize Your Database for High‑Performance E‑Commerce
Ray's Galactic Tech
Ray's Galactic Tech
Dec 16, 2025 · Databases

PostgreSQL vs MySQL: The Ultimate Production-Ready Database Selection Guide

Choosing between PostgreSQL and MySQL isn’t just a feature checklist; it requires weighing business complexity, team expertise, and future uncertainty, with this guide offering core design philosophies, multi-dimensional capability comparisons, actionable decision paths, and real-world case studies to help you make a production-grade database choice.

GISJSONMySQL
0 likes · 12 min read
PostgreSQL vs MySQL: The Ultimate Production-Ready Database Selection Guide
php Courses
php Courses
Dec 16, 2025 · Backend Development

How to Store PHP Arrays in a Database: 5 Practical Methods

This guide explains five ways to persist PHP arrays in a database—including serialize(), JSON encoding, normalized relational tables, comma‑separated strings, and Base64‑encoded data—detailing code examples, required field types, insertion steps, and retrieval techniques.

JSONMySQLPHP
0 likes · 4 min read
How to Store PHP Arrays in a Database: 5 Practical Methods
Java Companion
Java Companion
Dec 16, 2025 · Databases

Why Choose PostgreSQL Over MySQL? A Detailed Feature Comparison

The article compares PostgreSQL and MySQL across data types, sequence handling, extensions, monitoring tools, replication, licensing, and MVCC implementation, showing why many Chinese tech giants prefer PostgreSQL for complex, high‑availability workloads while acknowledging MySQL’s strengths in simple web scenarios.

Feature AnalysisMVCCMySQL
0 likes · 8 min read
Why Choose PostgreSQL Over MySQL? A Detailed Feature Comparison
Architecture & Thinking
Architecture & Thinking
Dec 16, 2025 · Backend Development

Designing a 100k RPS Like/Read Counter with Redis and MySQL

This article explains how to build a high‑throughput like and read counter that can handle 100,000 requests per second by layering Redis caching, optional AOF or MySQL persistence, cleaning invalid client requests, and separating business, statistics, and reporting logic.

CounterMySQL
0 likes · 5 min read
Designing a 100k RPS Like/Read Counter with Redis and MySQL
Ray's Galactic Tech
Ray's Galactic Tech
Dec 15, 2025 · Databases

10 Advanced MySQL Techniques to Write Faster, Cleaner SQL

Discover ten powerful MySQL features—including CTEs, window functions, conditional aggregation, JSON handling, generated columns, and UPSERT tricks—illustrated with real‑world examples and performance tips, so you can write SQL that is more efficient, maintainable, and production‑ready.

CTEGenerated ColumnsJSON
0 likes · 15 min read
10 Advanced MySQL Techniques to Write Faster, Cleaner SQL
Top Architect
Top Architect
Dec 15, 2025 · Databases

How to Add a Column to a Billion‑Row Order Table Without Downtime

When a core order table with tens of millions of rows needs a new column, naïve ALTER TABLE can lock the table and disrupt services, so this article explores safe alternatives such as master‑slave switching, online DDL tools, extension tables, JSON‑based schema‑less designs, and clever reuse of existing redundant fields, complete with practical code snippets and lessons learned.

DDLDatabase ScalingJSON
0 likes · 9 min read
How to Add a Column to a Billion‑Row Order Table Without Downtime
Senior Tony
Senior Tony
Dec 15, 2025 · Databases

Avoid the 5 Hidden MySQL Pitfalls That Can Kill Your Performance

This article reveals five common MySQL pitfalls—including uncontrolled InnoDB lock granularity, low default IOPS, misleading VARCHAR length handling, undersized InnoDB Buffer Pool, and a fragile Buffer Pool LRU algorithm—and offers practical configuration tips to prevent performance degradation.

InnoDBMySQLSQL
0 likes · 6 min read
Avoid the 5 Hidden MySQL Pitfalls That Can Kill Your Performance
Su San Talks Tech
Su San Talks Tech
Dec 11, 2025 · Databases

How to Scale a 900 M‑Row Message Table to 60 B Rows Without Downtime

This article details a comprehensive sharding strategy for a high‑traffic message table, explaining why early partitioning is essential, how to design language‑based vertical shards combined with hash‑based horizontal shards, calculate table counts and virtual nodes, and execute a zero‑downtime migration using dual‑writes and gradual traffic rollout.

Horizontal PartitioningMySQLPerformance Optimization
0 likes · 16 min read
How to Scale a 900 M‑Row Message Table to 60 B Rows Without Downtime
Ubiquitous Tech
Ubiquitous Tech
Dec 10, 2025 · Frontend Development

Building an MCP Service Marketplace UI with GPT‑5 and Trae

This article walks through using GPT‑5 and ByteDance’s Trae tool within the VibeCoding workflow to iteratively generate a complete MCP service marketplace front‑end UI, refine it through multiple prompt rounds, produce a PRD, design backend APIs, build a SpringBoot 2.7 project with MyBatis Plus and MySQL, and finally test and deploy the full system.

AI-assisted developmentGPT-5Java
0 likes · 25 min read
Building an MCP Service Marketplace UI with GPT‑5 and Trae
Ray's Galactic Tech
Ray's Galactic Tech
Dec 9, 2025 · Databases

30 Essential MySQL Index Optimization Techniques You Must Know

This guide presents 30 practical MySQL index optimization techniques, covering creation principles, usage tips, performance enhancements, and maintenance strategies, with concrete SQL examples for each rule to help developers improve query efficiency and reduce write overhead.

Index OptimizationMySQLQuery Planning
0 likes · 9 min read
30 Essential MySQL Index Optimization Techniques You Must Know
Raymond Ops
Raymond Ops
Dec 9, 2025 · Databases

Deep Dive into MySQL Architecture, SQL Syntax, and Performance Tuning

This comprehensive guide explores MySQL’s layered architecture, core components, storage engines, and detailed SQL language structures, while providing practical commands, optimization techniques, security best practices, and operational procedures for administrators to efficiently manage, tune, and secure MySQL databases.

MySQLOperationsPerformance
0 likes · 31 min read
Deep Dive into MySQL Architecture, SQL Syntax, and Performance Tuning
Ray's Galactic Tech
Ray's Galactic Tech
Dec 8, 2025 · Databases

Build a Production-Ready Automated MySQL Backup with mydumper

Learn how to install mydumper on various Linux distributions, use its multithreaded, compressed, and incremental backup features, and deploy a robust Bash script that automates full and incremental MySQL backups, handles encryption, cleanup, logging, notifications, and restoration with myloader.

CronMyDumperMySQL
0 likes · 10 min read
Build a Production-Ready Automated MySQL Backup with mydumper