ENGINES
ENGINES表提供了关于存储引擎的信息。当你需要检查 GreptimeDB 是否支持某个存储引擎或者查看默认的存储引擎时,该表非常有用。
ENGINES表包含以下列:
engine:存储引擎名称。support:存储引擎的支持级别:
| 值 | 含义 |
|---|---|
YES |
支持且在使用中 |
DEFAULT |
支持且在使用中,且是默认的存储引擎 |
NO |
不支持 |
DISABLED |
支持但已被禁用 |
comment:存储引擎的简要描述。transactions:存储引擎是否支持事务。xa:存储引擎是否支持 XA 事务。savepoints:存储引擎是否支持保存点。
例如:
1. SELECT * from INFORMATION_SCHEMA.ENGINES\G
结果如下:
1. *************************** 1. row ***************************
2. engine: mito
3. support: DEFAULT
4. comment: Storage engine for time-series data
5. transactions: NO
6. xa: NO
7. savepoints: NO
8. *************************** 2. row ***************************
9. engine: metric
10. support: YES
11. comment: Storage engine for observability scenarios, which is adept at handling a large number of small tables, making it particularly suitable for cloud-native monitoring
12. transactions: NO
13. xa: NO
14. savepoints: NO
