Tagged articles

MySQL

5000 articles · Page 43 of 50
ITPUB
ITPUB
Jan 28, 2021 · Databases

Why MySQL Index Merge Triggers Deadlocks and How to Fix It

This article explains how MySQL's index‑merge optimization can cause row‑level deadlocks during inventory updates, analyzes the lock sequence and deadlock logs, and presents practical solutions such as forcing a specific index, disabling index‑merge, and creating a composite index.

DeadlockInnoDBMySQL
0 likes · 15 min read
Why MySQL Index Merge Triggers Deadlocks and How to Fix It
ITPUB
ITPUB
Jan 27, 2021 · Databases

Understanding MySQL’s Three Write-Ahead Logs: Redo, Binlog, and Undo

This article explains the three essential log files involved in MySQL write operations—redo log, binary log, and undo log—detailing the two‑phase commit process, their roles, write timing, storage mechanisms, and how they enable data durability, recovery, and replication.

Database LoggingMySQLRedo Log
0 likes · 9 min read
Understanding MySQL’s Three Write-Ahead Logs: Redo, Binlog, and Undo
ITPUB
ITPUB
Jan 26, 2021 · Databases

Master MySQL Transactions, Locks, and Advanced SQL Techniques

This guide walks through MySQL's advanced features, covering lock types, transaction control commands, autocommit handling, savepoints, SQL mode configuration, regular expression usage, common SQL tricks, and a comprehensive overview of built‑in functions with practical code examples.

LocksMySQLSQL Mode
0 likes · 25 min read
Master MySQL Transactions, Locks, and Advanced SQL Techniques
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 26, 2021 · Databases

Advanced MySQL Topics: Transaction Control, Locking, SQL Mode, Regular Expressions, and Common Functions

This article provides a comprehensive guide to advanced MySQL concepts, covering transaction control, various lock levels, lock and unlock statements, autocommit settings, savepoints, SQL security issues, SQL mode configurations, regular expression usage, and a collection of useful string, numeric, date‑time, and flow functions with practical examples.

MySQLSQL Modefunctions
0 likes · 23 min read
Advanced MySQL Topics: Transaction Control, Locking, SQL Mode, Regular Expressions, and Common Functions
Code Ape Tech Column
Code Ape Tech Column
Jan 26, 2021 · Databases

Why Adding LIMIT to MySQL DELETE Is a Must‑Have Safety Habit

The article explains why appending LIMIT to MySQL DELETE statements improves performance, reduces lock contention, and safeguards data by limiting rows affected, provides syntax details, compares deletion strategies for removing large numbers of rows, and offers practical recommendations for safe and efficient data removal.

DELETEData SafetyDatabase Performance
0 likes · 8 min read
Why Adding LIMIT to MySQL DELETE Is a Must‑Have Safety Habit
Laravel Tech Community
Laravel Tech Community
Jan 24, 2021 · Databases

MySQL Slow Query Optimization: Reducing Execution Time from 30 Seconds to 0.19 Seconds

This article documents a MySQL slow‑query case where a 5‑million‑row table took over 30 seconds to execute, explores several ineffective optimization attempts, uncovers a client‑side LIMIT issue, and finally resolves the performance problem by forcing the use of the idx_end_time index, cutting the runtime to under a second.

DatabaseExecution PlanMySQL
0 likes · 5 min read
MySQL Slow Query Optimization: Reducing Execution Time from 30 Seconds to 0.19 Seconds
Architecture Digest
Architecture Digest
Jan 24, 2021 · Databases

Debugging a High‑Load SQL Query: Index Miss and Temporary Fix

A production MySQL database suffered CPU overload due to a high‑volume query that bypassed an index because a leftmost column was missing, leading to full‑table scans, and the issue was resolved by adding a new composite index and correcting validation annotations in the Java code.

JavaMySQLSQL Performance
0 likes · 8 min read
Debugging a High‑Load SQL Query: Index Miss and Temporary Fix
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 22, 2021 · Databases

Why Do MySQL Deadlocks Occur and How to Prevent Them?

This article examines the root causes of MySQL deadlocks in online services, explains transaction and lock mechanisms such as UndoLog and RedoLog, analyzes real‑world cases, and presents practical strategies—including isolation level adjustments and pre‑delete checks—to avoid and resolve deadlock issues.

DatabaseDeadlockInnoDB
0 likes · 11 min read
Why Do MySQL Deadlocks Occur and How to Prevent Them?
Code Ape Tech Column
Code Ape Tech Column
Jan 22, 2021 · Databases

Implementing Database Read-Write Separation with Spring Boot and MySQL

This article explains how to achieve database read‑write separation in high‑concurrency scenarios using Spring Boot, Druid connection pool, and MySQL, covering master‑slave data source configuration, routing via AbstractRoutingDataSource, context holder management, custom annotations, AOP switching, and usage examples with code snippets.

AOPDataSource RoutingJava
0 likes · 11 min read
Implementing Database Read-Write Separation with Spring Boot and MySQL
vivo Internet Technology
vivo Internet Technology
Jan 20, 2021 · Databases

MySQL Deadlock Investigation Record

The article documents a MySQL 5.6.35 deadlock occurring during inventory deduction, explains how Index Merge caused inconsistent lock ordering across multiple indexes, and offers solutions such as forcing specific indexes, disabling Index Merge, adding composite indexes, or restructuring the SQL to prevent the deadlock.

DatabaseDeadlockIndexing
0 likes · 13 min read
MySQL Deadlock Investigation Record
Code Ape Tech Column
Code Ape Tech Column
Jan 20, 2021 · Databases

Why Does MySQL Pick the Wrong Index? A Deep Dive into Query Optimization

This article examines a slow MySQL query that scans millions of rows, explains why the optimizer chose a low‑selectivity index, demonstrates how forcing the correct index dramatically improves performance, and shows how to create a covering composite index to resolve the issue permanently.

Covering IndexExplain PlanIndex Optimization
0 likes · 8 min read
Why Does MySQL Pick the Wrong Index? A Deep Dive into Query Optimization
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 19, 2021 · Databases

MySQL 8.0.23 New Features Overview

The article reviews MySQL 8.0.23's maintenance release, detailing new features such as invisible columns, query attributes, security enhancements, InnoDB auto‑extend size, replication terminology changes, X protocol improvements, and various deprecations, providing code examples and links to official documentation.

8.0.23InnoDBInvisible Columns
0 likes · 10 min read
MySQL 8.0.23 New Features Overview
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 17, 2021 · Databases

Comprehensive Overview of MySQL Architecture, Logs, Indexes, Transactions, Locks, MVCC, Buffer Pool, and Optimization

This article provides an in‑depth guide to MySQL internals, covering the SQL execution process, server and storage engine layers, binlog/redo/undo logs, index structures, transaction isolation levels, lock types, MVCC implementation, buffer pool management, and practical optimization techniques.

DatabaseIndexingMySQL
0 likes · 31 min read
Comprehensive Overview of MySQL Architecture, Logs, Indexes, Transactions, Locks, MVCC, Buffer Pool, and Optimization
ITPUB
ITPUB
Jan 16, 2021 · Databases

Why a Missing Index Parameter Crashed Our Production DB—and How to Fix It

During a production outage, a high‑volume SQL query without a required leftmost index field caused full table scans that saturated CPU, prompting a temporary index fix and revealing a deeper bug involving missing @NotNull validation and improper parameter handling, highlighting MySQL’s left‑most index rule.

IndexingJavaMySQL
0 likes · 9 min read
Why a Missing Index Parameter Crashed Our Production DB—and How to Fix It
MaGe Linux Operations
MaGe Linux Operations
Jan 15, 2021 · Databases

Why ORDER BY with LIMIT Returns Unexpected Row Order in MySQL

When you combine ORDER BY with LIMIT in MySQL, the result set may appear in a different order than expected, especially if the ordered column contains duplicate values, and understanding the optimizer's behavior and adding deterministic columns can resolve this issue.

