I've read all about enabling timescale on an existing database, seems easy enough. But when I run the timescaledb.sql script as detailed in the documentation, it fills the disk and crashes.
Started with a 393GB disk containing a 320GB database, so about 50GB free. After roughly an hour, it had gobbled up the remaining space and crashed.
I just upgraded from 6.04 to 6.4.3, then installed timescale and ran the script.
user@servername:/usr/share/zabbix-sql-scripts/postgresql$ cat /usr/share/zabbix-sql-scripts/postgresql/timescaledb.sql | sudo -u zabbix psql zabbix
NOTICE: PostgreSQL version 13.11 (Debian 13.11-0+deb11u1) is valid
NOTICE: TimescaleDB extension is detected
NOTICE: TimescaleDB version 2.11.0 is valid
NOTICE: migrating data to chunks
DETAIL: Migration might take a while depending on the amount of data.
Last 2 lines repeat a few times
zabbix is stopped and I don't see any errors in the zabbix or postgres logs
So am I doing something wrong or is this a copy then delete type operation where I need a lot more free disk space?
Started with a 393GB disk containing a 320GB database, so about 50GB free. After roughly an hour, it had gobbled up the remaining space and crashed.
I just upgraded from 6.04 to 6.4.3, then installed timescale and ran the script.
user@servername:/usr/share/zabbix-sql-scripts/postgresql$ cat /usr/share/zabbix-sql-scripts/postgresql/timescaledb.sql | sudo -u zabbix psql zabbix
NOTICE: PostgreSQL version 13.11 (Debian 13.11-0+deb11u1) is valid
NOTICE: TimescaleDB extension is detected
NOTICE: TimescaleDB version 2.11.0 is valid
NOTICE: migrating data to chunks
DETAIL: Migration might take a while depending on the amount of data.
Last 2 lines repeat a few times
zabbix is stopped and I don't see any errors in the zabbix or postgres logs
So am I doing something wrong or is this a copy then delete type operation where I need a lot more free disk space?
Comment