docs tweaks for new syntax show retention policies

pull/3438/head
Haneysmith, Nathan 2015-07-22 15:46:42 -07:00
parent 9949de3f44
commit 2c896cbcd8
3 changed files with 4 additions and 4 deletions

View File

@ -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 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
SHOW TAG KEYS

View File

@ -469,14 +469,14 @@ SHOW MEASUREMENTS WHERE region = 'uswest' AND host = 'serverA';
### SHOW RETENTION POLICIES
```
show_retention_policies = "SHOW RETENTION POLICIES" db_name .
show_retention_policies = "SHOW RETENTION POLICIES ON" db_name .
```
#### Example:
```sql
-- show all retention policies on a database
SHOW RETENTION POLICIES mydb;
SHOW RETENTION POLICIES ON mydb;
```
### SHOW SERIES

View File

@ -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 VALUES FROM measurement_name WITH KEY = tag_key">Show Tag Values</label></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="DROP RETENTION POLICY rp_name">Drop Retention Policy</label></li>
<li class="divider"></li>