Editing TimeScale Training
Revision as of 16:50, 13 April 2025 by Ian.readman (talk | contribs) (Created page with "== Setup == <pre> SET search_path = "$user", public, "timescaledb_information"; SET timezone TO 'Europe/Berlin'; \dv timescaledb_information.* </pre> <pre> DROP TABLE IF EXISTS metrics; CREATE TABLE metrics (id integer PRIMARY KEY GENERATED ALWAYS AS IDENTITY, device_time timestamptz NOT NULL, device_id integer, cpu_usage numeric); </pre> == Create Hypertable == <pre> SELECT create_hypertable('metrics', by_range('device_time'));...")
Warning: You are editing an out-of-date revision of this page.
If you publish it, any changes made since this revision will be lost.
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
Retrieved from "https://iandoob.net/index.php/TimeScale_Training"