Home Database Mysql Tutorial what does myisam mean

what does myisam mean

Jun 28, 2020 am 09:56 AM
myisam

Myisam is the default storage engine before mysql5.1. It is based on older ISAM code, but has many useful extensions. Each MyISAM is stored as three files on disk. The name of each file starts with the name of the table and the extension indicates the file type.

what does myisam mean

myisam introduction

(Recommended tutorial: mysql tutorial)

MyISAM is the default storage engine (Before Mysql5.1 version). It is based on older ISAM code, but has many useful extensions. (Note that MySQL 5.1 does not support ISAM). Each MyISAM is stored as three files on disk. The name of each file starts with the name of the table, and the extension indicates the file type.

Detailed introduction

To explicitly indicate that you want to use a MyISAM table, please indicate it using the ENGINE table option:

CREATE TABLE t (i INT) ENGINE = MYISAM;
Copy after login

Note: Older versions of MySQL use TYPE instead ENGINE (for example, TYPE = MYISAM). MySQL 5.1 supports this syntax for backward compatibility, but TYPE is now deprecated, and ENGINE is the first usage.

Generally, the ENGINE option is unnecessary; unless the default has been changed, InnoDB is the default storage engine (after Mysql 5.1).

Some features of MyISAM storage engine

1. All data values ​​are stored in the low byte first.

This separates the data machine and operating system. The only requirements for binary portability are that the machine uses two's complement (as machines of the last 20 years have) and the IEEE floating point format (which is also completely dominant in mainstream machines). The only machines that don't support binary compatibility are embedded systems. These systems sometimes use special processors.

Storing the low bytes of data first does not seriously affect speed; bytes in data rows are generally unjoined, and reading unjoined bytes in one direction does not take more time than reading in the reverse direction. H. The code on the server that gets the column value is not as time-critical as other code.

2. Large files (up to 63-bit file length) are supported on file systems and operating systems that support large files.

3. Dynamically sized rows are less fragmented when deletions are mixed with updates and inserts. This is done automatically by merging adjacent deleted blocks and extending to the next block if it is deleted.

The above is the detailed content of what does myisam mean. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

MySQL storage engine selection comparison: InnoDB, MyISAM and Memory performance index evaluation MySQL storage engine selection comparison: InnoDB, MyISAM and Memory performance index evaluation Jul 26, 2023 am 11:25 AM

MySQL storage engine selection comparison: InnoDB, MyISAM and Memory performance index evaluation Introduction: In the MySQL database, the choice of storage engine plays a vital role in system performance and data integrity. MySQL provides a variety of storage engines, the most commonly used engines include InnoDB, MyISAM and Memory. This article will evaluate the performance indicators of these three storage engines and compare them through code examples. 1. InnoDB engine InnoDB is My

How to use MyISAM and InnoDB storage engines to optimize MySQL performance How to use MyISAM and InnoDB storage engines to optimize MySQL performance May 11, 2023 pm 06:51 PM

MySQL is a widely used database management system, and different storage engines have different impacts on database performance. MyISAM and InnoDB are the two most commonly used storage engines in MySQL. They have different characteristics and improper use may affect the performance of the database. This article will introduce how to use these two storage engines to optimize MySQL performance. 1. MyISAM storage engine MyISAM is the most commonly used storage engine for MySQL. Its advantages are fast speed and small storage space. MyISA

Tips and Strategies to Improve MySQL Storage Engine Read Performance: Comparative Analysis of MyISAM and InnoDB Tips and Strategies to Improve MySQL Storage Engine Read Performance: Comparative Analysis of MyISAM and InnoDB Jul 26, 2023 am 10:01 AM

Tips and strategies to improve the read performance of MySQL storage engine: Comparative analysis of MyISAM and InnoDB Introduction: MySQL is one of the most commonly used open source relational database management systems, mainly used to store and manage large amounts of structured data. In applications, the read performance of the database is often very important, because read operations are the main type of operations in most applications. This article will focus on how to improve the read performance of the MySQL storage engine, focusing on a comparative analysis of MyISAM and InnoDB, two commonly used storage engines.

MySQL storage engine performance comparison: MyISAM and InnoDB read and write performance comparison experiment MySQL storage engine performance comparison: MyISAM and InnoDB read and write performance comparison experiment Jul 25, 2023 pm 01:29 PM

MySQL storage engine performance comparison: MyISAM and InnoDB read and write performance comparison experiment Introduction: MySQL is a widely used relational database management system. It supports a variety of storage engines, the two most commonly used engines are MyISAM and InnoDB. This article will explore the read and write performance of these two storage engines and compare them through experiments. 1. Introduction to MyISAM engine The MyISAM engine is the default storage engine of MySQL and is widely used in early versions. it uses

How to improve MySQL performance with MyISAM index caching How to improve MySQL performance with MyISAM index caching May 11, 2023 pm 07:31 PM

MySQL is a widely used open source relational database management system. Good performance is crucial when dealing with huge data volumes. MyISAM index cache is a very important feature of MySQL, which can greatly improve the speed and performance of data reading. In this article, we will take a deep dive into how the MyISAM index cache works and how to configure and optimize the index cache to improve MySQL performance. What is MyISAM index cache? MyISAM is a storage index in MySQL

Compare and contrast InnoDB and MyISAM storage engines (features, locking, transactions). Compare and contrast InnoDB and MyISAM storage engines (features, locking, transactions). Apr 08, 2025 am 12:03 AM

InnoDB is suitable for highly concurrency and transaction-intensive applications, while MyISAM is suitable for read-intensive applications. 1) InnoDB supports transaction and row-level locks, and is suitable for high-concurrency scenarios such as e-commerce platforms. 2) MyISAM does not support transactions, but reads fast, and is suitable for read-intensive applications such as blog systems.

How to choose the appropriate MySQL storage engine? Compare the advantages and disadvantages of MyISAM and InnoDB How to choose the appropriate MySQL storage engine? Compare the advantages and disadvantages of MyISAM and InnoDB Jul 27, 2023 am 08:05 AM

How to choose the right MySQL storage engine? Compare the advantages and disadvantages of MyISAM and InnoDB Introduction: MySQL is currently the most popular and widely used relational database management system. In MySQL, we can choose different storage engines to manage data to meet different needs. This article will focus on two commonly used storage engines: MyISAM and InnoDB, and compare their advantages and disadvantages. By reading this article, you will understand how to choose the appropriate MySQL storage based on actual needs.

Comparative analysis of InnoDB and MyISAM in MySQL Comparative analysis of InnoDB and MyISAM in MySQL Jun 02, 2023 pm 04:16 PM

Comparing InnoDB and MyISAM1, storage structure MyISAM: Each MyISAM is stored as three files on the disk. They are: table definition files, data files, and index files. The name of the first file begins with the name of the table, and the extension indicates the file type. .frm files store table definitions. The extension of the data file is .MYD (MYData). The extension of the index file is .MYI (MYIndex). InnoDB: All tables are stored in the same data file (or multiple files, or independent table space files). The size of the InnoDB table is only limited by the size of the operating system file, which is generally 2GB. 2. Storage space MyISAM: MyISAM supports

See all articles