Tagged articles

MySQL

5000 articles · Page 50 of 50
21CTO
21CTO
Apr 18, 2020 · Databases

How to Import FIFA18 Player Data from CSV into MySQL with Python

This step‑by‑step guide shows how to download the FIFA 18 player dataset from GitHub, create a MySQL database and table, read the CSV with Python’s csv.DictReader, generate INSERT statements, batch‑load the data efficiently, and query Argentine players, illustrating a complete end‑to‑end data‑import workflow.

CSVFIFA18MySQL
0 likes · 12 min read
How to Import FIFA18 Player Data from CSV into MySQL with Python
Java Captain
Java Captain
Apr 18, 2020 · Databases

Understanding Linux Memory Usage, Buffer Cache, and SQL Join Optimization

This article explains how to inspect and clear Linux memory buffers, interprets the fields shown by the free command, and then dives into SQL join types, performance‑impacting factors such as join_buffer_size, and practical optimization techniques like indexing and denormalization.

Buffer CacheDatabase PerformanceMySQL
0 likes · 7 min read
Understanding Linux Memory Usage, Buffer Cache, and SQL Join Optimization
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 17, 2020 · Operations

Exploring Database Operations Automation at Tiancheng Financial – Interview with Senior DBA Ge Haoqiang

In this interview, senior DBA Ge Haoqiang from Tiancheng Financial discusses the scale of their database clusters, the efficiency gains from automation, DevOps culture, language choices, and how they adapt to new database features, offering insights into modern database operations automation.

DBADatabase AutomationDevOps
0 likes · 6 min read
Exploring Database Operations Automation at Tiancheng Financial – Interview with Senior DBA Ge Haoqiang
Architects' Tech Alliance
Architects' Tech Alliance
Apr 16, 2020 · Databases

Database Application Architecture Principles and Common Schemes

This article outlines core database architecture principles—high availability, high performance, consistency, and scalability—examines four common deployment schemes (primary‑standby, dual‑primary, primary‑replica with read/write separation, and a combined dual‑primary/replica model), and presents multiple consistency and cache‑integration solutions.

Database ArchitectureMySQLRead-Write Separation
0 likes · 12 min read
Database Application Architecture Principles and Common Schemes
Meituan Technology Team
Meituan Technology Team
Apr 16, 2020 · Databases

Analyzing and Optimizing MySQL Performance on Intel Skylake CPUs

Meituan’s DBA team discovered that Intel Skylake CPUs dramatically increased PAUSE‑instruction latency, causing MySQL’s ut_delay spin‑wait loops to consume most CPU cycles and reduce write throughput, and they restored performance by back‑porting MySQL 8.0’s spin_wait_pause_multiplier patch to 5.7, upgrading to CentOS 7, and moving to Cascadelake hardware.

CPUDatabaseMySQL
0 likes · 18 min read
Analyzing and Optimizing MySQL Performance on Intel Skylake CPUs
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 15, 2020 · Databases

Understanding MySQL Large Object Types: TEXT/BLOB and JSON

This article explains MySQL's large object data types—TEXT, BLOB, and JSON—covering their storage formats, performance implications, indexing rules, partition restrictions, relevant server parameters, and practical examples of creating tables, inserting data, and querying JSON values.

BLOBIndexingLarge Objects
0 likes · 10 min read
Understanding MySQL Large Object Types: TEXT/BLOB and JSON
Programmer DD
Programmer DD
Apr 14, 2020 · Databases

Understanding InnoDB Storage Architecture and MySQL Partitioning Strategies

This article explains InnoDB's logical storage hierarchy of tablespaces, segments, extents, and pages, then details MySQL's partitioning concepts, types, creation syntax, and performance considerations, providing practical examples and guidance for effective database design.

Database ArchitectureInnoDBMySQL
0 likes · 8 min read
Understanding InnoDB Storage Architecture and MySQL Partitioning Strategies
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 13, 2020 · Databases

How DBLE Implements MySQL View Functionality

This article explains how DBLE, a PaaS middleware, implements MySQL view capabilities by first describing MySQL view concepts and the MERGE and TEMPTABLE algorithms, then detailing DBLE's push‑down and non‑push‑down approaches, the criteria for each, and providing illustrative diagrams.

DBLEDatabase MiddlewareMySQL
0 likes · 5 min read
How DBLE Implements MySQL View Functionality
Wukong Talks Architecture
Wukong Talks Architecture
Apr 13, 2020 · Backend Development

Quick Guide to Setting Up the Renren‑Fast Management Backend for the PassJava Project

This tutorial walks through downloading the Renren‑Fast open‑source admin framework, integrating it into the PassJava project, configuring MySQL and Docker, adjusting application settings, launching the backend service, building the Vue front‑end, and performing end‑to‑end login verification, providing a complete step‑by‑step guide for developers.

DockerJavaMySQL
0 likes · 4 min read
Quick Guide to Setting Up the Renren‑Fast Management Backend for the PassJava Project
Liangxu Linux
Liangxu Linux
Apr 12, 2020 · Databases

Essential MySQL Performance Tuning Tools and How to Use Them

This guide introduces four open‑source MySQL tuning utilities—mysqltuner.pl, tuning‑primer.sh, pt‑variable‑advisor, and pt‑query‑digest—explains how to download and run each tool, and shows how to interpret their AWR‑style reports for concrete performance and security improvements.

Database ToolsMySQLOptimization
0 likes · 9 min read
Essential MySQL Performance Tuning Tools and How to Use Them
Big Data Technology & Architecture
Big Data Technology & Architecture
Apr 12, 2020 · Databases

Comprehensive MySQL Fundamentals and Advanced Topics Overview

This extensive guide covers MySQL fundamentals and advanced concepts, including storage engines, data types, indexes, transactions, isolation levels, locking mechanisms, views, stored procedures, triggers, SQL optimization techniques, replication, backup strategies, and sharding approaches for high‑availability and scalability.

Database fundamentalsMySQLOptimization
0 likes · 73 min read
Comprehensive MySQL Fundamentals and Advanced Topics Overview
Programmer DD
Programmer DD
Apr 9, 2020 · Databases

How Many Rows Can a Single InnoDB B+ Tree Store? A Deep Dive

This article explains how InnoDB organizes data with B+ trees, calculates the maximum number of rows a single tree can hold (around 20 million), and shows how page size, pointer count, and tree height affect MySQL index performance.

B+TreeInnoDBMySQL
0 likes · 11 min read
How Many Rows Can a Single InnoDB B+ Tree Store? A Deep Dive
Wukong Talks Architecture
Wukong Talks Architecture
Apr 8, 2020 · Databases

Step-by-Step Guide to Installing MySQL Using Docker

This tutorial explains how to download the MySQL Docker image, create and run a MySQL container with volume mappings and environment variables, verify the container, connect to the database via Workbench, and access the container’s shell and host files.

ContainersDatabaseDocker
0 likes · 3 min read
Step-by-Step Guide to Installing MySQL Using Docker
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 8, 2020 · Databases

DBLE Heartbeat Detection Module: Purpose and Source Code Analysis

This article explains the purpose of DBLE's heartbeat detection, including high‑availability switching, read load balancing, and idle connection management, and provides a detailed walkthrough of the module's source code—from the Scheduler initialization to the MySQLHeartbeat implementation—illustrating how the system monitors MySQL instance status.

DBLEHeartbeatMySQL
0 likes · 8 min read
DBLE Heartbeat Detection Module: Purpose and Source Code Analysis
MaGe Linux Operations
MaGe Linux Operations
Apr 7, 2020 · Databases

Understanding MySQL Locks: Types, Engines, and Deadlock Prevention

This article explains why MySQL requires locking, compares table and row lock types, details MyISAM and InnoDB lock mechanisms—including optimistic vs. pessimistic locks, lock algorithms, and deadlock handling—while providing practical SQL examples and prevention strategies.

Database LocksDeadlockInnoDB
0 likes · 16 min read
Understanding MySQL Locks: Types, Engines, and Deadlock Prevention
Java Backend Technology
Java Backend Technology
Apr 7, 2020 · Databases

