Skip to content

Commit

Permalink
Add small note about timescale dependent objects (github#165)
Browse files Browse the repository at this point in the history
* Add small note about timescale dependent objects

* Update timescaledb/tutorials/custom-timescaledb-dashboards.md

Co-authored-by: Lana Brindley <github@lanabrindley.com>

Co-authored-by: Lana Brindley <github@lanabrindley.com>
  • Loading branch information
jonatas and Loquacity authored Jul 12, 2021
1 parent b95eed7 commit 40d492a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions timescaledb/tutorials/custom-timescaledb-dashboards.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,11 @@ FROM (
AND ch.chunk_name = cds.chunk_name;
```

<highlight type="warning">
The view is dependent on TimescaleDB internals. You might need to drop the view
to upgrade the TimescaleDB extension, and recreate it after the upgrade.
</highlight>

To test, use the name of a random chunk from the hypertable to query this view and check that you get all of the information you need. You should see the time range of the chunk, the hypertable information, and its size before and after compression.

In this example chunk, the `before_compression_total_bytes` is ten times bigger than `after_compression_total_bytes`. Compression saved more than 90% of disk space!
Expand Down

0 comments on commit 40d492a

Please sign in to comment.