http://blog.itpub.net/28218939/viewspace-1975809/Ma Pengfei Technology MySQL database engineer
MySQL binary log was launched after MySQL version 5.1, which is mainly used for primary and standby replication, and we review how MySQL works when
It was originally used for installation. Therefore, when setting database usage (for example, 1), follow the official discuz suggestions, all selected are Non-Transactional Database Only (Only Non-transaction databases of MyISAM data engine are
Today, I will continue reading the book "mysql database development" recommended by the instructor. I encountered a problem when I saw the foreign key association problem with the innodb database, in the book, you can modify the parent table and
Later in doing WordPress, the original did not know that WordPress used the InnoDB data engine, so in the original database built a database, the beginning did not find the problem, installation, import SQL, no problem, then did not think much.
MySQL has a lot of extensions for SQL, some of which are handy, but there are performance issues with some of them being misused, and there are some unintended side effects, like REPLACE into.For example, there is a table:
12345678
Table structureCREATE TABLE DataSET NAMES UTF8;SET foreign_key_checks = 0;-- ------------------------------Table structure for ' class '-- ----------------------------DROP TABLE IF EXISTS ' class ';CREATE TABLE ' class ' (' CID ' int (one) not NULL
1.BACKUP database: Mysqldump-u[user]-p[password] [databasename] > [dbfile.sql] # Back up the database. 2./usr/local/mysql/bin/mysqladmin-u root-p Shutdown #Stop the database orservice MySQL stop. 3. InnoDBThe table does not support full-text search,
One, partition type 1. Range type (range partition)
Partitioning by scope, giving each partition a range that must be contiguous and not repeatable, using the values less than operator
What do you mean? Is the range type is a scope,
InnoDB row format in two formats (compact,redundant) The storage format of the compact Compact is a non-null, variable-length list of field lengths, and is placed in reverse order by column, when the length of the column is less than 255 bytes,
ALTER TABLE Parse instance: sql:1. Add columns 2. Add columns, adjust column order 3. Increase the index 4. Increase the constraint 5. Increase the full-text index FULL-TEXT6. Change the default value of the column 7. Change the column name (type,
2nd installation and introduction MySQL setting MySQL character setThe Chinese-enabled character set is UTF8, which can change the MySQL configuration file for global settings or for database settings or for table settings or for columns. after the
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 checked
Differences between engineinnodb and enginemyisam in mysql introduction bitsCN.com when MySQL Administrator is used to create a database, the table is of the InnoDB type by default, so it does not matter. Later, when using Access2MySQL to export
Basic differences:The MyISAM type does not support advanced processing such as transaction processing, whereas the InnoDB type does. MyISAM tables emphasize performance, and the execution speed is faster than that of InnoDB, but transactions are not
When you first build a database with MySQL administrator, the table defaults to the InnoDB type, and you don't care. Later, when using Access2mysql to guide the data found can only lead to myisam type of table, do not know what the difference
Provides MySQL with transaction security (acid-compatible) storage engine with Commit, rollback, and crash recovery capabilities. InnoDB locks the row level and also provides an oracle-consistent, unlocked read in the SELECT statement. These
InnoDB and MyISAM are the two most commonly used table types used by many people when using MySQL, each with its own pros and cons, depending on the specific application.
Basic differences: MyISAM types do not support advanced processing, such as
The difference in the composition of MyISAMInnoDB: Each MyISAM is stored as three files on the disk. The name of the first file starts with the name of the table. The extension indicates the file type .. Frm file storage table definition. The data
Today, we will share with you the differences between the actual application of InnoDB and MyISAM In the MySQL storage engine, as well as the differences in related functions and their advantages and disadvantages, if you are interested, you can
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.