Tagged articles

MySQL

5000 articles · Page 23 of 50
JD Cloud Developers
JD Cloud Developers
Sep 14, 2023 · Databases

How to Optimize MySQL Table Design for High Performance

This article walks through the creation and step‑by‑step optimization of a MySQL service_log table, covering proper data‑type selection, index usage, NULL handling, DATETIME vs TIMESTAMP choices, and floating‑point considerations to achieve a lean, high‑performance schema.

Data TypesMySQLSQL
0 likes · 17 min read
How to Optimize MySQL Table Design for High Performance
JD Retail Technology
JD Retail Technology
Sep 13, 2023 · Databases

Optimizing Pagination Queries for Billion‑Row MySQL Tables

The article analyzes the performance problems of deep pagination on massive MySQL tables storing billions of fan records and presents three progressive solutions—simple LIMIT, tag‑record (maxId) pagination, and range‑limited pagination with async and offline minId caching—along with general indexing best‑practices for high‑throughput queries.

IndexingLarge DataMySQL
0 likes · 10 min read
Optimizing Pagination Queries for Billion‑Row MySQL Tables
Top Architect
Top Architect
Sep 12, 2023 · Backend Development

Efficient Insertion of 300,000 Records Using MyBatis and JDBC

This article demonstrates how to insert 300,000 rows into a MySQL table efficiently by defining entity, mapper and configuration files, comparing direct batch insertion, row‑by‑row insertion, and optimized batch strategies with MyBatis and JDBC, and summarizing performance results and best‑practice tips.

JDBCJavaMyBatis
0 likes · 15 min read
Efficient Insertion of 300,000 Records Using MyBatis and JDBC
ITPUB
ITPUB
Sep 12, 2023 · Databases

What Risks Does MySQL 5.7 End‑of‑Life Pose and How to Migrate to Domestic Open‑Source Forks?

MySQL 5.7 reaches its official End‑of‑Life in October 2023, exposing users to security, compliance, performance, and support risks, and the article outlines four migration paths—continuing with 5.7, upgrading to MySQL 8.0, switching to domestic open‑source forks like GreatSQL, or adopting commercial Chinese databases—while providing a detailed case study of GreatSQL’s suitability for Chinese enterprises.

ChinaDatabase MigrationEnd of Life
0 likes · 13 min read
What Risks Does MySQL 5.7 End‑of‑Life Pose and How to Migrate to Domestic Open‑Source Forks?
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 12, 2023 · Databases

Understanding MySQL 8.0 Password Policy Options and Common Misunderstandings

This article analyzes MySQL 8.0 password‑related parameters, explains the meaning of NULL values in the mysql.user table, demonstrates how global settings interact with per‑user attributes, and clarifies the priority rules between password_history and password_reuse_interval through practical test scenarios.

ALTER USERCREATE USERDatabase Administration
0 likes · 9 min read
Understanding MySQL 8.0 Password Policy Options and Common Misunderstandings
Architect's Tech Stack
Architect's Tech Stack
Sep 11, 2023 · Databases

Performance Evaluation of Large-Scale Data Insertion into MySQL Using MyBatis, JDBC, and Batch Processing

This article presents a systematic performance test of inserting massive data into MySQL, comparing three strategies—MyBatis lightweight insertion, direct JDBC (with and without transactions), and JDBC batch processing—showing how transaction handling and batch execution dramatically affect insertion speed.

Batch ProcessingJDBCJava
0 likes · 15 min read
Performance Evaluation of Large-Scale Data Insertion into MySQL Using MyBatis, JDBC, and Batch Processing
Liangxu Linux
Liangxu Linux
Sep 10, 2023 · Databases

Master MySQL Query Optimization: Architecture, Caching, and Index Strategies

This article explains MySQL's logical architecture, query execution flow, caching mechanisms, and detailed index design techniques, providing practical tips and examples so developers can understand the underlying principles and apply effective performance optimizations in real‑world applications.

Database PerformanceMySQLQuery Optimization
0 likes · 38 min read
Master MySQL Query Optimization: Architecture, Caching, and Index Strategies
JD Retail Technology
JD Retail Technology
Sep 10, 2023 · Databases

Understanding MySQL InnoDB MVCC and Transaction Isolation Levels

This article explains MySQL InnoDB's multi-version concurrency control (MVCC), detailing how transaction isolation levels such as read‑committed and repeatable‑read create snapshots, how undo logs and hidden columns form version chains, and walks through concrete examples to show which row values are visible to concurrent transactions.

InnoDBMVCCMySQL
0 likes · 12 min read
Understanding MySQL InnoDB MVCC and Transaction Isolation Levels
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 9, 2023 · Databases

SQL Queries for Identifying High‑Salary, Low‑Performance Employees in Layoff Scenarios

This article demonstrates how to use MySQL to create employee and performance tables, populate them with sample data, and write SQL statements that first select employees whose salaries exceed their department's average and then filter out those with non‑A performance ratings, providing a complete layoff‑target list.

DatabaseEmployeeMySQL
0 likes · 7 min read
SQL Queries for Identifying High‑Salary, Low‑Performance Employees in Layoff Scenarios
Su San Talks Tech
Su San Talks Tech
Sep 9, 2023 · Backend Development

How to Sync MySQL Binlog to Elasticsearch Using Canal and RocketMQ

This step‑by‑step tutorial shows how to configure Alibaba's Canal to capture MySQL binlog changes, route them through RocketMQ, and index the data into Elasticsearch, covering cluster mode, MySQL and Elasticsearch setup, RocketMQ topic creation, Canal properties, and consumer implementation.

CanalData synchronizationElasticsearch
0 likes · 8 min read
How to Sync MySQL Binlog to Elasticsearch Using Canal and RocketMQ
Java Interview Crash Guide
Java Interview Crash Guide
Sep 8, 2023 · Databases

Boost MySQL Performance: 9 Proven SQL Optimization Techniques

This article explains nine practical MySQL optimization methods—including smarter LIMIT usage, implicit conversion pitfalls, JOIN‑based updates, mixed ordering tricks, EXISTS rewrites, predicate pushdown, early range reduction, intermediate result pushdown, and a concise summary—showing how to transform slow queries into sub‑millisecond operations.

LIMIT clauseMySQLPredicate Pushdown
0 likes · 12 min read
Boost MySQL Performance: 9 Proven SQL Optimization Techniques
dbaplus Community
dbaplus Community
Sep 7, 2023 · Databases

How to Safely Migrate from MySQL 5.7 Before Its End‑of‑Life

With MySQL 5.7 reaching end‑of‑life in October 2023 and over half of installations still on that version, this guide explains the new features of MySQL 8.0, how to assess upgrade readiness, and the three main migration paths—including staying put, moving to a DBaaS, or switching to PostgreSQL.

DBaaSEOLMySQL
0 likes · 8 min read
How to Safely Migrate from MySQL 5.7 Before Its End‑of‑Life
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 6, 2023 · Databases

Resolving ERROR 1499: Too Many Partitions in OceanBase/MySQL

This article analyzes the MySQL ERROR 1499 caused by exceeding partition limits in OceanBase, examines server parameters, recycle‑bin settings, and tenant memory usage, and provides calculations and recommendations to expand memory or limit partition counts to prevent the error.

Database TroubleshootingMySQLOceanBase
0 likes · 11 min read
Resolving ERROR 1499: Too Many Partitions in OceanBase/MySQL
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 4, 2023 · Databases

Observability of MySQL 8 Replication Using Performance Schema and Sys Schema Views

The article explains how MySQL 8 enhances replication observability by exposing detailed metrics through Performance Schema tables and sys schema views, providing DBAs with richer information such as per‑channel lag, worker thread states, and full replication status beyond the traditional SHOW REPLICA STATUS output.

InnoDB ClusterMySQLPerformance Schema
0 likes · 14 min read
Observability of MySQL 8 Replication Using Performance Schema and Sys Schema Views
Su San Talks Tech
Su San Talks Tech
Sep 4, 2023 · Databases

Master MySQL Interview Essentials: 43 Key Topics Explained

This comprehensive guide consolidates 43 essential MySQL interview topics—from normalization, storage engines, and indexing to transaction handling, logging, replication, and performance tuning—providing clear explanations, code examples, and diagrams to help candidates quickly master the core concepts.

Database InterviewMySQLReplication
0 likes · 37 min read
Master MySQL Interview Essentials: 43 Key Topics Explained
Java Architect Essentials
Java Architect Essentials
Sep 3, 2023 · Databases

Why Avoid NULL Columns in MySQL: Reasons and Implications

This article examines why MySQL columns are often defined as NULL, debunks common myths, and presents several technical reasons—including storage overhead, index complications, query pitfalls, and timestamp issues—that justify using NOT NULL with meaningful default values for better performance and data integrity.

MySQLNULLPerformance
0 likes · 9 min read
Why Avoid NULL Columns in MySQL: Reasons and Implications
macrozheng
macrozheng
Sep 3, 2023 · Databases

Why a Single UPDATE Can Crash Your MySQL Database and How to Prevent It

This article explains how an UPDATE without indexed WHERE conditions can trigger full‑table next‑key locks in InnoDB, causing business downtime, and provides practical safeguards such as enabling sql_safe_updates and using FORCE INDEX to ensure safe execution.

InnoDBMySQLUPDATE
0 likes · 8 min read
Why a Single UPDATE Can Crash Your MySQL Database and How to Prevent It
ITPUB
ITPUB
Sep 3, 2023 · Databases

Migrating from MySQL 5.7 to 8.0: Steps, New Features, and Alternative Paths

With MySQL 5.7 reaching end‑of‑life, this guide explains why you should upgrade to MySQL 8.0, outlines the new SQL capabilities and tools, and compares migration options including DBaaS and switching to PostgreSQL, helping you choose the best path for your workloads.

DBaaSDatabase UpgradeMySQL
0 likes · 8 min read
Migrating from MySQL 5.7 to 8.0: Steps, New Features, and Alternative Paths
macrozheng
macrozheng
Aug 31, 2023 · Databases

15 Essential Tips for Designing Robust Database Tables

This guide walks backend developers through fifteen practical best‑practice tips covering table and column naming, data types, field lengths, primary keys, storage engines, null constraints, foreign keys, indexes, time and monetary fields, character sets, collations, and handling large columns to reduce maintenance costs and avoid common pitfalls.

MySQLSQLindexes
0 likes · 20 min read
15 Essential Tips for Designing Robust Database Tables
Shepherd Advanced Notes
Shepherd Advanced Notes
Aug 30, 2023 · Databases

Achieving Efficient Real‑Time Search for Massive Data in Spring Boot Applications

The article analyzes why massive tables become a bottleneck in Spring Boot systems, outlines the drawbacks of sharding, and presents a layered solution—data archiving, read‑write separation with caching, heterogeneous source synchronization via Elasticsearch and Canal, and selective sharding—to enable high‑performance real‑time search.

CanalData ArchivingElasticsearch
0 likes · 13 min read
Achieving Efficient Real‑Time Search for Massive Data in Spring Boot Applications
JD Cloud Developers
JD Cloud Developers
Aug 29, 2023 · Backend Development

How a Lightweight Redis‑Based Inventory Architecture Boosts High‑Traffic E‑Commerce Systems

This article examines the challenges of scaling inventory pre‑allocation in fast‑growing logistics platforms, outlines architectural principles for a lightweight, Redis‑driven solution that replaces MySQL bottlenecks, details data structures, consistency mechanisms, and performance results, and provides a roadmap for future capacity growth.

E‑commerceMySQLRedis
0 likes · 10 min read
How a Lightweight Redis‑Based Inventory Architecture Boosts High‑Traffic E‑Commerce Systems
Top Architect
Top Architect
Aug 29, 2023 · Databases

Efficient Insertion of 300,000 Records Using MyBatis and JDBC

This article explains how to insert 300,000 rows into a MySQL table efficiently by defining a User entity, configuring MyBatis mappers, and comparing three approaches—direct bulk insert, per‑row loop insert, and batch insert with configurable batch sizes—while also providing JDBC equivalents and performance tips.

JDBCJavaMyBatis
0 likes · 15 min read
Efficient Insertion of 300,000 Records Using MyBatis and JDBC
Architect's Guide
Architect's Guide
Aug 29, 2023 · Databases

Why Running MySQL in Docker May Not Be Ideal: Data Safety, Performance, and Resource Isolation Issues

This article examines why containerizing MySQL with Docker can be problematic, highlighting data safety concerns, performance degradation due to I/O bottlenecks, state management limitations, and resource isolation challenges, while also presenting scenarios where containerization may be feasible and offering mitigation strategies.

ContainersData SafetyDatabase
0 likes · 5 min read
Why Running MySQL in Docker May Not Be Ideal: Data Safety, Performance, and Resource Isolation Issues
Laravel Tech Community
Laravel Tech Community
Aug 28, 2023 · Databases

Common MySQL Performance Issues and Their Optimization Techniques

This article examines frequent MySQL performance problems such as inefficient LIMIT usage, implicit type conversion, sub‑query updates, mixed sorting, EXISTS clauses, condition push‑down, early range reduction, and intermediate result handling, and provides concrete SQL rewrites and execution‑plan analyses to dramatically improve query speed.

Execution PlanIndexingMySQL
0 likes · 13 min read
Common MySQL Performance Issues and Their Optimization Techniques
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 28, 2023 · Databases

MySQL InnoDB Cluster Read Replicas: Adding, Configuring, and Managing Read‑Only Nodes

This article explains how MySQL InnoDB Cluster 8.1 introduces read‑only replica instances, shows step‑by‑step commands to create and configure them, describes their failover behavior, routing options with MySQL Router, health‑check isolation, replication‑lag handling, and how to hide replicas from traffic.

DatabaseInnoDB ClusterMySQL
0 likes · 17 min read
MySQL InnoDB Cluster Read Replicas: Adding, Configuring, and Managing Read‑Only Nodes
Liangxu Linux
Liangxu Linux
Aug 27, 2023 · Databases

Secure Remote MySQL Access via Nginx Stream Proxy: Step‑by‑Step Guide

This guide explains how to use Nginx’s stream module as a jump‑host to securely proxy MySQL connections, covering module compilation, core directives, configuration examples for single and clustered servers, and IP‑based access restrictions to protect database traffic.

Access ControlMySQLStream
0 likes · 6 min read
Secure Remote MySQL Access via Nginx Stream Proxy: Step‑by‑Step Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 27, 2023 · Databases

Understanding MySQL Transactions, Isolation Levels, and MVCC

This article explains MySQL transaction fundamentals, the ACID properties, how to start and control transactions, the problems of dirty, non‑repeatable and phantom reads, isolation level settings, MVCC mechanics, read‑view structures, and the role of undo logs in ensuring data consistency.

DatabaseInnoDBIsolation Levels
0 likes · 15 min read
Understanding MySQL Transactions, Isolation Levels, and MVCC
php Courses
php Courses
Aug 26, 2023 · Backend Development

Implementing Data Backup and Recovery with PHP

This tutorial demonstrates how to use PHP to create a backup directory, export MySQL tables to text files, and restore them by reading the files and executing INSERT statements, providing complete code examples for both backup and recovery processes.

Data RecoveryMySQLPHP
0 likes · 5 min read
Implementing Data Backup and Recovery with PHP
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 25, 2023 · Databases

SQLE 2.2308.0 Release Notes – New Features for Community and Enterprise Editions

The SQLE 2.2308.0 release introduces intelligent SQL file scanning, per‑instance work‑order approvers, multi‑file MyBatis review in IntelliJ, zero‑cost Java probe integration, new OceanBase‑Oracle support, expanded TDSQL distributed rules, and numerous bug fixes and optimizations across both community and enterprise versions.

Database AuditingIntelliJMySQL
0 likes · 9 min read
SQLE 2.2308.0 Release Notes – New Features for Community and Enterprise Editions
JD Tech
JD Tech
Aug 25, 2023 · Databases

Reducing Sharding-JDBC Database Connection Count: Analysis and Custom Partitioning Optimization

This article examines the high connection‑count problem of Sharding-JDBC in JD Logistics, explains sharding concepts, compares four mitigation strategies, and presents a custom table‑partitioning algorithm with configuration changes that dramatically lowers MySQL instance connections while maintaining performance.

Connection PoolingCustom Sharding AlgorithmMySQL
0 likes · 16 min read
Reducing Sharding-JDBC Database Connection Count: Analysis and Custom Partitioning Optimization
php Courses
php Courses
Aug 23, 2023 · Backend Development

Building a Simple Online Quiz System with PHP and MySQL

This tutorial explains how to create a basic online quiz platform by designing a MySQL database, writing PHP code to connect, retrieve, display questions, and process user answers to calculate scores, providing a foundation for further feature expansion.

MySQLOnline QuizPHP
0 likes · 5 min read
Building a Simple Online Quiz System with PHP and MySQL
Efficient Ops
Efficient Ops
Aug 22, 2023 · Operations

Persisting Prometheus Alertmanager Alerts with Alertsnitch, MySQL, and Grafana

This article explains how Prometheus stores alerts only as time‑series data, why that limits historical queries, and provides a complete open‑source solution using Alertmanager, Alertsnitch, MySQL, and Grafana to persist, query, and visualize alerts in production environments.

Alert PersistenceAlertmanagerGrafana
0 likes · 10 min read
Persisting Prometheus Alertmanager Alerts with Alertsnitch, MySQL, and Grafana
Architect's Guide
Architect's Guide
Aug 22, 2023 · Backend Development

Comprehensive Java Backend Interview Guide: Data Structures, JVM, MySQL, Redis, and Performance Optimization

This article presents a full set of Java backend interview questions—ranging from self‑introduction and challenging projects to abstract classes, HashMap internals, B+‑tree characteristics, MySQL vs. skip‑list indexing, Redis skip‑list usage, large‑table optimization, join queries, JVM memory model, and Survivor space—along with detailed English explanations and sample code.

Backend DevelopmentInterviewJVM
0 likes · 22 min read
Comprehensive Java Backend Interview Guide: Data Structures, JVM, MySQL, Redis, and Performance Optimization
dbaplus Community
dbaplus Community
Aug 21, 2023 · Databases

MySQL vs Elasticsearch: Choosing the Right Database for Your Needs

This article compares MySQL and Elasticsearch across data models, query languages, indexing, distributed architecture, performance, scalability, and typical use cases, highlighting their distinct strengths and trade‑offs to help developers decide which system—or combination—best fits specific application requirements.

Database ComparisonMySQLdata modeling
0 likes · 12 min read
MySQL vs Elasticsearch: Choosing the Right Database for Your Needs
Sanyou's Java Diary
Sanyou's Java Diary
Aug 21, 2023 · Databases

Master MySQL Optimization: Indexing, Locking, Pagination & Profiling Tips

This article presents practical MySQL optimization techniques—including proper index creation, avoiding index invalidation, choosing appropriate lock granularity, efficient pagination strategies, steering clear of SELECT *, and using EXPLAIN and SHOW PROFILE—to help developers write faster, more reliable SQL queries.

Database LocksIndexingMySQL
0 likes · 10 min read
Master MySQL Optimization: Indexing, Locking, Pagination & Profiling Tips
Top Architect
Top Architect
Aug 21, 2023 · Databases

Introducing MySQL Innovation and Long-Term Support (LTS) Versions

Oracle announces a new MySQL version model that separates Innovation releases, which deliver new features and frequent updates, from Long‑Term Support (LTS) releases that provide stable, minimal‑change versions with extended support, outlining upgrade paths, deprecation policies, and detailed release schedules.

DatabaseInnovationLTS
0 likes · 17 min read
Introducing MySQL Innovation and Long-Term Support (LTS) Versions
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 21, 2023 · Databases

Lifecycle and Version Management of MySQL and MariaDB

This article examines the current state and historical background of MySQL and MariaDB service lifecycles and version‑management strategies, comparing their community‑edition release models, long‑term‑support policies, innovation releases, and upgrade paths.

Database LifecycleInnovation ReleaseLTS
0 likes · 10 min read
Lifecycle and Version Management of MySQL and MariaDB
IT Services Circle
IT Services Circle
Aug 20, 2023 · Databases

Understanding MySQL Transaction Isolation Levels and Their Practical Implications

This article explains MySQL's four transaction isolation levels—READ UNCOMMITTED, READ COMMITTED, REPEATABLE READ, and SERIALIZABLE—detailing their definitions, associated phenomena such as dirty reads, non‑repeatable reads, and phantom reads, and demonstrates how to query and set isolation levels with practical SQL examples.

Database ConcurrencyDirty ReadMySQL
0 likes · 12 min read
Understanding MySQL Transaction Isolation Levels and Their Practical Implications
MaGe Linux Operations
MaGe Linux Operations
Aug 19, 2023 · Databases

How Deep Pagination Slowed Our System and the SQL Fixes That Saved It

This article walks through a real‑world incident where a pagination‑related slow‑query caused massive CPU spikes, details the step‑by‑step investigation, and presents several MySQL optimization techniques—including ID‑based queries, sub‑queries, and cursor‑based pagination—that ultimately resolved the performance crisis.

Database PerformanceDeep PaginationMySQL
0 likes · 10 min read
How Deep Pagination Slowed Our System and the SQL Fixes That Saved It
Architect
Architect
Aug 19, 2023 · Databases

Deep Dive into MySQL Replication: Mechanisms, Performance, and Real‑World Optimizations

This article thoroughly examines MySQL replication, detailing binlog formats, event types, replication workflows, semi‑synchronous and parallel replication techniques, performance benchmarks, and practical implementation steps such as fake‑slave registration and connection‑pool enhancements, while illustrating each concept with concrete examples and code snippets.

MySQLParallel ReplicationPerformance Optimization
0 likes · 30 min read
Deep Dive into MySQL Replication: Mechanisms, Performance, and Real‑World Optimizations
php Courses
php Courses
Aug 19, 2023 · Backend Development

Implementing Email Verification for Login and Registration with PHP

This article explains how to build a secure email‑verification login and registration system using PHP and MySQL, covering database schema creation, user registration with verification code generation and email sending, verification link handling, and login validation, with full code examples.

Email VerificationMySQLPHP
0 likes · 5 min read
Implementing Email Verification for Login and Registration with PHP
21CTO
21CTO
Aug 18, 2023 · Databases

Why PostgreSQL Is Overtaking MySQL: Trends, Cloud Adoption, and Developer Preferences

The article examines recent data showing PostgreSQL’s rapid rise over the past decade, its strong performance in the 2023 StackOverflow survey, growing adoption by cloud providers like Google and AWS, and the reasons developers favor its open‑source reliability and extensibility.

Database trendsDeveloper SurveyMySQL
0 likes · 6 min read
Why PostgreSQL Is Overtaking MySQL: Trends, Cloud Adoption, and Developer Preferences
Top Architect
Top Architect
Aug 18, 2023 · Databases

MySQL Table Splitting and Pagination Using the MERGE Engine

This article explains how to split a massive MySQL table into smaller tables, use the MERGE engine to create a unified view, troubleshoot common errors, and implement efficient pagination across the split tables with example SQL and Java code.

MERGE engineMySQLPagination
0 likes · 6 min read
MySQL Table Splitting and Pagination Using the MERGE Engine
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 16, 2023 · Databases

Diagnosing and Resolving InnoDB Page Corruption in MySQL

This article describes how to identify, analyze, and fix InnoDB page corruption in MySQL instances, covering log inspection, querying metadata tables, using innodb_force_recovery, and the inno_space tool, with example commands and best‑practice recommendations to prevent data loss.

Database RecoveryInnoDBMySQL
0 likes · 11 min read
Diagnosing and Resolving InnoDB Page Corruption in MySQL
Architect's Guide
Architect's Guide
Aug 16, 2023 · Backend Development

Inserting 300,000 Records into MySQL Using MyBatis and JDBC: Strategies and Performance Comparison

This article demonstrates how to insert 300,000 rows into a MySQL table using MyBatis and plain JDBC, compares direct batch insertion, per‑row insertion, and staged batch processing, and provides practical performance tips such as batch size, waiting intervals, index handling, and connection‑pool configuration.

Batch InsertJDBCJava
0 likes · 14 min read
Inserting 300,000 Records into MySQL Using MyBatis and JDBC: Strategies and Performance Comparison
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 16, 2023 · Databases

Common Cases When MySQL Indexes Are Ignored

This article explains how to set up a MySQL test table and indexes, then enumerates nine typical scenarios—such as leading‑wildcard LIKE, arithmetic or functions on indexed columns, type mismatches, composite‑index misuse, character‑set differences, and OR conditions with non‑indexed fields—that cause queries to bypass indexes and perform full table scans.

DatabaseIndexMySQL
0 likes · 8 min read
Common Cases When MySQL Indexes Are Ignored
dbaplus Community
dbaplus Community
Aug 15, 2023 · Databases

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

This article explains how MySQL handles overflow of auto_increment, InnoDB row_id, Xid, trx_id, and thread_id, showing the resulting primary‑key errors, data overwrites, rare Xid collisions, a potential dirty‑read bug, and recommended safeguards such as using BIGINT.

InnoDBMySQLXid
0 likes · 13 min read
What Happens When MySQL Auto‑Increment IDs Reach Their Limit?
ITPUB
ITPUB
Aug 15, 2023 · Databases

Master MySQL Performance: Practical SQL Optimization and Indexing Techniques

This comprehensive guide explains MySQL’s architecture, index fundamentals, the EXPLAIN plan keywords, step‑by‑step index creation and deletion commands, and numerous real‑world optimization examples, helping developers dramatically improve query execution speed while avoiding common pitfalls.

Database PerformanceExplain PlanMySQL
0 likes · 35 min read
Master MySQL Performance: Practical SQL Optimization and Indexing Techniques
Top Architect
Top Architect
Aug 15, 2023 · Databases

Why Avoid NULL Columns in MySQL: Performance and Indexing Considerations

The article examines the drawbacks of using NULL columns in MySQL, explaining how they increase storage space, complicate indexing and query optimization, and can cause performance issues, while providing examples and best practices for defining NOT NULL constraints and handling data correctly.

MySQLNULLPerformance
0 likes · 9 min read
Why Avoid NULL Columns in MySQL: Performance and Indexing Considerations
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 15, 2023 · Databases

Root Cause Analysis of MySQL Replication Error 1590 Caused by INCIDENT_EVENT During Partial Permission Changes

The article analyzes a MySQL 5.7 replication failure where the slave SQL thread stops with error 1590 because the master writes an INCIDENT_EVENT to the binlog when a GRANT or CREATE USER statement partially succeeds due to password‑validation plugin constraints, leading to replication breakage.

DatabaseIncident EventMySQL
0 likes · 11 min read
Root Cause Analysis of MySQL Replication Error 1590 Caused by INCIDENT_EVENT During Partial Permission Changes
Code Ape Tech Column
Code Ape Tech Column
Aug 15, 2023 · Operations

High‑Availability Architecture for a Billion‑Scale Membership System: Dual‑Center ES, Redis, and MySQL Solutions

This article details the design and implementation of a highly available, high‑performance membership system serving over a billion users, covering dual‑center Elasticsearch clusters, traffic‑isolated three‑cluster ES architecture, Redis dual‑center caching, MySQL partitioned clusters, migration strategies, and refined flow‑control and degradation mechanisms.

ElasticsearchMySQLdistributed systems
0 likes · 20 min read
High‑Availability Architecture for a Billion‑Scale Membership System: Dual‑Center ES, Redis, and MySQL Solutions
21CTO
21CTO
Aug 14, 2023 · Databases

SQL vs NoSQL: When to Choose the Right Database for Your App

This article compares SQL and NoSQL databases, outlining their advantages, limitations, and ideal use‑cases, and provides guidance on selecting the appropriate technology based on consistency, scalability, and data model requirements.

