InnoDB
InnoDB supports transaction processing, which processes many short-term transactions, which are often executed successfully rather than rolled back. InnoDB is MySQL's most popular storage engine. Common Non-transaction engine requirements,
When I first used MySQL administrator to create a database, the table is of the InnoDB type by default, so I did not care about it. Later, when using access2mysql to export data, I found that only tables of the MyISAM type can be imported. I
MyISAM is the default storage engine in MySQL. Generally, not many people care about this. It is a tricky thing to decide what storage engine to use, but let's take a look at it. Here we only consider MyISAM and InnoDB, because these two are the
Because books are borrowed from the library, write down some learning processes for future viewing.
1. The lock mechanism is used to manage concurrent access to shared files.
InnoDB uses row-level locks.
MyISAM uses table-level locks. In the case of
There are two types of indexes in InnoDB: B + tree indexes and hash indexes. The hash index is self-adaptive. The storage engine automatically creates a hash index based on the table usage and cannot interfere with the hash index.
1. Clustered Index
The basic difference:The MyISAM type does not support advanced processing, such as transaction processing, but InnoDB type support. MyISAM type tables emphasize performance, which is performed more than InnoDB types faster, but does not provide
MySQL lock Blocking Analysis
During routine maintenance, threads are often blocked, resulting in slow database response. Let's take a look at how to obtain which thread causes blocking.
Blog: http://blog.csdn.net/hw_libo/article/details/390808091.
MySQL partition, mysql table Partition
In mysql, the learn directory structure is as follows:
Let's take a look at the definition of sales in the table:
show create table sales \G
*************************** 1. row
In such a business scenario, Data Writing is backflow, and usually depends on user_id queries. The data is about 0.5 billion, so I did the following test:
Performance testing machine environment:View code
Uptime | 364 days, 4:02, 2 users,
MySQL conversion table Engine
There are many ways to convert the table storage engine into another engine. Each method has its own advantages and disadvantages. Here we will introduce four methods:
Select the priority (pt-online-schema-change>
Database Design-practice, database-PracticeObjectives and objectives
Objective:
Master routine database tabulation operations
Understand the table design specifications
What is table structure design:
Table structure design must be completed
MySQL lock Blocking analysis, mysql lock Blocking
During routine maintenance, threads are often blocked, resulting in slow database response. Let's take a look at how to obtain which thread causes blocking.
Blog: http://blog.csdn.net/hw_libo/article/
MySQL innodb_table_stats table does not exist
MySQL version 5.6.14
The company's error logs for several MySQL servers show that several system tables do not
Summary of core mechanism of-blockmaker module analysis in Btcpool mine pool
Blkmaker can connect multiple bitcoind nodes
Blkmaker Listen and receive 4 types of messages: RAWGBT, Stratum_job, Solved_share, and Nmc_solved_share
Yii2-admin is Yii2 RBAC a set of management tools, to achieve a beautiful interface and complete rights management functions, do not have to write permission code, before use, please update YII2 source to the latest version.Git Source Address: https:
1 description (1) for the MyISAM table, if the auto-increment column is updated using UPDATE, if the column 20540 is repeated with the existing 20540, an error will occur. if the column is greater than the existing maximum 20540 ;, the
Converting MySQL from MyISAM to InnoDB errors and common solutions bitsCN.com
It was originally used for installation. Therefore, when setting database usage (for example, 1), follow the official discuz suggestions, all selected are
According to the official recommendation of discuz, the selected Non-TransactionalDatabaseOnly only supports MyISAM. In fact, the default installation is also quite good. later, I was working on WordPress, I didn't know at first that WordPress was
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.