DatabaseLIMITMySQL
0 likes · 6 min read
Why ORDER BY with LIMIT Returns Unexpected Row Order in MySQL
Java Captain
Java Captain
Jan 12, 2021 · Backend Development

Supermarket Management System Tutorial Using Java Swing and MySQL

This article walks through building a Java Swing supermarket management desktop application, covering database table creation, user registration and login, product category and product CRUD operations, and the main menu UI, with complete source code snippets for each feature.

CRUDDesktop applicationJava
0 likes · 12 min read
Supermarket Management System Tutorial Using Java Swing and MySQL
Programmer DD
Programmer DD
Jan 12, 2021 · Databases

Master Database Version Control in Spring Boot with Flyway

This tutorial walks you through using Flyway in a Spring Boot application to manage MySQL schema versions, from initial table creation and CRUD implementation to incremental migrations like adding new columns, complete with Maven dependencies, SQL scripts, Java code, and automated tests.

Database MigrationJavaMySQL
0 likes · 13 min read
Master Database Version Control in Spring Boot with Flyway
Big Data Technology & Architecture
Big Data Technology & Architecture
Jan 12, 2021 · Backend Development

go-mysql-transfer: A Go-Based Real-Time MySQL Binlog Incremental Sync Tool

The article introduces go-mysql-transfer, a Go-implemented MySQL binlog incremental synchronization solution that avoids extra components, supports multiple downstreams like Redis, offers Lua scripting, Prometheus monitoring, high‑availability clustering, retry mechanisms, full data initialization, and provides installation, deployment, and performance testing details.

Data synchronizationGoMySQL
0 likes · 12 min read
go-mysql-transfer: A Go-Based Real-Time MySQL Binlog Incremental Sync Tool
Java Interview Crash Guide
Java Interview Crash Guide
Jan 12, 2021 · Databases

Boost MySQL Query Speed: Index Tricks, Join vs Subquery, and Execution Plan Hacks

This article walks through a MySQL 5.6 case study where a nested sub‑query for finding students scoring 100 in a specific subject runs for hours, then demonstrates how adding single‑column and composite indexes, rewriting the query as a join, and analyzing execution plans can shrink the runtime from tens of thousands of seconds to under a second.

Index OptimizationMySQLQuery Planning
0 likes · 11 min read
Boost MySQL Query Speed: Index Tricks, Join vs Subquery, and Execution Plan Hacks
Java Interview Crash Guide
Java Interview Crash Guide
Jan 10, 2021 · Databases

Boost MySQL Query Speed: Practical SQL Optimization Tips for 2021

This article explains why SQL performance is critical for fast‑response web services, presents database‑agnostic optimization techniques—such as preferring EXISTS over IN, using JOINs, avoiding unnecessary ORDER BY, leveraging UNION ALL, and applying indexes—to dramatically reduce query latency and resource consumption.

MySQLPerformanceQuery Optimization
0 likes · 15 min read
Boost MySQL Query Speed: Practical SQL Optimization Tips for 2021
Architect's Tech Stack
Architect's Tech Stack
Jan 9, 2021 · Databases

High‑Speed Loading of 2 Billion Rows into MySQL Using TokuDB

This article describes a real‑world requirement to import over 2 billion records into MySQL, analyzes the challenges, introduces XeLabs TokuDB with its optimizations, details the test schema and configuration, demonstrates bulk loading commands, presents performance metrics showing up to 570 k rows per second, and concludes with practical recommendations and environment details.

Large DataMySQLPerformance
0 likes · 7 min read
High‑Speed Loading of 2 Billion Rows into MySQL Using TokuDB
Architecture Digest
Architecture Digest
Jan 9, 2021 · Databases

MySQL Replication Overview, Configuration, and Common Issues

This article explains MySQL's built‑in replication mechanism, covering its purpose, supported replication formats, step‑by‑step master‑slave configuration, common topologies, troubleshooting techniques, and practical SQL commands for setting up and maintaining reliable data distribution and high availability.

Binary LogConfigurationDatabase
0 likes · 24 min read
MySQL Replication Overview, Configuration, and Common Issues
21CTO
21CTO
Jan 8, 2021 · Databases

How ICBC Scales MySQL to 10,000 Nodes: Governance, Challenges, and Solutions

This article summarizes ICBC's experience of deploying nearly ten thousand MySQL nodes, detailing the current status, challenges, governance strategies—including standards, containerization, automated monitoring, emergency handling, and post‑incident analysis—and outlines future improvement plans for core‑application databases.

AutomationDatabase GovernanceICBC
0 likes · 17 min read
How ICBC Scales MySQL to 10,000 Nodes: Governance, Challenges, and Solutions
ITPUB
ITPUB
Jan 8, 2021 · Databases

How ICBC Scales MySQL to 10,000 Nodes: Governance, Automation, and Performance Strategies

This article outlines Industrial and Commercial Bank of China's journey from early MySQL adoption to managing nearly ten thousand production nodes, detailing the challenges of high‑capacity, high‑concurrency workloads and the comprehensive governance framework—including standards, pre‑emptive checks, automated incident response, and future self‑healing plans—used to ensure reliable core‑application data storage.

AutomationDatabase GovernanceLarge-Scale Deployment
0 likes · 17 min read
How ICBC Scales MySQL to 10,000 Nodes: Governance, Automation, and Performance Strategies
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 8, 2021 · Information Security

Configuring SELinux for MySQL: Managing Access Controls and Directory Contexts

This article explains how SELinux enforces mandatory access control on Linux, describes its three modes, shows how to view and modify SELinux contexts for MySQL processes and data directories, and provides step‑by‑step commands to add custom paths, logs, PID files, and ports while preserving system security.

Database AdministrationMySQLSELinux
0 likes · 8 min read
Configuring SELinux for MySQL: Managing Access Controls and Directory Contexts
Code Ape Tech Column
Code Ape Tech Column
Jan 8, 2021 · Databases

Database Standards and Guidelines for Backend Development

This article presents a comprehensive set of mandatory and recommended conventions for MySQL table creation, SQL writing, and index design, aiming to improve backend development efficiency, reduce erroneous DDL and queries, and enhance overall database performance.

IndexingMySQLSQL Guidelines
0 likes · 11 min read
Database Standards and Guidelines for Backend Development
Laravel Tech Community
Laravel Tech Community
Jan 7, 2021 · Databases

Understanding MySQL utf8 vs utf8mb4 and How to Store Emoji Correctly

This article explains why MySQL's legacy utf8 charset cannot store four‑byte characters such as emoji, demonstrates the resulting insertion error, and shows how switching the database, table, and column collations to utf8mb4 resolves the issue while also covering the historical reasons behind MySQL's limited utf8 implementation.

Character SetEmojiMySQL
0 likes · 7 min read
Understanding MySQL utf8 vs utf8mb4 and How to Store Emoji Correctly
ITPUB
ITPUB
Jan 7, 2021 · Databases

52 Proven SQL Performance Optimization Techniques You Must Use

This article compiles 52 practical SQL performance‑tuning strategies—including index best practices, query rewrites, use of temporary tables, proper data types, and server configuration tips—to help developers dramatically speed up MySQL and other relational database queries while avoiding common pitfalls.

MySQLPerformanceSQL
0 likes · 19 min read
52 Proven SQL Performance Optimization Techniques You Must Use
Liangxu Linux
Liangxu Linux
Jan 6, 2021 · Databases

52 Proven SQL Performance Tweaks to Supercharge Your Queries

This article compiles 52 practical SQL optimization strategies—including index usage, query rewriting, avoiding full table scans, proper data types, and server configuration tips—to help developers dramatically improve query speed and overall database performance.

MySQLPerformanceSQL
0 likes · 22 min read
52 Proven SQL Performance Tweaks to Supercharge Your Queries
ITPUB
ITPUB
Jan 6, 2021 · Databases

Why Do MySQL Queries Slow Down? Understanding Write/Read Bottlenecks

This article explains why MySQL queries become slow by examining write‑operation issues such as dirty‑page flushing and locking, read‑operation problems like missing indexes and buffer‑pool evictions, and provides practical steps to diagnose and prevent these performance bottlenecks.

EXPLAINMySQLPerformance Tuning
0 likes · 11 min read
Why Do MySQL Queries Slow Down? Understanding Write/Read Bottlenecks
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 6, 2021 · Databases

Understanding MySQL Architecture: Layers, Components, and Storage Engines

This article explains the complete MySQL architecture, covering its connection, service, storage‑engine, and system‑file layers, the role of each component such as connection pools, query cache, parser, optimizer, executor, and the differences between InnoDB and MyISAM, providing practical insights for developers and interview preparation.

Database ArchitectureInnoDBMyISAM
0 likes · 13 min read
Understanding MySQL Architecture: Layers, Components, and Storage Engines
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 6, 2021 · Databases

MySQL Governance Practices at Industrial and Commercial Bank of China

This article details ICBC's extensive MySQL deployment—nearly ten thousand nodes supporting core A‑level applications—and outlines the bank's governance framework, including current challenges, standardized operational procedures, automation, containerization, and future self‑healing strategies to ensure reliable, high‑performance database services.

Database GovernanceMySQLOperations
0 likes · 16 min read
MySQL Governance Practices at Industrial and Commercial Bank of China
Beike Product & Technology
Beike Product & Technology
Jan 6, 2021 · Databases

Analyzing MySQL Deadlock Cases and Prevention Strategies

This article investigates a MySQL InnoDB deadlock observed during a holiday period, explains how gap locks and next‑key locks on a composite index cause mutual waiting, reproduces the issue with large test data, and offers practical guidelines to avoid similar deadlocks in production environments.

DeadlockGap LockInnoDB
0 likes · 12 min read
Analyzing MySQL Deadlock Cases and Prevention Strategies
Architecture Digest
Architecture Digest
Jan 6, 2021 · Backend Development

Optimizing Large-Scale Excel Import Performance in Java Backend Applications

This article details a step‑by‑step optimization of a Java backend Excel import pipeline, covering data validation caching, batch insertion with MySQL VALUES, switching to EasyExcel, parallel stream insertion, and logging reduction to achieve sub‑minute import times for hundreds of thousands of rows.

EasyExcelExcelJava
0 likes · 11 min read
Optimizing Large-Scale Excel Import Performance in Java Backend Applications
Architect
Architect
Jan 5, 2021 · Databases

MySQL Index Fundamentals: Types, Structures, and Design Principles

This article introduces MySQL index basics, covering index concepts, advantages and disadvantages, various index types such as B‑Tree, B+Tree, hash, and full‑text, their storage structures, creation syntax, left‑most prefix and covering indexes, and practical design guidelines for effective indexing.

B-TreeMySQLSQL
0 likes · 22 min read
MySQL Index Fundamentals: Types, Structures, and Design Principles
ITPUB
ITPUB
Jan 5, 2021 · Databases

Master‑Slave MySQL Replication: Full Setup, Types, and Troubleshooting

This guide explains MySQL's built‑in replication, covering statement‑, row‑, and mixed‑mode replication, step‑by‑step master‑slave configuration, user creation, binary‑log settings, topology options, cloning methods, common error scenarios, and practical troubleshooting commands.

ConfigurationMaster‑SlaveMySQL
0 likes · 28 min read
Master‑Slave MySQL Replication: Full Setup, Types, and Troubleshooting
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 5, 2021 · Databases

Using my2sql: A Go‑Based Binlog Parsing Tool for Flashback, Forwarding, and Transaction Analysis

The article introduces my2sql, a Go‑written MySQL binlog parser that supports flashback, forward SQL generation, and transaction analysis, compares it with binlog2sql and MyFlash, details its command‑line parameters, demonstrates three practical scenarios, lists limitations, and summarizes its performance and usage advantages.

