Tagged articles

MySQL

5000 articles · Page 6 of 50
Java Web Project
Java Web Project
Nov 20, 2025 · Databases

Top Free MySQL Client Alternatives: DBeaver, MySQL Workbench, and HeidiSQL

When Navicat’s paid features are out of reach, this guide evaluates three free MySQL client tools—DBeaver, MySQL Workbench, and HeidiSQL—detailing their installation, supported databases, key features like monitoring and ER diagrams, and why the author, a performance tester, prefers MySQL Workbench.

DBeaverDatabase clientHeidiSQL
0 likes · 8 min read
Top Free MySQL Client Alternatives: DBeaver, MySQL Workbench, and HeidiSQL
SpringMeng
SpringMeng
Nov 20, 2025 · Databases

Three Free Tools That Perfectly Replace Navicat

The article reviews three free MySQL client alternatives—DBeaver, MySQL Workbench, and HeidiSQL—detailing their installation steps, supported databases, key features such as built‑in monitoring and ER diagrams, and why they can serve as practical replacements for the paid Navicat tool.

DBeaverDatabase clientHeidiSQL
0 likes · 5 min read
Three Free Tools That Perfectly Replace Navicat
Ray's Galactic Tech
Ray's Galactic Tech
Nov 19, 2025 · Databases

Master InnoDB: Architecture, Indexes, Transactions & Performance Tuning

This comprehensive guide walks you through MySQL InnoDB's core architecture, storage structures, indexing mechanisms, transaction and concurrency control, crash recovery, backup options, and practical performance‑tuning techniques, providing clear explanations and real‑world SQL examples.

Database ArchitectureIndexingInnoDB
0 likes · 8 min read
Master InnoDB: Architecture, Indexes, Transactions & Performance Tuning
DaTaobao Tech
DaTaobao Tech
Nov 19, 2025 · Databases

Mastering MySQL Slow Query Diagnosis and Index Optimization

This article walks through a real‑world slow‑SQL case on a massive e‑commerce order table, explains B+Tree index structures, index height estimation, index push‑down, sorting strategies, EXPLAIN and Query Profiler usage, and provides a step‑by‑step SOP for safe index changes and validation.

B+TreeIndex OptimizationMySQL
0 likes · 40 min read
Mastering MySQL Slow Query Diagnosis and Index Optimization
dbaplus Community
dbaplus Community
Nov 17, 2025 · Databases

6 Proven Strategies to Safely Add Columns to Massive MySQL Tables

When adding a column to a MySQL table with tens of millions of rows, lock contention can cripple services, so this guide compares six practical solutions—including native online DDL, PT‑OSC, gh‑ost, partition sliding windows, downtime maintenance, and dual‑write migration—detailing their mechanisms, trade‑offs, use‑cases, and step‑by‑step commands to ensure minimal disruption.

MySQLOnline DDLdatabase operations
0 likes · 12 min read
6 Proven Strategies to Safely Add Columns to Massive MySQL Tables
Java Backend Technology
Java Backend Technology
Nov 17, 2025 · Databases

Why a Single MySQL Connection Can Cost Over 200 ms – A Deep Dive

This article examines the detailed steps and timing of establishing a MySQL connection from a Java web application, measuring network round‑trips and total latency, and demonstrates how even a minimal connection can consume hundreds of milliseconds, making connection pooling essential for high‑traffic services.

Database ConnectionJavaMySQL
0 likes · 8 min read
Why a Single MySQL Connection Can Cost Over 200 ms – A Deep Dive
Tech Freedom Circle
Tech Freedom Circle
Nov 15, 2025 · Databases

How to Prevent Order Loss in a 100k TPS Flash Sale When the Master DB Crashes – 5 Practical Solutions

The article dissects a high‑traffic flash‑sale interview question—how to guarantee zero order loss at 100,000 TPS when the master MySQL instance fails—by explaining the underlying performance‑consistency conflict, the three skills interviewers assess, and presenting five concrete, code‑driven solutions ranging from MySQL parameter tuning to semi‑sync replication, local message tables, group replication, and Redis‑Kafka traffic shaping.

Data ConsistencyGroup ReplicationKafka
0 likes · 28 min read
How to Prevent Order Loss in a 100k TPS Flash Sale When the Master DB Crashes – 5 Practical Solutions
Ray's Galactic Tech
Ray's Galactic Tech
Nov 14, 2025 · Databases

Mastering MySQL Master‑Slave Read/Write Splitting: 4 Strategies and Real‑World Practices

This article explains MySQL master‑slave replication, why read/write splitting is essential, four practical read‑distribution strategies, the main causes of replication lag, four solutions for write‑after‑read consistency, multi‑slave allocation methods, replication modes, and a real‑world e‑commerce decision matrix, ending with a golden architecture recommendation.

Database ArchitectureMySQLReplication
0 likes · 11 min read
Mastering MySQL Master‑Slave Read/Write Splitting: 4 Strategies and Real‑World Practices
Architect's Tech Stack
Architect's Tech Stack
Nov 14, 2025 · Databases

