---
title: CCDB CLI命令说明
description: "- 命令功能"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/2200SPC3/sds/kunpengglobalcache_06_0048.html
sourcePath: /source/zh/kunpengboostkithistory/2200SPC3/sds/kunpengglobalcache_06_0048.html
indexId: ec3901fd48a33493d1c5aa2eef7285713589da631a630db906da6dee4f11f77878
---
# CCDB CLI命令说明

#### ccdb show all db

- 命令功能
  查询CCDB中所有的数据库。

- 命令格式
  ccdb show all db

- 参数说明| 参数 | 参数说明 | 取值 |
| --- | --- | --- |
| NA | NA | NA |


#### ccdb show db

- 命令功能
  查询ccdb指定数据库的所有的table。

- 命令格式
  ccdb show db [db name]

- 参数说明| 参数 | 参数说明 | 取值 |
| --- | --- | --- |
| db name | 数据库的名称 | ccdb show all db中列举的db name |


#### ccdb show table

- 命令功能
  查询ccdb中指定数据库的某一张表的内容。

- 命令格式
  ccdb show table [db name] [table name]

- 参数说明| 参数 | 参数说明 | 取值 |
| --- | --- | --- |
| db name | 数据库的名称 | ccdb show all db中列举的db name |
| table name | 数据表的名称 | ccdb show db [db name]中列举的table name |
