Symptom of table corruption
A typical symptom of a damaged table is as follows:1. When selecting data from a table, you get the following error:Incorrect key file for table: ' ... '. Try to repair it2. The query cannot find rows in the table or
This article mainly summarizes the MySQL index operation methods, including creating indexes, rebuilding indexes, querying indexes, and deleting indexes. In the following example, 'table _ name' indicates the data table name, 'index _ name'
1. CREATE index
The creation of the index can be done in the CREATE TABLE statement, or you can add indexes to the table separately with the CREATE INDEX or ALTER TABLE. The following command statements show how to create a primary key index
0x001 Issue BackgroundMySQL executes the relevant MySQL command (we performed, show procedure status) When prompted Mysql.proc table crashed, cannot be repaired (marked as crashed and last (automatic?) Repair failed)Error message: MySQL table is
The problem and solution of MySQL table index being corruptedAfternoon work, surprised to smell my Dedecms website problem, visit a look, really full screen error, check MySQL log, error message is:Table '. \dedecmsv4\dede_archives ' is marked as
First, data type optimizationData type
Integer
Number types: integers and realstinyint (8), smallint (16), Mediuint (24), int (32), bigint (64) numbers indicate the corresponding maximum number of storage bits, such as tinyint ( -127---
This article mainly introduces the MySQL database index damage and repair experience sharing, need friends can refer to the following
The problem and solution of MySQL table index being corrupted
Afternoon work, surprised to smell my Dedecms
1. Table Damage Reason analysisThe following are common causes of MySQL table corruption:
1, the sudden loss of power to the server caused data file corruption.
2, forced shutdown, did not first shut down the MySQL service.
3. The mysqld process was
Prevention and repair of MySQL table corruption 1. analysis of causes of table corruption
The following are common causes of mysql table destruction:
1. data files are damaged due to a sudden power failure on the server.
2. force shutdown without
MYSQL Data Table Damage Cause Analysis and Repair Methods Summary, met friends can refer to, below to sort out some more comprehensive, hope to help everyone.
MYSQL Data Table Damage Cause Analysis and Repair Methods Summary, met friends can refer
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.