Last active
March 31, 2021 17:05
-
-
Save Disassembler0/0375e88e2494795c2e020bcb7a42a927 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check version | |
sudo -u postgres psql -X -c "SELECT default_version, installed_version FROM pg_available_extensions WHERE name = 'timescaledb';" zabbix | |
# Update version | |
sudo -u postgres psql -X -c "ALTER EXTENSION timescaledb UPDATE;" zabbix | |
# Check hypertable size | |
SELECT * FROM hypertable_relation_size_pretty('hypertable'); | |
# Check chunk size | |
SELECT chunk_table, table_size, index_size, total_size FROM chunk_relation_size_pretty('hypertable'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixes
ERROR: could not access file "$libdir/timescaledb-1.2.2": No such file or directory