Tagged articles
5000 articles
Page 42 of 50
ITPUB
ITPUB
Dec 11, 2020 · Databases

Master MySQL: 100 Essential Q&A on Indexes, Transactions, and Design

This comprehensive guide answers the most frequent MySQL interview questions, covering index structures, transaction isolation levels, table design best practices, storage engine differences, query optimization techniques, and miscellaneous topics such as data types, binlog formats, and sharding strategies.

Database DesignIndexesMySQL
0 likes · 23 min read
Master MySQL: 100 Essential Q&A on Indexes, Transactions, and Design
DeWu Technology
DeWu Technology
Dec 11, 2020 · Big Data

Data Synchronization from MySQL to Elasticsearch using DataX and Canal

The article explains how to improve query performance by flattening multi‑table MySQL data and synchronizing it to Elasticsearch—using DataX for one‑time bulk loading and Canal (with Canal‑Adapter) for real‑time binlog‑driven incremental updates—while detailing configuration steps, job examples, and common pitfalls.

CanalDataXETL
0 likes · 14 min read
Data Synchronization from MySQL to Elasticsearch using DataX and Canal
Laravel Tech Community
Laravel Tech Community
Dec 10, 2020 · Databases

MySQL Single‑Table Optimization, Partitioning, Sharding and Scaling Strategies

This article provides a comprehensive guide to improving MySQL performance by optimizing single‑table schemas, indexes, queries, engine settings, system parameters, and then discusses read/write separation, caching layers, table partitioning, vertical and horizontal sharding, compatible scalable databases and when to consider NoSQL alternatives.

Database OptimizationMySQLPartitioning
0 likes · 21 min read
MySQL Single‑Table Optimization, Partitioning, Sharding and Scaling Strategies
Architect
Architect
Dec 10, 2020 · Databases

Optimizing MySQL LIMIT Offset Queries with Subqueries to Reduce Table Scans

This article demonstrates how to dramatically improve MySQL LIMIT offset query performance by moving the filter into a subquery that selects only primary keys, then joining to retrieve full rows, and validates the approach with buffer pool statistics and execution time measurements.

MySQLbuffer poollimit offset
0 likes · 9 min read
Optimizing MySQL LIMIT Offset Queries with Subqueries to Reduce Table Scans
Senior Brother's Insights
Senior Brother's Insights
Dec 8, 2020 · Databases

How MySQL Locks DELETE and SELECT: MVCC, Isolation Levels & Lock Types

This article explains how MySQL's InnoDB engine applies row‑level locks for DELETE and SELECT statements under various index configurations and isolation levels, covering MVCC, snapshot vs current reads, two‑phase locking, gap and next‑key locks, and the impact of primary, unique, non‑unique, and missing indexes.

InnoDBIsolation LevelsMVCC
0 likes · 15 min read
How MySQL Locks DELETE and SELECT: MVCC, Isolation Levels & Lock Types
Java Captain
Java Captain
Dec 7, 2020 · Backend Development

Spring Boot QQ Email Registration and Login Tutorial with Postman Testing

This tutorial explains how to create a Spring Boot project that implements QQ email‑based user registration and login, covering POP3/SMTP setup, Maven dependencies, MySQL schema, core Java classes, configuration files, and step‑by‑step Postman testing procedures.

Email VerificationJavaMySQL
0 likes · 11 min read
Spring Boot QQ Email Registration and Login Tutorial with Postman Testing
Big Data Technology & Architecture
Big Data Technology & Architecture
Dec 7, 2020 · Databases

MySQL Billion‑Row Data Migration: Export, Import, and Performance Optimization

This article documents a step‑by‑step MySQL data migration case involving 140 million rows, covering export via SELECT INTO OUTFILE, import with LOAD DATA INFILE, and a series of performance tweaks such as index removal, session variable tuning, engine selection, and monitoring to achieve sub‑10‑minute load times.

Data MigrationExportImport
0 likes · 9 min read
MySQL Billion‑Row Data Migration: Export, Import, and Performance Optimization
dbaplus Community
dbaplus Community
Dec 6, 2020 · Databases

Sharding Massive MySQL Tables: End‑to‑End Architecture, Migration & Best Practices

This article presents a comprehensive, step‑by‑step case study of a large‑scale MySQL sharding project, covering business refactoring, storage architecture design, data migration, synchronization strategies, capacity planning, validation, rollout procedures, stability safeguards, and cross‑team collaboration.

Database ArchitectureMySQLSharding
0 likes · 28 min read
Sharding Massive MySQL Tables: End‑to‑End Architecture, Migration & Best Practices
Practical DevOps Architecture
Practical DevOps Architecture
Dec 6, 2020 · Databases

Managing Multiple MySQL Instances on a Single Server

This guide explains how to set up and run several independent MySQL server instances on one Linux host by creating separate data directories, configuring individual my.cnf files, initializing each instance, managing them with systemd services, and verifying that each listens on its own port.

LinuxMySQLconfiguration
0 likes · 5 min read
Managing Multiple MySQL Instances on a Single Server
Architects' Tech Alliance
Architects' Tech Alliance
Dec 4, 2020 · Databases

Comparison of MySQL and PostgreSQL: Features, Advantages, and Use Cases

This article provides a detailed comparison of MySQL and PostgreSQL, covering licensing, ACID compliance, SQL standard support, replication models, concurrency control, performance characteristics, high‑availability solutions, external data integration, storage engines, and overall strengths and weaknesses to help readers choose the most suitable open‑source database for their scenarios.

MySQLOpen SourcePerformance
0 likes · 12 min read
Comparison of MySQL and PostgreSQL: Features, Advantages, and Use Cases
360 Tech Engineering
360 Tech Engineering
Dec 4, 2020 · Databases

Practical Experience and Tips with TiDB Data Migration (DM) Tool

This article shares a comprehensive overview of TiDB Data Migration (DM), covering its architecture, configuration, online DDL support, common pitfalls such as duplicate‑key errors, large‑scale import tuning, version limits, and cleanup recommendations to help DBAs efficiently migrate MySQL/MariaDB workloads to TiDB.

DMData MigrationMySQL
0 likes · 16 min read
Practical Experience and Tips with TiDB Data Migration (DM) Tool
ITPUB
ITPUB
Dec 4, 2020 · Databases

Mastering MySQL Binlog, Undo Log, Redo Log, and ChangeBuffer

This comprehensive guide explains MySQL's binary log, undo log, redo log, and ChangeBuffer, covering their concepts, purposes, recording formats, flush timing, recovery processes, and how they interact during transactions and crash‑safe recovery.

ChangeBufferDatabaseRecoveryInnoDB
0 likes · 21 min read
Mastering MySQL Binlog, Undo Log, Redo Log, and ChangeBuffer
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 4, 2020 · Databases

Effect of Floating IP (SIP) Switch on MySQL Connections and the Importance of TCP Keepalive

The article describes an experiment that shows when a floating IP (SIP) moves between MySQL servers, existing client connections experience long delays until TCP keepalive detects the failure, highlighting the need to configure shorter keepalive intervals for high‑availability database deployments.

Database ConnectivityFloating IPMySQL
0 likes · 4 min read
Effect of Floating IP (SIP) Switch on MySQL Connections and the Importance of TCP Keepalive
Programmer DD
Programmer DD
Dec 4, 2020 · Databases

Boost MySQL Performance: 8 Common SQL Pitfalls and How to Fix Them

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, pre‑filtering, and intermediate result handling, and provides rewritten SQL examples that dramatically reduce execution time.

Database PerformanceMySQLQuery Tuning
0 likes · 14 min read
Boost MySQL Performance: 8 Common SQL Pitfalls and How to Fix Them
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 3, 2020 · Databases

Essential MySQL Design & Development Standards for Reliable Databases

This guide outlines comprehensive MySQL best‑practice standards covering naming conventions, storage engine selection, charset usage, table and column comments, size limits, partitioning, hot‑cold data separation, index design, SQL coding rules, and operational safeguards to ensure performant, maintainable, and secure database systems.

Best PracticesDatabase DesignMySQL
0 likes · 22 min read
Essential MySQL Design & Development Standards for Reliable Databases
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 2, 2020 · Databases

Design Principles and Practices for MySQL Primary Keys

This article explains MySQL primary key design principles, compares auto‑increment, UUID and uuid_short approaches, provides SQL examples and performance benchmarks, and offers guidance on choosing business‑related versus unrelated key columns for optimal data integrity and query efficiency.

MySQLauto_incrementprimary key
0 likes · 12 min read
Design Principles and Practices for MySQL Primary Keys
System Architect Go
System Architect Go
Nov 30, 2020 · Databases

Five Ways to Sync MySQL Data to Elasticsearch, Redis, MQ, etc.

This article outlines five practical methods for synchronizing MySQL data to external systems such as Elasticsearch, Redis, and message queues, covering business‑layer hooks, middleware integration, scheduled tasks using updated_at, binlog parsing with ROW format, and handling mixed or statement binlog formats, plus open‑source tools.

ElasticsearchKafkaMySQL
0 likes · 5 min read
Five Ways to Sync MySQL Data to Elasticsearch, Redis, MQ, etc.
ITPUB
ITPUB
Nov 30, 2020 · Databases

How to Fix Common MySQL Performance Pitfalls: Real-World SQL Optimizations

This article examines frequent MySQL performance problems such as inefficient LIMIT usage, implicit type conversion, subquery updates, mixed ordering, EXISTS clauses, predicate push‑down, early row reduction, and intermediate result set handling, providing concrete rewrites and execution‑plan comparisons that dramatically improve query speed.

IndexesMySQLQuery Planning
0 likes · 14 min read
How to Fix Common MySQL Performance Pitfalls: Real-World SQL Optimizations
Programmer DD
Programmer DD
Nov 28, 2020 · Backend Development

Deep Dive into ShardingSphere XA Distributed Transaction Support and Atomikos Integration

This article provides a comprehensive technical analysis of ShardingSphere's XA distributed transaction capabilities, covering the CAP theory, X/Open DTP model, MySQL XA support, JTA mapping, Atomikos initialization, transaction lifecycle (begin, getConnection, commit, rollback), and the recovery mechanism with detailed code snippets and diagrams.

AtomikosJTAJava
0 likes · 34 min read
Deep Dive into ShardingSphere XA Distributed Transaction Support and Atomikos Integration
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 28, 2020 · Databases

Setting Up MySQL Master‑Slave Replication and Read/Write Splitting with Spring Boot

This guide explains how to install MySQL 8.0.16 on two CentOS7 servers, configure master‑slave replication with binlog, set up read/write splitting, and integrate the setup into a Spring Boot application using dynamic‑datasource, covering all necessary commands, configuration files, and code examples.

MySQLRead/Write SplittingSpring Boot
0 likes · 14 min read
Setting Up MySQL Master‑Slave Replication and Read/Write Splitting with Spring Boot
Practical DevOps Architecture
Practical DevOps Architecture
Nov 28, 2020 · Databases

Features, Fault Detection, Limitations, and Deployment Scripts for MySQL Group Replication (MGR)

This article outlines MySQL Group Replication’s key features, fault-detection mechanism, limitations, required environment, and step-by-step deployment scripts, providing a practical guide for setting up a high-availability MySQL cluster on CentOS using the provided shell scripts and configuration files.

DatabaseGroup ReplicationMGR
0 likes · 6 min read
Features, Fault Detection, Limitations, and Deployment Scripts for MySQL Group Replication (MGR)
JavaEdge
JavaEdge
Nov 27, 2020 · Databases

Mastering SQL Query Conditions: WHERE, BETWEEN, IN, AND/OR, NULL Checks

This guide explains how to filter data in MySQL using various query conditions such as WHERE, comparison operators, BETWEEN, IN, NULL checks, logical operators, short‑circuit evaluation, and operator precedence, with clear examples and visual illustrations.

MySQLWHEREoperators
0 likes · 8 min read
Mastering SQL Query Conditions: WHERE, BETWEEN, IN, AND/OR, NULL Checks
vivo Internet Technology
vivo Internet Technology
Nov 25, 2020 · Backend Development

How Vivo Leverages Alibaba Canal for Zero‑Downtime Data Migration and HA

This article explains how Vivo uses Alibaba's open‑source Canal to capture MySQL binlog changes, achieve non‑stop sharding and cross‑region data migrations, ensure high availability with Zookeeper, and share practical lessons on serialization, consistency, and monitoring in large‑scale backend systems.

BackendCanalData Migration
0 likes · 16 min read
How Vivo Leverages Alibaba Canal for Zero‑Downtime Data Migration and HA
Architecture Digest
Architecture Digest
Nov 25, 2020 · Backend Development

Design and Implementation of a Short URL Service Using Redis and MySQL

The article explains why short URLs are popular, outlines their basic workflow, and details a backend service design that uses an incremental ID generator, Redis caching, MySQL storage, batch allocation, and distributed strategies to efficiently create and manage short links.

MySQLhigh concurrencyshort URL
0 likes · 10 min read
Design and Implementation of a Short URL Service Using Redis and MySQL
Qunar Tech Salon
Qunar Tech Salon
Nov 24, 2020 · Databases

Analysis of Galera GTID vs MySQL GTID Issues During Percona XtraDB Cluster Split at Qunar

This article examines how differences between Galera GTID and MySQL GTID caused replication interruptions during a Percona XtraDB Cluster (PXC) split at Qunar, details the migration procedure, reproduces the problem with step‑by‑step commands, explains GTID concepts, and proposes operational improvements to avoid data inconsistency.

Database operationsGTIDGalera
0 likes · 17 min read
Analysis of Galera GTID vs MySQL GTID Issues During Percona XtraDB Cluster Split at Qunar
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 24, 2020 · Databases

Comprehensive MySQL Guide: Database Operations, Table Management, Data Manipulation, Functions, Procedures, Triggers, and Permissions

This article provides an extensive overview of MySQL, covering database creation, renaming, and deletion, table creation and alteration, column and index management, data queries, inserts, updates, deletes, operator usage, view handling, functions, stored procedures, triggers, sequence generation, user management, and permission configuration, with practical examples and code snippets.

DatabaseMySQLProcedures
0 likes · 38 min read
Comprehensive MySQL Guide: Database Operations, Table Management, Data Manipulation, Functions, Procedures, Triggers, and Permissions
Senior Brother's Insights
Senior Brother's Insights
Nov 23, 2020 · Databases

Master MySQL Indexes: Types, Structures, and Optimization Strategies

This article explains the fundamental concepts and practical design of MySQL indexes, covering implementation-level index types, application-level index categories, the differences between clustered and non‑clustered indexes, B‑Tree and hash structures, covering indexes, and best‑practice strategies for optimal query performance.

B+TreeClustered IndexHash Index
0 likes · 14 min read
Master MySQL Indexes: Types, Structures, and Optimization Strategies
ITPUB
ITPUB
Nov 20, 2020 · Databases

How Indexes Supercharge MySQL Queries: A Deep Dive into EXPLAIN

This article explains why indexes dramatically improve MySQL query speed on large tables, outlines common reasons for slow SQL, shows how to use EXPLAIN and SHOW PROFILE to diagnose problems, and provides step‑by‑step examples of creating and evaluating indexes for optimal performance.

Database PerformanceEXPLAINMySQL
0 likes · 15 min read
How Indexes Supercharge MySQL Queries: A Deep Dive into EXPLAIN
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 20, 2020 · Databases

Optimizing a Slow MySQL 5.7 Query for Detecting Tables Without Primary or Unique Keys

This article examines why a MySQL 5.7 query that finds tables lacking primary or unique keys runs extremely slowly, demonstrates an experiment reproducing the issue, analyzes the optimizer's subquery rewrite, and shows how adding hints and materialization reduces execution time from over 16 seconds to under one second.

Information SchemaMySQLPerformance
0 likes · 4 min read
Optimizing a Slow MySQL 5.7 Query for Detecting Tables Without Primary or Unique Keys
Top Architect
Top Architect
Nov 20, 2020 · Databases

Database Design and SQL Best‑Practice Guidelines

This article presents a comprehensive set of mandatory and recommended MySQL database standards—including table creation rules, SQL writing conventions, and index design practices—aimed at preventing improper schemas, reducing erroneous queries, and improving overall performance for backend development teams.

Database DesignIndexesMySQL
0 likes · 14 min read
Database Design and SQL Best‑Practice Guidelines
Beike Product & Technology
Beike Product & Technology
Nov 18, 2020 · Backend Development

How to Set Up a Private npm Registry with cnpmjs on Ubuntu

This guide explains how to build a private npm registry on Ubuntu using cnpmjs, covering MySQL installation, server configuration, repository setup, package publishing, and synchronization options, providing step‑by‑step commands and troubleshooting tips for a stable internal package management solution.

MySQLPrivate RegistryUbuntu
0 likes · 10 min read
How to Set Up a Private npm Registry with cnpmjs on Ubuntu
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 18, 2020 · Databases

How to Persist Global System Variables in MySQL 8

This article explains MySQL 8's persisted system variables feature, showing how to use SET PERSIST and SET PERSIST_ONLY to make variable changes survive restarts, how to view and clear persisted settings, how to disable persistence, required privileges, and how to monitor persisted variables via performance_schema.

Database AdministrationMySQLSET PERSIST
0 likes · 7 min read
How to Persist Global System Variables in MySQL 8
Architect
Architect
Nov 17, 2020 · Databases

MySQL Pagination Optimization Techniques and Performance Testing

The article examines MySQL pagination performance on a large order_history table, presenting various pagination methods—including simple LIMIT, subquery, ID range, and temporary table techniques—along with detailed test results that show how query speed varies with record count and offset.

DatabaseMySQLpagination
0 likes · 10 min read
MySQL Pagination Optimization Techniques and Performance Testing
Top Architect
Top Architect
Nov 17, 2020 · Backend Development

Java Netty‑Based Chat Application with Swing UI and MySQL Integration

This article details the design and implementation of a Java chat system that uses Netty for server‑side networking, Swing for the client UI, and MySQL with C3P0 for data persistence, covering features such as user authentication, friend management, single‑chat messaging, and online status detection.

JavaMySQLNetty
0 likes · 23 min read
Java Netty‑Based Chat Application with Swing UI and MySQL Integration
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 17, 2020 · Databases

How to Use CHECK Constraints in MySQL 8

This article explains MySQL 8’s newly supported CHECK constraints, outlines usage restrictions, and provides step‑by‑step examples—including simple age validation and complex gender‑age logic—showing how to create, test, alter, and drop constraints while highlighting practical considerations.

CHECK constraintDatabaseMySQL
0 likes · 7 min read
How to Use CHECK Constraints in MySQL 8
Architect's Tech Stack
Architect's Tech Stack
Nov 16, 2020 · Backend Development

Integrating Dataway with Spring Boot: A Step‑by‑Step Tutorial

This tutorial walks through adding Dataway to a Spring Boot project by importing Hasor and Dataway dependencies, configuring Maven, setting Dataway and datasource properties, creating a Hasor module to inject the Spring DataSource, enabling Hasor annotations, launching the application, and finally using the Dataway UI to define and publish SQL or DataQL‑based APIs.

API ConfigurationDataQLDataway
0 likes · 12 min read
Integrating Dataway with Spring Boot: A Step‑by‑Step Tutorial
Laravel Tech Community
Laravel Tech Community
Nov 15, 2020 · Databases

MySQL Lock Types and Deadlock Causes with Practical Examples

This article explains MySQL's three lock levels—table, row, and page—describes next‑key, gap, and record locks, analyzes why deadlocks occur, and provides multiple real‑world examples and prevention strategies, including code snippets for reproducible scenarios.

ConcurrencyDatabaseInnoDB
0 likes · 12 min read
MySQL Lock Types and Deadlock Causes with Practical Examples
ITPUB
ITPUB
Nov 13, 2020 · Databases

Master MySQL Indexes: How Explain Optimizes Query Performance

This guide explains why MySQL queries become slow, how to diagnose issues with slow‑query logs, Explain and Show Profile, details the structure and types of indexes, interprets each column of the Explain output, and demonstrates practical optimization steps with real SQL examples.

Database PerformanceIndexesMySQL
0 likes · 14 min read
Master MySQL Indexes: How Explain Optimizes Query Performance
ITPUB
ITPUB
Nov 12, 2020 · Databases

How Vivo Scaled to Billions of Records: Sharding and InnoDB Compression Strategies

This article details how Vivo's cloud service tackled explosive data growth by applying horizontal and vertical sharding, routing‑table based dynamic expansion, and MySQL InnoDB compression, providing step‑by‑step guidance, performance results, and practical recommendations for large‑scale database deployments.

InnoDBMySQLPartitioning
0 likes · 16 min read
How Vivo Scaled to Billions of Records: Sharding and InnoDB Compression Strategies
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 12, 2020 · Databases

MySQL sys Schema ERROR 1356 Bug When Using mysqldump --all-databases and How to Fix It

The article investigates the MySQL 5.7 sys schema ERROR 1356 caused by mysqldump --all-databases dropping mysql.proc, explains why the bug occurs, cites official documentation and bug reports, and provides four practical solutions including mysql_upgrade, separate sys backups, using --databases, and rebuilding from mysql‑sys.

Database BackupERROR 1356MySQL
0 likes · 12 min read
MySQL sys Schema ERROR 1356 Bug When Using mysqldump --all-databases and How to Fix It
Programmer DD
Programmer DD
Nov 12, 2020 · Information Security

Uncovering MySQL Exploits: From File Reads to Remote Code Execution

This article provides a comprehensive overview of common MySQL attack techniques—including client‑side arbitrary file reads, SSRF‑based data extraction, server‑side file read/write, remote code execution vulnerabilities (CVE‑2016‑6662), and authentication bypass (CVE‑2012‑2122)—and supplies practical command examples and mitigation insights.

CVEExploitationFile Read
0 likes · 14 min read
Uncovering MySQL Exploits: From File Reads to Remote Code Execution
php Courses
php Courses
Nov 10, 2020 · Backend Development

Detecting and Removing Emoji Characters in PHP Strings

This article explains how to determine whether a PHP string contains emoji characters, provides functions to detect and strip emojis using multibyte string functions, and discusses storing emoji‑containing strings in MySQL with utf8mb4 or base64 encoding.

MySQLString Manipulation
0 likes · 3 min read
Detecting and Removing Emoji Characters in PHP Strings
Laravel Tech Community
Laravel Tech Community
Nov 10, 2020 · Backend Development

Implementing User Check‑In Feature: MySQL vs Redis Bitmap Approaches

This article examines common techniques for implementing a user check‑in function in web and mobile applications, comparing a straightforward MySQL table solution with a Redis bitmap approach, detailing the data structures, code examples, workflow, and the advantages and disadvantages of each method.

Backend DevelopmentMySQLRedis
0 likes · 6 min read
Implementing User Check‑In Feature: MySQL vs Redis Bitmap Approaches
Architecture Digest
Architecture Digest
Nov 10, 2020 · Databases

MySQL Lock Types, Deadlock Causes, and Prevention Strategies

This article explains MySQL's lock levels, describes various lock algorithms, presents multiple deadlock scenarios with SQL examples, analyzes the root causes, and outlines InnoDB's deadlock prevention mechanisms and detection methods for developers dealing with concurrency issues.

InnoDBLock TypesMySQL
0 likes · 15 min read
MySQL Lock Types, Deadlock Causes, and Prevention Strategies
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 10, 2020 · Databases

MySQL Transaction Concepts, Isolation Levels, MVCC, Storage Engines, Indexes, and Optimization Techniques

This article provides a comprehensive overview of MySQL fundamentals, covering transaction properties and isolation levels, MVCC mechanics, differences between InnoDB and MyISAM, query execution flow, redo and binlog, index structures, common pitfalls, and practical optimization and scaling strategies.

Isolation LevelsMVCCMySQL
0 likes · 29 min read
MySQL Transaction Concepts, Isolation Levels, MVCC, Storage Engines, Indexes, and Optimization Techniques
Efficient Ops
Efficient Ops
Nov 9, 2020 · Databases

How Lufax Achieved a Zero‑Downtime, 100% Oracle‑to‑MySQL Migration

Lufax completed a two‑year, zero‑downtime, 100% Oracle‑to‑MySQL migration across its entire financial platform, detailing the dual‑write strategy, fine‑grained batch switching, tool‑driven automation, and the resulting cost and operational benefits for over 45 million users and supporting critical transaction services.

MySQLZero Downtimeautomation
0 likes · 16 min read
How Lufax Achieved a Zero‑Downtime, 100% Oracle‑to‑MySQL Migration
21CTO
21CTO
Nov 9, 2020 · Databases

How ClickHouse Turns MySQL Bottlenecks into Sub‑Second OLAP Queries

This article introduces ClickHouse, compares column‑store and row‑store databases, shows how migrating a 50‑million‑row MySQL table to ClickHouse reduced query time from minutes to under one second, and shares practical installation, migration, performance testing, and synchronization tips.

ClickHouseColumnar DatabaseData Migration
0 likes · 6 min read
How ClickHouse Turns MySQL Bottlenecks into Sub‑Second OLAP Queries
Open Source Linux
Open Source Linux
Nov 8, 2020 · Databases

Master MySQL 8.0 Installation: YUM, Binary, Multi‑Instance Setup & Common Pitfalls

This guide walks you through removing old MySQL versions, installing MySQL 8.0 via YUM or binary packages, configuring a secure initial password, setting up multiple instances on different ports, and addressing typical MySQL 8.0 pitfalls such as user creation, remote root access, authentication plugins, and character set settings.

InstallationLinuxMulti-Instance
0 likes · 21 min read
Master MySQL 8.0 Installation: YUM, Binary, Multi‑Instance Setup & Common Pitfalls
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Nov 6, 2020 · Databases

MySQL Protocol Analysis and Source Code Exploration

This article provides a detailed walkthrough of MySQL protocol analysis using Wireshark, covering SSL disabling, packet capture commands, step‑by‑step examination of handshake, authentication, database selection, query execution packets, and an in‑depth look at related source‑code functions and command enums.

DatabaseMySQLnetworking
0 likes · 15 min read
MySQL Protocol Analysis and Source Code Exploration
ITPUB
ITPUB
Nov 6, 2020 · Databases

Mastering NoSQL and SQL: Key Differences, MongoDB Features, and MySQL Essentials

This comprehensive guide explains what NoSQL is, contrasts non‑relational and relational databases, outlines the main representatives of each, dives deep into MongoDB architecture, features, use‑cases and limitations, and also covers MySQL fundamentals, replication, backup, and common monitoring tools like Prometheus and Zabbix.

MongoDBMySQLNoSQL
0 likes · 33 min read
Mastering NoSQL and SQL: Key Differences, MongoDB Features, and MySQL Essentials
Architect
Architect
Nov 5, 2020 · Databases

Differences Between count(1), count(*), and count(column) in MySQL

This article explains the functional and performance differences among MySQL's count(1), count(*), and count(column) functions, illustrates how NULL handling varies, and provides a concrete example demonstrating their results and execution efficiency under different table schemas.

COUNTDatabaseMySQL
0 likes · 5 min read
Differences Between count(1), count(*), and count(column) in MySQL
ITPUB
ITPUB
Nov 5, 2020 · Databases

How ClickHouse Cut MySQL Query Time 200× – A Practical Migration Guide

This article introduces ClickHouse, compares column‑ and row‑oriented storage, explains a real‑world migration from MySQL to ClickHouse that reduced a 3‑minute query to under one second, details installation, migration methods, performance results, synchronization options, and common pitfalls.

ClickHouseColumnar DatabaseData Migration
0 likes · 7 min read
How ClickHouse Cut MySQL Query Time 200× – A Practical Migration Guide
ITPUB
ITPUB
Nov 5, 2020 · Databases

Why Does MySQL 5.7 Throw Duplicate‑Key Errors After an Auto‑Increment Upgrade?

After upgrading a critical MySQL 5.6 table to 5.7, the system began reporting duplicate‑key errors on master, replica and read‑only instances due to unexpected changes in the AUTO_INCREMENT value, prompting a deep kernel investigation, bug analysis, on‑site reproduction, and practical mitigation steps.

Duplicate KeyInnoDBMySQL
0 likes · 12 min read
Why Does MySQL 5.7 Throw Duplicate‑Key Errors After an Auto‑Increment Upgrade?
ITPUB
ITPUB
Nov 5, 2020 · Databases

Inside MySQL InnoDB: My Interview Journey and Development Insights

The author recounts his 2012 MySQL interview experience, describes the global InnoDB team structure, outlines the bug‑fix and feature‑development workflow, lists key contributions such as spatial indexes and transparent encryption, and reflects on leaving Oracle for Tencent Cloud.

Database DevelopmentInnoDBInterview
0 likes · 9 min read
Inside MySQL InnoDB: My Interview Journey and Development Insights
vivo Internet Technology
vivo Internet Technology
Nov 4, 2020 · Databases

Scaling Vivo Cloud Service Data Storage: Sharding, Partitioning, and InnoDB Compression Strategies

Vivo Cloud Service scaled from millions to tens of millions of users by applying four sharding strategies—horizontal table partitioning, horizontal database splitting, vertical partitioning, and dynamic routing—while enabling InnoDB compression, which halved storage size, kept CPU impact modest, and preserved ample free capacity for future growth.

Cloud ServicesInnoDBMySQL
0 likes · 13 min read
Scaling Vivo Cloud Service Data Storage: Sharding, Partitioning, and InnoDB Compression Strategies
vivo Internet Technology
vivo Internet Technology
Nov 4, 2020 · Backend Development

Node-MyBatis: A JavaScript Full‑Stack Data Persistence Solution for the Wukong Activity Platform

The article describes how the Wukong Activity Platform’s data‑persistence layer uses Node.js as a BFF with MySQL, combines raw drivers, optional ORMs, and a custom lightweight Node‑MyBatis framework that offers dynamic SQL templating, built‑in injection protection, declarative transaction decorators, and automatic TypeScript type generation for full‑stack JavaScript development.

Backend DevelopmentMyBatisMySQL
0 likes · 28 min read
Node-MyBatis: A JavaScript Full‑Stack Data Persistence Solution for the Wukong Activity Platform
Architect's Tech Stack
Architect's Tech Stack
Nov 4, 2020 · Databases

Optimizing MySQL Insert Performance with Multithreading, Prepared Statements, Batch Inserts, and Transactions

This article explains why multithreaded inserts into a single MySQL table can be faster than single-threaded inserts, analyzes the time distribution of insertion operations, and presents techniques such as prepared statements, multi-value inserts, batch execution, and transaction batching to significantly improve insert throughput.

Batch InsertInsert OptimizationMySQL
0 likes · 6 min read
Optimizing MySQL Insert Performance with Multithreading, Prepared Statements, Batch Inserts, and Transactions
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 4, 2020 · Databases

Differences Between SELECT and UPDATE Execution in MySQL: Process, Optimizer, Redo Log and Binlog

The article explains how MySQL processes SELECT and UPDATE statements, detailing each execution stage—from client authentication and cache lookup to parsing, optimization, and execution—while highlighting the additional redo log and binlog handling required for UPDATE operations and offering practical code examples.

Database OptimizationMySQLSQL Execution
0 likes · 14 min read
Differences Between SELECT and UPDATE Execution in MySQL: Process, Optimizer, Redo Log and Binlog
ITPUB
ITPUB
Nov 3, 2020 · Databases

My MySQL InnoDB Journey: From Interview to Six Years of Core Development

The author recounts his 2012 MySQL interview experience, describes the flat, globally distributed InnoDB team structure, details the typical bug‑fix workflow, lists major InnoDB features he contributed to, and reflects on the lessons learned before moving to Tencent Cloud's database division.

Database DevelopmentInnoDBMySQL
0 likes · 11 min read
My MySQL InnoDB Journey: From Interview to Six Years of Core Development
ITPUB
ITPUB
Nov 3, 2020 · Databases

How Indexes Supercharge MySQL Queries: A Deep Dive into EXPLAIN

This article explains why MySQL indexes dramatically improve query speed, outlines common reasons for slow SQL, shows how to use EXPLAIN to analyze execution plans, and provides step‑by‑step optimization examples with code and visual illustrations.

EXPLAINMySQLPerformance
0 likes · 14 min read
How Indexes Supercharge MySQL Queries: A Deep Dive into EXPLAIN
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 3, 2020 · Databases

Using GTID for Multi‑Source Replication in MySQL

This article explains why GTID‑based replication is preferred for synchronizing data from four regional factories to an IDC, and provides a step‑by‑step guide—including data export, GTID configuration, master‑slave channel setup, adding a new slave, and important precautions—for successful multi‑source MySQL replication.

DatabaseGTIDMulti-Source Replication
0 likes · 8 min read
Using GTID for Multi‑Source Replication in MySQL
Programmer DD
Programmer DD
Nov 3, 2020 · Databases

Why Using Indexes Doesn’t Guarantee Fast Queries – MySQL Index Deep Dive

This article explains why a MySQL query that uses an index can still become a slow query, explores the difference between index usage and execution time, and presents practical optimization techniques such as improving selectivity, reducing back‑table lookups, using index condition push‑down, and leveraging virtual columns.

DatabaseIndexesMySQL
0 likes · 13 min read
Why Using Indexes Doesn’t Guarantee Fast Queries – MySQL Index Deep Dive
Fulu Network R&D Team
Fulu Network R&D Team
Nov 2, 2020 · Databases

Optimizing Large MySQL Tables on Alibaba Cloud: Design, Indexing, PolarDB Migration, X‑Engine Partitioning, and Parallel Query

This article details how to improve performance of massive MySQL tables on Alibaba Cloud by redesigning schemas and indexes, migrating to PolarDB with read‑write separation, partitioning historical data using the X‑Engine storage engine, and leveraging PolarDB's parallel query capabilities for faster analytics.

Database OptimizationMySQLParallel Query
0 likes · 12 min read
Optimizing Large MySQL Tables on Alibaba Cloud: Design, Indexing, PolarDB Migration, X‑Engine Partitioning, and Parallel Query
Liangxu Linux
Liangxu Linux
Nov 1, 2020 · Databases

100 MySQL Interview Q&A: Indexes, Transactions, and Schema Design Essentials

This article compiles 100 common MySQL interview questions covering index structures, hash vs B‑tree trade‑offs, clustering, transaction isolation levels, lock types, primary key choices, storage engines, data types, binlog formats, pagination strategies, and best practices for schema design and query optimization.

IndexesMySQLStorage Engine
0 likes · 21 min read
100 MySQL Interview Q&A: Indexes, Transactions, and Schema Design Essentials
Su San Talks Tech
Su San Talks Tech
Nov 1, 2020 · Databases

Common MySQL Pitfalls and How to Avoid Them

This article examines common MySQL pitfalls—including signed vs. unsigned integers, auto‑increment key requirements, varchar length versus byte count, case‑insensitive collations, and storing emoji characters—providing concrete SQL examples, error screenshots, and configuration tips to help developers avoid unexpected errors.

Database DesignMySQLauto_increment
0 likes · 9 min read
Common MySQL Pitfalls and How to Avoid Them