list_tables
List GaussDB tables and views with name, type, estimated rows, and comments, optionally filtered by schema, to locate target tables before inspecting structure or sampling data.
Instructions
列出 GaussDB 数据库中的表和视图清单:名称、类型(表/视图/物化视图/分区表/外表)、估算行数与注释。schema 参数可过滤到指定模式(可来自 list_schemas 的结果),省略时扫描全部非系统模式。适用场景:定位目标表后,用 describe_table 查看结构或用 execute_select 抽样查询。大型库建议传 schema 缩小扫描范围。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | 限定模式名(schema),省略时扫描全部非系统模式 | |
| instance | No | 数据源名称,省略时使用默认实例。可选实例:demo(默认) | |
| include_system | No | 是否包含系统模式,默认 false |