Tag

MyISAM

0 views collected around this technical thread.

IT Services Circle
IT Services Circle
May 23, 2025 · Databases

MySQL Index Limits: Maximum Number of Indexes, Columns per Index, and Design Guidelines

This article explains MySQL's index limits for InnoDB and MyISAM engines, detailing the maximum number of indexes per table, the maximum columns per index, and provides practical recommendations on how many indexes a table should have to balance performance and maintenance.

Database DesignIndexesInnoDB
0 likes · 6 min read
MySQL Index Limits: Maximum Number of Indexes, Columns per Index, and Design Guidelines
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.

InnoDBMyISAMMySQL
0 likes · 14 min read
Why MySQL count() Slows Down on Large Tables and How to Speed It Up
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.

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

BuffersIndexingMyISAM
0 likes · 4 min read
MyISAM Related Options and Configuration Guidelines
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 25, 2023 · Databases

Troubleshooting MySQL Replication Duplicate Entry Errors Caused by mysqldump on MyISAM Tables

The article analyzes a replication failure where mysqldump creates duplicate primary‑key errors on a MyISAM table, explains why the --single-transaction option only guarantees consistency for InnoDB, and provides solutions such as converting tables to InnoDB or using Xtrabackup.

BackupInnoDBMyISAM
0 likes · 15 min read
Troubleshooting MySQL Replication Duplicate Entry Errors Caused by mysqldump on MyISAM Tables
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.

InnoDBMyISAMMySQL
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
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 30, 2021 · Databases

Understanding Prefix Index Length Limits in MySQL 5.7 with MyISAM and utf8mb4

The article explains MySQL 5.7's engine‑dependent prefix index length limits, demonstrates how utf8mb4 reduces the maximum indexable column size for MyISAM tables, provides test cases with SQL code, and offers practical solutions such as prefix indexes, composite indexes, and CTAS for large datasets.

Database OptimizationMyISAMMySQL
0 likes · 6 min read
Understanding Prefix Index Length Limits in MySQL 5.7 with MyISAM and utf8mb4
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.

Data InconsistencyDatabase OperationsInnoDB
0 likes · 14 min read
Resolving Data Inconsistency in Percona XtraDB Cluster Caused by MyISAM Tables and Applying pt-online-schema-change
Java Architect Essentials
Java Architect Essentials
Aug 1, 2021 · Databases

Understanding MySQL Auto‑Increment Reset Issues in InnoDB and MyISAM Engines

This article explains why MySQL's auto‑increment counter can be lost after a server restart for InnoDB tables, compares the behavior with MyISAM, demonstrates the problem with practical SQL examples, and shows how MySQL 8.0 fixes the counter logic.

DatabaseInnoDBMyISAM
0 likes · 7 min read
Understanding MySQL Auto‑Increment Reset Issues in InnoDB and MyISAM Engines
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 29, 2021 · Databases

Resolving GTID Consistency Errors When Updating InnoDB and MyISAM Tables in MySQL

The article explains why MySQL raises a GTID consistency error when a single transaction updates both InnoDB and MyISAM tables, demonstrates how to reproduce the issue, and evaluates three mitigation strategies: separating the updates, converting MyISAM to InnoDB, or disabling ENFORCE_GTID_CONSISTENCY.

Database AdministrationGTIDInnoDB
0 likes · 6 min read
Resolving GTID Consistency Errors When Updating InnoDB and MyISAM Tables in MySQL
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
Nov 11, 2020 · Databases

MySQL Index Storage: Clustered vs Secondary Indexes in MyISAM and InnoDB

This article explains how MySQL stores indexes for the MyISAM and InnoDB engines, comparing clustered (primary) indexes and secondary indexes, illustrating their B+‑tree structures, showing SQL examples, and discussing the advantages and disadvantages of each storage method for database optimization.

B+ TreeDatabase OptimizationIndexes
0 likes · 10 min read
MySQL Index Storage: Clustered vs Secondary Indexes in MyISAM and InnoDB
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
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 24, 2020 · Databases

Comprehensive Guide to MySQL Lock Mechanisms: Table, Row, Gap Locks and Deadlock Handling

This article provides a detailed overview of MySQL's locking mechanisms—including table, row, gap, and deadlock handling—across MyISAM and InnoDB storage engines, with practical code examples, performance considerations, and solutions for high‑concurrency scenarios.

Gap LockInnoDBLock Mechanism
0 likes · 19 min read
Comprehensive Guide to MySQL Lock Mechanisms: Table, Row, Gap Locks and Deadlock Handling
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Feb 29, 2020 · Databases

Understanding MySQL COUNT(): Usage, Differences, and Optimizations

This article explains the MySQL COUNT function, compares COUNT(*), COUNT(1) and COUNT(column) usages, discusses common interview questions, and details the specific optimizations MyISAM and InnoDB apply to COUNT(*) queries, concluding with best‑practice recommendations.

Database OptimizationInnoDBMyISAM
0 likes · 10 min read
Understanding MySQL COUNT(): Usage, Differences, and Optimizations
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 31, 2019 · Databases

Preventing MySQL Disk Space Exhaustion from Implicit Temporary Tables

This article explains why MySQL can exhaust disk space when implicit temporary tables grow too large, describes how memory limits and storage‑engine choices affect their creation, and provides practical configuration and query‑optimization techniques to avoid service interruptions.

Disk SpaceInnoDBMyISAM
0 likes · 8 min read
Preventing MySQL Disk Space Exhaustion from Implicit Temporary Tables
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