First find The DSN location
Chinese version: Control Panel-> Administrative Tools-> data source (ODBC)
English version: control pannel-> Administrative Tools-> data source (ODBC)
Click Add on userdsn, find MySQL ODBC driver, and fill in the
Today, I want to use kettle to extract a table with 30 million records. I 'd like to take a brief look at Kettle's extraction efficiency. I don't want to report an error when extracting data to 7999 rows. View logs:
"
... Couldn't get row from
When I use a database today, the following error is returned:Table 'ios _ sample' is marked as crashed and shoshould be retried redIn desperation, stop using the database and find the cause.
It means that the data table 'ios _ samples' is marked
The table EMP contains the primary key empid. Now I want to delete the record with duplicate non-primary key fields empno. For more information, see write a specific statement. If you copy the record from other problems, do not post it.
The Delete
MySQL migration toolkit is a database migration tool officially provided by MySQL. It can convert any data source to MySQL DATA, or convert Mysql Data to other types of data. Java support required
Supported database migration
Because the default character encoding of MySQL is Latin1, most non-letter characters are not supported. Therefore, after installation, you must modify the character encoding first.
Open the my. ini file in the MySQL installation directory.
The
1. Various types of files in the MySQL database and its storage engine InnoDB include:
Parameter files, log files, socket files, PID files, MySQL table structure files, storage engine files
2. parameter file
When a MySQL instance is started,
From http://www.penglixun.com/tech/database/mysql_virtual_function_index.html
SQL statements for function compute with columnsMySQL cannot use indexes. MySQL does not have function indexes in Oracle,For example:
SELECT *FROM table_1WHERE
When MySQL was started yesterday, it was not very normal. I had to restart it several times. However, I was not concerned about it when it was able to be started. Today, the test and test encountered a problem. MySQL started normally but could not
MySQL Official Website:
Http://dev.mysql.com/downloads/
There are several versions available on this download page.
1. MySQL Community Server
Community version, free of charge, but MySQL does not provide official technical
If you use MySQL to link to myeclipse, you will encounter garbled code. I think this is also a problem that many people have encountered. Next I will explain how to solve these garbled code problems,
First, MySQL can be properly displayed, but it is
Innodb_buffer_pool_sizeIf InnoDB is used, this is an important variable. Compared with MyISAM, InnoDB is more sensitive to buffer size. Mysiam may also use the default key_buffer_size for large data volumes, but InnoDB will feel crawling when using
Log on to the MySQL database system and use show processlist to view the current running status.Mysql> show processlist;+ -- + ----- + ------- +| ID | user | host | dB | command | time | state | info+ -- + ----- + ------- +| 207 | root | 192.168.0.2:
MySQL MyISAM index types include primary (Primary Key), unique (unique), index (common index), and Fulltext (full-text search ). Generally, the InnoDB Storage engine is used to search for clustered indexes and non-clustered indexes on the network.
Add a user first (but also use the root user)
Format: grant permission on database name. Table name user @ login host identified by "User Password ";Grant select, update, insert, delete on *. * To zhxia @ '%' identified by '123 ';
Or all
MySQL primary and foreign key creation:(1) Ensure that the referenced tables and fields exist.(2) The associated table must be of the InnoDB Storage type.(3) The primary key of the primary join table must be set.(4) The primary key and foreign key
Http://hi.baidu.com/289766516/blog/item/a3f85500556e2c09728da5e1.html
Method 1:Truncate table your table name// This not only deletes all data, but also relocates the auto-increment Field
Method 2:Delete from your table nameDBCC checkident (your
Document directory
2. Create an index
4. delete an index
1. Indexing
In addition to the ordered search mentioned above, the database can greatly improve the query efficiency by using various fast locating technologies. In particular, when the
SQL statements that can be used in Stored Procedures mainly include the following types: 1. No return result statements, such as insert, update, drop, and delete.
2. The SELECT statement returns a single-row variable and can be passed to the local
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service