Difference between revisions of "TimescaleDB installation"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by one other user 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 -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;'"
 +
 
 +
 
 +
* <code>[[systemctl restart [email protected]]]</code>
 +
* <code>[[SELECT * FROM pg_extension;]]</code>
 +
* <code>[[CREATE EXTENSION IF NOT EXISTS]] timescaledb CASCADE;</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 11:52, 11 May 2023

Advertising: