Skip to main content

Enable Compression

Enable Compression — see the properties below.

This node is also exposed as an AI Agent tool.

This node has 1 input port and 1 output port.

Common Properties​

Every node shares these.

  • Name — the node's display name on the canvas.
  • Color — the node's colour on the canvas.
  • Delay Before (sec) — wait this long before the node runs.
  • Delay After (sec) — wait this long after the node runs.
  • Continue On Error — carry on instead of failing the flow. Defaults to false.
info

When Continue On Error is true the error is not raised at all, so a Catch node will not see it either.

Inputs​

PropertyFieldDescription
Client IDinClientIDClient ID from Connect node
Order ByinOrderByColumn to order compressed data by (default: time column DESC)
Segment ByinSegmentByColumn to segment compressed data by (e.g. device_id). Improves query performance on this column
Table NameinTableName of the hypertable to enable compression on

Outputs​

PropertyFieldDescription
SuccessoutSuccessWhether compression was enabled successfully

Options​

PropertyFieldDescription
Compress AfteroptCompressAfterAutomatically compress chunks older than this interval (e.g. 7 days). Leave empty for no auto-compression policy
CredentialsoptCredentialsTimescaleDB credentials (optional if using Connect node)
Timeout (seconds)optTimeoutMaximum time in seconds to wait

Requirements​

  • A Client ID from this package's Connect node, unless you set credentials directly on this node.

Create Hypertable · Drop Chunks

Elsewhere in the package: Connect · Disconnect · Execute Query · Insert Data · Query Data · Create Continuous Aggregate · Refresh Continuous Aggregate · Toolkit

See also​