-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add doc for procedure_info table
- Loading branch information
Showing
8 changed files
with
128 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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`: 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...-plugin-content-docs/current/reference/sql/information-schema/procedure-info.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# PROCEDURE_INFO | ||
|
||
`PROCEDURE_INFO` 表提供了各种 Procedure 的详细信息。 | ||
|
||
|
||
```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`: Procedure 的 ID。 | ||
- `procedure_type`: Procedure 的类型。 | ||
- `start_time`: Procedure 开始的时间戳。 | ||
- `end_time`: Procedure 结束的时间戳。 | ||
- `status`: Procedure 当前的状态。 | ||
- `lock_keys`: Procedure 锁定的键。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...gin-content-docs/version-0.9/reference/sql/information-schema/procedure-info.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# PROCEDURE_INFO | ||
|
||
`PROCEDURE_INFO` 表提供了各种 Procedure 的详细信息。 | ||
|
||
|
||
```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`: Procedure 的 ID。 | ||
- `procedure_type`: Procedure 的类型。 | ||
- `start_time`: Procedure 开始的时间戳。 | ||
- `end_time`: Procedure 结束的时间戳。 | ||
- `status`: Procedure 当前的状态。 | ||
- `lock_keys`: Procedure 锁定的键。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
versioned_docs/version-0.9/reference/sql/information-schema/procedure-info.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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`: 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. |