Add timescale creation example.

This commit is contained in:
Mahlon E. Smith 2018-02-12 13:00:25 -08:00
parent b1b5667c6f
commit 2e19a79772

View file

@ -44,7 +44,12 @@ including JSON functional indexing, etc. See PostgreSQL documentation
for details.
Strongly encouraged: Promote this table to a Timescale "hypertable".
See Timescale docs for that.
See Timescale docs for that, but a quick example to partition
automatically at weekly boundaries would look something like:
```sql
SELECT create_hypertable( 'netdata', 'time', chunk_time_interval => 604800000000 );
```