1. Full backup and incremental backup 1.1 full-scale backupFull-volume data is all the data in the database, and a full backup is the backup of all the data in the database.Back Up all libraries:mysqldump -uroot -p123456 -S /data/3306/mysql.sock -F -
A. Numeric type
MySQL supports numeric types in all standard SQL, including strict data types (integer,smallint,decimal,numberic), and approximate numeric data types (float,real,double presision). And on this basis to expand.
After the expansion,
1. Integral type
MySQL data type
Meaning (Signed)
tinyint (m)
1 byte range ( -128~127)
smallint (m)
2 byte range ( -32768~32767)
Mediumint (M)
3 byte range ( -8388608~8388607)
Mysql Data Type
I. Numerical type
Mysql supports all numeric types in standard SQL, including strict data types (INTEGER, SMALLINT, DECIMAL, NUMBERIC), and approximate numeric data types (FLOAT, REAL, DOUBLE PRESISION ), in addition, it is extended.
ArticleDirectory
Int type
Float, double, and decimal types
Char and varchar types
Text and blob types
Date, time, and tear types
Dateyime and timestamp types
Enum type
Set Type
Value Type
MySQL numeric data
Numeric typeMySQL supports all numeric types in standard SQL, including strict data types, INTEGER,SMALLINT,DECIMAL, NUMBERIC as well as approximate numeric data types FLOAT,REAL,DOUBLE PRESISION , and expands on this basis. This extension adds
Next, I will provide a summary of mysql Data Types, that is, field types, including type descriptions and string lengths of different data types. I will introduce them below.
I. numeric type
Storage required for column typesTINYINT 1 byteSMALLINT 2
MySQL Data Type
MySQL numeric data types can be roughly divided into two categories: one is an integer, and the other is a floating point or decimal. Many different subtypes are available for each of these classes. Each subtype supports data of
MySQL performance tuning and Architecture Design-Chapter 1 Data splitting of scalability design and mysql Optimization
Chapter 1 Data splitting for scalable design
Preface The expansion implemented through the MySQL Replication function is always
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.