This article transferred from: http://blog.sina.com.cn/s/blog_4c197d420101fbl9.htmlView the size of all libraries mysql> use information_schema;database changedmysql> select concat (Round (sum (data_length/1024/1024), 2 ), ' MB ') as data from
If you are evaluating the pressure of a MySQL database, you can use Sysbench to test
The concrete operation out, installs the Sysbench tool first, installs the operation as follows:
Installation Environment
CentOS Release 5.4 (Final)MySQL 5.1.40
MySQL creates a table and creates a . frm file to save the table and column definitions. The index is stored in one . MYI (Myindex) and the data is stored in the . MYD (MYData) file extension. First, using Show/describe statement to display the data
MYSQL Tutorial: maximum data table size restrictions for different MySQL Data Table types restrictions on data table size: a single data table in ISAM. ISD and. the maximum size of the ISM file is 4 GB. MYD and. the default maximum size of the MYI
Henan College of Traditional Chinese Medicine
Course Design Report of MySQL Database Management
Title: Research and Implementation of MySQL Clusters
Completion date:2012January 1, December 31
Contents
1. Course Design overview 3
2. research
When creating a table, MySQL creates a. frm file to save the table and column definitions. Indexes are stored in a file with the. MYI (MYindex) Extension and data is stored in a file with the. MYD (MYData) extension.
1. Use the SHOW/DESCRIBE
Syntax structure:[no_write_to_binlog | LOCAL] TABLE[, Tbl_name] ...Optimize table reorganizes the physical storage of tables data and indexes, reducing the IO efficiency when using storage space and improving access to tables. Optimize table
Set Change root passwordNote: How to change the root password, about the root user is the MySQL Super administrator user, it is similar to the root user inside the Linux operating system, to distinguish between the root of MySQL and the system root
How to configure MySQL database server on CentOS
BitsCN.com accidentally found CentOS Professional Forum, remember: http://www.centospub.com
As a result, the initial learning configuration
This environment:
CentOS system,
Mysql-server (version
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.