Tagged articles
57 articles
Page 1 of 1
Coder Trainee
Coder Trainee
Jan 20, 2026 · Operations

Why You Should Avoid Using kill ‑9 to Stop Programs

The article explains that although kill ‑9 reliably kills a Linux process, using it in production can cause severe data corruption—especially with non‑transactional storage engines—making it unsuitable for safe program termination.

LinuxMyISAMkill
0 likes · 3 min read
Why You Should Avoid Using kill ‑9 to Stop Programs
Java Companion
Java Companion
Jan 9, 2026 · Backend Development

Why Many Large Companies Discourage Using @Transactional in Spring

The article explains common pitfalls that cause Spring @Transactional to fail or not roll back, such as incorrect method visibility, final or static modifiers, internal method calls, beans not managed by Spring, multithreading, unsupported database engines, misconfigured propagation, swallowed exceptions, and improper rollback settings, and offers practical solutions for each case.

BackendMyISAMaop
0 likes · 18 min read
Why Many Large Companies Discourage Using @Transactional in Spring
Senior Brother's Insights
Senior Brother's Insights
Oct 23, 2025 · Databases

InnoDB vs MyISAM: Which MySQL Storage Engine Fits Your Needs?

This article compares MySQL's InnoDB and MyISAM storage engines across dimensions such as transaction support, locking, file structure, indexing, full‑text search, and COUNT(*) performance, helping developers choose the appropriate engine based on workload and consistency requirements.

Full‑Text SearchInnoDBMyISAM
0 likes · 13 min read
InnoDB vs MyISAM: Which MySQL Storage Engine Fits Your Needs?
Raymond Ops
Raymond Ops
Sep 7, 2025 · Databases

Understanding MySQL 8 Directory Structure and Table Storage

This article explains the main directory layout of MySQL 8, the locations of data files, configuration files, system databases, and how InnoDB and MyISAM storage engines represent tables and indexes on the file system, including the use of system and file‑per‑table tablespaces.

ConfigurationDatabase DirectoryInnoDB
0 likes · 13 min read
Understanding MySQL 8 Directory Structure and Table Storage
Liangxu Linux
Liangxu Linux
Jul 15, 2025 · Databases

InnoDB vs MyISAM vs Memory: Which MySQL Storage Engine Fits Your Needs?

This article compares MySQL's three common storage engines—InnoDB, MyISAM, and Memory—by examining their core features, locking mechanisms, transaction support, durability, foreign‑key capabilities, typical use cases, and provides concrete CREATE TABLE examples and a side‑by‑side feature matrix to help developers choose the right engine.

Database PerformanceInnoDBMyISAM
0 likes · 7 min read
InnoDB vs MyISAM vs Memory: Which MySQL Storage Engine Fits Your Needs?
macrozheng
macrozheng
Apr 11, 2025 · Databases

Why MySQL count() Slows Down on Large Tables and How to Speed It Up

This article explains how MySQL's count() works across storage engines, why InnoDB scans rows and can time out on massive tables, and presents practical alternatives such as using EXPLAIN rows, a dedicated count table, batch processing, or binlog‑to‑Hive for efficient row‑count estimation.

InnoDBMyISAM_count
0 likes · 14 min read
Why MySQL count() Slows Down on Large Tables and How to Speed It Up
MaGe Linux Operations
MaGe Linux Operations
Feb 23, 2025 · Databases

Understanding MySQL 8 Directory Structure and Table Storage

This guide explains MySQL 8's main directory layout, the locations of command binaries and configuration files, how databases and system schemas are represented on the file system, and the differences between InnoDB and MyISAM storage engines, including tablespace and file naming conventions.

Database FilesDirectory StructureInnoDB
0 likes · 13 min read
Understanding MySQL 8 Directory Structure and Table Storage
Java Tech Enthusiast
Java Tech Enthusiast
Aug 6, 2024 · Databases

MySQL Storage Engines: Overview, Differences, and Interview Guidance

MySQL’s pluggable storage‑engine architecture lets each table use a specific engine, with InnoDB (the default in MySQL 8.x) offering row‑level locking, ACID transactions, foreign‑key support, crash recovery, MVCC and a buffer pool, while MyISAM provides only table‑level locking, no transactions, and is suited mainly for read‑intensive workloads lacking recovery requirements.

InnoDBMyISAMStorage Engine
0 likes · 9 min read
MySQL Storage Engines: Overview, Differences, and Interview Guidance
Laravel Tech Community
Laravel Tech Community
Nov 2, 2023 · Databases

MyISAM Related Options and Configuration Guidelines

This article explains the purpose, recommended settings, and tuning tips for MyISAM‑related MySQL variables such as key_buffer_size, read_buffer_size, read_rnd_buffer_size, bulk_insert_buffer_size, myisam_sort_buffer_size, myisam_max_sort_file_size, myisam_repair_threads, and myisam_recover, helping DBAs optimize indexing and query performance.

BuffersConfigurationMyISAM
0 likes · 4 min read
MyISAM Related Options and Configuration Guidelines
Liangxu Linux
Liangxu Linux
Oct 7, 2022 · Databases

Why MyISAM’s Table Locks Can Outperform InnoDB in High‑Concurrency Scenarios

This article provides a systematic deep‑dive into MySQL table‑lock mechanics, comparing storage engines, explaining the advantages of table locks, detailing lock acquisition and release rules, showing how to monitor lock statistics, and revealing why MyISAM can deliver superior performance for heavy concurrent insert and select workloads despite using only table‑level locking.

Database PerformanceLock MechanismMyISAM
0 likes · 7 min read
Why MyISAM’s Table Locks Can Outperform InnoDB in High‑Concurrency Scenarios
macrozheng
macrozheng
Sep 30, 2022 · Databases

Why MySQL count(*) Slows Down on Large Tables and How to Optimize It

This article explains how MySQL's count() works across different storage engines, compares the performance of various count() forms, and offers practical strategies—such as using EXPLAIN rows, auxiliary count tables, and batch processing—to obtain accurate or approximate row counts efficiently even on massive tables.

InnoDBMyISAMSQL Optimization
0 likes · 13 min read
Why MySQL count(*) Slows Down on Large Tables and How to Optimize It
Top Architect
Top Architect
Jul 16, 2022 · Databases

Understanding MySQL Locks: Table, Row, and Gap Locks in InnoDB and MyISAM

This article explains MySQL locking mechanisms—including table‑level, row‑level, shared and exclusive locks, as well as gap locks—covers the differences between MyISAM and InnoDB engines, shows how to monitor lock statistics, and provides practical optimization tips for reducing lock contention.

Database OptimizationInnoDBLocks
0 likes · 9 min read
Understanding MySQL Locks: Table, Row, and Gap Locks in InnoDB and MyISAM
ITPUB
ITPUB
Jan 28, 2022 · Databases

6 Common MySQL Index Pitfalls That Kill Query Performance

This article explains MySQL's index storage structures, the difference between clustered and secondary indexes, and demonstrates six typical scenarios—wildcard LIKE, functions on indexed columns, expression calculations, implicit type conversion, left‑most rule violations in composite indexes, and OR conditions—that cause indexes to become ineffective and lead to full‑table scans.

InnoDBMyISAMindex
0 likes · 16 min read
6 Common MySQL Index Pitfalls That Kill Query Performance
Ops Development Stories
Ops Development Stories
Oct 12, 2021 · Databases

Mastering Database Indexes: From Binary Trees to B+Trees and Beyond

This article explains the fundamentals and structures of database indexes—including binary trees, red‑black trees, B‑Tree, B+Tree, hash indexes—and details how MySQL’s InnoDB and MyISAM engines implement clustered and non‑clustered indexes, covering their characteristics, storage files, and query behavior.

B+TreeDatabase IndexesHash Index
0 likes · 9 min read
Mastering Database Indexes: From Binary Trees to B+Trees and Beyond
Qunar Tech Salon
Qunar Tech Salon
Oct 11, 2021 · Databases

Resolving Data Inconsistency in Percona XtraDB Cluster Caused by MyISAM Tables and Applying pt-online-schema-change

This article documents a real‑world incident where a MyISAM table in a Percona XtraDB Cluster caused data inconsistency and node self‑shutdown, analyzes the root cause, and describes how using pt-online-schema-change together with proper engine conversion restored consistency across the cluster.

Database operationsInnoDBMyISAM
0 likes · 14 min read
Resolving Data Inconsistency in Percona XtraDB Cluster Caused by MyISAM Tables and Applying pt-online-schema-change
Programmer DD
Programmer DD
Sep 13, 2021 · Databases

COUNT(*), COUNT(1) or COUNT(column) in MySQL? Which Is Faster?

This article compares MySQL's COUNT(*), COUNT(1) and COUNT(column) functions, explains how each handles NULL values, analyzes performance differences on MyISAM and InnoDB engines, and provides practical recommendations for writing efficient count queries and existence checks.

COUNT(1)COUNT(column)InnoDB
0 likes · 9 min read
COUNT(*), COUNT(1) or COUNT(column) in MySQL? Which Is Faster?
Programmer DD
Programmer DD
May 22, 2021 · Databases

Master MySQL Indexes: B+Tree Deep Dive & Optimization Tips

This article explains MySQL's B‑Tree index fundamentals, compares MyISAM and InnoDB implementations, outlines how B+Tree structures work, and provides practical guidelines for designing effective indexes and tuning MySQL configuration to boost query performance.

B+TreeDatabase OptimizationInnoDB
0 likes · 27 min read
Master MySQL Indexes: B+Tree Deep Dive & Optimization Tips
Code Ape Tech Column
Code Ape Tech Column
Mar 30, 2021 · Databases

Unlock MySQL Performance: Deep Dive into B+Tree Indexes and Optimization

This article explains the fundamentals of MySQL indexes, the B+Tree data structure, differences between MyISAM and InnoDB implementations, practical tips for creating effective composite indexes, and essential server configuration and SQL tuning techniques to dramatically improve query performance.

B+TreeDatabaseOptimizationIndexDesign
0 likes · 29 min read
Unlock MySQL Performance: Deep Dive into B+Tree Indexes and Optimization
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
Top Architect
Top Architect
Dec 24, 2020 · Databases

Understanding MySQL Indexes: B+Tree Structure, Implementation, and Optimization

This article explains why MySQL uses B+‑tree indexes, describes the principles of B‑tree and B+‑tree structures, compares MyISAM and InnoDB index implementations, and provides practical optimization tips such as using auto‑increment primary keys, the left‑most prefix rule, and proper configuration settings.

B+TreeDatabase OptimizationInnoDB
0 likes · 22 min read
Understanding MySQL Indexes: B+Tree Structure, Implementation, and Optimization
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
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 19, 2020 · Databases

Understanding MySQL Compressed Tables: Concepts, Benefits, Limitations, and Practical Usage

This article explains the concept of MySQL compressed tables, highlights strong compression products, discusses why and when to use them, outlines their advantages and drawbacks, details supported compression algorithms, and provides step‑by‑step examples for both MyISAM and InnoDB engines along with their impact on B‑tree pages and the InnoDB buffer pool.

Compressed TablesDatabase OptimizationInnoDB
0 likes · 13 min read
Understanding MySQL Compressed Tables: Concepts, Benefits, Limitations, and Practical Usage
dbaplus Community
dbaplus Community
Jul 8, 2020 · Databases

Why MySQL Uses B+ Trees: A Step‑by‑Step Dive into Index Data Structures

This article walks through the evolution of MySQL index implementations—from hash tables and binary search trees to AVL, red‑black, B‑trees and finally B+ trees—explaining their performance trade‑offs, disk‑I/O considerations, and how InnoDB and MyISAM store data and indexes differently.

B+TreeDataStructureInnoDB
0 likes · 21 min read
Why MySQL Uses B+ Trees: A Step‑by‑Step Dive into Index Data Structures
MaGe Linux Operations
MaGe Linux Operations
Apr 7, 2020 · Databases

Understanding MySQL Locks: Types, Engines, and Deadlock Prevention

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

Database LocksInnoDBMyISAM
0 likes · 16 min read
Understanding MySQL Locks: Types, Engines, and Deadlock Prevention
Java Captain
Java Captain
Jul 10, 2019 · Databases

Understanding Database Index Structures: From Binary Trees to B‑Tree and B+Tree

This article explains how library indexing inspires database indexing, introduces binary search trees, AVL trees, B‑Tree and B+Tree structures, and details InnoDB and MyISAM storage mechanisms, page organization, clustered versus non‑clustered indexes, and practical index‑optimization advice.

B+TreeB-TreeData Structures
0 likes · 19 min read
Understanding Database Index Structures: From Binary Trees to B‑Tree and B+Tree
Efficient Ops
Efficient Ops
May 29, 2019 · Databases

Understanding MySQL Locks: From Table Locks to InnoDB Row Locks

This article explains MySQL's lock mechanisms, comparing MyISAM's table‑level locks with InnoDB's row‑level locks, covering lock types, compatibility, transaction isolation levels, deadlock scenarios, and practical tips to avoid lock contention and improve database concurrency.

Database ConcurrencyInnoDBLocks
0 likes · 22 min read
Understanding MySQL Locks: From Table Locks to InnoDB Row Locks
ITPUB
ITPUB
Apr 23, 2019 · Databases

Understanding MySQL Locking Mechanisms: From Row Locks to Gap Locks

This article explains MySQL's three lock types, the storage engines that use them, detailed MyISAM and InnoDB lock behaviors, gap‑lock pitfalls, optimization tips, and how to monitor lock contention with built‑in status variables.

Database PerformanceInnoDBMyISAM
0 likes · 10 min read
Understanding MySQL Locking Mechanisms: From Row Locks to Gap Locks
ITPUB
ITPUB
Feb 8, 2018 · Databases

Understanding MySQL Locking Mechanisms: Types, Queues, and Optimization Tips

This article explains MySQL's row‑level, table‑level, and page‑level locks, maps them to storage engines, details MyISAM and InnoDB lock types, describes the four internal lock queues, and provides practical optimization and monitoring techniques to improve concurrency and performance.

Database OptimizationInnoDBMyISAM
0 likes · 10 min read
Understanding MySQL Locking Mechanisms: Types, Queues, and Optimization Tips
ITPUB
ITPUB
Oct 17, 2017 · Databases

Understanding MySQL Locking Mechanisms: Types, Queues, and Optimization Tips

This article explains MySQL's lock types across storage engines, details MyISAM and InnoDB locking behaviors, describes the four lock queues, outlines gap‑lock characteristics, and provides practical optimization and monitoring techniques to reduce lock contention.

Database PerformanceInnoDBMyISAM
0 likes · 10 min read
Understanding MySQL Locking Mechanisms: Types, Queues, and Optimization Tips
ITPUB
ITPUB
Nov 15, 2016 · Databases

Master MySQL Performance: Essential Configuration Parameters Explained

This guide details the most important MySQL server configuration settings—including connection limits, file handling, cache sizes, MyISAM and InnoDB options—explaining their purpose, recommended values, and how they impact performance and stability.

ConfigurationInnoDBMyISAM
0 likes · 22 min read
Master MySQL Performance: Essential Configuration Parameters Explained
ITPUB
ITPUB
Oct 13, 2016 · Databases

MySQL Nontransactional Statements Explained: Effects on binlog Cache Parameters

The article clarifies that nontransactional statements are SQL commands operating on non‑transactional tables such as MyISAM, explains how MySQL parameters max_binlog_stmt_cache_size and max_binlog_cache_size control memory for these statements, and demonstrates the difference with transactional InnoDB tables through concrete command‑line examples.

BinlogInnoDBMyISAM
0 likes · 4 min read
MySQL Nontransactional Statements Explained: Effects on binlog Cache Parameters
ITPUB
ITPUB
Apr 29, 2016 · Databases

How to Clean Up MySQL Table Fragmentation with OPTIMIZE and ALTER

This guide explains why MySQL tables become fragmented, how to detect fragmentation using information_schema queries, and how to defragment tables safely with OPTIMIZE, ALTER TABLE, or MySQL startup options while noting engine‑specific behavior and best‑practice cautions.

ALTER TABLEInnoDBMyISAM
0 likes · 5 min read
How to Clean Up MySQL Table Fragmentation with OPTIMIZE and ALTER
ITPUB
ITPUB
Dec 11, 2015 · Databases

Why MySQL Replication Lags During Long ALTERs and MyISAM Locks—and How to Fix It

The article examines two common MySQL master‑slave delay scenarios—slow ALTER operations and MyISAM table‑level locks—explains why they cause replication lag, and offers practical mitigation steps such as scheduling problematic SQL, isolating lagging slaves, and tuning binlog write settings.

ALTERMaster‑SlaveMyISAM
0 likes · 3 min read
Why MySQL Replication Lags During Long ALTERs and MyISAM Locks—and How to Fix It