Update README Timescale example for v0.9.0.
This commit is contained in:
parent
5d4c9f24e8
commit
68f253d460
1 changed files with 2 additions and 2 deletions
|
|
@ -44,10 +44,10 @@ functional indexing, etc. See PostgreSQL documentation for details.
|
|||
Strongly encouraged: Promote this table to a Timescale "hypertable".
|
||||
See [Timescale](http://timescale.com) docs for that, but a quick example
|
||||
to partition automatically at weekly boundaries would look something
|
||||
like:
|
||||
like this, if you're running v0.9.0 or better:
|
||||
|
||||
```sql
|
||||
SELECT create_hypertable( 'netdata', 'time', chunk_time_interval => 604800000000 );
|
||||
SELECT create_hypertable( 'netdata', 'time', migrate_data => true, chunk_time_interval => '1 week'::interval );
|
||||
```
|
||||
|
||||
Timescale also has some great examples and advice for efficient [JSON
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue