How does Compression work?

For a 10 day chunk, will TimescaleDB start compression if any of the rows in the chunk meets the compression criteria or it will start the compression after all rows in the chunk meet the compression criteria ?

Hi @pgloader, sorry for the late reply here. Second option: it only compresses when all chunk data meets the criteria.

Compression starts after all rows in the chunk meet the criteria (i.e., when the chunk’s entire time range is older than the policy’s threshold). Individual rows do not trigger partial compression.