Tagged articles
5000 articles
Page 41 of 50
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.

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

Database OptimizationLarge DataTokuDB
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.

ConfigurationMaster‑SlaveReplication
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.

Database GovernanceICBCLarge‑Scale Deployment
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.

Database GovernanceLarge‑Scale DeploymentPerformance Monitoring
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 AdministrationLinux securitySELinux
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.

Database designSQL Guidelinesbackend-development
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 SetEmojiencoding
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.

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

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

dirty pageexplainmysql
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 GovernanceOperationsPerformance Automation
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.

Gap LockInnoDBdeadlock
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.

ExcelMyBatisParallelStream
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-TreeDatabase Optimizationindexes
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‑SlaveReplication
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.

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

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

Master‑Slavebinary logdatabase
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.

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

Node.jsSchedulingWeChat API
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.

Sysbenchbenchmarkmysql
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 PerformanceLinuxSysbench
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.

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

Database Optimizationmysqlsql
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.

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

InnoDBIsolation LevelMVCC
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.

BinlogGTIDmysql
0 likes · 6 min read
MySQL Binlog Configuration and Usage Guide
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 28, 2020 · Operations

Building a Custom MySQL Observation Tool with bcc and eBPF

This tutorial explains how to create a Python‑based eBPF tool using the bcc framework to trace MySQL Group Replication's apply_data_packet function, covering environment setup, BPF program writing, attaching probes, and displaying real‑time thread and timestamp information.

BCCPerformance MonitoringPython
0 likes · 8 min read
Building a Custom MySQL Observation Tool with bcc and eBPF
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.

ExporterGrafanaMetrics
0 likes · 17 min read
Build a Powerful MySQL Monitoring Platform with Prometheus and Grafana
Liangxu Linux
Liangxu Linux
Dec 26, 2020 · Databases

Master MySQL Performance: Practical Soft and Hard Optimization Techniques

This guide explains how to boost MySQL performance through soft optimizations like query analysis, index usage, and table restructuring, as well as hard optimizations involving hardware upgrades, configuration tuning, sharding, read‑write splitting, and cache clustering.

CacheDatabase Optimizationindexing
0 likes · 8 min read
Master MySQL Performance: Practical Soft and Hard Optimization Techniques
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.

Range ScanSortingexplain
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 Internalsindexesmysql
0 likes · 43 min read
Master MySQL: Deep Dive into Execution Flow, Logs, Indexes, Transactions, and Optimization
vivo Internet Technology
vivo Internet Technology
Dec 23, 2020 · Backend Development

How Vivo Scaled Its Order System: Sharding, Migration, and Real‑World Lessons

This article details how Vivo transformed its monolithic e‑commerce order service into a scalable, service‑oriented system by applying data archiving, sharding‑JDBC based sharding, MySQL‑to‑Elasticsearch sync, zero‑downtime migration, and distributed‑transaction techniques, while sharing practical pitfalls and performance results.

Distributed SystemsElasticsearchMicroservices
0 likes · 17 min read
How Vivo Scaled Its Order System: Sharding, Migration, and Real‑World Lessons
Code Ape Tech Column
Code Ape Tech Column
Dec 23, 2020 · Databases

Master MySQL Indexes: Why B+Tree Outperforms Other Structures

This article explains how proper index creation boosts MySQL query performance, detailing the mechanics of indexes, why B+Tree is chosen over binary and balanced trees, the storage differences between MyISAM and InnoDB, and practical guidelines for designing effective single‑column, composite, and covering indexes.

B+TreeDatabase Optimizationindexing
0 likes · 19 min read
Master MySQL Indexes: Why B+Tree Outperforms Other Structures
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 21, 2020 · Databases

MySQL Backup and Recovery: Strategies, Tools, and Best Practices

This article explains the importance of MySQL backup and recovery, outlines common failure scenarios, recommends backup architectures and verification processes, reviews popular logical and physical backup tools such as mysqldump, mydumper, and xtrabackup, and shares practical case studies and best‑practice guidelines.

BackupDatabase AdministrationRecovery
0 likes · 10 min read
MySQL Backup and Recovery: Strategies, Tools, and Best Practices
System Architect Go
System Architect Go
Dec 20, 2020 · Databases

Understanding the MySQL Client/Server Protocol: Connection and Replication

This article explains the MySQL client‑server communication protocol, detailing the connection phase—including handshake, authentication, and packet structure—as well as the replication process, covering registration as a slave, binlog streaming, and the various binlog event types and their formats.

BinlogClient-Server ProtocolHandshake
0 likes · 12 min read
Understanding the MySQL Client/Server Protocol: Connection and Replication
Architect
Architect
Dec 19, 2020 · Databases

Understanding MySQL Indexes: B+ Tree Principles and Optimization

This article explains why MySQL uses B+ trees for indexing, describes the underlying principles of various index types, compares MyISAM and InnoDB implementations, and provides practical optimization guidelines such as using auto‑increment primary keys, left‑most prefix rules, and configuration tuning.

B+TreeDatabase OptimizationInnoDB
0 likes · 22 min read
Understanding MySQL Indexes: B+ Tree Principles and Optimization
Programmer DD
Programmer DD
Dec 19, 2020 · Databases

Master MySQL Locks: Isolation Levels, Types, and Deadlock Solutions

This article explains MySQL locking mechanisms, covering lock concepts, isolation level interactions, lock granularity (row, table, page), lock types (shared, exclusive, record, gap, next-key), InnoDB row‑lock implementation, deadlock causes and remedies, and the differences between optimistic and pessimistic locking.

Database ConcurrencyInnoDBIsolation Levels
0 likes · 10 min read
Master MySQL Locks: Isolation Levels, Types, and Deadlock Solutions
Code Ape Tech Column
Code Ape Tech Column
Dec 19, 2020 · Databases

How to Tackle Database Bottlenecks with Sharding, Horizontal & Vertical Partitioning

This article analyzes common database performance bottlenecks, explains when to apply IO‑ or CPU‑focused optimizations, and provides a detailed guide to horizontal and vertical sharding, partitioning strategies, tooling choices, implementation steps, and practical pitfalls for scalable systems.

Distributed SystemsScalabilityVertical Partitioning
0 likes · 10 min read
How to Tackle Database Bottlenecks with Sharding, Horizontal & Vertical Partitioning
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 18, 2020 · Databases

Analyzing MySQL Replication Heartbeat Incompatibility Caused by Large Binlog Transactions

The article investigates why MySQL replication reports the error “heartbeat is not compatible with local info” when large transactions exceed the 4 GB limit of the binlog's next_position field, reproduces the issue with a controlled experiment, analyzes packet structures, and proposes practical mitigation strategies.

HeartbeatLarge TransactionsReplication
0 likes · 7 min read
Analyzing MySQL Replication Heartbeat Incompatibility Caused by Large Binlog Transactions
Laravel Tech Community
Laravel Tech Community
Dec 17, 2020 · Databases

Understanding Index Usage and Slow Queries in MySQL

This article explains why using indexes in MySQL does not always prevent slow queries, analyzes full‑index scans, index selectivity, back‑table lookups, virtual columns, and provides practical optimization techniques to reduce scanned rows and improve performance.

Database PerformanceSlow QueriesVirtual Columns
0 likes · 11 min read
Understanding Index Usage and Slow Queries in MySQL
Tencent Database Technology
Tencent Database Technology
Dec 17, 2020 · Databases

Understanding MySQL Character Set Variables

This article explains the purpose and usage of MySQL character set system variables, illustrates how they affect client‑server communication and file handling, and provides practical examples and diagrams to help developers correctly configure character sets for optimal performance.

Database Variablesencodingmysql
0 likes · 9 min read
Understanding MySQL Character Set Variables
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 17, 2020 · Operations

Root Cause Analysis of MySQL "Opening tables" Stalls Caused by Poor Disk Write Performance and InnoDB Redo Log Flush

The article investigates why a MySQL instance experiences frequent "Opening tables" states, analyzing stack traces, identifying a data dictionary lock held by the dict_stats_thread, and concluding that slow disk writes trigger InnoDB's synchronous dirty‑page flush, blocking many operations.

Disk I/OInnoDBOpening tables
0 likes · 14 min read
Root Cause Analysis of MySQL "Opening tables" Stalls Caused by Poor Disk Write Performance and InnoDB Redo Log Flush
ITPUB
ITPUB
Dec 15, 2020 · Information Security

How Dark‑Web Ransomware Hijacks MySQL Databases and Sells Them for $550

The article explains how ransomware gangs steal MySQL databases, automate ransom‑payment portals on the dark web, auction unsold data, and accept Bitcoin, revealing the scale of over 85,000 databases for sale at roughly $500‑$550 each.

Information Securitydark webdata breach
0 likes · 4 min read
How Dark‑Web Ransomware Hijacks MySQL Databases and Sells Them for $550
Java Backend Technology
Java Backend Technology
Dec 15, 2020 · Databases

Deep Dive into MySQL: Execution Flow, Logs, Locks, MVCC, and Performance Tuning

This comprehensive guide explores MySQL’s internal architecture, covering the SQL execution process, server and storage engine layers, binlog, redo and undo logs, index structures, transaction isolation levels, lock mechanisms, MVCC implementation, buffer pool management, table optimization, query techniques, and advanced performance tuning strategies.

MVCCindexesmysql
0 likes · 35 min read
Deep Dive into MySQL: Execution Flow, Logs, Locks, MVCC, and Performance Tuning
Qunar Tech Salon
Qunar Tech Salon
Dec 15, 2020 · Databases

Database Migration and Architecture Upgrade at Qunar: From MMM to PXC

This article analyzes common database migration strategies, compares two approaches—master‑slave cut‑over and proxy‑based migration—describes Qunar's internal MMM and Percona XtraDB Cluster (PXC) architectures, and details a step‑by‑step, zero‑downtime migration process from MMM to PXC with practical lessons and best practices.

MMMPXCZero Downtime
0 likes · 15 min read
Database Migration and Architecture Upgrade at Qunar: From MMM to PXC
Code Ape Tech Column
Code Ape Tech Column
Dec 15, 2020 · Databases

Why Indexes Still Lead to Slow Queries and How to Optimize Them

Even when a MySQL query uses an index, it can still become a slow query; this article explains index structures, explains why full‑index scans and poor selectivity cause performance issues, and presents step‑by‑step optimization techniques such as index condition pushdown, virtual columns, and better filtering.

databaseindexesmysql
0 likes · 13 min read
Why Indexes Still Lead to Slow Queries and How to Optimize Them
Top Architect
Top Architect
Dec 14, 2020 · Databases

Understanding MySQL Query Execution and Optimization Techniques

This article explains MySQL’s logical architecture, query processing steps, caching mechanisms, index structures, and provides practical performance‑tuning advice—including schema design, index creation, query rewriting, and pagination—helping readers grasp the underlying principles and apply effective optimizations in real‑world workloads.

databaseindexesmysql
0 likes · 34 min read
Understanding MySQL Query Execution and Optimization Techniques
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 14, 2020 · Databases

Using MyFlash: A MySQL Flashback Tool for Rolling Back DML Operations

This article introduces MyFlash, an open‑source MySQL flashback utility, explains its limitations, provides step‑by‑step installation commands, details the available command‑line options for specifying databases, tables, time ranges and SQL types, and demonstrates a complete rollback test case with binlog parsing and execution.

FlashbackMyFlashdatabase
0 likes · 13 min read
Using MyFlash: A MySQL Flashback Tool for Rolling Back DML Operations
21CTO
21CTO
Dec 13, 2020 · Information Security

Inside the Dark Web: How MySQL Databases Are Ransomed for $500

Over 85,000 MySQL databases are being sold on the dark web for around $500 each, with attackers automating ransom notices via portals on sqldb.to and dbrestore.to, demanding Bitcoin payments, auctioning unpaid data after nine days, and targeting a range of database platforms since 2017.

Bitcoincybersecuritydark web
0 likes · 4 min read
Inside the Dark Web: How MySQL Databases Are Ransomed for $500
ITPUB
ITPUB
Dec 13, 2020 · Information Security

How Hackers Ransom MySQL Databases on the Dark Web

Over 85,000 MySQL databases are being sold on the dark web for around $550 each, with attackers automating ransom portals, demanding Bitcoin payments, and auctioning unpaid data after nine days, while victims share ransom notes across forums and Bitcoin abuse trackers monitor the growing threat.

BitcoinDatabase Securitymysql
0 likes · 5 min read
How Hackers Ransom MySQL Databases on the Dark Web
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 12, 2020 · Databases

Why LIMIT Offset Slows MySQL Queries and How to Optimize Them

This article explains how using a large LIMIT offset on a 9.5‑million‑row MySQL table causes massive I/O and slow queries, and demonstrates a sub‑query‑based rewrite that fetches only primary keys before joining, dramatically reducing execution time while also showing buffer‑pool effects.

buffer poolindexlimit offset
0 likes · 8 min read
Why LIMIT Offset Slows MySQL Queries and How to Optimize Them
ITPUB
ITPUB
Dec 11, 2020 · Databases

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

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

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

Data Synchronization from MySQL to Elasticsearch using DataX and Canal

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

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

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

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

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

Optimizing MySQL LIMIT Offset Queries with Subqueries to Reduce Table Scans

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

Subquerybuffer poollimit offset
0 likes · 9 min read
Optimizing MySQL LIMIT Offset Queries with Subqueries to Reduce Table Scans
Big Data Technology & Architecture
Big Data Technology & Architecture
Dec 10, 2020 · Databases

MySQL Performance Optimization, Architecture, and High‑Availability Guide

This comprehensive guide covers the factors that impact MySQL server performance, strategies for handling large tables and transactions, hardware and OS tuning, storage‑engine selection, replication modes, high‑availability architectures, indexing techniques, and practical SQL query‑optimization methods.

HighAvailabilityReplicationindexing
0 likes · 38 min read
MySQL Performance Optimization, Architecture, and High‑Availability Guide
Senior Brother's Insights
Senior Brother's Insights
Dec 8, 2020 · Databases

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

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

InnoDBIsolation LevelsMVCC
0 likes · 15 min read
How MySQL Locks DELETE and SELECT: MVCC, Isolation Levels & Lock Types
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 8, 2020 · Databases

Understanding MySQL Online DDL for VARCHAR Column Size Changes and In‑Place vs Copy Operations

The article explains how MySQL's Online DDL handles VARCHAR column expansions, demonstrates performance differences across character sets using sysbench, and clarifies why certain size changes trigger in‑place alterations while others require full table copies, providing practical guidance for DBAs.

Character SetInnoDBOnline DDL
0 likes · 9 min read
Understanding MySQL Online DDL for VARCHAR Column Size Changes and In‑Place vs Copy Operations
Java Captain
Java Captain
Dec 7, 2020 · Backend Development

Spring Boot QQ Email Registration and Login Tutorial with Postman Testing

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

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

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

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

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

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

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

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

Managing Multiple MySQL Instances on a Single Server

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

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

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

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

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

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

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

DMData MigrationOnline DDL
0 likes · 16 min read
Practical Experience and Tips with TiDB Data Migration (DM) Tool