Difference between revisions of "TimescaleDB installation"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
[[sudo -u postgres]] -- bash -c "psql -c 'CREATE database tsdb'" | [[sudo -u postgres]] -- bash -c "psql -c 'CREATE database tsdb'" | ||
sudo -u postgres -- bash -c "psql [[tsdb]] -c 'CREATE EXTENSION IF NOT EXISTS timescaledb;'" | sudo -u postgres -- bash -c "psql [[tsdb]] -c 'CREATE EXTENSION IF NOT EXISTS timescaledb;'" | ||
+ | |||
+ | |||
+ | [[systemctl restart [email protected]]] | ||
== See also == | == See also == |
Revision as of 16:57, 3 February 2023
timescaledb-tune --yes sudo -u postgres -- bash -c "psql -c 'CREATE database tsdb'" sudo -u postgres -- bash -c "psql tsdb -c 'CREATE EXTENSION IF NOT EXISTS timescaledb;'"
systemctl restart [email protected]
See also
Advertising: