How does mysql delete an index when determining whether an index exists? bitsCN.com
How to delete an index when an index exists in mysql
Mysql's drop index statement does not support the if exists condition. you can delete an index in SQL,
We know that the MongoDB index is B-Tree, which is very similar to the MySQL index. So you should have heard of this suggestion: when creating an index, you should consider the sort operation and try to put the fields used by the sort operation
Install Mysql bitsCN.com using the RPM Package
Install Mysql using an RPM Package
As the company needs to install Mysql as the data server recently, the server version is redhat6. Find the Mysql RPM package on the redhat6 disc and directly use the
Mysql queries data of one day, one week, and one month, bitsCN.com.
Mysql queries data from one day to one month
Query for one day:
Java code
Select * from table where to_days (column_time) = to_days (now ());
Select * from table where date (
Mysqloutfileinfile import and export data (append mysqldump) mysqldump
BitsCN.com
Mysql outfile infile import and export data (append mysqldump)
Export
[Plain]
SELECT * into outfile '/tmp/jason.txt 'Fields TERMINATED by',' FROM test. jason;
MySQLTroubleShoting: no operation, the disk IO load is full bitsCN.com
MySQL TroubleShoting: no operation, full disk I/O load
(I) environment:
OS: RHEL-5.8
Server: MySQL 5.5
Engine: InnoDB
(Ii) problem:
Without any operation, the disk
How mysql uses setnames to solve garbled text
How mysql uses set names to solve garbled text
We often use "set names utf8" to solve garbled code. Why can we solve this problem by adding this code? Next, let's dive into the internal execution
MySQL learning footprint record 13 -- join table -- INNERJOIN... ON bitsCN.com
MySQL learning footprint record 13 -- JOIN table -- inner join... ON
The section "database join table" almost vomited blood. I was confused when I read the introduction
The slave replication process does not start mysql and starts the skip-slave-start parameter bitsCN.com.
The slave replication process does not start mysql and starts the skip-slave-start parameter.
In any case, today's mining is pitfall. There
MySQL learning footprint record 12 -- use subquery bitsCN.com
MySQL learning footprint record 12-use subquery
1. subquery: queries nested in other queries
The raw data is as follows:
Mysql> SELECT order_num FROM orderitems; + ----------- + |
Using hard links to delete MySQL large files in seconds bitsCN.com
Using hard links to delete large MySQL files in seconds
Principle:
Hard link basics
When multiple files point to the same inode, inode connections N> 1, deleting any file is
Programmer's mysql database auxiliary tool bitsCN.com
Programmer's mysql database auxiliary tool
This database auxiliary tool (1.0) is fully open-source and is a database auxiliary tool developed according to your company's needs. This tool is
Don't stick to the details-mysql field type details bitsCN.com
Don't stick to the details-mysql field type details
Mysql field type intvarchartext
Maybe you don't care at ordinary times. when designing a database, you can set the number to an int (
Innodb_io_capacity some research on IO stability bitsCN.com
Background: I/O loads on an online server recently discovered the following phenomena:
The 24-hour IO_UTIL curve seems calm and has fewer burrs.
However, when the image is enlarged to
Mysql permission management bitsCN.com 1. permissions
Command ID
Columns in the authorization table
Description
CREATE
Create_priv
Create a database, table, or index
CREATE TEMPORARY TABLES
[MySQL] records an online fault handling process-amp; gt; hasmorethan bitsCN.com
[MySQL] records an online fault handling process --> has more than 'max _ user_connections 'active connections
Org. mybatis. spring. MyBatisSystemException: nested
MySQL installation does not bring up the configuration wizard bitsCN.com
Everything works normally during MySQL installation, but the MySQL Configuration Wizard dialog box does not pop up, that is, "launch the MySQL Instance Configuration Wizard"
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