remove_compression_policy()
community
If you need to remove the compression policy. To re-start policy-based compression again you will need to re-add the policy.
Required Arguments
Name | Type | Description |
---|---|---|
hypertable | REGCLASS | Name of the hypertable the policy should be removed from. |
Optional Arguments
Name | Type | Description |
---|---|---|
if_exists | BOOLEAN | Setting to true will cause the command to fail with a notice instead of an error if a compression policy does not exist on the hypertable. Defaults to false. |
Sample Usage
Remove the compression policy from the ‘cpu’ table:
SELECT remove_compression_policy('cpu');
当前内容版权归 TimescaleDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 TimescaleDB .