Skip to main content
Create a partitioned on a single dimension with enabled, or create a standard relational table. A is a specialized table that automatically partitions your data by time. All actions that work on a table, work on s. For example, ALTER TABLE and SELECT. to foreign keys are not allowed, all other combinations are permitted. As the data cools and becomes more suited for analytics, add a columnstore policy so your data is automatically converted to the after a specific time interval. This columnar format enables fast scanning and aggregation, optimizing performance for analytical workloads while also saving significant storage space. In the conversion, chunks are compressed by more than 90%, and organized for efficient, large-scale queries. This columnar format enables fast scanning and aggregation, optimizing performance for analytical workloads. You can also manually convert chunks in a to the . By default, a is partitioned on the time dimension. To add secondary dimensions to a , call add_dimension. To convert an existing relational table into a , call create_hypertable. CREATE TABLE extends the standard CREATE TABLE. This page explains the features and arguments specific to .

Samples

  • Create a hypertable partitioned on the time dimension and enable :
    1. Create the hypertable:
    1. Enable by adding a columnstore policy:
  • Create a hypertable partitioned on the time with fewer chunks based on time interval:
  • Create a relational table

Arguments

The syntax is:

Returns

returns a simple message indicating success or failure.