docs tweaks for new syntax show retention policies
parent
9949de3f44
commit
2c896cbcd8
|
@ -110,7 +110,7 @@ SHOW SERIES FROM cpu_load WHERE region = 'uswest' LIMIT 10
|
||||||
SHOW SERIES FROM cpu_load WHERE region = 'uswest' LIMIT 10 OFFSET 100
|
SHOW SERIES FROM cpu_load WHERE region = 'uswest' LIMIT 10 OFFSET 100
|
||||||
|
|
||||||
-- show all retention policies on a database
|
-- show all retention policies on a database
|
||||||
SHOW RETENTION POLICIES mydb
|
SHOW RETENTION POLICIES ON mydb
|
||||||
|
|
||||||
-- get a show of all tag keys across all measurements
|
-- get a show of all tag keys across all measurements
|
||||||
SHOW TAG KEYS
|
SHOW TAG KEYS
|
||||||
|
|
|
@ -469,14 +469,14 @@ SHOW MEASUREMENTS WHERE region = 'uswest' AND host = 'serverA';
|
||||||
### SHOW RETENTION POLICIES
|
### SHOW RETENTION POLICIES
|
||||||
|
|
||||||
```
|
```
|
||||||
show_retention_policies = "SHOW RETENTION POLICIES" db_name .
|
show_retention_policies = "SHOW RETENTION POLICIES ON" db_name .
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Example:
|
#### Example:
|
||||||
|
|
||||||
```sql
|
```sql
|
||||||
-- show all retention policies on a database
|
-- show all retention policies on a database
|
||||||
SHOW RETENTION POLICIES mydb;
|
SHOW RETENTION POLICIES ON mydb;
|
||||||
```
|
```
|
||||||
|
|
||||||
### SHOW SERIES
|
### SHOW SERIES
|
||||||
|
|
|
@ -127,7 +127,7 @@
|
||||||
<li><label data-query="SHOW TAG KEYS FROM measurement_name">Show Tag Keys</label></li>
|
<li><label data-query="SHOW TAG KEYS FROM measurement_name">Show Tag Keys</label></li>
|
||||||
<li><label data-query="SHOW TAG VALUES FROM measurement_name WITH KEY = tag_key">Show Tag Values</label></li>
|
<li><label data-query="SHOW TAG VALUES FROM measurement_name WITH KEY = tag_key">Show Tag Values</label></li>
|
||||||
<li class="divider"></li>
|
<li class="divider"></li>
|
||||||
<li><label data-query="SHOW RETENTION POLICIES db_name">Show Retention Policies</label></li>
|
<li><label data-query="SHOW RETENTION POLICIES ON db_name">Show Retention Policies</label></li>
|
||||||
<li><label data-query="CREATE RETENTION POLICY rp_name ON db_name DURATION 30d REPLICATION 1 DEFAULT">Create Retention Policy</label></li>
|
<li><label data-query="CREATE RETENTION POLICY rp_name ON db_name DURATION 30d REPLICATION 1 DEFAULT">Create Retention Policy</label></li>
|
||||||
<li><label data-query="DROP RETENTION POLICY rp_name">Drop Retention Policy</label></li>
|
<li><label data-query="DROP RETENTION POLICY rp_name">Drop Retention Policy</label></li>
|
||||||
<li class="divider"></li>
|
<li class="divider"></li>
|
||||||
|
|
Loading…
Reference in New Issue