How to Inspect and Clear Linux Buff/Cache and Optimize MySQL Joins

This article explains how to use Linux commands like free and sync to view and clear buffer/cache memory, describes the information shown by free, and then dives into SQL join types, their performance impact, and optimization techniques such as indexing, join_buffer tuning, and join algorithms.

Buffer CacheMemory ManagementMySQL
0 likes · 9 min read
How to Inspect and Clear Linux Buff/Cache and Optimize MySQL Joins
Efficient Ops
Efficient Ops
Apr 6, 2020 · Databases

How to Build a MySQL Monitoring Platform with Prometheus and Grafana

This article walks through setting up a production‑grade MySQL monitoring solution using Prometheus and Grafana, covering exporter installation, MySQL user configuration, systemd service setup, Prometheus job definition, key MySQL performance metrics, and basic alerting rules.

GrafanaMySQLmetrics
0 likes · 15 min read
How to Build a MySQL Monitoring Platform with Prometheus and Grafana
Java Captain
Java Captain
Apr 5, 2020 · Databases

Optimizing MySQL LIMIT Queries by Reducing Row Lookups

This article explains why large OFFSET values in MySQL LIMIT queries cause severe performance degradation and demonstrates how rewriting the query to fetch primary keys first and then joining reduces execution time from seconds to milliseconds, supported by buffer‑pool analysis and practical test results.

IndexLIMITMySQL
0 likes · 8 min read
Optimizing MySQL LIMIT Queries by Reducing Row Lookups
Java Backend Technology
Java Backend Technology
Apr 5, 2020 · Databases

How to Optimize Massive MySQL Tables: Index Tuning, Online DDL, and Batch Deletion

This article walks through diagnosing severe SLA alerts caused by slow queries on a huge MySQL table, using pt‑query‑digest and tcpdump to uncover index misuse, then proposes new composite and single‑column indexes, demonstrates online DDL versus pt‑osc, and shows how batch deletions and efficient backup/restore dramatically reduce execution time and replication lag.

Batch DeleteMySQLOnline DDL
0 likes · 16 min read
How to Optimize Massive MySQL Tables: Index Tuning, Online DDL, and Batch Deletion
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 3, 2020 · Databases

MySQL Internal Temporary Tables: When They Switch to Disk Storage

Through a hands‑on experiment, this article demonstrates how MySQL’s internal temporary tables, governed by tmp_table_size and max_heap_table_size, transition from in‑memory heap storage to on‑disk storage, showing the resulting I/O behavior, disk usage statistics, and the impact of engine configuration.

Disk SpillMySQLPerformance Schema
0 likes · 5 min read
MySQL Internal Temporary Tables: When They Switch to Disk Storage
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 3, 2020 · Databases

Understanding B+ Tree Indexes in MySQL

This article explains why B+ trees are the dominant data structure for MySQL indexes, compares them with hash tables, linked lists, and skip lists, and details page splits, merges, and how index values map to row records, helping readers master high‑frequency interview questions.

B+TreeData StructuresMySQL
0 likes · 14 min read
Understanding B+ Tree Indexes in MySQL
Programmer DD
Programmer DD
Apr 2, 2020 · Databases

How Alibaba Cloud RDS Outperforms Tencent and AWS in MySQL Benchmarks

This article presents a detailed MySQL performance benchmark of Alibaba Cloud RDS, Tencent Cloud RDS, and AWS RDS using sysbench, analyzes configuration differences, shows results across mixed, read‑only, and no‑index update workloads, and offers practical recommendations for cloud database tuning.

Cloud RDSMySQLPerformance Benchmark
0 likes · 12 min read
How Alibaba Cloud RDS Outperforms Tencent and AWS in MySQL Benchmarks
Qunar Tech Salon
Qunar Tech Salon
Apr 2, 2020 · Databases

30 Practical SQL Optimization Tips with Examples

This article presents thirty actionable SQL performance recommendations—including selecting specific columns, using LIMIT, avoiding OR and functions in WHERE clauses, proper indexing, batch inserts, and query planning—each illustrated with clear examples and explanations to help developers write faster, more efficient queries.