GoMySQLTransaction Analysis
0 likes · 33 min read
Using my2sql: A Go‑Based Binlog Parsing Tool for Flashback, Forwarding, and Transaction Analysis
Practical DevOps Architecture
Practical DevOps Architecture
Jan 4, 2021 · Databases

New MySQL 8 Features: Invisible Indexes, Persistent Settings, UTF8MB4, CTEs, and Window Functions

This article introduces several MySQL 8 enhancements—including invisible indexes for performance testing, the SET PERSIST command for durable configuration changes, default UTF8MB4 encoding, Common Table Expressions for clearer queries, and window functions for ranking and aggregation—illustrated with practical SQL examples.

CTEMySQLWindow Functions
0 likes · 6 min read
New MySQL 8 Features: Invisible Indexes, Persistent Settings, UTF8MB4, CTEs, and Window Functions
Liangxu Linux
Liangxu Linux
Jan 4, 2021 · Databases

Mastering MySQL Replication: Types, Setup, and Troubleshooting Guide

This article provides a comprehensive guide to MySQL replication, covering built‑in replication types, the three‑step replication workflow, detailed master‑slave configuration commands, topology options, cloning methods, binlog formats, replication files, filtering, and common error scenarios with solutions.

Binary LogDatabaseMaster‑Slave
0 likes · 28 min read
Mastering MySQL Replication: Types, Setup, and Troubleshooting Guide
dbaplus Community
dbaplus Community
Jan 4, 2021 · Backend Development

HAProxy vs Nginx for MySQL 8.0 MGR: Which Load Balancer Performs Better?

This article details a practical performance and high‑availability comparison of HAProxy and Nginx as software load balancers for a MySQL 8.0 InnoDB Cluster (MGR) setup, covering environment configuration, Keepalived integration, test methodology, results, and final recommendations.

HAProxyKeepalivedMySQL
0 likes · 10 min read
HAProxy vs Nginx for MySQL 8.0 MGR: Which Load Balancer Performs Better?
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jan 4, 2021 · Backend Development

How I Optimized a Node.js Enterprise WeChat Sync Service: Lessons & Solutions

This article walks through the design, pitfalls, and deep optimizations of a Node.js + TypeScript backend that periodically syncs enterprise WeChat organization data to a MySQL store and provides a phone‑number lookup API, offering practical solutions for rate limits, process management, database conflicts, and error recovery.

MySQLNode.jsRedis
0 likes · 10 min read
How I Optimized a Node.js Enterprise WeChat Sync Service: Lessons & Solutions
Code Ape Tech Column
Code Ape Tech Column
Jan 4, 2021 · Databases

Using MySQL’s mysqlslap and Sysbench for Database Stress Testing

This article explains how to perform MySQL performance benchmarking with the built‑in mysqlslap tool and the third‑party sysbench utility, covering configuration changes, command‑line options, data preparation, execution steps, and interpretation of the resulting metrics.

MySQLSysbenchbenchmark
0 likes · 15 min read
Using MySQL’s mysqlslap and Sysbench for Database Stress Testing
Liangxu Linux
Liangxu Linux
Jan 3, 2021 · Databases

How to Benchmark MySQL Performance with Sysbench: A Step‑by‑Step Guide

This tutorial explains MySQL benchmarking fundamentals and walks you through installing sysbench, configuring test parameters, preparing data, running the benchmark, analyzing results, and applying best‑practice recommendations to accurately assess database performance.

Database PerformanceMySQLSysbench
0 likes · 11 min read
How to Benchmark MySQL Performance with Sysbench: A Step‑by‑Step Guide
Laravel Tech Community
Laravel Tech Community
Jan 3, 2021 · Databases

52 SQL Query Performance Optimization Strategies

This article presents a comprehensive collection of 52 practical SQL performance optimization techniques, covering indexing, query rewriting, use of EXISTS, avoiding full table scans, proper handling of NULLs, OR/IN clauses, temporary tables, storage engine choices, backup procedures, and other best practices to improve database efficiency.

DatabaseMySQLOptimization
0 likes · 18 min read
52 SQL Query Performance Optimization Strategies
dbaplus Community
dbaplus Community
Jan 3, 2021 · Databases

21 Essential SQL Habits to Boost Performance and Avoid Mistakes

This article presents 21 practical SQL habits covering safe delete/update usage, testing changes, backups, transaction handling, performance tuning with EXPLAIN and indexes, concise SELECT statements, proper data types, batch operations, and clean coding conventions to make your database work more reliable and efficient.

MySQLSQLdatabase optimization
0 likes · 12 min read
21 Essential SQL Habits to Boost Performance and Avoid Mistakes
Java Architect Essentials
Java Architect Essentials
Dec 31, 2020 · Databases

MySQL Single Table Optimization, Sharding, Partitioning, and Scaling Techniques

When a MySQL table grows large, performance degrades sharply, so this guide explains single‑table tuning, proper field choices, index strategies, query best practices, engine differences, system parameters, hardware upgrades, read‑write splitting, caching layers, table partitioning, vertical and horizontal sharding, and how to choose suitable sharding solutions.

DatabaseScalingIndexingMySQL
0 likes · 25 min read
MySQL Single Table Optimization, Sharding, Partitioning, and Scaling Techniques
Code Ape Tech Column
Code Ape Tech Column
Dec 31, 2020 · Databases

Understanding MySQL Transactions: Isolation Levels, MVCC, and Best Practices

This article explains MySQL transaction fundamentals, covering ACID concepts, isolation levels, MVCC implementation, transaction start methods, and practical examples that illustrate how InnoDB ensures atomicity, consistency, isolation, and durability while avoiding common pitfalls such as dirty reads and long‑running transactions.

DatabaseInnoDBIsolation Level
0 likes · 23 min read
Understanding MySQL Transactions: Isolation Levels, MVCC, and Best Practices
Practical DevOps Architecture
Practical DevOps Architecture
Dec 28, 2020 · Databases

MySQL Binlog Configuration and Usage Guide

This guide explains how to enable and configure MySQL binary logging, examine its parameters, understand event formats, view and filter binlog contents, and extract logs using positions, timestamps, or GTIDs for backup, replication, and troubleshooting purposes.

GTIDMySQLbinlog
0 likes · 6 min read
MySQL Binlog Configuration and Usage Guide
Programmer DD
Programmer DD
Dec 27, 2020 · Databases

Build a Powerful MySQL Monitoring Platform with Prometheus and Grafana

This guide walks through building a comprehensive MySQL monitoring platform using Prometheus and Grafana, covering exporter installation, configuration, key performance metrics such as replication health, query throughput, slow queries, connection limits, buffer pool usage, and provides ready‑made Grafana dashboards and alerting rules.

DatabaseExporterGrafana
0 likes · 17 min read
Build a Powerful MySQL Monitoring Platform with Prometheus and Grafana
ITPUB
ITPUB
Dec 25, 2020 · Databases

Master MySQL Index Usage: When and How Queries Leverage Indexes

This article explains how MySQL decides whether an index can be used for range scans, LIKE patterns, and ORDER BY operations, detailing key_len calculation, index key vs. filter vs. table filter distinctions, and providing concrete examples and code snippets for better query optimization.

EXPLAINIndexMySQL
0 likes · 10 min read
Master MySQL Index Usage: When and How Queries Leverage Indexes
Su San Talks Tech
Su San Talks Tech
Dec 24, 2020 · Databases

Master MySQL: Deep Dive into Execution Flow, Logs, Indexes, Transactions, and Optimization

This comprehensive guide explains MySQL's server and storage engine layers, SQL execution order, BinLog/RedoLog/UndoLog mechanisms, index structures and design principles, transaction isolation levels, lock types, MVCC, buffer pool behavior, table slimming, join strategies, statistics, random queries, and practical optimization techniques for high‑performance database operations.

Database InternalsMySQLSQL
0 likes · 43 min read
Master MySQL: Deep Dive into Execution Flow, Logs, Indexes, Transactions, and Optimization