You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATE TABLE IF NOT EXISTS tick (
symbol TEXT NOT NULL,
volume REAL NOT NULL,
price REAL NOT NULL,
timestamp TIMESTAMPTZ NOT NULL,
UNIQUE (symbol, timestamp)
);
SELECT create_hypertable('tick', 'timestamp', chunk_time_interval => INTERVAL '1 day');
CREATE INDEX IF NOT EXISTS tick_symbol_timestamp_idx ON tick (symbol, timestamp DESC);
SELECT add_retention_policy('tick', INTERVAL '3 days');
I created this table and 100's of ticks are ingested every second from jan 13th , Still my old data are not being deleted. I expect it to delete data older than 3 days .
TimescaleDB version affected
2.17.2
PostgreSQL version used
17.2
What operating system did you use?
ubuntu 24
What installation method did you use?
Deb/Apt
What platform did you run on?
Amazon Web Services (AWS)
Relevant log output and stack trace
How can we reproduce the bug?
adding SELECT add_retention_policy('tick', INTERVAL '3 days');
to tick which contains more than 5 million rows.
The text was updated successfully, but these errors were encountered:
@vishnuc Thank you for the bug report. Could you show the configuration of the job? For example, when I use your code, I get the following configuration.
What type of bug is this?
Incorrect result
What subsystems and features are affected?
Other
What happened?
I created this table and 100's of ticks are ingested every second from jan 13th , Still my old data are not being deleted. I expect it to delete data older than 3 days .
TimescaleDB version affected
2.17.2
PostgreSQL version used
17.2
What operating system did you use?
ubuntu 24
What installation method did you use?
Deb/Apt
What platform did you run on?
Amazon Web Services (AWS)
Relevant log output and stack trace
How can we reproduce the bug?
The text was updated successfully, but these errors were encountered: