开发指南—DAL语句—SHOW—SHOW HELP

简介: 本文介绍了如何使用SHOW HELP命令。

操作样例

SHOW HELP用于展示PolarDB-X所有辅助SQL指令及其说明。


mysql> show help;
+-----------------------------------------+---------------------------------------------------------+---------------------------------------------+
| STATEMENT                               | DESCRIPTION                                             | EXAMPLE                                     |
+-----------------------------------------+---------------------------------------------------------+---------------------------------------------+
| show rule                               | Report all table rule                                   |                                             |
| show rule from TABLE                    | Report table rule                                       | show rule from user                         |
| show full rule from TABLE               | Report table full rule                                  | show full rule from user                    |
| show topology from TABLE                | Report table physical topology                          | show topology from user                     |
| show partitions from TABLE              | Report table dbPartition or tbPartition columns         | show partitions from user                   |
| show broadcasts                         | Report all broadcast tables                             |                                             |
| show datasources                        | Report all partition db threadPool info                 |                                             |
| show node                               | Report master/slave read status                         |                                             |
| show slow                               | Report top 100 slow sql                                 |                                             |
| show physical_slow                      | Report top 100 physical slow sql                        |                                             |
| clear slow                              | Clear slow data                                         |                                             |
| trace SQL                               | Start trace sql, use show trace to print profiling data | trace select count(*) from user; show trace |
| show trace                              | Report sql execute profiling info                       |                                             |
| explain SQL                             | Report sql plan info                                    | explain select count(*) from user           |
| explain detail SQL                      | Report sql detail plan info                             | explain detail select count(*) from user    |
| explain execute SQL                     | Report sql on physical db plan info                     | explain execute select count(*) from user   |
| show sequences                          | Report all sequences status                             |                                             |
| create sequence NAME [start with COUNT] | Create sequence                                         | create sequence test start with 0           |
| alter sequence NAME [start with COUNT]  | Alter sequence                                          | alter sequence test start with 100000       |
| drop sequence NAME                      | Drop sequence                                           | drop sequence test                          |
| show db status                          | Report size of each physical database                   | show db status                              |
| show full db status                     | Report size of each physical table, support like        | show full db status like user               |
| show ds                                 | Report simple partition db info                         | show ds                                     |
| show connection                         | Report all connections info                             | show connection                             |
| show trans                              | Report trans info                                       | show trans/show trans limit 2               |
| show full trans                         | Report all trans info                                   | show full trans/show full trans limit 2     |
| show stats                              | Report all requst stats                                 | show stats                                  |
| show stc                                | Report all requst stats by partition                    | show stc                                    |
| show htc                                | Report the CPU/LOAD/MEM/NET/GC stats                    | show htc                                    |
| show ccl_rules                          | Report the ccl rule info                                | show ccl_rules                              |
| clear ccl_rules                         | Clear the ccl rules                                     | clear ccl_rules                             |
| show ccl_triggers                       | Report the ccl trigger info                             | show ccl_triggers                           |
| clear ccl_triggers                      | Clear the ccl triggers                                  | clear ccl_triggers                          |
+-----------------------------------------+---------------------------------------------------------+---------------
相关文章
|
数据采集 机器学习/深度学习 算法
阿里音乐流行趋势预测—冠军答辩(二)|学习笔记
快速学习阿里音乐流行趋势预测—冠军答辩(二)
564 0
|
搜索推荐 前端开发 开发者
「Mac畅玩鸿蒙与硬件19」鸿蒙UI组件篇9 - 自定义动画实现
自定义动画让开发者可以设计更加个性化和复杂的动画效果,适合表现独特的界面元素。鸿蒙提供了丰富的工具,支持通过自定义路径和时间控制来创建复杂的动画运动。本篇将带你学习如何通过自定义动画实现更多样化的效果。
470 11
「Mac畅玩鸿蒙与硬件19」鸿蒙UI组件篇9 - 自定义动画实现
|
机器学习/深度学习 供应链 量子技术
探索量子计算在软件开发中的角色
【10月更文挑战第11天】量子计算作为新兴计算模式,正逐步影响软件开发领域。本文介绍量子计算的基本概念、核心优势及在药物发现、机器学习、供应链优化和金融建模等软件开发中的潜在应用,探讨开发者如何准备迎接这一变革。
ChatGPT高效提问—prompt基础
ChatGPT高效提问—prompt基础
488 0
|
计算机视觉
CVPR 24:ETH Zurich等团队:重新定义小样本3D分割任务,新基准开启广阔提升潜力!
【7月更文挑战第1天】ETH Zurich团队提出了重新定义小样本3D点云分割任务,聚焦于前景泄漏和稀疏点分布问题。他们提出COSeg方法,利用类特定多原型相关性(CMC)和超相关性增强(HCA),以解决现有方法的局限。此外,通过基础原型校准(BPC)改善模型对基础类的敏感性。实验显示COSeg在性能上有显著提升,但其泛化能力和计算需求仍待优化,且遮挡和噪声等挑战仍有待解决。[论文链接](https://arxiv.org/abs/2403.00592)
358 13
|
数据采集 C# 数据安全/隐私保护
掌握 C# 爬虫技术:使用 HttpClient 获取今日头条内容
本文介绍了如何使用C#的HttpClient与爬虫代理IP技术抓取今日头条内容,以实现高效的数据采集。通过结合亿牛云爬虫代理,可以绕过IP限制,增强匿名性。文中提供了一个代码示例,展示如何设置代理服务器信息、请求头,并用正则表达式提取热点新闻标题。利用多线程技术,能提升爬虫采集效率,为市场分析等应用提供支持。
393 1
掌握 C# 爬虫技术:使用 HttpClient 获取今日头条内容
|
SQL 网络协议 中间件
选择中间件国际化与国产化兼容性
【5月更文挑战第21天】
425 1
|
监控 Windows
(1)Mission Planner概述
(1)Mission Planner概述
1165 2
|
存储 设计模式 编译器
软件体系结构 - 复杂指令集架构 (CISC)
【4月更文挑战第18天】软件体系结构 - 复杂指令集架构 (CISC)
650 6
|
网络安全 数据中心 网络架构
【专栏】标准19英寸机架及其尺寸单位1U和2U在数据中心和通信机房中的应用
【4月更文挑战第28天】本文介绍了标准19英寸机架及其尺寸单位1U和2U在数据中心和通信机房中的应用。19英寸机架是国际标准,宽度48.26厘米,深度可定制。1U等于4.445厘米,2U是1U的两倍。1U设备适用于空间有限的情况,2U则提供更大空间和更好的散热。选择机架时需考虑空间、散热和电力需求,设备布局要保证散热和电缆管理。理解这些标准对于优化空间利用和系统管理至关重要。
2031 0