PolarDB-X 1.0-SQL 手册-SHOW-SHOW-SHOW HELP

本文涉及的产品
云原生数据库 PolarDB 分布式版,标准版 2核8GB
简介: SHOW HELP 展示 DRDS 所有辅助 SQL 指令及其说明。

SHOW HELP 展示 DRDS 所有辅助 SQL 指令及其说明。


  1. mysql> show help;
  2. +-----------------------------------------+---------------------------------------------------------+---------------------------------------------+
  3. | STATEMENT                               | DESCRIPTION                                             | EXAMPLE                                     |
  4. +-----------------------------------------+---------------------------------------------------------+---------------------------------------------+
  5. | show rule                               |Report all table rule                                   |                                             |
  6. | show rule from TABLE                    |Report table rule                                       | show rule from user                         |
  7. | show full rule from TABLE               |Report table full rule                                  | show full rule from user                    |
  8. | show topology from TABLE                |Report table physical topology                          | show topology from user                     |
  9. | show partitions from TABLE              |Report table dbPartition or tbPartition columns         | show partitions from user                   |
  10. | show broadcasts                         |Report all broadcast tables                             |                                             |
  11. | show datasources                        |Report all partition db threadPool info                 |                                             |
  12. | show node                               |Report master/slave read status                         |                                             |
  13. | show slow                               |Report top 100 slow sql                                 |                                             |
  14. | show physical_slow                      |Report top 100 physical slow sql                        |                                             |
  15. | clear slow                              |Clear slow data                                         |                                             |
  16. | trace SQL                               |Start trace sql,use show trace to print profiling data | trace select count(*)from user; show trace |
  17. | show trace                              |Report sql execute profiling info                       |                                             |
  18. | explain SQL                             |Report sql plan info                                    | explain select count(*)from user           |
  19. | explain detail SQL                      |Report sql detail plan info                             | explain detail select count(*)from user    |
  20. | explain execute SQL                     |Report sql on physical db plan info                     | explain execute select count(*)from user   |
  21. | show sequences                          |Report all sequences status                             |                                             |
  22. | create sequence NAME [start with COUNT]|Create sequence                                         | create sequence test start with0           |
  23. | alter sequence NAME [start with COUNT]  |Alter sequence                                          | alter sequence test start with100000       |
  24. | drop sequence NAME                      |Drop sequence                                           | drop sequence test                          |
  25. +-----------------------------------------+---------------------------------------------------------+---------------------------------------------+
  26. 20 rows inset(0.00 sec)
相关文章
|
10月前
|
SQL 监控 数据库
PolarDB-X 2.0,同一条sql,有时执行200ms,有时8000毫秒,是什么原因,频率很高.?
PolarDB-X 2.0,同一条sql,有时执行200ms,有时8000毫秒,是什么原因,频率很高.?
63 1
|
2月前
|
SQL Oracle 关系型数据库
Oracle SQL*Plus的HELP命令:你的数据库“百事通”
【4月更文挑战第19天】`Oracle SQL*Plus` 的 `HELP` 命令是数据库查询的强大工具,犹如“百事通”。在遇到困惑时,`HELP` 可提供详细命令解释和用法示例,解答基础到高级的 SQL 和 PL/SQL 疑问。它还是“活字典”,揭示命令关联与区别,如 `SET` 和 `ALTER SESSION`。此外,`HELP` 解释数据库概念,如“事务”,并支持模糊查询。无论新手还是专家,`HELP` 都是数据库探索的得力助手。
|
10月前
|
SQL 关系型数据库 分布式数据库
drds和polardb的sql语句分别有哪些
drds和polardb的sql语句分别有哪些
104 1
|
7月前
|
关系型数据库 MySQL 数据库
史上最全的MySQL性能手册(优化+SQL+并发+数据库)
史上最全的MySQL性能手册(优化+SQL+并发+数据库)
|
10月前
|
SQL 弹性计算 测试技术
如何在PolarDB-X中优化慢SQL
《PolarDB-X动手实践》系列第六期,本场景带您体验如何使用PolarDB-X提供的解决慢SQL的相关工具。
739 0
|
12月前
|
Cloud Native 关系型数据库 分布式数据库
阿里云最新产品手册——阿里云核心产品——云原生关系型数据库PolarDB——一读多写
阿里云最新产品手册——阿里云核心产品——云原生关系型数据库PolarDB——一读多写自制脑图
242 1
|
12月前
|
Cloud Native 关系型数据库 分布式数据库
阿里云最新产品手册——阿里云核心产品——云原生关系型数据库PolarDB——技术含量
阿里云最新产品手册——阿里云核心产品——云原生关系型数据库PolarDB——技术含量自制脑图
158 1
|
12月前
|
Cloud Native 关系型数据库 分布式数据库
阿里云最新产品手册——阿里云核心产品——云原生关系型数据库PolarDB——简介
阿里云最新产品手册——阿里云核心产品——云原生关系型数据库PolarDB——简介自制脑图
75 2
|
12月前
|
Cloud Native 关系型数据库 分布式数据库
阿里云最新产品手册——阿里云核心产品——云原生关系型数据库PolarDB
阿里云最新产品手册——阿里云核心产品——云原生关系型数据库PolarDB自制脑图
81 1
|
Cloud Native 关系型数据库 分布式数据库
《阿里云产品手册2022-2023 版》——云原生关系型数据库 PolarDB
《阿里云产品手册2022-2023 版》——云原生关系型数据库 PolarDB
551 0

热门文章

最新文章

相关产品

  • 云原生分布式数据库 PolarDB-X