Database ComparisonMongoDBMySQL
0 likes · 5 min read
SQL vs NoSQL: When to Choose the Right Database for Your App
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 14, 2023 · Databases

Using MySQL 8.0.34 validate_password.changed_characters_percentage to Enforce Password Change Requirements

MySQL 8.0.34 adds the validate_password.changed_characters_percentage variable, allowing administrators to require a minimum percentage of different characters when users change passwords, and the article demonstrates how to enable the policy, set up a test environment, and verify behavior with various password change scenarios.

Database AdministrationMySQLPassword Validation
0 likes · 11 min read
Using MySQL 8.0.34 validate_password.changed_characters_percentage to Enforce Password Change Requirements
Java Interview Crash Guide
Java Interview Crash Guide
Aug 14, 2023 · Big Data

Unlocking Change Data Capture with Debezium in Spring Boot – No Extra Middleware Needed

This article explains how small web projects can avoid heavyweight message middleware by using CDC technology, specifically Debezium, to monitor MySQL binlog changes, outlines why Debezium outperforms alternatives like Canal, and provides step‑by‑step Spring Boot integration with configuration, code samples, and practical use‑case scenarios.

CDCChange Data CaptureDebezium
0 likes · 22 min read
Unlocking Change Data Capture with Debezium in Spring Boot – No Extra Middleware Needed
Senior Tony
Senior Tony
Aug 12, 2023 · Databases

Mastering SQL Optimization: 15 Practical Tips to Supercharge Your Queries

This article presents a comprehensive guide to SQL performance tuning, covering real‑world interview scenarios, deep‑pagination pitfalls, and fifteen concrete optimization techniques—including index usage, limit tricks, proper joins, batch operations, and data‑type choices—to help developers write faster, more efficient MySQL queries.

IndexingMySQLPerformance Tuning
0 likes · 12 min read
Mastering SQL Optimization: 15 Practical Tips to Supercharge Your Queries
Selected Java Interview Questions
Selected Java Interview Questions
Aug 11, 2023 · Databases

Introduction to MySQL Locks and Their Types

This article explains the purpose, classification, and implementation of MySQL locks—including global, table, page, row, intention, and gap/record/next-key locks—as well as optimistic and pessimistic locking strategies, providing code examples and usage scenarios for ensuring data consistency in concurrent transactions.

ConcurrencyDatabaseInnoDB
0 likes · 11 min read
Introduction to MySQL Locks and Their Types
dbaplus Community
dbaplus Community
Aug 10, 2023 · Databases

How sql_helper Automates Index Recommendations for MySQL & MariaDB

The article introduces sql_helper, an open-source command-line and web tool for MySQL 5.7/8.0 and MariaDB that automatically analyzes SQL statements to suggest index creation, explains its six-step workflow, provides usage examples, command-line parameters, and notes its assumptions and limitations.

MariaDBMySQLSQL
0 likes · 5 min read
How sql_helper Automates Index Recommendations for MySQL & MariaDB
Tencent Database Technology
Tencent Database Technology
Aug 10, 2023 · Databases

Optimizing Buffer Pool Memory Management in TDSQL-C Serverless

This article explains the architecture of TDSQL-C Serverless buffer pool, details how InnoDB buffer pool resize works, analyzes performance bottlenecks such as IO and mutex contention, and presents optimization techniques like chunk pre‑allocation, delayed release, and hash‑resize improvements that make serverless scaling more stable.

DatabaseMemory ManagementMySQL
0 likes · 11 min read
Optimizing Buffer Pool Memory Management in TDSQL-C Serverless
Top Architect
Top Architect
Aug 8, 2023 · Databases

MySQL Pagination Query Optimization Techniques and Performance Testing

The article examines various MySQL pagination strategies—including simple LIMIT clauses, sub‑query approaches, ID‑range filtering, and temporary‑table methods—provides performance measurements on a table with millions of rows, and offers practical recommendations for reducing query latency in large datasets.

DatabaseMySQLPagination
0 likes · 9 min read
MySQL Pagination Query Optimization Techniques and Performance Testing
ITPUB
ITPUB
Aug 8, 2023 · Databases

Why MySQL 8.0’s Document Store Makes NoSQL Powerful: Top 10 Benefits

MySQL 8.0 introduces a native document store that brings full ACID‑compliant NoSQL capabilities, schema‑less JSON handling, simple CRUD APIs, seamless SQL integration, large‑document support, built‑in security and infrastructure simplification, enabling developers and DBAs to leverage existing MySQL expertise for modern applications.

ACIDCRUDDocument Store
0 likes · 18 min read
Why MySQL 8.0’s Document Store Makes NoSQL Powerful: Top 10 Benefits
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 8, 2023 · Databases

Root Cause Analysis of MySQL Insert Latency Using blktrace and Disk I/O Monitoring

This article details a systematic investigation of MySQL insert slowdown caused by disk I/O anomalies, describing log analysis, blktrace data collection, RAID controller firmware bugs, and the final resolution through firmware upgrade, providing practical guidance for database performance troubleshooting.

Database TroubleshootingDisk I/OMySQL
0 likes · 11 min read
Root Cause Analysis of MySQL Insert Latency Using blktrace and Disk I/O Monitoring
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 8, 2023 · Databases

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

This article investigates why inserting the foreign_key_checks variable into MySQL's my.cnf causes the server to fail to start, 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 Breaks MySQL Startup and How to Identify Non‑Configurable System Variables
Java Interview Crash Guide
Java Interview Crash Guide
Aug 8, 2023 · Operations

How We Built 99.99% High Availability for a Billion‑User Membership System

This article details the end‑to‑end high‑availability architecture—including dual‑center Elasticsearch clusters, Redis caching with distributed locks, and a dual‑center MySQL partitioned setup—that enables a membership platform serving billions of users to sustain massive traffic while ensuring data consistency and rapid recovery.

ElasticsearchMySQLRedis
0 likes · 21 min read
How We Built 99.99% High Availability for a Billion‑User Membership System
Programmer DD
Programmer DD
Aug 8, 2023 · Databases

Why Mastering MySQL Is Essential for Every Tech Professional

This article explains why MySQL, the world’s most popular open‑source relational database, is a fundamental skill for developers, operators and testers, and outlines a two‑book learning path covering installation, SQL mastery, InnoDB internals, indexing and performance optimization.

DatabaseInnoDBMySQL
0 likes · 7 min read
Why Mastering MySQL Is Essential for Every Tech Professional
Test Development Learning Exchange
Test Development Learning Exchange
Aug 7, 2023 · Databases

Python Code Examples for Connecting to Common Databases

This article provides concise Python code snippets for connecting to and querying a variety of popular databases—including MySQL, PostgreSQL, SQLite, MongoDB, Oracle, SQL Server, Redis, Elasticsearch, Cassandra, Couchbase, Firebase, DynamoDB, Neo4j, and InfluxDB—illustrating the essential steps for each.

DatabaseMongoDBMySQL
0 likes · 8 min read
Python Code Examples for Connecting to Common Databases
Sanyou's Java Diary
Sanyou's Java Diary
Aug 7, 2023 · Databases

What Locks Does SELECT FOR UPDATE Use? 20 MySQL Scenarios Revealed

This article experimentally verifies how SELECT FOR UPDATE behaves under MySQL 5.7 and 8.0 with both REPEATABLE‑READ and READ‑COMMITTED isolation levels, covering primary keys, unique indexes, ordinary indexes, no indexes and range queries, and summarizes when row‑level, gap‑level or table‑level locks are taken.

Database PerformanceMySQLSELECT FOR UPDATE
0 likes · 23 min read
What Locks Does SELECT FOR UPDATE Use? 20 MySQL Scenarios Revealed
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 7, 2023 · Databases

Understanding Invisible Columns, Generated Invisible Primary Keys, and Invisible Indexes in MySQL 8.0

This article explains three relatively new MySQL 8.0 features—hidden (invisible) columns, generated invisible primary keys, and invisible indexes—detailing their purpose, how to create and use them, and practical scenarios where they can help avoid schema‑change issues or test query performance.

Generated Primary KeyInvisible ColumnsInvisible Indexes
0 likes · 11 min read
Understanding Invisible Columns, Generated Invisible Primary Keys, and Invisible Indexes in MySQL 8.0
IT Services Circle
IT Services Circle
Aug 5, 2023 · Backend Development

Comprehensive Backend Interview Guide: Redis, MySQL, Operating System, Network, and Java Fundamentals

This article provides a detailed backend interview cheat‑sheet covering Redis data structures and performance issues, MySQL indexing and transaction principles, operating‑system process and thread concepts, TCP/UDP networking differences, and common Java garbage‑collection algorithms, all illustrated with examples and code snippets.

JavaMySQLRedis
0 likes · 20 min read
Comprehensive Backend Interview Guide: Redis, MySQL, Operating System, Network, and Java Fundamentals
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 4, 2023 · Databases

SQLE 2.2308.0-pre1 Release Notes and Feature Overview

The SQLE 2.2308.0-pre1 release introduces community and enterprise enhancements such as intelligent SQL file scanning, per‑instance workflow approver matching, and the ability to abort deployments on OceanBase and TDSQL data sources, accompanied by usage examples, command‑line instructions, and full release information.

Database AuditingMySQLOceanBase
0 likes · 7 min read
SQLE 2.2308.0-pre1 Release Notes and Feature Overview