8 MySQL Optimizations to Slash Query Times from Seconds to Milliseconds

This article presents eight practical MySQL performance‑tuning techniques—including smarter LIMIT usage, avoiding implicit type conversion, rewriting updates and deletes with JOIN, handling mixed ordering, replacing EXISTS with JOIN, pushing conditions down, early range reduction, and using WITH clauses—to transform slow queries into millisecond‑level executions.

MySQLPerformance TuningQuery Rewrite
0 likes · 14 min read
8 MySQL Optimizations to Slash Query Times from Seconds to Milliseconds
Sohu Tech Products
Sohu Tech Products
Nov 13, 2025 · Databases

Why MySQL Deadlocks Happen and How to Prevent Them

An in‑depth guide walks through MySQL InnoDB deadlock logs, explains two‑phase locking, reproduces the issue with step‑by‑step SQL commands, details lock types and compatibility, outlines common deadlock scenarios, and offers practical strategies and configuration tweaks to prevent and monitor deadlocks.

DeadlockInnoDBMySQL
0 likes · 21 min read
Why MySQL Deadlocks Happen and How to Prevent Them
Architect
Architect
Nov 13, 2025 · Backend Development

Quickly Diagnose Spring Boot + Nacos + MySQL Microservice Failures

This guide provides a step‑by‑step troubleshooting workflow for Spring Boot microservices using Nacos as a configuration and service registry and MySQL as the database, covering log inspection, process verification, port checks, network tests, configuration validation, database connectivity, system resources, startup commands, and an optional diagnostic script.

MySQLNacosSpring Boot
0 likes · 9 min read
Quickly Diagnose Spring Boot + Nacos + MySQL Microservice Failures
JavaGuide
JavaGuide
Nov 12, 2025 · Backend Development

Shopee Backend 2023 Salary Offers and In-Depth Interview Guide

Shopee’s 2023 backend positions offer competitive salaries ranging from 23.5k to 32k in Shenzhen, and the article provides a comprehensive interview guide covering network models, TCP handshake, HTTP/HTTPS differences, MySQL isolation levels, foreign keys, slow query optimization, JWT authentication, RBAC, and Redis sorted sets.

InterviewJWTMySQL
0 likes · 31 min read
Shopee Backend 2023 Salary Offers and In-Depth Interview Guide
Efficient Ops
Efficient Ops
Nov 11, 2025 · Databases

MySQL 8.0 End-of-Life 2026: Migration Paths and Best Practices

MySQL 8.0 will lose Oracle support on April 30, 2026, ending security patches, bug fixes, and official assistance, so organizations must choose between upgrading to a newer MySQL version, switching to Percona Server, or migrating to alternative databases like MariaDB or PostgreSQL.

DBaaSDatabase MigrationEnd of Life
0 likes · 5 min read
MySQL 8.0 End-of-Life 2026: Migration Paths and Best Practices
Ray's Galactic Tech
Ray's Galactic Tech
Nov 11, 2025 · Databases

How to Tame MySQL CPU Spikes: A Complete 4‑Step Emergency Guide

When MySQL CPU usage spikes to 500%, this guide walks you through a four‑step emergency process—quickly stopping the overload, diagnosing the root cause, applying targeted SQL and configuration optimizations, and setting up monitoring to prevent future spikes—ensuring service stability and performance.

CPU OptimizationDatabase MonitoringMySQL
0 likes · 8 min read
How to Tame MySQL CPU Spikes: A Complete 4‑Step Emergency Guide
ITPUB
ITPUB
Nov 11, 2025 · Databases

Why Big Tech Switches MySQL Isolation from RR to RC – Benefits & Risks

This article explains the differences between MySQL's RR and RC isolation levels, details master‑slave replication and binlog formats, shows why RR is the default, and why many internet companies now prefer RC for higher concurrency despite its phantom‑read trade‑offs.

Database PerformanceIsolation LevelMySQL
0 likes · 10 min read
Why Big Tech Switches MySQL Isolation from RR to RC – Benefits & Risks
Top Architect
Top Architect
Nov 11, 2025 · Databases

Master MySQL Indexes: Types, Structures, and Performance Trade‑offs

This article explains MySQL index fundamentals, covering what indexes are, their advantages and drawbacks, underlying data structures such as hash tables and B‑/B+‑trees, and the classification of clustered, non‑clustered, primary, secondary, unique, prefix, and full‑text indexes, with practical SQL examples and diagrams.

B-TreeHash TableMySQL
0 likes · 9 min read
Master MySQL Indexes: Types, Structures, and Performance Trade‑offs
21CTO
21CTO
Nov 10, 2025 · Databases

MySQL vs PostgreSQL: Which Database Wins the Ingestion and Query Battle?

This article presents a detailed performance benchmark comparing MySQL 9.0 and PostgreSQL 17.0, measuring data‑ingestion latency, throughput, saturation, CPU and memory usage, as well as query efficiency, and concludes which open‑source database delivers superior write and read performance.

Data IngestionDatabase PerformanceMySQL
0 likes · 10 min read
MySQL vs PostgreSQL: Which Database Wins the Ingestion and Query Battle?
IT Services Circle
IT Services Circle
Nov 10, 2025 · Backend Development

Ace Java Backend Interviews: Spring Injection, MySQL Engines, Redis & JVM OOM

This article combines salary insights for ZTE offers, practical internship interview tips, a deep dive into Spring bean‑injection annotations, a side‑by‑side comparison of MySQL InnoDB and MyISAM, Redis usage patterns, and JVM OutOfMemoryError diagnostics to help you excel in Java backend interviews.

InterviewJVMJava
0 likes · 21 min read
Ace Java Backend Interviews: Spring Injection, MySQL Engines, Redis & JVM OOM
Code Ape Tech Column
Code Ape Tech Column
Nov 10, 2025 · Databases

How to Quickly Identify and Optimize MySQL Slow Queries

This guide explains how to enable MySQL slow‑query logging, set appropriate thresholds, locate problematic SQL statements, analyze execution plans with EXPLAIN, and apply index or query rewrites to dramatically improve performance.

EXPLAINMySQLPerformance
0 likes · 10 min read
How to Quickly Identify and Optimize MySQL Slow Queries
Ops Community
Ops Community
Nov 9, 2025 · Operations

How to Achieve 99.99% Uptime with Keepalived Dual‑Node HA

This guide explains how to design a high‑availability architecture using Keepalived's VRRP‑based active‑passive failover, covering technical features, applicable scenarios, environment requirements, step‑by‑step installation and configuration for services like Nginx, MySQL and Redis, plus best practices, troubleshooting, monitoring and backup strategies.

KeepalivedMySQLVRRP
0 likes · 46 min read
How to Achieve 99.99% Uptime with Keepalived Dual‑Node HA
Java Tech Enthusiast
Java Tech Enthusiast
Nov 9, 2025 · Databases

Why Setting MySQL Columns to NOT NULL Boosts Performance and Saves Space

This article explains how defining MySQL table columns as NOT NULL—rather than allowing NULL—can improve query speed, reduce storage consumption, simplify indexing and aggregation, make application code cleaner, and enhance data consistency, while also noting scenarios where NULL is appropriate.

AggregationIndexingMySQL
0 likes · 9 min read
Why Setting MySQL Columns to NOT NULL Boosts Performance and Saves Space
Su San Talks Tech
Su San Talks Tech
Nov 8, 2025 · Backend Development

Why MyBatis‑Plus Replacement Failed: Debugging LocalDateTime Issues and Connector Upgrades

This article walks through replacing MyBatis with MyBatis‑Plus in a Java project, diagnosing a Conversion not supported for java.time.LocalDateTime error, uncovering its root cause in MyBatis and mysql‑connector‑java version mismatches, and sharing lessons from subsequent validation bugs and production incidents.

DebuggingMySQLORM
0 likes · 8 min read
Why MyBatis‑Plus Replacement Failed: Debugging LocalDateTime Issues and Connector Upgrades
Architect's Guide
Architect's Guide
Nov 8, 2025 · Databases

Mastering MySQL Indexes: From Hash Tables to B+ Trees Explained

This article explains the fundamentals of database indexing, covering what indexes are, their advantages and drawbacks, underlying structures such as hash tables, B‑tree and B+‑tree, different index types (clustered, non‑clustered, primary, secondary) in MySQL, and practical examples with code snippets.

B+TreeDatabase IndexesHash Table
0 likes · 9 min read
Mastering MySQL Indexes: From Hash Tables to B+ Trees Explained
MaGe Linux Operations
MaGe Linux Operations
Nov 6, 2025 · Databases

Boost MySQL InnoDB Performance 300%: Complete Buffer Pool Tuning Guide for 32GB‑256GB

This comprehensive guide walks you through MySQL InnoDB buffer pool optimization—from assessing current settings and calculating optimal sizes for 32 GB to 256 GB servers, to configuring instances, enabling pre‑warming, tuning dirty‑page flushing, monitoring key metrics, and troubleshooting common issues—to achieve up to a 300 % throughput increase in production environments.

InnoDBMySQLPerformance Tuning
0 likes · 33 min read
Boost MySQL InnoDB Performance 300%: Complete Buffer Pool Tuning Guide for 32GB‑256GB
Selected Java Interview Questions
Selected Java Interview Questions
Nov 6, 2025 · Databases

Master Spring Boot ShardingSphere: Step-by-Step MySQL Sharding Guide

This article walks through building a Spring Boot project with ShardingSphere‑JDBC, covering Maven dependencies, YAML configuration, database setup, sharding rules, distributed ID generation, binding tables, and testing, providing a complete, hands‑on guide to implementing MySQL horizontal partitioning in a real‑world application.

MySQLShardingSphereSpring Boot
0 likes · 18 min read
Master Spring Boot ShardingSphere: Step-by-Step MySQL Sharding Guide
Programmer1970
Programmer1970
Nov 5, 2025 · Backend Development

How to Ensure MySQL‑Redis Cache Consistency: Problems, Scenarios, and Solutions

This article analyses why cache consistency between MySQL and Redis breaks under high concurrency, explains the CAP perspective, walks through five typical failure scenarios, and presents concrete solutions such as delayed double‑delete, retry with MQ, binlog listening, expiration fallback, and mutex locks, ending with a decision guide for selecting the most suitable strategy.

Cache ConsistencyMySQLRedis
0 likes · 13 min read
How to Ensure MySQL‑Redis Cache Consistency: Problems, Scenarios, and Solutions
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 5, 2025 · Databases

How to Safely Perform Reverse Incremental Migration from MySQL to OceanBase

This guide explains the background, terminology, pre‑conditions, detailed step‑by‑step procedures, and rollback plan for executing reverse incremental migration from MySQL to OceanBase, covering trigger and foreign‑key handling, OMS operations, data validation, and how to safely switch traffic back to MySQL.

Data synchronizationForeign KeysMySQL
0 likes · 13 min read
How to Safely Perform Reverse Incremental Migration from MySQL to OceanBase
Senior Brother's Insights
Senior Brother's Insights
Nov 4, 2025 · Databases

Why Using UUIDs as MySQL Primary Keys Can Hurt Performance—and How to Fix It

UUIDs provide globally unique identifiers useful in distributed systems, but using them as MySQL primary keys can degrade insert speed, increase storage, and cause page splits; this article explains UUID versions, their structures, performance impacts, and best‑practice techniques such as binary storage, ordered UUIDs, and alternative ID schemes.

Binary StorageMySQLOrdered UUID
0 likes · 11 min read
Why Using UUIDs as MySQL Primary Keys Can Hurt Performance—and How to Fix It
php Courses
php Courses
Nov 4, 2025 · Backend Development

Build a PHP Logistics Tracking & Delivery Management System for E‑Commerce

This tutorial walks you through building a PHP‑based logistics tracking and delivery management system for e‑commerce, covering database schema design, code for adding, updating, and querying shipment and delivery records, and demonstrates how to integrate these features to improve operational efficiency.

Delivery ManagementLogistics TrackingMySQL
0 likes · 5 min read
Build a PHP Logistics Tracking & Delivery Management System for E‑Commerce
JavaGuide
JavaGuide
Nov 4, 2025 · Backend Development

JD Backend Salary Ranges 2024 & How to Ace the Interview

The article shares recent JD backend salary data ranging from 24k to 32k RMB per month, explains the compensation structure, and provides a step‑by‑step interview preparation guide covering project presentation, JWT, Redis, thread pools, MySQL‑Elasticsearch sync, isolation levels and performance analysis.

JDJWTJava
0 likes · 21 min read
JD Backend Salary Ranges 2024 & How to Ace the Interview
ITPUB
ITPUB
Nov 3, 2025 · Databases

Why MySQL’s “utf8” Isn’t Real UTF‑8 and How utf8mb4 Fixes It

Although MySQL historically labeled its three‑byte character set as “utf8”, it actually implements a truncated version (utf8mb3) that cannot store the full Unicode range, leading to bugs with emojis and rare characters; the newer utf8mb4 restores true UTF‑8 support and is now the default in MySQL 8.0.

Character SetMySQLunicode
0 likes · 7 min read
Why MySQL’s “utf8” Isn’t Real UTF‑8 and How utf8mb4 Fixes It
21CTO
21CTO
Nov 2, 2025 · Databases

How to Slash Database Costs by 60% Without Sacrificing Performance

This article explains why database expenses balloon, then walks through ten practical techniques—including smart indexing, selective column queries, caching, partitioning, archiving, data‑type tuning, simplifying joins, regular maintenance, query monitoring, and right‑sized hardware—to cut costs up to 60% while preserving or even boosting query speed.

MySQLPerformance TuningPostgreSQL
0 likes · 10 min read
How to Slash Database Costs by 60% Without Sacrificing Performance
Architect's Must-Have
Architect's Must-Have
Nov 2, 2025 · Databases

Master MySQL Indexes: From Basics to B+Tree Optimization

This article explains MySQL indexes—how they speed up queries, their types, the inner workings of B‑Tree and B+Tree structures, page storage mechanics, and the trade‑offs between clustered and secondary indexes, providing practical insights for database optimization.

B+TreeIndexInnoDB
0 likes · 11 min read
Master MySQL Indexes: From Basics to B+Tree Optimization
MaGe Linux Operations
MaGe Linux Operations
Nov 2, 2025 · Databases

Zero Data Loss MySQL Master‑Slave Replication Lag Diagnosis & GTID Failover

This comprehensive guide explains how to diagnose MySQL master‑slave replication lag, enable GTID mode, configure semi‑synchronous replication, optimize multi‑threaded replication, set up monitoring and alerting with Prometheus, and perform zero‑data‑loss failover using tools like Orchestrator and custom scripts.

AutomationFailoverGTID
0 likes · 23 min read
Zero Data Loss MySQL Master‑Slave Replication Lag Diagnosis & GTID Failover
Java Tech Enthusiast
Java Tech Enthusiast
Nov 1, 2025 · Backend Development

How to Quickly Diagnose Spring Boot + Nacos + MySQL Startup Failures

This guide provides a step‑by‑step troubleshooting workflow for common Spring Boot microservice issues involving Nacos and MySQL, covering log inspection, process verification, port checks, network connectivity, configuration validation, database connection tests, resource monitoring, and a one‑click diagnostic script.

MySQLNacosSpring Boot
0 likes · 9 min read
How to Quickly Diagnose Spring Boot + Nacos + MySQL Startup Failures
Java Backend Technology
Java Backend Technology
Oct 31, 2025 · Databases

10 Essential MySQL Tricks to Boost Performance and Simplify Queries

This article presents ten practical MySQL techniques—from using JSON columns for flexible data to leveraging CTEs, window functions, and advanced clauses like WITH ROLLUP and INSERT IGNORE—each illustrated with real‑world scenarios and ready‑to‑run SQL code to improve query efficiency and developer productivity.

CTEDatabase QueriesMySQL
0 likes · 11 min read
10 Essential MySQL Tricks to Boost Performance and Simplify Queries
Senior Brother's Insights
Senior Brother's Insights
Oct 31, 2025 · Databases

Master MySQL Transactions: ACID, Locks, and Practical Examples

This article explains what database transactions are, why they matter, details MySQL’s transaction commands, the ACID properties, isolation levels, lock types, MVCC, how to use InnoDB, handle errors, employ savepoints, and provides concrete SQL examples for creating, committing, rolling back, and managing transactions.

ACIDDatabase TransactionsInnoDB
0 likes · 12 min read
Master MySQL Transactions: ACID, Locks, and Practical Examples
dbaplus Community
dbaplus Community
Oct 30, 2025 · Databases

When Should You Turn Off MySQL’s prefer_ordering_index? A Deep Dive

This article explains the purpose of MySQL's optimizer_switch prefer_ordering_index, why the default ON can hurt performance on skewed data, and demonstrates with table creation, data‑loading procedures, and EXPLAIN output how turning the option OFF often yields faster queries.

FilesortIndex ScanMySQL
0 likes · 7 min read
When Should You Turn Off MySQL’s prefer_ordering_index? A Deep Dive
Architect
Architect
Oct 30, 2025 · Databases

When MySQL Auto‑Increment IDs Hit Their Limit: Diagnosis and Fixes

A massive MySQL table ran out of INT auto‑increment IDs due to high concurrency, leading to insert failures; the article analyzes the root cause, evaluates three remediation strategies, and details the eventual migration to BIGINT with performance monitoring and code snippets.

BigIntDatabaseMySQL
0 likes · 9 min read
When MySQL Auto‑Increment IDs Hit Their Limit: Diagnosis and Fixes
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Oct 30, 2025 · Databases

Master MySQL Locks: From Basics to Advanced Optimizations

This article provides a comprehensive overview of MySQL's lock mechanisms, covering lock granularity, lock types, intention locks, record/gap/next‑key locks, their interaction with transaction isolation levels, two‑phase locking, deadlock handling, and practical optimization techniques for high‑concurrency applications.

DeadlockIsolation LevelsMySQL
0 likes · 20 min read
Master MySQL Locks: From Basics to Advanced Optimizations
Sohu Tech Products
Sohu Tech Products
Oct 29, 2025 · Databases

Understanding MySQL InnoDB Deadlocks: Causes, Lock Types & Prevention

This article examines MySQL InnoDB deadlocks by analyzing error logs, explaining the two‑phase locking protocol and various lock types, demonstrates how to reproduce a deadlock scenario, categorizes lock behaviors, and offers practical strategies to prevent and monitor deadlocks in database applications.

DatabaseInnoDBMySQL
0 likes · 19 min read
Understanding MySQL InnoDB Deadlocks: Causes, Lock Types & Prevention
Xiao Liu Lab
Xiao Liu Lab
Oct 29, 2025 · Information Security

Secure MySQL 8 in 30 Minutes with 6 Production‑Ready Scripts

Learn how to transform a vulnerable MySQL 8 instance into a militarized, audit‑ready database in just half an hour by applying six ready‑to‑run shell and SQL scripts that disable high‑risk accounts, enable enterprise audit logging, enforce SSL, prune privileges, rotate root passwords, and generate compliance reports.

AutomationMySQLSSL
0 likes · 7 min read
Secure MySQL 8 in 30 Minutes with 6 Production‑Ready Scripts
Xiao Liu Lab
Xiao Liu Lab
Oct 29, 2025 · Databases

5 Underrated MySQL Security Settings That Block 90% of Attacks

Even if your database appears functional and backed up, a single SQL injection can expose all data; this article reveals five often‑overlooked MySQL security configurations—disabling remote root login, turning off dangerous functions, enabling audit logs, enforcing SSL, and cleaning ghost accounts—to dramatically harden your database in under 30 minutes.

Database SecurityMySQLSQL injection
0 likes · 6 min read
5 Underrated MySQL Security Settings That Block 90% of Attacks
Ray's Galactic Tech
Ray's Galactic Tech
Oct 29, 2025 · Databases

Master‑Slave Consistency in MySQL: 4 Proven Strategies to Eliminate Replication Lag

This article explains why MySQL master‑slave replication can fall behind, outlines common causes of data inconsistency, and presents four comprehensive solutions—including architecture tweaks, multi‑threaded replication, configuration tuning, and Percona Toolkit verification—to achieve fast, stable, and accurate data synchronization.

Database PerformanceLagMySQL
0 likes · 9 min read
Master‑Slave Consistency in MySQL: 4 Proven Strategies to Eliminate Replication Lag
Programmer1970
Programmer1970
Oct 29, 2025 · Backend Development

Getting Started with Flowable Workflow Engine in Spring Boot – Part 4

This guide walks through setting up Flowable 6.8.0 with Spring Boot 2.7.x, configuring MySQL, defining and deploying BPMN processes, managing runtime tasks, handling dynamic assignments, querying history, adding extensions like multi‑instance approvals and email notifications, and finally containerizing the application with Docker.

BPMNDockerFlowable
0 likes · 8 min read
Getting Started with Flowable Workflow Engine in Spring Boot – Part 4
Senior Brother's Insights
Senior Brother's Insights
Oct 29, 2025 · Databases

Sharding vs Partitioning: When and How to Scale Your Database

This article explains the concepts, differences, advantages, and disadvantages of database sharding and partitioning, provides practical MySQL examples for horizontal sharding by region and range partitioning, and offers guidance on choosing the right approach for scalability and maintainability.

Data DistributionDatabase ScalingMySQL
0 likes · 10 min read
Sharding vs Partitioning: When and How to Scale Your Database
MaGe Linux Operations
MaGe Linux Operations
Oct 29, 2025 · Databases

Master MySQL Slow Query Analysis & Optimization: A Practical Guide

This guide walks through enabling MySQL slow query logging, analyzing logs with pt‑query‑digest, interpreting EXPLAIN output, applying index and SQL optimizations, tuning database parameters, and setting up Prometheus monitoring, culminating in a real‑world order‑query case that reduces execution time from seconds to milliseconds.

EXPLAINIndex OptimizationMySQL
0 likes · 17 min read
Master MySQL Slow Query Analysis & Optimization: A Practical Guide
Su San Talks Tech
Su San Talks Tech
Oct 29, 2025 · Databases

How to Safely Delete Millions of Rows from a Large Table: Proven Strategies & Code

This article explains why deleting tens of millions of rows is challenging, analyzes transaction, lock, resource, and business impacts, and presents five practical solutions—including batch deletion, table rebuild, partition dropping, online migration, and professional tools—along with best‑practice guidelines and a decision matrix.

Batch ProcessingMySQLdata deletion
0 likes · 28 min read
How to Safely Delete Millions of Rows from a Large Table: Proven Strategies & Code
Open Source Tech Hub
Open Source Tech Hub
Oct 28, 2025 · Backend Development

Build a Mythical Afterlife Management System with Node, MySQL, and Vue

This guide walks you through creating a full‑stack “afterlife” management platform that simulates traditional Chinese underworld processes, using a Node.js + Express + MySQL backend and a Vue + Element UI frontend, with step‑by‑step setup, configuration, and deployment instructions.

ExpressFull-StackMySQL
0 likes · 6 min read
Build a Mythical Afterlife Management System with Node, MySQL, and Vue
Top Architect
Top Architect
Oct 28, 2025 · Backend Development

How I Cut XML‑to‑MySQL Import Time from 300 s to 4 s

This article details a step‑by‑step performance overhaul for importing 60,000+ XML records into MySQL, covering baseline measurements, MySQL batch processing, asynchronous writes with Disruptor, XML parsing optimizations, and tuning MySQL buffers, ultimately reducing total runtime from 300 seconds to just four seconds.

Batch ProcessingDisruptorJava
0 likes · 14 min read
How I Cut XML‑to‑MySQL Import Time from 300 s to 4 s
Senior Brother's Insights
Senior Brother's Insights
Oct 27, 2025 · Databases

How Does MySQL Power High‑Performance OLTP Workloads?

This article explains what OLTP (Online Transaction Processing) is, outlines its key characteristics, and details how MySQL—through ACID‑compliant transactions, the InnoDB storage engine, various indexing strategies, fast locking mechanisms, query optimization, and high‑availability features—effectively supports high‑concurrency, low‑latency transactional workloads.

Database TransactionsIndexingInnoDB
0 likes · 9 min read
How Does MySQL Power High‑Performance OLTP Workloads?
Xiao Liu Lab
Xiao Liu Lab
Oct 27, 2025 · Databases

Boost MySQL Performance: 6 Essential Config Tweaks for 5000+ QPS

Even when CPU and memory appear idle, MySQL can suffer connection timeouts, query stalls, and 100% CPU spikes during peak traffic, but by adjusting six key configuration parameters and following solid SQL‑optimization practices you can reliably support thousands of queries per second.

MySQLPerformance TuningSQL optimization
0 likes · 6 min read
Boost MySQL Performance: 6 Essential Config Tweaks for 5000+ QPS
Raymond Ops
Raymond Ops
Oct 27, 2025 · Databases

Choosing the Right MySQL HA Solution: MHA, Percona XtraDB Cluster, and Galera

This article examines three MySQL high‑availability solutions—MHA, Percona XtraDB Cluster, and Galera Cluster—detailing their architectures, advantages, limitations, deployment scenarios, and best‑practice recommendations to help engineers choose the most suitable approach for continuous, reliable database operations.

Cluster DeploymentDatabase ReplicationGalera
0 likes · 11 min read
Choosing the Right MySQL HA Solution: MHA, Percona XtraDB Cluster, and Galera
php Courses
php Courses
Oct 27, 2025 · Backend Development

Master PHP Database Connections: MySQLi and PDO Step‑by‑Step Guide

Learn how to establish, use, and close MySQL database connections in PHP with detailed MySQLi and PDO examples, covering object‑oriented syntax, prepared statements, error handling, and best practices for secure and efficient backend development.

Database ConnectionMySQLMySQLi
0 likes · 4 min read
Master PHP Database Connections: MySQLi and PDO Step‑by‑Step Guide
Ray's Galactic Tech
Ray's Galactic Tech
Oct 24, 2025 · Databases

How to Choose Between MySQL, PostgreSQL, and MongoDB: The Ultimate Guide

This comprehensive guide compares MySQL, PostgreSQL, and MongoDB across core features, transaction models, indexing, scalability, and real‑world use cases, offering a step‑by‑step selection method, detailed pros and cons, and a practical decision flowchart to help engineers pick the right database for their projects.

Database ComparisonMongoDBMySQL
0 likes · 9 min read
How to Choose Between MySQL, PostgreSQL, and MongoDB: The Ultimate Guide
Senior Brother's Insights
Senior Brother's Insights
Oct 23, 2025 · Databases

InnoDB vs MyISAM: Which MySQL Storage Engine Fits Your Needs?

This article compares MySQL's InnoDB and MyISAM storage engines across dimensions such as transaction support, locking, file structure, indexing, full‑text search, and COUNT(*) performance, helping developers choose the appropriate engine based on workload and consistency requirements.

Full-text SearchInnoDBMyISAM
0 likes · 13 min read
InnoDB vs MyISAM: Which MySQL Storage Engine Fits Your Needs?
Ray's Galactic Tech
Ray's Galactic Tech
Oct 21, 2025 · Databases

Essential MySQL 5.7 → 8.0 Upgrade Guide: Common Pitfalls & Solutions

Upgrading MySQL from 5.7 to 8.0 involves careful preparation, thorough testing, and handling numerous compatibility issues such as deprecated features, authentication changes, SQL mode differences, and performance regressions, all of which are detailed with step‑by‑step solutions in this guide.

5.78.0Database Migration
0 likes · 9 min read
Essential MySQL 5.7 → 8.0 Upgrade Guide: Common Pitfalls & Solutions
Selected Java Interview Questions
Selected Java Interview Questions
Oct 21, 2025 · Big Data

How to Sync Massive MySQL Datasets Efficiently with DataX

This guide walks through the challenges of synchronizing tens of millions of records between heterogeneous MySQL databases, explains why traditional mysqldump or file‑based methods fail, and provides a step‑by‑step tutorial on installing, configuring, and using Alibaba's open‑source DataX tool for both full and incremental data synchronization.

Big DataData synchronizationDataX
0 likes · 15 min read
How to Sync Massive MySQL Datasets Efficiently with DataX
Qunar Tech Salon
Qunar Tech Salon
Oct 20, 2025 · Databases

Why Traditional DB Inspections Fail and AI-Powered Anomaly Detection Helps

This article examines the limitations of traditional threshold‑based database inspections, introduces AI‑driven anomaly detection techniques such as DoubleRollingAggregate, SeasonalAD, and LevelShiftAD, and details practical implementations, tuning strategies, and real‑world use cases for MySQL and Redis monitoring.

Database MonitoringMachine LearningMySQL
0 likes · 23 min read
Why Traditional DB Inspections Fail and AI-Powered Anomaly Detection Helps
Architect
Architect
Oct 19, 2025 · Databases

Generating Short Sequential Numeric IDs in MySQL Without Snowflake Overhead

This article explores how to replace long UUIDs with short, sequential numeric IDs by evaluating Snowflake, MySQL auto‑increment tables, REPLACE INTO deadlock issues, batch allocation strategies, and a final free‑ID table design that balances performance, simplicity, and low ID waste.

MySQLauto_incrementdatabase-design
0 likes · 14 min read
Generating Short Sequential Numeric IDs in MySQL Without Snowflake Overhead
JavaGuide
JavaGuide
Oct 19, 2025 · Backend Development

Java Backend Guide: @Autowired vs @Resource, MySQL Engines, Redis, JVM OOM

The article shares ZTE salary offers and interview tips, then dives into technical deep‑dives on Spring bean injection annotations, compares MySQL InnoDB and MyISAM, explains Redis usage patterns, and walks through JVM OutOfMemoryError diagnosis with concrete code and tooling examples.

JVMJavaMySQL
0 likes · 21 min read
Java Backend Guide: @Autowired vs @Resource, MySQL Engines, Redis, JVM OOM
ITPUB
ITPUB
Oct 17, 2025 · Databases

Why Some Companies Switch MySQL from Repeatable Read to Read Committed

The article explains MySQL's default Repeatable Read isolation level, how its lock and binlog mechanisms affect consistency and replication, and why many high‑traffic internet firms change to Read Committed to boost concurrency and reduce deadlocks despite the need to handle phantom reads.

Isolation LevelMySQLRead Committed
0 likes · 8 min read
Why Some Companies Switch MySQL from Repeatable Read to Read Committed
Smart Sea Tide
Smart Sea Tide
Oct 17, 2025 · Big Data

Building a Data Warehouse for the Data Processing Layer

The article outlines the problems of early data services, proposes a two‑step data warehouse solution—abstracting a data model and extracting, cleaning, and storing data from MySQL, MongoDB, and Elasticsearch—then details storage selection, dimensional modeling, incremental ETL, and Airflow workflow management.

AirflowBig DataETL
0 likes · 12 min read
Building a Data Warehouse for the Data Processing Layer
Senior Brother's Insights
Senior Brother's Insights
Oct 15, 2025 · Databases

Master MySQL Partitioning: When, How, and Why It Beats Sharding

This guide explains MySQL partitioning fundamentals, shows how to create RANGE, LIST, and KEY partitions with concrete CREATE TABLE examples, compares the performance benefits and maintenance trade‑offs, and clarifies the differences between partitioning and sharding to help you decide when to use each technique.

KEYMySQLdatabase optimization
0 likes · 7 min read
Master MySQL Partitioning: When, How, and Why It Beats Sharding
macrozheng
macrozheng
Oct 15, 2025 · Databases

Why PostgreSQL Beats MySQL in High‑Performance Scenarios

This article examines why PostgreSQL is often a better choice than MySQL for high‑performance workloads, covering architectural differences, indexing capabilities, query optimization, data types, concurrency control, benchmark results, and migration considerations, and provides code examples to illustrate each point.

IndexingMySQLPostgreSQL
0 likes · 13 min read
Why PostgreSQL Beats MySQL in High‑Performance Scenarios
php Courses
php Courses
Oct 15, 2025 · Backend Development

How to Build and Display Nested Category Trees with PHP & MySQL

Learn step-by-step how to design a MySQL categories table, retrieve data with PHP, construct a recursive tree based on parent_id, and render the hierarchical structure as an HTML list, providing a complete solution for managing nested product categories in e‑commerce applications.

E‑commerceMySQLPHP
0 likes · 5 min read
How to Build and Display Nested Category Trees with PHP & MySQL
IT Services Circle
IT Services Circle
Oct 14, 2025 · Databases

How to Efficiently Store IP Addresses in PostgreSQL and MySQL

This article explains how PostgreSQL and MySQL store IP addresses using native data types and functions, showing example table definitions, insertion and query statements for both IPv4 and IPv6, and highlights the advantages of using specialized types over plain VARCHAR.

INET typeIP storageMySQL
0 likes · 4 min read
How to Efficiently Store IP Addresses in PostgreSQL and MySQL
Top Architect
Top Architect
Oct 13, 2025 · Backend Development

Why Replacing MyBatis with MyBatis‑Plus Can Break Your App—and How to Fix It

The article walks through swapping MyBatis for MyBatis‑Plus in a legacy Java project, explains the LocalDateTime conversion error caused by MyBatis 3.5.1 and an outdated MySQL driver, shows how upgrading mysql‑connector‑java resolves the issue, and warns that component upgrades can trigger cascading bugs that require thorough testing.

JavaMySQLORM
0 likes · 11 min read
Why Replacing MyBatis with MyBatis‑Plus Can Break Your App—and How to Fix It
Senior Brother's Insights
Senior Brother's Insights
Oct 13, 2025 · Databases

Why Setting MySQL Columns to NOT NULL Boosts Performance and Saves Space

This article explains why defining MySQL table columns as NOT NULL—unless business logic demands NULL—improves query speed, reduces storage overhead, enhances index efficiency, prevents aggregation distortion, simplifies application code, and strengthens data consistency, while also noting scenarios where NULL is appropriate.

Index PerformanceMySQLNOT NULL
0 likes · 9 min read
Why Setting MySQL Columns to NOT NULL Boosts Performance and Saves Space
Java Tech Enthusiast
Java Tech Enthusiast
Oct 13, 2025 · Databases

Why OR Queries Break MySQL Indexes and How to Fix Them

This article explains how MySQL OR conditions can cause index loss, demonstrates typical scenarios with multi‑field, range, and dynamic filters, and provides practical solutions such as using UNION/UNION ALL or adding appropriate indexes to restore efficient query performance.

Index OptimizationMySQLOR query
0 likes · 7 min read
Why OR Queries Break MySQL Indexes and How to Fix Them