Difference between revisions of "TimescaleDB installation"

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

Latest revision as of 11:52, 11 May 2023

Advertising: