Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[update] remove references to space partition #2632

Merged
merged 4 commits into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions api/add_data_node.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,10 @@ TimescaleDB extension on the data node unless it is already installed.

### Sample usage

Let's assume that you have an existing hypertable `conditions` and
want to use `time` as the time partitioning column and `location` as
the space partitioning column. You also want to distribute the chunks
of the hypertable on two data nodes `dn1.example.com` and
`dn2.example.com`:
If you have an existing hypertable `conditions` and want to use `time`
as the time partitioning column and `location` as the space partitioning
column. You also want to distribute the chunks of the hypertable on two
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sentence fragment here

data nodes `dn1.example.com` and `dn2.example.com`:

```sql
SELECT add_data_node('dn1', host => 'dn1.example.com');
Expand Down
13 changes: 0 additions & 13 deletions api/create_hypertable.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,19 +147,6 @@ SELECT create_hypertable('conditions', 'time', chunk_time_interval => 8640000000
SELECT create_hypertable('conditions', 'time', chunk_time_interval => INTERVAL '1 day');
```

Convert table `conditions` to hypertable with time partitioning on `time` and
space partitioning (4 partitions) on `location`:

```sql
SELECT create_hypertable('conditions', 'time', 'location', 4);
```

The same as above, but using a custom partitioning function:

```sql
SELECT create_hypertable('conditions', 'time', 'location', 4, partitioning_func => 'location_hash');
```

Convert table `conditions` to hypertable. Do not raise a warning
if `conditions` is already a hypertable:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ hypertable. To set up multi-node, see the

1. Convert the table to a distributed hypertable. Specify the name of the table
you want to convert, the column that holds its time values, and a
space-partitioning parameter. For more information about space partitions,
see the [space-partitioning section][space-partitions].
space-partitioning parameter.
Rajakavitha1 marked this conversation as resolved.
Show resolved Hide resolved

```sql
SELECT create_distributed_hypertable('conditions', 'time', 'location');
Expand All @@ -46,4 +45,3 @@ hypertable. To set up multi-node, see the

[multi-node]: /self-hosted/:currentVersion:/multinode-timescaledb/
[postgres-createtable]: https://www.postgresql.org/docs/current/sql-createtable.html
[space-partitions]: /use-timescale/:currentVersion:/hypertables/about-hypertables#space-partitions-for-distributed-hypertables
18 changes: 0 additions & 18 deletions use-timescale/hypertables/about-hypertables.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,24 +73,6 @@ For a detailed analysis of how to optimize your chunk sizes, see the
to view and set your chunk time intervals, see the section on
[changing hypertable chunk intervals][change-chunk-intervals].

### Space partitioning

Space partitioning is optional. It is not usually recommended for regular
hypertables.

A good alternative way to increase input/output performance on single
hypertables is to use RAID (redundant array of inexpensive disks). RAID
virtualizes multiple physical disks into a single logical disk. You can then use
this single logical disk to store your hypertable, without any space
partitioning.

Space partitioning is useful if you have multiple physical disks, each
corresponding to a separate tablespace. Each disk can then store some of the
space partitions. If you partition by space without this setup, you increase
query planning complexity without increasing I/O performance. For more
information, see the
[distributed hypertables][about-distributed-hypertables] section.

## Hypertable indexes

By default, indexes are automatically created when you create a hypertable. You
Expand Down