Tagged articles
5000 articles
Page 48 of 50
Senior Brother's Insights
Senior Brother's Insights
Mar 28, 2020 · Databases

Fix MySQL 8 Crashes in Sequel Pro and Master Its macOS Features

This guide introduces the open‑source macOS MySQL client Sequel Pro, explains its interface and SSH security options, and provides two practical solutions—including a test‑build download—to resolve the frequent crashes when connecting to MySQL 8, enabling stable database management.

Database clientSSHSequel Pro
0 likes · 5 min read
Fix MySQL 8 Crashes in Sequel Pro and Master Its macOS Features
ITPUB
ITPUB
Mar 28, 2020 · Databases

Explore Yearning: An Open‑Source MySQL SQL Audit Platform

Yearning is an open‑source MySQL SQL audit platform that offers query auditing, workflow‑driven review, execution, rollback, fine‑grained permission control and notification integrations, with detailed installation steps and a public Gitee repository for easy deployment.

Database ToolsSQL auditYearning
0 likes · 6 min read
Explore Yearning: An Open‑Source MySQL SQL Audit Platform
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 27, 2020 · Databases

Measuring Memory Usage of MySQL Internal Temporary Tables

Through a series of experiments using MySQL's performance_schema and explicit MEMORY tables, this article demonstrates how internal temporary tables consume memory, reveals that they allocate significantly more space than raw data size, and discusses the implications for accurate memory estimation.

Memory Usagemysqlperformance_schema
0 likes · 4 min read
Measuring Memory Usage of MySQL Internal Temporary Tables
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 26, 2020 · Databases

Understanding MySQL Replication Delay and System Lock Mechanisms

This article explains how MySQL computes replication delay using show_slave_status, analyzes the relationship between binlog write timestamps and event generation, enumerates common causes of lag, and provides a detailed examination of the system‑lock state in the slave SQL thread with code examples.

Database PerformanceInnoDBReplication
0 likes · 11 min read
Understanding MySQL Replication Delay and System Lock Mechanisms
Architecture Digest
Architecture Digest
Mar 26, 2020 · Databases

MySQL Pagination Optimization Techniques and Performance Testing

This article examines various MySQL pagination methods—including simple LIMIT, offset impact, sub‑query, ID‑range, and temporary‑table strategies—provides detailed performance measurements on a table with over five million rows, and offers practical recommendations for speeding up large‑scale data retrieval.

SQLdatabasemysql
0 likes · 8 min read
MySQL Pagination Optimization Techniques and Performance Testing
macrozheng
macrozheng
Mar 26, 2020 · Backend Development

How to Build a High‑Performance URL Shortening Service: Architecture & Algorithms

This article explores the design of a high‑performance short‑link system, covering its benefits, redirection mechanics, hash‑based and auto‑increment generation methods, database schema, Bloom filter optimization, and a scalable OpenResty‑based architecture for handling massive traffic.

Backend ArchitectureHashingOpenResty
0 likes · 15 min read
How to Build a High‑Performance URL Shortening Service: Architecture & Algorithms
ITPUB
ITPUB
Mar 23, 2020 · Databases

Essential MySQL Performance Tuning Tools: MySQLTuner, Tuning‑Primer, and Percona Toolkit

This guide introduces four open‑source MySQL diagnostic utilities—MySQLTuner, tuning‑primer.sh, pt‑variable‑advisor, and pt‑query‑digest—explaining how to download, run them against a live server, interpret the generated AWR‑style reports, and apply the recommended configuration changes for better stability and speed.

Database OptimizationMySQLTunermysql
0 likes · 8 min read
Essential MySQL Performance Tuning Tools: MySQLTuner, Tuning‑Primer, and Percona Toolkit
Architecture Digest
Architecture Digest
Mar 23, 2020 · Databases

Understanding Linux Buffer Cache and SQL Join Performance

This article explains how Linux memory statistics (free, top) report buffer/cache usage, how to clear it with sync and drop_caches, and then dives into SQL join concepts, types, optimization techniques, and MySQL join algorithms such as nested loop and block nested loop, highlighting their impact on performance.

Buffer CacheDatabase PerformanceLinux
0 likes · 7 min read
Understanding Linux Buffer Cache and SQL Join Performance
MaGe Linux Operations
MaGe Linux Operations
Mar 22, 2020 · Operations

Linux Ops Essentials: Gray Release, DNS, RabbitMQ, LVS, MySQL & Keepalived

This article explains key Linux operations concepts such as gray release deployment, DNS resolution steps, RabbitMQ messaging, Keepalived high‑availability mechanisms, LVS load‑balancing modes, MySQL lock troubleshooting, replication lag mitigation, root password reset, backup tools, and compares Nginx, LVS, and HAProxy.

DNSmysql
0 likes · 16 min read
Linux Ops Essentials: Gray Release, DNS, RabbitMQ, LVS, MySQL & Keepalived
Programmer DD
Programmer DD
Mar 21, 2020 · Databases

Essential MySQL Performance Tuning Tools and How to Use Them

This guide introduces four key MySQL optimization utilities—mysqltuner.pl, tuning-primer.sh, pt-variable-advisor, and pt-query-digest—explains how to download, install, and run each tool, and shows how to interpret their health‑check reports to identify performance bottlenecks, configuration issues, and security risks.

Database Optimizationmysqlpercona-toolkit
0 likes · 8 min read
Essential MySQL Performance Tuning Tools and How to Use Them
Open Source Linux
Open Source Linux
Mar 20, 2020 · Fundamentals

Master Linux Interview Questions: From Boot Process to Advanced Server Commands

This comprehensive guide covers essential Linux fundamentals, common interview questions, and practical server administration techniques, including boot sequences, runlevels, file system differences, process management, packaging tools, Nginx optimization, MySQL replication, Docker usage, and useful shell scripts for real‑world operations.

DockerLinuxNginx
0 likes · 35 min read
Master Linux Interview Questions: From Boot Process to Advanced Server Commands
21CTO
21CTO
Mar 18, 2020 · Databases

Master MySQL: Key Differences, Index Types, and Performance Tips

This article explains the distinctions between UNION and UNION ALL, TRUNCATE and DELETE, TIMESTAMP and DATETIME, introduces composite and covering indexes, describes InnoDB versus MyISAM storage, the left‑most prefix rule, monotonic primary keys, int display length, SHOW INDEX fields, handling LIKE patterns, and efficient pagination techniques.

SQLdatabaseindexes
0 likes · 14 min read
Master MySQL: Key Differences, Index Types, and Performance Tips
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 17, 2020 · Databases

Understanding MySQL Index Optimization and Execution Flow

This article explains MySQL index design principles, demonstrates the execution steps of a range query on a sample table, and discusses common index optimizations such as covering indexes, the left‑most prefix rule, index condition push‑down, implicit type conversion, as well as why the optimizer may choose a wrong index and how to correct it.

Database PerformanceIndex OptimizationQuery Execution
0 likes · 9 min read
Understanding MySQL Index Optimization and Execution Flow
ITPUB
ITPUB
Mar 16, 2020 · Databases

MySQL Essentials: UNION vs UNION ALL, TRUNCATE vs DELETE, Index Types Explained

This article explains core MySQL concepts, comparing UNION and UNION ALL, TRUNCATE versus DELETE, TIMESTAMP and DATETIME, composite and covering indexes, the left‑most prefix rule, clustered vs non‑clustered indexes, prefix indexes, InnoDB vs MyISAM storage, monotonic primary keys, column length display, SHOW INDEX fields, LIKE pattern pitfalls, and efficient pagination techniques.

SQLdatabaseindexes
0 likes · 15 min read
MySQL Essentials: UNION vs UNION ALL, TRUNCATE vs DELETE, Index Types Explained
Tencent Cloud Developer
Tencent Cloud Developer
Mar 15, 2020 · Industry Insights

Who Rules the Database World? Insights from Tencent’s TVP Tech Forum

The article reviews a Tencent Cloud TVP closed‑door forum where experts compared MySQL 8.0, PostgreSQL, Redis and the cloud‑native CynosDB, highlighting each product’s technical strengths, ecosystem support, and the broader industry trend toward cloud‑native, multi‑database solutions as the future of data management.

Cloud NativeCynosDBPostgreSQL
0 likes · 17 min read
Who Rules the Database World? Insights from Tencent’s TVP Tech Forum
Liangxu Linux
Liangxu Linux
Mar 15, 2020 · Databases

Master MySQL Indexes: Differences, Composite Strategies & Performance Hacks

This guide explains essential MySQL concepts such as the distinction between UNION and UNION ALL, TRUNCATE versus DELETE, TIMESTAMP versus DATETIME, the purpose and benefits of composite indexes, index storage engines, prefix indexes, covering indexes, the left‑most prefix rule, and efficient pagination techniques.

SQLdatabaseindexes
0 likes · 15 min read
Master MySQL Indexes: Differences, Composite Strategies & Performance Hacks
Top Architect
Top Architect
Mar 13, 2020 · Big Data

Three Billion‑Scale MySQL‑to‑HBase Synchronization Solutions and Practical Implementation

This article presents a comprehensive guide for synchronizing massive MySQL datasets to HBase, covering environment preparation, fast MySQL data loading techniques, and three practical pipelines—Sqoop, Kafka‑Thrift, and Kafka‑Flink—along with performance comparisons and optimization tips for large‑scale data processing.

Big DataFlinkHBase
0 likes · 24 min read
Three Billion‑Scale MySQL‑to‑HBase Synchronization Solutions and Practical Implementation
Selected Java Interview Questions
Selected Java Interview Questions
Mar 13, 2020 · Databases

Can Repeatable Read Prevent Phantom Reads? A Deep Dive into MySQL Transaction Isolation Levels

This article explains MySQL’s transaction isolation levels, clarifies the differences between dirty reads, non‑repeatable reads and phantom reads, and demonstrates through experiments why the REPEATABLE READ level can prevent phantom reads, while also discussing its limitations, MVCC, and locking mechanisms.

MVCCRepeatable Readlocking
0 likes · 14 min read
Can Repeatable Read Prevent Phantom Reads? A Deep Dive into MySQL Transaction Isolation Levels
Architecture Digest
Architecture Digest
Mar 12, 2020 · Databases

Understanding MySQL Indexes: Types, Implementation, and Best Practices

This article explains what MySQL indexes are, the different categories such as ordinary, unique, composite, clustered and non‑clustered, how B‑Tree, B+Tree and hash indexes are implemented in InnoDB and MyISAM, and why auto‑increment primary keys are recommended for optimal performance.

B-TreeHash IndexInnoDB
0 likes · 7 min read
Understanding MySQL Indexes: Types, Implementation, and Best Practices
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 9, 2020 · Databases

Why Xtrabackup’s GTID Mismatch Happens: Deep Dive into MySQL 5.7 & 8.0 Backups

This article analyses why the GTID information recorded by Xtrabackup’s xtrabackup_binlog_info file can differ from the GTID shown by SHOW MASTER STATUS after a restore, comparing the behavior of Xtrabackup 2.4 on MySQL 5.7 and Xtrabackup 8.0 on MySQL 8.0, and explains the underlying backup processes and MySQL internals that cause the discrepancy.

BackupBinlogDatabase Replication
0 likes · 14 min read
Why Xtrabackup’s GTID Mismatch Happens: Deep Dive into MySQL 5.7 & 8.0 Backups
Architecture Digest
Architecture Digest
Mar 8, 2020 · Databases

MySQL Encoding Process and Character Set Handling

This article explains how MySQL’s character_set parameters such as character_set_client and character_set_results control the encoding and decoding of client commands and query results, illustrates common pitfalls with UTF‑8, GBK and Latin‑1, and provides practical commands to avoid garbled text.

Character SetGBKUTF-8
0 likes · 10 min read
MySQL Encoding Process and Character Set Handling
Selected Java Interview Questions
Selected Java Interview Questions
Mar 6, 2020 · Databases

Best Practices for Choosing Database Indexes

This article outlines essential principles for selecting and managing database indexes, covering unique indexes, indexing frequently sorted or filtered columns, limiting index count, using short or prefix indexes, removing unused indexes, left‑most prefix matching, column cardinality, avoiding functions on indexed columns, and extending existing indexes.

Performance OptimizationUnique Indexindex design
0 likes · 7 min read
Best Practices for Choosing Database Indexes
Efficient Ops
Efficient Ops
Mar 5, 2020 · Databases

Inside MySQL InnoDB: Unveiling Architecture, Memory Structures, and Transaction Mechanics

This article provides a comprehensive overview of MySQL InnoDB's internal architecture, covering its memory and disk structures, buffer pool, change buffer, adaptive hash index, log buffer, various tablespace types, page layout, undo and redo logs, double‑write buffer, transaction isolation levels, and how the engine satisfies ACID properties.

ACIDInnoDBStorage Engine
0 likes · 32 min read
Inside MySQL InnoDB: Unveiling Architecture, Memory Structures, and Transaction Mechanics
ITPUB
ITPUB
Mar 5, 2020 · Databases

Master MySQL: Transactions, Indexes, Storage Engines, and Performance Optimization

This comprehensive guide explains MySQL fundamentals, transaction handling, ACID properties, isolation levels, indexing strategies, storage engine differences, lock mechanisms, optimistic vs pessimistic locking, and techniques for optimizing large tables in production environments.

Isolation LevelsPerformance OptimizationStorage Engines
0 likes · 22 min read
Master MySQL: Transactions, Indexes, Storage Engines, and Performance Optimization
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 4, 2020 · Databases

Improved MySQL 8 Replication Lag Monitoring Using GTID Timestamps and Performance Schema

