Install MySQL 5.6.24 in CentOS 6.6
Install MySQL 5.6.24 in CentOS 6.6
1. First view the MySQL installed on the local machine
Rpm-qa | grep-I mysql
If any information exists, MySQL has been installed.
You need to completely uninstall the previous
Use of the Oracle 11g show spparameter command
When we want to obtain the current parameter value of the Oracle database, we can query the dynamic performance view of v $ parameter. Of course, we can also use the show parameter p_name method.
Collection iterator pickler fetch appears in the execution plan
Today, when I used explain plan for to view the SQL Execution plan, the following strange execution plan appeared:
SQL> explain plan for select * from test where object_id = 100;
Forcibly obtain the next value of the sequence/current value (oracle function), oracle Function
Http://blog.csdn.net/qq525099302/article/details/47146393-For more information about how to use a function to obtain the sequence value, see here.
--
Beckham _ mysql SQL statement optimization process, Beckham _ mysqlsql statementSQL statement OptimizationI. general steps for SQL Optimization
(1) Use the show status command to understand the execution frequency of various SQL statements.
(2)
Solution for slow SQL query caused by custom functions, function SQL
During the report process, one report queries the exchange rate of the corresponding currency, and the exchange rate is in another table, the condition for querying the exchange
For Mysql Enterprise Audit plugin, auditplugin
As in the previous article, if you want to know who has logged on to your database server and what has been done, you need to use Mysql Enterprise Audit plugin.
The following describes how to use Mysql
ORACLE Database Export table, oracle Database ImportToday, a system is installed on the company's server and cannot be imported during database table export. It was originally 10 Gb. the dmp file is imported to 11 GB. If you suspect that the version
SQL--MYSQL query statement Daquan, sqlmysql statement
1: Use the SHOW statement to find out the current database on the server:
Mysql> show databases;
2. Create a database named MYSQLDATA
Mysql> create database mysqldata;
3: select the database you
MySQL (20) ----------- database backup and restoration, mysql -----------
Data backup:
Back up data using the mysqldump command
The mysqldump command backs up data in the database into a text file. Table results and data in the table are stored in
An interesting phenomenon: innodb_io_capacity and innodbiocapacity
In the past, a customer in the company experienced a situation where sysbench was used for stress testing and a phenomenon occurred during the testing process, as shown below:
The
Oracle study -- "ORA-00845: MEMORY_TARGET not supported on this system" error, oraclememorytarget
Oracle study -- "ORA-00845: MEMORY_TARGET not supported on this system" error
System Environment:
Operating System: RedHat EL6 (64)
Oracle: Oracle 11g
When the database resource consumption is high, two SQL statements that are simple and useful to quickly identify possible causes of problems, resource consumption SQL
1. view the SQL statement being executed
(1) SQL statement:
Selectdistinct s. sid,
RHEL5.8 if the ext3 file system is damaged, only the file system is not repaired (fsck,
RHEL5.8 if the ext3 file system is corrupted, it will only detect and not repair (fsck-n)
[root@lei1 ~]# df -ThFilesystem Type Size Used Avail Use%
MySQL is sorted by Chinese characters and Pinyin letters, and mysql is sorted by Chinese Characters
If the MySQL encoding format is GBK character set, you can add
Order by name asc; -- sort in ascending order
If the utf8 character set is used,
Mysql saves the result to a file and executes SQL statements from the file to record the operation process (using the tee command), sqltee
1. Sometimes we may need to record our mysql operation process. In this case, we can use the mysql tee command.
SQL language division, SQL language divisionIn terms of functions, the SQL language can be divided into three categories: DDL, DML, and DCL.1. DDL (Data Definition Language)Data Definition Language, used to define and manage the languages of all
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