diff --git a/docs/reference/sql/information-schema/overview.md b/docs/reference/sql/information-schema/overview.md index 5cb9d1048..f2bd46402 100644 --- a/docs/reference/sql/information-schema/overview.md +++ b/docs/reference/sql/information-schema/overview.md @@ -55,8 +55,4 @@ There is still lots of work to do for `INFORMATION_SCHEMA`. The tracking [issue] | [`RUNTIME_METRICS`](./runtime-metrics.md)| Provides the system runtime metrics.| | [`CLUSTER_INFO`](./cluster-info.md)| Provides the topology information of the cluster.| | [`FLOWS`](./flows.md) | Provides the flow information.| - - - - - \ No newline at end of file +| [`PROCEDURE_INFO`](./procedure-info.md) | Procedure information.| diff --git a/docs/reference/sql/information-schema/procedure-info.md b/docs/reference/sql/information-schema/procedure-info.md new file mode 100644 index 000000000..cfcffe116 --- /dev/null +++ b/docs/reference/sql/information-schema/procedure-info.md @@ -0,0 +1,32 @@ +# PROCEDURE_INFO +The `PROCEDURE_INFO` table provides detailed information about various procedures. + +:::tip NOTE +This table is not available on [GreptimeCloud](https://greptime.cloud/). +::: + +```sql +DESC TABLE INFORMATION_SCHEMA.PROCEDURE_INFO; +``` + +```sql ++----------------+----------------------+------+------+---------+---------------+ +| Column | Type | Key | Null | Default | Semantic Type | ++----------------+----------------------+------+------+---------+---------------+ +| procedure_id | String | | NO | | FIELD | +| procedure_type | String | | NO | | FIELD | +| start_time | TimestampMillisecond | | YES | | FIELD | +| end_time | TimestampMillisecond | | YES | | FIELD | +| status | String | | NO | | FIELD | +| lock_keys | String | | YES | | FIELD | ++----------------+----------------------+------+------+---------+---------------+ +``` + +Fields in the `PROCEDURE_INFO` table are described as follows: + +- `procedure_id`: The ID of the Procedure. +- `procedure_type`: The type of the Procedure. +- `start_time`: Timestamp indicating when the procedure started. +- `end_time`: Timestamp indicating when the procedure ended. +- `status`: Current status of the procedure. +- `lock_keys`: Keys locked by the procedure, if any. \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/reference/sql/information-schema/overview.md b/i18n/zh/docusaurus-plugin-content-docs/current/reference/sql/information-schema/overview.md index 23c09c4b6..f9b1d7e47 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/reference/sql/information-schema/overview.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/reference/sql/information-schema/overview.md @@ -53,4 +53,4 @@ | [`RUNTIME_METRICS`](./runtime-metrics.md)| 提供了系统运行时指标。| | [`CLUSTER_INFO`](./cluster-info.md)| 提供了集群的节点拓扑信息。| | [`FLOWS`](./flows.md) | 提供 Flow 相关信息。| - \ No newline at end of file +| [`PROCEDURE_INFO`](./procedure-info.md) | 提供 Procedure 相关信息。| diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/reference/sql/information-schema/procedure-info.md b/i18n/zh/docusaurus-plugin-content-docs/current/reference/sql/information-schema/procedure-info.md new file mode 100644 index 000000000..b0d83975d --- /dev/null +++ b/i18n/zh/docusaurus-plugin-content-docs/current/reference/sql/information-schema/procedure-info.md @@ -0,0 +1,32 @@ +# PROCEDURE_INFO + +`PROCEDURE_INFO` 表提供了各种 Procedure 的详细信息。 +:::tip NOTE +该表在 [GreptimeCloud](https://greptime.cloud/) 中不可用。 +::: + +```sql +DESC TABLE INFORMATION_SCHEMA.PROCEDURE_INFO; +``` + +```sql ++----------------+----------------------+------+------+---------+---------------+ +| Column | Type | Key | Null | Default | Semantic Type | ++----------------+----------------------+------+------+---------+---------------+ +| procedure_id | String | | NO | | FIELD | +| procedure_type | String | | NO | | FIELD | +| start_time | TimestampMillisecond | | YES | | FIELD | +| end_time | TimestampMillisecond | | YES | | FIELD | +| status | String | | NO | | FIELD | +| lock_keys | String | | YES | | FIELD | ++----------------+----------------------+------+------+---------+---------------+ +``` + +`PROCEDURE_INFO` 表中的字段描述如下: + +- `procedure_id`: Procedure 的 ID。 +- `procedure_type`: Procedure 的类型。 +- `start_time`: Procedure 开始的时间戳。 +- `end_time`: Procedure 结束的时间戳。 +- `status`: Procedure 当前的状态。 +- `lock_keys`: Procedure 锁定的键。 \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.9/reference/sql/information-schema/overview.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.9/reference/sql/information-schema/overview.md index 23c09c4b6..f9b1d7e47 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.9/reference/sql/information-schema/overview.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.9/reference/sql/information-schema/overview.md @@ -53,4 +53,4 @@ | [`RUNTIME_METRICS`](./runtime-metrics.md)| 提供了系统运行时指标。| | [`CLUSTER_INFO`](./cluster-info.md)| 提供了集群的节点拓扑信息。| | [`FLOWS`](./flows.md) | 提供 Flow 相关信息。| - \ No newline at end of file +| [`PROCEDURE_INFO`](./procedure-info.md) | 提供 Procedure 相关信息。| diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.9/reference/sql/information-schema/procedure-info.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.9/reference/sql/information-schema/procedure-info.md new file mode 100644 index 000000000..b0d83975d --- /dev/null +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.9/reference/sql/information-schema/procedure-info.md @@ -0,0 +1,32 @@ +# PROCEDURE_INFO + +`PROCEDURE_INFO` 表提供了各种 Procedure 的详细信息。 +:::tip NOTE +该表在 [GreptimeCloud](https://greptime.cloud/) 中不可用。 +::: + +```sql +DESC TABLE INFORMATION_SCHEMA.PROCEDURE_INFO; +``` + +```sql ++----------------+----------------------+------+------+---------+---------------+ +| Column | Type | Key | Null | Default | Semantic Type | ++----------------+----------------------+------+------+---------+---------------+ +| procedure_id | String | | NO | | FIELD | +| procedure_type | String | | NO | | FIELD | +| start_time | TimestampMillisecond | | YES | | FIELD | +| end_time | TimestampMillisecond | | YES | | FIELD | +| status | String | | NO | | FIELD | +| lock_keys | String | | YES | | FIELD | ++----------------+----------------------+------+------+---------+---------------+ +``` + +`PROCEDURE_INFO` 表中的字段描述如下: + +- `procedure_id`: Procedure 的 ID。 +- `procedure_type`: Procedure 的类型。 +- `start_time`: Procedure 开始的时间戳。 +- `end_time`: Procedure 结束的时间戳。 +- `status`: Procedure 当前的状态。 +- `lock_keys`: Procedure 锁定的键。 \ No newline at end of file diff --git a/versioned_docs/version-0.9/reference/sql/information-schema/overview.md b/versioned_docs/version-0.9/reference/sql/information-schema/overview.md index 5cb9d1048..e290d158a 100644 --- a/versioned_docs/version-0.9/reference/sql/information-schema/overview.md +++ b/versioned_docs/version-0.9/reference/sql/information-schema/overview.md @@ -55,8 +55,7 @@ There is still lots of work to do for `INFORMATION_SCHEMA`. The tracking [issue] | [`RUNTIME_METRICS`](./runtime-metrics.md)| Provides the system runtime metrics.| | [`CLUSTER_INFO`](./cluster-info.md)| Provides the topology information of the cluster.| | [`FLOWS`](./flows.md) | Provides the flow information.| - - +| [`PROCEDURE_INFO`](./procedure-info.md) | Procedure information.| \ No newline at end of file diff --git a/versioned_docs/version-0.9/reference/sql/information-schema/procedure-info.md b/versioned_docs/version-0.9/reference/sql/information-schema/procedure-info.md new file mode 100644 index 000000000..cfcffe116 --- /dev/null +++ b/versioned_docs/version-0.9/reference/sql/information-schema/procedure-info.md @@ -0,0 +1,32 @@ +# PROCEDURE_INFO +The `PROCEDURE_INFO` table provides detailed information about various procedures. + +:::tip NOTE +This table is not available on [GreptimeCloud](https://greptime.cloud/). +::: + +```sql +DESC TABLE INFORMATION_SCHEMA.PROCEDURE_INFO; +``` + +```sql ++----------------+----------------------+------+------+---------+---------------+ +| Column | Type | Key | Null | Default | Semantic Type | ++----------------+----------------------+------+------+---------+---------------+ +| procedure_id | String | | NO | | FIELD | +| procedure_type | String | | NO | | FIELD | +| start_time | TimestampMillisecond | | YES | | FIELD | +| end_time | TimestampMillisecond | | YES | | FIELD | +| status | String | | NO | | FIELD | +| lock_keys | String | | YES | | FIELD | ++----------------+----------------------+------+------+---------+---------------+ +``` + +Fields in the `PROCEDURE_INFO` table are described as follows: + +- `procedure_id`: The ID of the Procedure. +- `procedure_type`: The type of the Procedure. +- `start_time`: Timestamp indicating when the procedure started. +- `end_time`: Timestamp indicating when the procedure ended. +- `status`: Current status of the procedure. +- `lock_keys`: Keys locked by the procedure, if any. \ No newline at end of file