If you no longer want to use tiered storage for a particular hypertable, you
can drop the associated metadata by calling the disable_tiering
function.
To disable tiering on a hypertable:
Call remove_tiering_policy and drop any tiering policy associated with this hypertable.
Make sure that there is no tiered data associated with this hypertable:
List the tiered chunks associated with this hypertable:
select * from timescaledb_osm.tiered_chunksIf you have any tiered chunks, either untier this data, or drop these chunks from tiered storage.
You can use the untier_chunk procedure to untier chunks that have already been tiered to local storage.
Use
disable_tiering
to drop all tiering related metadata for the hypertable:select disable_tiering('my_hypertable_name');Verify that tiering has been disabled by listing the hypertables that have tiering enabled.
select * from timescaledb_osm.tiered_hypertables;
And that is it, you have disabled tiering on a hypertable.
Keywords
Found an issue on this page?Report an issue or Edit this page in GitHub.