show variables

Learn about show variables, we have the largest and most updated show variables information on alibabacloud.com

mysql-Slow Query log

mysql-Slow Query logtags (space delimited): MySQLTurn on slow query log慢查询是一种mysql提供的日志,记录所有执行时间超过某个时间界限的sql的语句。这个时间界限我们可以指定。在mysql中默认没有开启慢查询,即使开启了,只会记录执行的sql语句超过10秒的语句[Way One]Enter mysql:mysql-uroot-h127.0.0.1-proot# to view the parameters related

MySQL master-slave replication principle, master-slave replication (asynchronous), semi-synchronous replication, SSL-based Replication

Overview replication is usually used to create a copy of the master node to ensure high availability by adding redundant nodes. Of course, replication can also be used for other purposes, such as reading and analyzing data on the slave node. In

Mysql-14-mysql log management, mysql-14-mysql logs

Mysql-14-mysql log management, mysql-14-mysql logs 1. Introduction The log file records the changes that occur during the running of the mysql database, such as the client connection status of the mysql database, SQL statement execution status, and

About MySQL database optimization _ MySQL

About MySQL database optimization we have briefly introduced some basic operations on MYSQL databases. This chapter describes the MYSQL database optimization problems for MYSQL database administrators. 1. optimize the MySQL server 1.1 MYSQL server

MySQL profile)

MySQL uses explain for SQL statement optimization, but this does not know the detailed memory/CPU usage.MySQL query profiler, You can query the number of SQL statements executed, and see the CPU/memory usage Amount, the execution process system lock,

Mysql memory and virtual memory optimization settings Parameters _mysql

MySQL optimized debug command1, mysqld--verbose--helpThis command generates a list of all mysqld options and configurable variables2. By connecting to it and executing this command, you can see the value of the variable actually used:Mysql> show

Slow query Log detailed

MySQL's slow query log is a log record provided by MySQL, which is used to record statements in MySQL that have a response time exceeding the threshold, specifically the SQL that runs longer than the Long_query_time value, and is recorded in the

MySQL Basic statement

Set Change root passwordThe default is no password after installing MySQL (mysql5.7 will randomly generate a root password), you need to manually create a password for the root administrator of MySQLWhen I first use MySQL, there is no MySQL command,

MySQL database performance optimization-parameter optimization

Mysql Server Optimization 1. View MySQL server parameters Show variables;   /show variables like ' parameter name '; --mysql Server configuration information Show status; /show global status;  /Show status like ' field name '; --mysql

viewing and setting of [MySQL] variables (parameters)

Similar to Oracle's parameter files, MySQL's options files (such as MY.CNF) are used to configure the MySQL server, but unlike Oracle, in MySQL, the official called variable (varialbes), but actually called the parameter is also possible, Just

Modify and view the character set of the mysql database

Modify the MySQL character set in Liunx:1. find/-iname '*. cnf'-print the cnf File Location of

MySQL Character Set Problems

Modify and view the character set of the MySQL databaseModify my. CNFVI/etc/My. CNFAdd under [client]Default-character-set = utf8Add under [mysqld]Default-character-set = utf8 5. View Character Set settingsMysql> show variables like 'collation _ % ';

Mysql5.5 semi-sync installation and maintenance

Author: skateTime: 2013/01/10 Mysql5.5 semi-sync replication installation and maintenance MySQL's replication protocol is asynchronous. Although asynchronous efficiency and performance are good, it cannot guarantee master-slave data consistency (if

[MySQL] modifying the default Character Set

Modify the MySQL character set in liunx:1. Find the CNF File Location of MySQLFind/-INAME '*.

Linux O & M learning notes-MySQL Log learning and learning notes-mysql

Linux O & M learning notes-MySQL Log learning and learning notes-mysql I. Error Log: Error Log 1. Introduction An error log is an error message that records the MySQL service process mysqld during startup, shutdown, or running. The error log

Modify and view the character set of the mysql database

Modify MySQL character set in Liunx: 1. find the location of MySQL cnf file find-iname *. cnf-printusrsharemysqlmy-innodb-heavy-4G.cnfusrsharemysqlmy-large.cnfusrsharemysqlmy-small.cnfusrsharemysqlmy-medium.cnfusrsharemysqlmy-huge.cnf Modify MySQL

Modify MySQL character set in liunx

Modify the MySQL character set in liunx:1. Find the CNF File Location of MySQLFind/-INAME '*. CNF'-print

MySQL Performance tuning

1 how MySQL works1.1 MySQL Architecture:Connection poolSQL interfaceAnalyzerOptimizerQuery cacheStorage EngineFile systemManagement tools1.2 Permanent definition:Modifying a configuration file/etc/my.cnf[MySQL]Variable name = value1.3 Temporary

MySQL Performance tuning

MySQL Performance tuningImprove the performance and impact speed of your MySQL system-Replacement hardware (cpu/disk/memory, etc.)-Operating parameter adjustment of the service program-Optimization of SQL queriesConcurrency and connection

MySQL Character set encoding related

Windows 10 Home Chinese version, MySQL 5.7.20,2018-05-07Part.1 the character set encoding of the lookup databaseView MySQL Character set encoding:status CommandLog in to the MySQL server using the command line and enter the status command to view

Total Pages: 15 1 .... 5 6 7 8 9 .... 15 Go to: Go

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.