DatabaseIndexingMySQL
0 likes · 19 min read
30 Practical SQL Optimization Tips with Examples
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 1, 2020 · Databases

MySQL Data Types: An In-Depth Guide

This article provides a comprehensive overview of MySQL data types—including numeric, floating‑point, decimal, string, date/time, binary, bit, enum, and set types—explaining their storage characteristics, appropriate use cases, and performance implications through practical examples and SQL demonstrations.

Data TypesMySQLSQL
0 likes · 23 min read
MySQL Data Types: An In-Depth Guide
Java Captain
Java Captain
Mar 31, 2020 · Databases

Optimizing Large MySQL Tables: Indexes, Partitioning, Sharding, and System Tuning

When a MySQL table grows to millions of rows, query, insert, update and delete performance degrades sharply, but by applying proper field design, index strategies, SQL best practices, engine selection, system parameters, caching, partitioning, vertical and horizontal sharding, and choosing suitable client‑side or proxy‑side architectures, the database can efficiently handle tens of millions of records.

MySQLOptimizationdatabase tuning
0 likes · 24 min read
Optimizing Large MySQL Tables: Indexes, Partitioning, Sharding, and System Tuning
ITPUB
ITPUB
Mar 30, 2020 · Databases

How to Streamline MySQL Audits with the Open‑Source Yearning Platform

Yearning is an open‑source MySQL audit platform that offers query auditing, SQL review, and workflow automation, providing a web‑based interface for managing tickets, permissions, and notifications, with detailed installation and configuration instructions for quick deployment.

Database ManagementMySQLSQL Auditing
0 likes · 7 min read
How to Streamline MySQL Audits with the Open‑Source Yearning Platform
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 30, 2020 · Databases

Getting Started with dtle: Installation, Configuration, and MySQL Data Migration Guide

This guide introduces dtle, an open‑source MySQL data‑transfer middleware, covering download, installation on three nodes, detailed dtle.conf configuration, startup commands, creating source and target users, preparing job.json, using HTTP API to create and monitor migration jobs, and verifying data migration results.

Data MigrationHTTP APIJob
0 likes · 11 min read
Getting Started with dtle: Installation, Configuration, and MySQL Data Migration Guide
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Mar 29, 2020 · Databases

How to Locate and Analyze Slow SQL Queries in MySQL

This article explains how to identify slow MySQL queries using the slow‑query log and SHOW PROCESSLIST, configure logging parameters, and analyze query performance with EXPLAIN, covering key output fields, common values, and practical code examples for effective SQL optimization.

Database PerformanceEXPLAINMySQL
0 likes · 14 min read
How to Locate and Analyze Slow SQL Queries in MySQL
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 clientMySQLSequel 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 ToolsMySQLSQL audit
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 PerformanceInnoDBMySQL
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.

DatabaseMySQLOptimization
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.

Bloom filterHashingMySQL
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.

MySQLPerformance Tuningdatabase optimization
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 PerformanceMemory Management
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.

MySQLPerformance Tuningdatabase optimization
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.

DockerInterviewMySQL
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.

DatabaseMySQLSQL
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 OptimizationMySQL
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.

DatabaseMySQLOptimization
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.

CynosDBMySQLPostgreSQL
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.

DatabaseMySQLOptimization
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 DataData synchronizationFlink
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.

MVCCMySQLPhantom Read
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 IndexIndex
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.

Database ReplicationGTIDMySQL
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 SetGBKMySQL
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.

MySQLPerformance OptimizationUnique Index
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.

ACIDDatabaseInnoDB
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 LevelsMySQLPerformance Optimization
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 MonitoringMySQL
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.

DatabaseJDBCJdbcTemplate
0 likes · 12 min read
Using JDBC in Spring Boot: Dependency Setup, DataSource Configuration, Auto‑Configuration, JdbcTemplate, Swagger Integration, and Common Troubleshooting
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 TableIndexMySQL
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.

JDBCJdbcTemplateMySQL
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