Quantcast
Channel: TimescaleDB and PostgreSQL - Timescale Community Forum
Viewing all articles
Browse latest Browse all 291

Q: Units in add_retention_policy() with integer-based timestamps

$
0
0

Hi

What are the units when setting the retention with integer-based timestamps?

The only example provided in there (link to docs: Timescale Docs )

SELECT add_retention_policy('conditions', BIGINT '600000');

What is 600000? Seconds, minutes, hours?

Checked the source code but did not find anything about the units:

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 291

Trending Articles