MySQL中的show命令
mysql> help show
Name: 'SHOW'
Description:
SHOW has many forms that provide information about databases, tables,
columns, or status information about the server. This section describes
those following:
SHOW [FULL] COLUMNS FROM tbl_name [FROM db_name] [LIKE 'pattern']
SHOW CREATE DATABASE db_name
SHOW CREATE FUNCTION funcname
SHOW CREATE PROCEDURE procname
SHOW CREATE TABLE tbl_name
SHOW DATABASES [LIKE 'pattern']
SHOW ENGINE engine_name {LOGS | STATUS }
SHOW [STORAGE] ENGINES
SHOW ERRORS [LIMIT [offset,] row_count]
SHOW FUNCTION CODE sp_name
SHOW FUNCTION STATUS [LIKE 'pattern']
SHOW GRANTS FOR user
SHOW INDEX FROM tbl_name [FROM db_name]
SHOW INNODB STATUS
SHOW PROCEDURE CODE sp_name
SHOW PROCEDURE STATUS [LIKE 'pattern']
SHOW [BDB] LOGS
SHOW MUTEX STATUS
SHOW PRIVILEGES
SHOW [FULL] PROCESSLIST
SHOW PROFILE [types] [FOR QUERY n] [OFFSET n] [LIMIT n]
SHOW PROFILES
SHOW [GLOBAL | SESSION] STATUS [LIKE 'pattern']
SHOW TABLE STATUS [FROM db_name] [LIKE 'pattern']
SHOW [OPEN] TABLES [FROM db_name] [LIKE 'pattern']
SHOW TRIGGERS
SHOW [GLOBAL | SESSION] VARIABLES [LIKE 'pattern']
SHOW WARNINGS [LIMIT [offset,] row_count]
The SHOW statement also has forms that provide information about
replication master and slave servers and are described in [HELP PURGE
MASTER LOGS]:
SHOW BINARY LOGS
SHOW BINLOG EVENTS
SHOW MASTER STATUS
SHOW SLAVE HOSTS
SHOW SLAVE STATUS
If the syntax for a given SHOW statement includes a LIKE 'pattern'
part, 'pattern' is a string that can contain the SQL `%' and `_'
wildcard characters. The pattern is useful for restricting statement
output to matching values.
Several SHOW statements also accept a WHERE clause that provides more
flexibility in specifying which rows to display. See
http://dev.mysql.com/doc/refman/5.0/en/extended-show.html.
URL: http://dev.mysql.com/doc/refman/5.0/en/show.html
上面列出的每個具體的show命令還可以再次獲得其幫助資訊:
mysql> help SHOW INNODB STATUS;
Name: 'SHOW INNODB STATUS'
Description:
Syntax:
SHOW INNODB STATUS
In MySQL 5.0, this is a deprecated synonym for SHOW ENGINE INNODB
STATUS. See [HELP SHOW ENGINE].
URL: http://dev.mysql.com/doc/refman/5.0/en/show-innodb-status.html
[@more@]來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/37724/viewspace-997802/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- mysql show命令MySql
- MySQL中show命令用法大全MySql
- MySQL Show命令的用法大全MySql
- MysqL中的Show Index From Table_Name命令說明MySqlIndex
- MySQL show status 命令詳解MySql
- MySQL SHOW STATUS命令介紹MySql
- mysql show命令用法大全MySql
- mysql show processlist命令詳解MySql
- Oracle模擬MySQL的show index from table命令OracleMySqlIndex
- MySQL show 命令使用大全 未完待續MySql
- MySQL 中 show full processlist 詳解MySql
- mysql的show processlistMySql
- mysql資料庫show的常用命令說明MySql資料庫
- git show 命令Git
- MySQL:kill和show命令hang住一列MySql
- MySQL show status命令輸出結果詳解MySql
- MySQL show status命令常用輸出欄位詳解MySql
- git show命令用法Git
- MySQL的show engine innodb statusMySql
- 轉載:mysql的show processlistMySql
- mysql show processlist stateMySql
- 【MySQL】SHOW WARNINGS和SHOW ERRORS的作用是什麼?MySqlError
- MySQL中的source命令MySql
- MySQL 中的 EXPLAIN 命令MySqlAI
- MySQL 5.5 SHOW PROFILE、SHOW PROFILES語句介紹MySql
- MySQL 之 show processlist 神器MySql
- Mysql---show table statusMySql
- MYSQL SHOW VARIABLES簡介MySql
- MySQL SHOW 語句大全MySql
- mysql show processlist 詳解MySql
- 格式化SHOW PARAMETER命令
- MySQL show processlist命令詳解及檢視當前連線數MySql
- MySQL中的describe命令MySql
- MySQL主從複製中的“show slave status”詳細含義MySql
- MySQL:show processlist Time負數的思考MySql
- Oracle RMAN 的 show,list,crosscheck,delete命令整理OracleROSdelete
- MySQL show processlist故障處理MySql
- Mysql show processlist 排查問題MySql