We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Large tables are maintained with timescaledb extension:
CREATE TABLE ihr_delay_alarms_new (LIKE ihr_delay_alarms INCLUDING DEFAULTS INCLUDING CONSTRAINTS EXCLUDING INDEXES);
ALTER TABLE ihr_delay_alarms_new SET TABLESPACE nas0_slow_tablespace ;
SELECT create_hypertable('ihr_delay_alarms_new', 'timebin', chunk_time_interval => interval '7 day'); INSERT INTO ihr_delay_alarms_new SELECT * FROM ihr_delay_alarms;
CREATE INDEX ON ihr_delay_alarms_new (asn_id, timebin DESC);