Tagged articles
5000 articles
Page 49 of 50
Programmer DD
Programmer DD
Feb 4, 2020 · Backend Development

Master Spring Boot JDBC: Configure, Query, and Test MySQL with JdbcTemplate

This guide walks you through configuring data sources in Spring Boot, adding JDBC dependencies, using embedded databases, connecting to MySQL, defining entities and repositories with JdbcTemplate, and writing comprehensive unit tests to perform CRUD operations, illustrating a complete backend data access workflow.

BackendCRUDJava
0 likes · 9 min read
Master Spring Boot JDBC: Configure, Query, and Test MySQL with JdbcTemplate
Java Captain
Java Captain
Jan 26, 2020 · 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 run a GROUP BY query, explores several ineffective optimization attempts, reveals a client‑side limit issue, and finally solves the problem by forcing the correct index, cutting the runtime to under 0.2 seconds.

Index Optimizationdistinct vs group byexecution plan
0 likes · 5 min read
MySQL Slow Query Optimization: Reducing Execution Time from 30 Seconds to 0.19 Seconds
Java Backend Technology
Java Backend Technology
Jan 26, 2020 · Databases

Why LIMIT with Large Offsets Slows MySQL Queries and How to Fix It

The article explains how using LIMIT with a large offset on a MySQL table forces the engine to scan hundreds of thousands of index rows and cluster‑index pages, dramatically increasing I/O, and shows a sub‑query join technique that reduces the scan to just the needed rows, cutting execution time from minutes to fractions of a second while also illustrating the impact on the InnoDB buffer pool.

LIMITmysqlperformance
0 likes · 10 min read
Why LIMIT with Large Offsets Slows MySQL Queries and How to Fix It
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 20, 2020 · Databases

DBLE Slow Query Log – Demonstration and Usage

This tutorial demonstrates how to enable, configure, and analyze DBLE’s slow query log—compatible with MySQL’s mysqldumpslow and Percona’s pt‑query‑digest—by generating sample queries, examining log rotation, and using the tools to inspect performance details, while also providing community resources and course information.

DBLESlow Query Loglogging
0 likes · 4 min read
DBLE Slow Query Log – Demonstration and Usage
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 19, 2020 · Databases

MySQL Join Optimization: Understanding BNL vs NLJ and Index Issues with Character Set Mismatches

This article analyzes a slow MySQL LEFT JOIN query, explains why the optimizer chose the inefficient Block Nested Loop algorithm instead of Index Nested Loop, shows how character‑set and collation differences cause index loss, and demonstrates how converting to INNER JOIN or fixing indexes restores high performance.

BNLJOIN optimizationNLJ
0 likes · 10 min read
MySQL Join Optimization: Understanding BNL vs NLJ and Index Issues with Character Set Mismatches
Big Data Technology & Architecture
Big Data Technology & Architecture
Jan 15, 2020 · Databases

Understanding and Using Hash Join in MySQL 8.0

This article explains the concept of Hash Join in MySQL 8.0, compares it with Nested Loop joins, shows how to enable or force it with server variables or hints, and presents performance benchmarks that demonstrate its speed advantages on large datasets.

Hash JoinPerformance TestingSQL
0 likes · 12 min read
Understanding and Using Hash Join in MySQL 8.0
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 15, 2020 · Databases

MySQL 5.7 Monitoring and Troubleshooting Guide: Connections, Long Transactions, Metadata Locks, and More

This guide provides a comprehensive overview of MySQL 5.7 monitoring techniques, covering connection parameters, long‑running transactions, metadata lock tracing, lock‑wait analysis, global read locks, memory usage, partitioned tables, database size summaries, table update status, primary key and index considerations, storage engine distribution, and real‑time load metrics.

SQLmysqltroubleshooting
0 likes · 6 min read
MySQL 5.7 Monitoring and Troubleshooting Guide: Connections, Long Transactions, Metadata Locks, and More
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 14, 2020 · Databases

MySQL 8.0.19 Maintenance Release – New Features and Improvements

MySQL 8.0.19 introduces InnoDB ReplicaSet, Router enhancements, numerous SQL syntax additions, optimizer improvements, new Information Schema role views, security features, replication options, X Protocol compression, and a range of deprecations and bug fixes, providing a comprehensive update for database administrators and developers.

InnoDBReplicationSecurity
0 likes · 12 min read
MySQL 8.0.19 Maintenance Release – New Features and Improvements
Senior Brother's Insights
Senior Brother's Insights
Jan 14, 2020 · Databases

Mastering Database Sharding: When, Why, and How to Split Your Data

This comprehensive guide explains the motivations, methods, and trade‑offs of database sharding—including vertical and horizontal partitioning, sharding rules, handling cross‑node joins, distributed transactions, global primary key generation, and practical migration strategies—so you can scale relational databases effectively.

Distributed TransactionsGlobal ID Generationdatabase sharding
0 likes · 24 min read
Mastering Database Sharding: When, Why, and How to Split Your Data
macrozheng
macrozheng
Jan 14, 2020 · Databases

How to Set Up MySQL Master‑Slave Replication in Docker (Step‑by‑Step Guide)

This article explains the principles of MySQL master‑slave replication and provides a detailed, step‑by‑step tutorial for configuring a master and a slave instance in a Docker environment, including configuration files, Docker commands, replication setup, testing, and troubleshooting.

DockerMaster‑SlaveReplication
0 likes · 9 min read
How to Set Up MySQL Master‑Slave Replication in Docker (Step‑by‑Step Guide)
Architecture Digest
Architecture Digest
Jan 13, 2020 · Databases

Understanding Index Usage and Slow Queries in MySQL

This article explains why using an index does not guarantee a fast query in MySQL, analyzes how slow‑query detection works, demonstrates full‑index scans, discusses index selectivity, the cost of row‑lookup (back‑table) operations, and shows how virtual columns and index condition push‑down can improve performance.

indexesmysqlquery optimization
0 likes · 12 min read
Understanding Index Usage and Slow Queries in MySQL
ITPUB
ITPUB
Jan 10, 2020 · Databases

How One MySQL Instance Impacts Millions: The Hidden Life‑and‑Death Stakes of Open‑Source Software

This article reveals how open‑source software like MySQL powers critical systems—from hospital patient records to massive retail operations—illustrating that a single code error or missing backup can affect tens of millions of people worldwide, underscoring the profound responsibility of open‑source contributors.

ReliabilitySoftware Impactdatabases
0 likes · 7 min read
How One MySQL Instance Impacts Millions: The Hidden Life‑and‑Death Stakes of Open‑Source Software
dbaplus Community
dbaplus Community
Jan 9, 2020 · Databases

Mastering Vitess: Scaling MySQL with Cloud‑Native Sharding and Resharding

This article introduces Vitess, a cloud‑native MySQL sharding middleware, explains its key features, architecture, core concepts such as cells, keyspaces, shards and vindexes, and provides a step‑by‑step guide to performing a reshard from two to four shards while highlighting operational challenges and practical recommendations.

Cloud NativeDatabase MiddlewareResharding
0 likes · 13 min read
Mastering Vitess: Scaling MySQL with Cloud‑Native Sharding and Resharding
21CTO
21CTO
Jan 9, 2020 · Databases

Why MySQL Won 2019 DBMS of the Year and What It Means for Database Trends

The 2019 DB-Engines ranking crowned MySQL as the most popular DBMS, with Oracle and Microsoft SQL Server following, and discusses how relational databases dominate while NoSQL systems remain vital, highlighting evolving features and the implications for future database technology choices.

DBMSDatabase RankingsNoSQL
0 likes · 9 min read
Why MySQL Won 2019 DBMS of the Year and What It Means for Database Trends
MaGe Linux Operations
MaGe Linux Operations
Jan 8, 2020 · Operations

Essential Linux Ops Interview Guide: From RAID to Load Balancing

This article compiles a comprehensive set of Linux operations interview questions and answers covering fundamentals such as the definition of ops, RAID levels, load‑balancing tools, middleware, MySQL troubleshooting, scripting, network diagnostics, and best‑practice optimization techniques for system administrators.

NetworkingSysadmininterview
0 likes · 38 min read
Essential Linux Ops Interview Guide: From RAID to Load Balancing
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 8, 2020 · Databases

Percona Toolkit Utilities for MySQL: Archiving, Config Comparison, Replication Lag, Variable Advice, and Debugging

This guide introduces several Percona Toolkit command‑line tools—pt‑archiver, pt‑config‑diff, pt‑heartbeat, pt‑variable‑advisor, and pt‑pmp—explaining their purpose, providing example commands for data archiving, configuration comparison, accurate replication lag measurement, variable optimization suggestions, and stack‑trace debugging, plus a quick installation snippet.

Database Administrationmysqlpercona-toolkit
0 likes · 11 min read
Percona Toolkit Utilities for MySQL: Archiving, Config Comparison, Replication Lag, Variable Advice, and Debugging
Architecture Digest
Architecture Digest
Jan 5, 2020 · Databases

Data Sharding, Partitioning, and Distributed ID Strategies for Relational Databases

This article explains why relational databases become bottlenecks at large scale, introduces vertical and horizontal sharding techniques, discusses the challenges of distributed transactions, cross‑shard queries, pagination, and global primary‑key generation, and provides practical guidelines and middleware options for implementing sharding in production systems.

Vertical Partitioningdatabase partitioningdistributed-id
0 likes · 23 min read
Data Sharding, Partitioning, and Distributed ID Strategies for Relational Databases
Senior Brother's Insights
Senior Brother's Insights
Jan 4, 2020 · Databases

How iQIYI Chooses, Optimizes, and Manages Its Diverse Database Stack

This article walks through iQIYI's practical approach to database selection, covering key evaluation dimensions, a taxonomy of SQL/NoSQL and OLTP/OLAP workloads, detailed optimizations for MySQL, Redis, Couchbase and the internally built HiKV, as well as multi‑stage operational management and concrete selection recommendations.

CouchbaseHiKVdatabase selection
0 likes · 21 min read
How iQIYI Chooses, Optimizes, and Manages Its Diverse Database Stack
Programmer DD
Programmer DD
Jan 3, 2020 · Databases

How to Supercharge MySQL Queries: 8 Proven Optimization Techniques

This article explores common MySQL performance pitfalls such as inefficient LIMIT usage, implicit type conversion, subquery handling, and mixed sorting, and demonstrates eight practical rewrite strategies—including index‑friendly pagination, JOIN replacements, condition pushdown, and WITH clauses—to dramatically reduce query execution times from seconds to milliseconds.

Database PerformanceQuery TuningSQL Optimization
0 likes · 8 min read
How to Supercharge MySQL Queries: 8 Proven Optimization Techniques
macrozheng
macrozheng
Dec 31, 2019 · Databases

10 Common MySQL Index Pitfalls and How to Fix Them

This article analyzes ten typical situations that cause MySQL indexes to become ineffective—such as OR conditions, missing quotes, leading wildcards in LIKE, composite‑index ordering, built‑in functions, arithmetic operations, inequality operators, NULL checks, charset mismatches, and optimizer choices—and provides concrete examples, visual explanations, and practical solutions to restore index usage.

Database PerformanceSQLmysql
0 likes · 11 min read
10 Common MySQL Index Pitfalls and How to Fix Them
ITPUB
ITPUB
Dec 30, 2019 · Databases

8 Proven MySQL Tricks to Supercharge Your Queries

This article presents eight practical MySQL optimization techniques—including smarter LIMIT usage, implicit type conversion fixes, join rewrites, mixed sorting, EXISTS elimination, condition pushdown, early row limiting, and intermediate result pushdown—each illustrated with SQL examples and performance comparisons that reduce query times from seconds to milliseconds.

EXISTSJOINLIMIT
0 likes · 13 min read
8 Proven MySQL Tricks to Supercharge Your Queries
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 30, 2019 · Databases

Understanding MySQL Full‑Table‑Scan Data Access and Field Filtering Process

This article explains how MySQL processes a full‑table‑scan query, detailing the construction of read‑sets, template creation, cursor positioning, row conversion to MySQL format, where‑clause filtering, and subsequent row iteration, while highlighting the performance impact of the number of selected fields.

Database InternalsFull Table ScanPerformance Optimization
0 likes · 11 min read
Understanding MySQL Full‑Table‑Scan Data Access and Field Filtering Process
Architecture Digest
Architecture Digest
Dec 28, 2019 · Databases

Comprehensive Guide to MySQL Optimization: Philosophy, Tools, and Practical Steps

This article provides a thorough overview of MySQL optimization, covering the underlying philosophy, risk considerations, participants, optimization scope across hardware, system, application, and database layers, practical tools, command‑line techniques, and detailed tuning recommendations for both system and database parameters.

Database OptimizationHardwareLinux
0 likes · 9 min read
Comprehensive Guide to MySQL Optimization: Philosophy, Tools, and Practical Steps
Programmer DD
Programmer DD
Dec 25, 2019 · Databases

How MySQL Locks DELETE Rows: MVCC, Isolation Levels, and Index Types Explained

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

InnoDBIsolation LevelsMVCC
0 likes · 15 min read
How MySQL Locks DELETE Rows: MVCC, Isolation Levels, and Index Types Explained
Liangxu Linux
Liangxu Linux
Dec 23, 2019 · Databases

Boost MySQL Performance: Practical Tips for LIMIT, Implicit Conversion, Joins, and More

This article presents concrete MySQL optimization techniques—including smarter LIMIT usage, avoiding implicit type conversion, rewriting updates and deletes with JOINs, handling mixed ordering, replacing EXISTS with joins, pushing down conditions, and leveraging WITH clauses—to dramatically reduce query execution times from seconds to milliseconds.

EXISTSJOINLIMIT
0 likes · 14 min read
Boost MySQL Performance: Practical Tips for LIMIT, Implicit Conversion, Joins, and More
ITPUB
ITPUB
Dec 17, 2019 · Databases

Mastering LEFT JOIN: Common Pitfalls and Practical Solutions

This article explains the fundamentals of LEFT JOIN in SQL, illustrates one‑to‑one, one‑to‑many, and many‑to‑many scenarios, compares ON versus WHERE conditions, and provides concrete MySQL and Hive examples with code snippets and visual diagrams to avoid common mistakes.

HiveJoin TypesLEFT JOIN
0 likes · 14 min read
Mastering LEFT JOIN: Common Pitfalls and Practical Solutions
Architecture Digest
Architecture Digest
Dec 17, 2019 · Databases

Scaling Dada's Delivery Platform: From Simple Architecture to Read/Write Separation, Vertical and Horizontal Sharding

This article chronicles Dada's rapid growth from a single‑database backend to a multi‑layer architecture that employs MySQL read/write separation, vertical partitioning, and horizontal sharding with a custom ID generator to sustain millions of daily orders while maintaining performance and stability.

BackendArchitectureDatabaseScalingReadWriteSeparation
0 likes · 14 min read
Scaling Dada's Delivery Platform: From Simple Architecture to Read/Write Separation, Vertical and Horizontal Sharding
dbaplus Community
dbaplus Community
Dec 16, 2019 · Databases

MySQL 8.0 vs MariaDB 10.4: Authentication, InnoDB, Clone, Optimizer & Backup Highlights

This article compares key new features of MySQL 8.0 and MariaDB 10.4—including authentication plugin changes, Unix‑socket auth, atomic DDL, instant column adds, clone plugin usage, optimizer enhancements, resource groups, query‑rewrite, and backup tools—providing step‑by‑step commands, code snippets, and practical caveats for database upgrades.

AuthenticationBackupMariaDB
0 likes · 21 min read
MySQL 8.0 vs MariaDB 10.4: Authentication, InnoDB, Clone, Optimizer & Backup Highlights
Architecture Digest
Architecture Digest
Dec 16, 2019 · Databases

iQIYI’s Database Selection, Optimization, and Management Practices

This article discusses iQIYI’s approach to database selection, covering evaluation criteria, the variety of databases used—including MySQL, TiDB, Redis, Couchbase, and the in‑house HiKV—along with detailed optimization, high‑availability, auditing, and operational management techniques for each system.

CouchbaseHiKVdatabase selection
0 likes · 20 min read
iQIYI’s Database Selection, Optimization, and Management Practices
dbaplus Community
dbaplus Community
Dec 15, 2019 · Databases

10 MySQL Techniques to Sort Custom Role Levels (Make 2 > 3)

This article tackles the challenge of ordering hard‑coded role levels in a MySQL table by presenting ten distinct SQL solutions—including adding a helper column, using FIELD, FIND_IN_SET, CASE, subqueries, UNION, hash‑based formulas, and custom arithmetic—so that a "vice‑manager" (level 2) can be ranked above a "manager" (level 3).

Custom OrderSQLSorting
0 likes · 10 min read
10 MySQL Techniques to Sort Custom Role Levels (Make 2 > 3)
Big Data Technology & Architecture
Big Data Technology & Architecture
Dec 14, 2019 · Databases

MySQL Logical Architecture, Query Process, and Performance Optimization

This article explains MySQL's three‑layer logical architecture, the end‑to‑end query execution flow—including client/server protocol, query cache, parsing, cost‑based optimization, execution engine, and result delivery—followed by practical performance‑tuning advice on schema design, data types, index creation, and specific query optimizations such as COUNT(), JOINs, LIMIT pagination, and UNION handling.

Database PerformanceSQLindexing
0 likes · 34 min read
MySQL Logical Architecture, Query Process, and Performance Optimization
21CTO
21CTO
Dec 12, 2019 · Databases

Why Does Alibaba’s Java Handbook Ban Joins Over Three Tables? A Deep MySQL & Oracle Performance Test

This article investigates the claim from Alibaba's Java Development Manual that joining more than three tables should be avoided, by setting up a MySQL 5.7 environment, generating massive synthetic data, executing multi‑table join queries, analyzing execution times, and comparing the results with Oracle, ultimately revealing the practical limits of MySQL joins on large data sets.

Data GenerationDatabase OptimizationJoin Performance
0 likes · 12 min read
Why Does Alibaba’s Java Handbook Ban Joins Over Three Tables? A Deep MySQL & Oracle Performance Test
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 12, 2019 · Databases

Analyzing MySQL Binary Log Events with the infobin Tool

This article introduces the open‑source infobin utility for parsing MySQL binary logs, explains how it detects long‑running and large transactions, measures event generation speed, aggregates per‑table DML events, and demonstrates its usage with sample commands and output, offering a faster alternative to mysqlbinlog.

SQLbinary logdatabase analysis
0 likes · 11 min read
Analyzing MySQL Binary Log Events with the infobin Tool
Selected Java Interview Questions
Selected Java Interview Questions
Dec 12, 2019 · Databases

Why Split Databases? An Introduction to Vertical and Horizontal Sharding

This article explains the reasons for splitting databases, describes vertical and horizontal sharding techniques, compares their benefits and drawbacks, and advises performing horizontal sharding before vertical partitioning to improve scalability and performance in large‑scale applications.

Vertical Partitioningdatabase shardinghorizontal partitioning
0 likes · 9 min read
Why Split Databases? An Introduction to Vertical and Horizontal Sharding
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 11, 2019 · Databases

MySQL CPU Saturation Case Study: Analyzing and Optimizing a Slow ORDER BY Query

This article examines a MySQL instance that hit 100% CPU at 9 am on 2019‑01‑11, identifies the offending ORDER BY query through slow‑log and EXPLAIN analysis, and demonstrates how adding a composite index and correcting implicit type conversions reduced execution time from over 10 seconds to milliseconds.

Index Optimizationmysqlperformance tuning
0 likes · 7 min read
MySQL CPU Saturation Case Study: Analyzing and Optimizing a Slow ORDER BY Query
ITPUB
ITPUB
Dec 9, 2019 · Fundamentals

Master Date Operations in pandas and SQL: Retrieval, Conversion, and Calculation

This tutorial walks through loading order data into pandas and SQL, then demonstrates how to retrieve current dates, extract date components, convert between readable dates and Unix timestamps, transform between 10‑digit and 8‑digit date formats, and perform date arithmetic using pandas, MySQL, and Hive.

HiveSQLdata-processing
0 likes · 16 min read
Master Date Operations in pandas and SQL: Retrieval, Conversion, and Calculation
Architecture Digest
Architecture Digest
Dec 6, 2019 · Databases

Understanding InnoDB Index Structures: B+ Trees, Covering Indexes, and Best Practices

This article explains how MySQL InnoDB implements indexes with B+ trees, describes primary and secondary (clustered and non‑clustered) indexes, the concepts of row lookup, covering indexes, composite indexes, the left‑most prefix rule, index push‑down, and provides practical guidelines for creating and maintaining efficient indexes.

B+TreeDatabase OptimizationInnoDB
0 likes · 10 min read
Understanding InnoDB Index Structures: B+ Trees, Covering Indexes, and Best Practices
dbaplus Community
dbaplus Community
Dec 3, 2019 · Databases

How iQIYI Selects, Optimizes, and Manages Its Diverse Database Stack

This article explains iQIYI's multi‑dimensional approach to database selection, details the practical use and optimization of MySQL, TiDB, Redis, Couchbase, and the internally built HiKV, and offers concrete recommendations for choosing the right database in different scenarios.

CouchbaseHiKVTiDB
0 likes · 20 min read
How iQIYI Selects, Optimizes, and Manages Its Diverse Database Stack
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 3, 2019 · Databases

Understanding How MySQL SHOW PROCESSLIST Calculates the Time Column and Why Negative Values Appear

This article explains the internal calculation of the Time column shown by MySQL's SHOW PROCESSLIST command, covering the source functions, overloads of THD::set_time, various scenarios that affect the result—including replication lag, manual timestamp settings, and idle sessions—and why Percona and official builds may display different values.

Database InternalsReplicationSHOW PROCESSLIST
0 likes · 10 min read
Understanding How MySQL SHOW PROCESSLIST Calculates the Time Column and Why Negative Values Appear
MaGe Linux Operations
MaGe Linux Operations
Dec 1, 2019 · Databases

Unlock MySQL Performance: Deep Dive into Query Optimization & Index Design

This article explains MySQL's logical architecture, query execution steps, client‑server protocol, query cache behavior, cost‑based optimizer mechanics, and practical index design strategies—including B+Tree fundamentals, covering indexes, and common pitfalls—to help developers achieve measurable performance improvements.

Database Performancecost‑based optimizerindex design
0 likes · 32 min read
Unlock MySQL Performance: Deep Dive into Query Optimization & Index Design
Java Backend Technology
Java Backend Technology
Dec 1, 2019 · Databases

Why Large LIMIT Offsets Slow MySQL Queries and How to Fix Them

This article explains how using a large OFFSET in a MySQL LIMIT clause forces the server to scan hundreds of thousands of index and data pages, causing massive random I/O, and demonstrates a faster rewrite with an inner join that dramatically reduces buffer‑pool usage and execution time.

InnoDBLIMITbuffer pool
0 likes · 7 min read
Why Large LIMIT Offsets Slow MySQL Queries and How to Fix Them
Java High-Performance Architecture
Java High-Performance Architecture
Nov 28, 2019 · Databases

How MySQL 8’s Hash Join Boosts Query Performance

Learn how MySQL 8’s hash join algorithm works by building an in‑memory hash table from the smaller table, probing the larger table for matches, and handling oversized tables through disk‑based chunk files, offering a more efficient alternative to traditional nested‑loop joins.

Hash JoinJoin AlgorithmsSQL
0 likes · 5 min read
How MySQL 8’s Hash Join Boosts Query Performance
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 27, 2019 · Databases

Using dbdeployer to Quickly Set Up MySQL Test Environments

This guide introduces the dbdeployer tool, walks through its installation on macOS/Linux, shows how to configure sandbox paths, download MySQL binaries, and deploy various MySQL topologies such as single nodes, master‑slave replication, and group replication with one‑click commands.

Automationdatabase testingdbdeployer
0 likes · 10 min read
Using dbdeployer to Quickly Set Up MySQL Test Environments
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 25, 2019 · Databases

Installing and Configuring DBLE with Docker and MySQL

This tutorial demonstrates how to install DBLE using a Docker‑based MySQL environment, configure its XML templates to connect to two MySQL instances, start the DBLE service, and manage databases and tables through the DBLE console, including practical code examples.

ConfigurationDBLEDocker
0 likes · 7 min read
Installing and Configuring DBLE with Docker and MySQL
IT Architects Alliance
IT Architects Alliance
Nov 21, 2019 · Databases

Why MySQL Subqueries Took Hours and How Indexes Fixed It

A MySQL 5.6 database with three large tables suffered a 30,000‑second query when searching for students scoring 100 in a specific subject; by analyzing the execution plan, adding indexes on filter columns, and rewriting the query as a join, execution time dropped to under a second.

JOINSQL OptimizationSubquery
0 likes · 8 min read
Why MySQL Subqueries Took Hours and How Indexes Fixed It
dbaplus Community
dbaplus Community
Nov 21, 2019 · Databases

How to Build a Real‑Time MySQL Statistics Platform with ClickHouse

This article explains how a growing company designed, optimized, and deployed a comprehensive MySQL monitoring and analysis pipeline—moving from Flume‑HDFS‑Hive to ClickTail‑ClickHouse, enriching SQL parsing, and applying practical methods for state statistics, trend analysis, permission management, and data‑skew detection.

DBADatabase MonitoringSQL Analytics
0 likes · 16 min read
How to Build a Real‑Time MySQL Statistics Platform with ClickHouse
21CTO
21CTO
Nov 21, 2019 · Databases

How I Reduced a 30,000‑second MySQL Query to 0.001s with Indexes & Joins

This article walks through a real‑world MySQL performance case where a nested sub‑query on millions of rows took over eight hours, explains why the plan used full table scans, and shows step‑by‑step index creation and query rewrites that cut the execution time to a millisecond.

JOINSQL OptimizationSubquery
0 likes · 7 min read
How I Reduced a 30,000‑second MySQL Query to 0.001s with Indexes & Joins
Java Backend Technology
Java Backend Technology
Nov 21, 2019 · Databases

Boost MySQL Performance: 8 Proven Tricks to Slash Query Times

This article examines common MySQL performance pitfalls such as inefficient LIMIT usage, implicit type conversion, suboptimal joins, mixed sorting, and unpushed predicates, and demonstrates eight practical rewriting techniques—including using max values, JOINs, WITH clauses, and early range reduction—to dramatically accelerate query execution.

SQL Optimizationdatabasemysql
0 likes · 7 min read
Boost MySQL Performance: 8 Proven Tricks to Slash Query Times
Programmer DD
Programmer DD
Nov 21, 2019 · Databases

Why Alibaba’s Java Handbook Limits Joins and How to Write Efficient SQL

The article explains why the Alibaba Java Development Manual restricts joins to three tables, discusses MySQL’s join algorithm limitations, and offers practical alternatives such as query decomposition, denormalization, and using IN or hash joins to improve performance.

Database designDenormalizationSQL Optimization
0 likes · 6 min read
Why Alibaba’s Java Handbook Limits Joins and How to Write Efficient SQL
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 19, 2019 · Databases

Understanding Hash Join in MySQL 8.0.18

This article explains how MySQL 8.0.18 introduces the hash join algorithm, describes its build and probe phases, disk‑overflow handling, usage instructions, optimizer switches, performance comparisons with block nested loops, and current limitations, providing code examples and practical guidance.

Hash JoinJoin AlgorithmsSQL
0 likes · 9 min read
Understanding Hash Join in MySQL 8.0.18
iQIYI Technical Product Team
iQIYI Technical Product Team
Nov 15, 2019 · Databases

Database Selection Strategies and iQIYI's Implementation of MySQL, Redis, Couchbase, and HiKV

The article outlines practical database selection criteria—cost, stability, performance, scalability, security—and details iQIYI’s concrete implementations of MySQL, Redis, Couchbase, and the custom HiKV store, describing their architectures, backup and scaling mechanisms, operational tooling evolution, and a decision‑tree guide for matching workloads to the appropriate database technology.

CouchbaseDatabase operationsHiKV
0 likes · 18 min read
Database Selection Strategies and iQIYI's Implementation of MySQL, Redis, Couchbase, and HiKV
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 14, 2019 · Databases

Understanding InnoDB Tablespace Space Management

This article explains how InnoDB stores user tables and indexes in .ibd files, describes the structure of tablespaces, pages, extents, header pages, XDES entries, INODE pages, and file segments, and shows how indexes allocate and free these internal structures as they grow and shrink.

Database InternalsInnoDBPages
0 likes · 10 min read
Understanding InnoDB Tablespace Space Management
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 13, 2019 · Databases

Resolving High SQL‑Kill Rate Caused by Buffer‑Pool Dirty‑Page Saturation in MySQL

The article analyzes a recurring MySQL alarm where over 200 SQL statements are killed per minute due to buffer‑pool latch contention and a near‑90% dirty‑page ratio, then demonstrates how adjusting InnoDB parameters and doubling the buffer‑pool size eliminated the kills and restored performance.

Database operationsDirty PagesSQL Kill
0 likes · 7 min read
Resolving High SQL‑Kill Rate Caused by Buffer‑Pool Dirty‑Page Saturation in MySQL
Efficient Ops
Efficient Ops
Nov 11, 2019 · Operations

Top 10 Linux Ops Troubleshooting Tips Every Sysadmin Should Know

This article compiles ten common Linux operational problems—from shell script failures and cron output issues to disk space exhaustion and MySQL errors—detailing their causes and step‑by‑step solutions to help sysadmins quickly diagnose and resolve system faults.

LinuxShellSysadmin
0 likes · 11 min read
Top 10 Linux Ops Troubleshooting Tips Every Sysadmin Should Know
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 11, 2019 · Databases

Will MySQL Be Subject to “Bottleneck” Restrictions? An Analysis of US and Chinese Export Controls and Technical Viability

The article examines whether MySQL, especially the Community Edition, faces commercial or regulatory “bottleneck” risks by reviewing US export control rules, Chinese policy guidance, and the technical feasibility of MySQL’s high‑availability architectures, concluding that current policies pose no significant threat.

Database ArchitectureExport controlshigh availability
0 likes · 8 min read
Will MySQL Be Subject to “Bottleneck” Restrictions? An Analysis of US and Chinese Export Controls and Technical Viability
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 8, 2019 · Databases

Using MySQL auth_socket Plugin for Password‑less Authentication

This article explains how the auth_socket (MySQL) and unix_socket (MariaDB) plugins enable password‑less login by mapping operating‑system users to MySQL accounts, walks through installing and enabling the plugins on Debian, Ubuntu, MariaDB, and Percona Server, and demonstrates creating and using socket‑authenticated users.

PasswordlessPerconaUnix socket authentication
0 likes · 8 min read
Using MySQL auth_socket Plugin for Password‑less Authentication