The article explains the shortcomings of traditional MySQL replication lag measurement, introduces the community heartbeat‑table approach and its limitations, and then details MySQL 8 enhancements (WL#7319, WL#7374) that embed transaction timestamps in binlog events and expose new performance_schema tables, providing precise SQL queries to monitor lag at various stages of the replication pipeline.

GTIDLag MonitoringPerformance Schema
0 likes · 8 min read
Improved MySQL 8 Replication Lag Monitoring Using GTID Timestamps and Performance Schema
Wukong Talks Architecture
Wukong Talks Architecture
Mar 3, 2020 · Databases

Using JDBC in Spring Boot: Dependency Setup, DataSource Configuration, Auto‑Configuration, JdbcTemplate, Swagger Integration, and Common Troubleshooting

This tutorial explains how to integrate JDBC into a Spring Boot project, covering Maven dependencies, MySQL driver setup, application.yml datasource configuration, Spring Boot's auto‑configuration mechanism, JdbcTemplate usage, Swagger documentation, CRUD endpoint implementation, and solutions to typical connection errors.

JDBCJdbcTemplateSpring Boot
0 likes · 12 min read
Using JDBC in Spring Boot: Dependency Setup, DataSource Configuration, Auto‑Configuration, JdbcTemplate, Swagger Integration, and Common Troubleshooting
Top Architect
Top Architect
Mar 3, 2020 · Databases

MySQL Performance Tuning Tools: mysqltuner.pl, tuning-primer.sh, pt-variable-advisor, and pt-query-digest

This article introduces several MySQL performance‑tuning utilities—including mysqltuner.pl, tuning‑primer.sh, pt‑variable‑advisor, and pt‑query‑digest—explains how to download, install, run them, and interpret their reports to identify configuration issues and optimize database performance.

Database ToolsOperationsSQL Optimization
0 likes · 9 min read
MySQL Performance Tuning Tools: mysqltuner.pl, tuning-primer.sh, pt-variable-advisor, and pt-query-digest
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 3, 2020 · Databases

Optimizing a Slow MySQL Query with Derived Tables and UNION ALL

This article analyzes a slow MySQL aggregation query that joins a large table with a derived table built from many UNION ALL subqueries, explains the execution plan and derived‑table materialization, and presents two optimization approaches—adding taskname indexes and rewriting the query or using a temporary indexed table—to dramatically reduce execution time while preserving result semantics.

Derived TableSQLUnion All
0 likes · 11 min read
Optimizing a Slow MySQL Query with Derived Tables and UNION ALL
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 2, 2020 · Databases

Guide to Deploying and Managing MySQL InnoDB ReplicaSet with MySQL Shell and Router

This tutorial explains how to create and operate a MySQL InnoDB ReplicaSet—deploying sandbox instances, configuring a replica set with primary and secondary roles, adding nodes, performing manual primary switches and failure recovery, and using MySQL Router to provide an automatic read/write endpoint, while highlighting current limitations.

DatabaseReplicationGTIDInnoDB
0 likes · 8 min read
Guide to Deploying and Managing MySQL InnoDB ReplicaSet with MySQL Shell and Router
Wukong Talks Architecture
Wukong Talks Architecture
Mar 2, 2020 · Backend Development

Using JDBC with Spring Boot: Configuration, Auto‑Configuration, JdbcTemplate, Swagger Integration, and Common Troubleshooting

This guide explains how to integrate JDBC into a Spring Boot project, covering Maven dependencies, datasource configuration, Spring Boot's auto‑configuration mechanism, JdbcTemplate usage, Swagger setup for API testing, CRUD examples on a MySQL department table, and solutions to typical connection errors.

JDBCJdbcTemplateREST API
0 likes · 13 min read
Using JDBC with Spring Boot: Configuration, Auto‑Configuration, JdbcTemplate, Swagger Integration, and Common Troubleshooting
Programmer DD
Programmer DD
Mar 2, 2020 · Backend Development

How to Integrate MyBatis with Spring Boot for CRUD Operations

This guide walks through integrating MyBatis into a Spring Boot project, covering dependency setup, MySQL configuration, entity and mapper creation, CRUD annotations, and unit testing to verify database operations, including transaction management and result mapping.

CRUDJavaMyBatis
0 likes · 10 min read
How to Integrate MyBatis with Spring Boot for CRUD Operations
ITPUB
ITPUB
Feb 28, 2020 · Databases

Why MySQL Shows Garbled Text and How to Fix It

This article explains the root causes of MySQL character‑set garbling, illustrates the encoding/decoding steps during data insertion and retrieval, and provides practical methods—including dump‑reload and binary conversion—to prevent and repair corrupted data.

Character SetData MigrationSQL
0 likes · 13 min read
Why MySQL Shows Garbled Text and How to Fix It
Mafengwo Technology
Mafengwo Technology
Feb 28, 2020 · Backend Development

How We Achieve Real‑Time MySQL‑to‑Elasticsearch Sync with Binlog and Kafka

This article explains how a large e‑commerce platform replaced a MySQL‑centric intermediate table with a binlog‑driven pipeline that streams changes through Kafka into Elasticsearch, ensuring ordered, complete, and low‑latency data synchronization while addressing schema evolution and operational monitoring.

BackendBinlogElasticsearch
0 likes · 11 min read
How We Achieve Real‑Time MySQL‑to‑Elasticsearch Sync with Binlog and Kafka
Programmer DD
Programmer DD
Feb 28, 2020 · Backend Development

Instantly Generate Spring Boot CRUD Code with EasyCode Plugin

This tutorial walks you through installing the EasyCode IntelliJ plugin, setting up a MySQL database, configuring a Spring Boot project, adding necessary Maven dependencies and YAML settings, and using EasyCode to automatically generate entity, DAO, service, controller, and mapper code without manual coding.

Code GenerationEasyCodeIDEA
0 likes · 6 min read
Instantly Generate Spring Boot CRUD Code with EasyCode Plugin
Java Backend Technology
Java Backend Technology
Feb 26, 2020 · Databases

How Does MySQL Lock Rows for DELETE? A Deep Dive into MVCC and Isolation Levels

This article explains how MySQL's InnoDB engine applies locks for DELETE and SELECT statements, covering MVCC, snapshot and current reads, clustered indexes, left‑most prefix rules, two‑phase locking, isolation levels, gap and next‑key locks, and analyzes nine different index‑and‑isolation scenarios with detailed conclusions.

InnoDBIsolation LevelsMVCC
0 likes · 16 min read
How Does MySQL Lock Rows for DELETE? A Deep Dive into MVCC and Isolation Levels
Open Source Linux
Open Source Linux
Feb 24, 2020 · Databases

Automate MySQL Backups with Bash: Script, Rsync, and Cron Guide

This guide explains how to create a Bash script that daily backs up multiple MySQL databases, compresses them with gzip, transfers them via rsync to a remote server, retains backups for two months, and schedules the process with cron, including necessary commands and permissions.

Bashmysqlrsync
0 likes · 4 min read
Automate MySQL Backups with Bash: Script, Rsync, and Cron Guide
Java Backend Technology
Java Backend Technology
Feb 23, 2020 · Backend Development

How to Auto-Generate Spring Boot CRUD Code with EasyCode in IDEA

This guide walks you through installing the EasyCode plugin in IntelliJ IDEA, setting up a MySQL database, configuring Spring Boot dependencies, and using EasyCode to automatically generate entity, controller, service, DAO, and mapper classes, complete with Maven and application.yml settings.

EasyCodeIntelliJ IDEALombok
0 likes · 7 min read
How to Auto-Generate Spring Boot CRUD Code with EasyCode in IDEA
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 21, 2020 · Databases

Root Cause Analysis of MySQL Crash Triggered by Binlog Errors When the Root Partition Is Full

The article investigates a MySQL crash caused by binlog errors due to a full '/' partition, explains why the error leads to server abort, demonstrates reproducing the issue with large transactions, traces the problem to the my_write function in the source code, and offers mitigation strategies such as reducing transaction size or expanding the temporary directory space.

BinlogCrashDebugging
0 likes · 13 min read
Root Cause Analysis of MySQL Crash Triggered by Binlog Errors When the Root Partition Is Full
Liangxu Linux
Liangxu Linux
Feb 18, 2020 · Databases

Master MySQL Transactions, Indexes, and Locking: From ACID to Large‑Table Optimization

This guide explains MySQL fundamentals—including what a database is, transaction concepts and ACID properties, isolation levels and their effects, index structures and the left‑most prefix rule, storage engine differences, lock algorithms, and practical techniques for optimizing large tables such as partitioning and sharding.

Isolation LevelsPerformance OptimizationTransactions
0 likes · 23 min read
Master MySQL Transactions, Indexes, and Locking: From ACID to Large‑Table Optimization
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 18, 2020 · Information Security

How Securing MySQL with TCP Wrappers Can Cause an Outage

This article examines a MySQL outage triggered by TCP wrappers, detailing how high thread counts, DNS latency, TIME_WAIT socket exhaustion, and frequent reads of /etc/hosts.allow and /etc/hosts.deny can block connections, and provides troubleshooting steps and mitigation recommendations.

DNSTCP wrappersTIME-WAIT
0 likes · 11 min read
How Securing MySQL with TCP Wrappers Can Cause an Outage
dbaplus Community
dbaplus Community
Feb 16, 2020 · Databases

How to Optimize Ten‑Million‑Row MySQL Tables: Practical Guidelines

Optimizing MySQL tables with tens of millions of rows requires a systematic approach that considers data volume, table type, and performance goals, and involves design standards, business‑layer tactics, architectural strategies, and database‑specific tweaks such as proper indexing, configuration, and management practices to maintain efficiency.

Database designLarge Tablesmysql
0 likes · 20 min read
How to Optimize Ten‑Million‑Row MySQL Tables: Practical Guidelines
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 15, 2020 · Databases

Weekly Community Update: DB-Engines February Rankings, MySQL 5.6 End-of-Life, and Open‑Source Middleware Progress

This weekly community briefing summarizes the February DB‑Engines ranking trends, announces MySQL 5.6's upcoming end‑of‑life, and highlights recent development, bug‑fix, and release activities for the open‑source middleware projects DBLE, DTLE, and TXLE, along with several technical deep‑dive links.

DB-Enginescommunitymiddleware
0 likes · 4 min read
Weekly Community Update: DB-Engines February Rankings, MySQL 5.6 End-of-Life, and Open‑Source Middleware Progress
NetEase Game Operations Platform
NetEase Game Operations Platform
Feb 15, 2020 · Databases

Using Flyway for Database Version Management: Principles, Configuration, and Best Practices

This article introduces Flyway as a database migration tool, explains its working principle, directory and naming conventions, supported databases, and provides detailed step‑by‑step instructions, best‑practice guidelines, and troubleshooting tips for safely managing MySQL schema changes in production environments.

DevOpsFlywaySQL
0 likes · 13 min read
Using Flyway for Database Version Management: Principles, Configuration, and Best Practices
Qunar Tech Salon
Qunar Tech Salon
Feb 14, 2020 · Databases

Understanding InnoDB Rollback and UNDO Log Architecture in MySQL

This article explains the internal structure of InnoDB rollback segments, UNDO log storage formats, and the recovery process in MySQL, detailing how transaction IDs, segment headers, page headers, and log records are organized and used to safely roll back or purge data.

Database InternalsInnoDBmysql
0 likes · 22 min read
Understanding InnoDB Rollback and UNDO Log Architecture in MySQL
Architecture Digest
Architecture Digest
Feb 13, 2020 · Databases

Understanding InnoDB Logical Storage Structure and MySQL Partitioning

This article explains the InnoDB logical storage architecture—including segments, extents, and pages—then introduces MySQL table partitioning concepts, details the main partition types (RANGE, LIST, HASH, KEY) with SQL examples, and discusses their performance implications for OLTP and OLAP workloads.

InnoDBPartitioningSQL
0 likes · 8 min read
Understanding InnoDB Logical Storage Structure and MySQL Partitioning
Qunar Tech Salon
Qunar Tech Salon
Feb 13, 2020 · Databases

Understanding InnoDB REDO Log Recovery Process

This article explains how InnoDB uses REDO logs to recover a crashed MySQL database, detailing the steps of locating checkpoints, scanning log segments, parsing mini‑transactions, storing records in hash tables, and applying them to restore data consistency.

Database RecoveryInnoDBMini-transaction
0 likes · 23 min read
Understanding InnoDB REDO Log Recovery Process
ITPUB
ITPUB
Feb 12, 2020 · Databases

8 MySQL Tricks to Supercharge Query Performance and Slash Execution Time

This article examines common MySQL performance pitfalls—such as large OFFSET limits, implicit type conversion, inefficient UPDATE/DELETE joins, mixed ordering, EXISTS subqueries, and poor condition push‑down—and demonstrates concrete query rewrites that reduce execution times from seconds to milliseconds.

Query RewritingSQL Optimizationdatabases
0 likes · 7 min read
8 MySQL Tricks to Supercharge Query Performance and Slash Execution Time
Qunar Tech Salon
Qunar Tech Salon
Feb 12, 2020 · Databases

Understanding MySQL REDO Log: Purpose, Types, and Flush Timing

This article explains the essential role of MySQL REDO logs in ensuring data durability and performance, describes what would happen without logging, details various REDO log record formats, and outlines the multiple moments when InnoDB flushes logs to disk.

Database PerformanceInnoDBLog Flushing
0 likes · 18 min read
Understanding MySQL REDO Log: Purpose, Types, and Flush Timing
ITPUB
ITPUB
Feb 11, 2020 · Databases

Boost MySQL Performance: 8 Proven SQL Optimization Techniques

This article presents eight practical MySQL optimization strategies—including LIMIT redesign, implicit type conversion fixes, JOIN rewrites for updates/deletes, mixed sorting tricks, EXISTS elimination, condition push‑down, early data reduction, and intermediate result set push‑down—each illustrated with before‑and‑after queries, execution plans, and measurable speed improvements.

CTELIMIT redesignSQL Optimization
0 likes · 7 min read
Boost MySQL Performance: 8 Proven SQL Optimization Techniques
Liangxu Linux
Liangxu Linux
Feb 10, 2020 · Databases

Master MySQL: Essential Naming, Design, and Indexing Standards

This guide presents comprehensive MySQL best‑practice rules covering object naming conventions, fundamental schema design, field type selection, index creation strategies, and SQL development habits to improve performance, maintainability, and reliability of production databases.

Database designPerformance OptimizationSQL Best Practices
0 likes · 19 min read
Master MySQL: Essential Naming, Design, and Indexing Standards
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 10, 2020 · Big Data

Real‑time MySQL Binlog Capture with Canal: Principles, Architecture, Deployment and Comparison with Maxwell

This article explains how to use Alibaba's Canal to capture MySQL binlog changes in real time, covering its underlying protocol, component architecture, HA design with ZooKeeper, configuration steps, deployment examples, and a detailed comparison with alternative tools such as Maxwell and mysql_streamer.

Big DataBinlogCanal
0 likes · 17 min read
Real‑time MySQL Binlog Capture with Canal: Principles, Architecture, Deployment and Comparison with Maxwell
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 10, 2020 · Databases

Handling Duplicate Data in MySQL: Techniques and Examples

This article explains how to identify and remove various kinds of duplicate data in MySQL—including fully duplicated rows, records with duplicate non‑key columns, and unwanted whitespace inside fields—by using SQL statements, table cloning, OS utilities, and regular‑expression updates, with performance measurements for each method.

SQLdata cleaningdata deduplication
0 likes · 13 min read
Handling Duplicate Data in MySQL: Techniques and Examples
Qunar Tech Salon
Qunar Tech Salon
Feb 10, 2020 · Databases

InnoDB Buffer Pool Management Mechanism and Implementation Details

This article explains the theory behind InnoDB's log management, details the architecture and dynamic sizing of the Buffer Pool, describes its internal data structures and multi‑instance implementation, and provides annotated source code snippets to illustrate how MySQL allocates and manages buffer pages.

Database InternalsInnoDBbuffer pool
0 likes · 15 min read
InnoDB Buffer Pool Management Mechanism and Implementation Details
Efficient Ops
Efficient Ops
Feb 9, 2020 · Databases

Why a MySQL Query Took 30 Seconds and How a Hidden Index Cut It to 0.2 s

A production MySQL query on a table with five million rows took over 30 seconds, and after reproducing the issue, examining execution plans, trying various index and query tweaks, discovering that SQLyog adds a hidden LIMIT, and finally forcing the correct index, the runtime dropped to under a second, illustrating the importance of proper index usage and tool‑specific quirks.

Index OptimizationSQLyogexecution plan
0 likes · 6 min read
Why a MySQL Query Took 30 Seconds and How a Hidden Index Cut It to 0.2 s
Architecture Digest
Architecture Digest
Feb 7, 2020 · Backend Development

Design and Implementation of a Transactional Message Module with Spring Boot, RabbitMQ, and MySQL

This article details the design principles, implementation steps, and code examples for a lightweight transactional message module in a microservices environment, leveraging Spring Boot, RabbitMQ, MySQL, and Redisson to achieve low‑intrusion, eventual‑consistency messaging with compensation and retry mechanisms.

DistributedSystemsRabbitMQSpringBoot
0 likes · 23 min read
Design and Implementation of a Transactional Message Module with Spring Boot, RabbitMQ, and MySQL
Programmer DD
Programmer DD
Feb 6, 2020 · Backend Development

Master Spring Boot DataSource: Configure HikariCP for Efficient DB Access

This article explains the concept of a DataSource, compares it with core JDBC APIs, and provides a step‑by‑step guide to configuring Spring Boot 2.x’s default HikariCP connection pool, including common properties, their meanings, and links to full example projects.

ConfigurationDataSourceHikariCP
0 likes · 8 min read
Master Spring Boot DataSource: Configure HikariCP for Efficient DB Access