mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 21:32:58 +00:00
* test: test create table with database ttl * feat: show database options * fix: comment * chore: apply suggestion Co-authored-by: Jeremyhi <jiachun_feng@proton.me> * chore: fix CR comments and refactor * chore: style Co-authored-by: Weny Xu <wenymedia@gmail.com> --------- Co-authored-by: Jeremyhi <jiachun_feng@proton.me> Co-authored-by: Weny Xu <wenymedia@gmail.com>
65 lines
1.9 KiB
Plaintext
65 lines
1.9 KiB
Plaintext
SHOW DATABASES;
|
|
|
|
+--------------------+
|
|
| Database |
|
|
+--------------------+
|
|
| greptime_private |
|
|
| information_schema |
|
|
| public |
|
|
+--------------------+
|
|
|
|
SHOW FULL DATABASES;
|
|
|
|
+--------------------+---------+
|
|
| Database | Options |
|
|
+--------------------+---------+
|
|
| greptime_private | |
|
|
| information_schema | |
|
|
| public | |
|
|
+--------------------+---------+
|
|
|
|
USE information_schema;
|
|
|
|
Affected Rows: 0
|
|
|
|
SHOW TABLES;
|
|
|
|
+---------------------------------------+
|
|
| Tables |
|
|
+---------------------------------------+
|
|
| build_info |
|
|
| character_sets |
|
|
| check_constraints |
|
|
| cluster_info |
|
|
| collation_character_set_applicability |
|
|
| collations |
|
|
| column_privileges |
|
|
| column_statistics |
|
|
| columns |
|
|
| engines |
|
|
| events |
|
|
| files |
|
|
| global_status |
|
|
| key_column_usage |
|
|
| optimizer_trace |
|
|
| parameters |
|
|
| partitions |
|
|
| profiling |
|
|
| referential_constraints |
|
|
| region_peers |
|
|
| routines |
|
|
| runtime_metrics |
|
|
| schema_privileges |
|
|
| schemata |
|
|
| session_status |
|
|
| table_constraints |
|
|
| table_privileges |
|
|
| tables |
|
|
| triggers |
|
|
+---------------------------------------+
|
|
|
|
USE public;
|
|
|
|
Affected Rows: 0
|
|
|