Difference between revisions of "TimescaleDB installation"
Jump to navigation
Jump to search
(10 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
[[timescaledb-tune --yes]] | [[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;'" | ||
− | + | * <code>[[systemctl restart [email protected]]]</code> | |
+ | * <code>[[SELECT * FROM pg_extension;]]</code> | ||
+ | * <code>[[CREATE EXTENSION IF NOT EXISTS]] timescaledb CASCADE;</code> | ||
− | {{timescale}} | + | == See also == |
+ | * {{timescale}} | ||
+ | |||
+ | [[Category:TimescaleDB]] |
Latest revision as of 11:52, 11 May 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]
SELECT * FROM pg_extension;
CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;
See also[edit]
Advertising: