Skip to content

Commit 5059e8a

Browse files
billy-the-fishphilkraatovpekobilly-the-fishbrandonpurcell-dev
authored
515 milestone branch for 223 release (#4535)
* Add PG18 to the support matrix (#4528) * Update Alter_Table doc (#4523) * chore: cleanup. (#4527) * chore: cleanup. * Apply suggestions from code review Co-authored-by: Anastasiia Tovpeko <[email protected]> Signed-off-by: Iain Cox <[email protected]> --------- Signed-off-by: Iain Cox <[email protected]> Co-authored-by: billy-the-fish <[email protected]> Co-authored-by: Anastasiia Tovpeko <[email protected]> * Add PG18 to the support matrix * update --------- Signed-off-by: Iain Cox <[email protected]> Co-authored-by: Anastasiia Tovpeko <[email protected]> Co-authored-by: Iain Cox <[email protected]> Co-authored-by: billy-the-fish <[email protected]> Co-authored-by: atovpeko <[email protected]> * first update (#4526) * chore: compress on INSERT. (#4533) * chore: compress on INSERT. * chore: add missing partials. * Update changelog with new features and enhancements (#4536) * Update changelog with new features and enhancements Added details about Crypto Payments early access and S3 Source Connector improvements. Signed-off-by: Brandon <[email protected]> * review and images * crypto payments added --------- Signed-off-by: Brandon <[email protected]> Co-authored-by: Anastasiia Tovpeko <[email protected]> Co-authored-by: atovpeko <[email protected]> * fixes on azure review (#4538) * CLI/MCP fixes (#4537) * Fix erroneous references to --cpu-memory flag * Improve documentation of configuration parameters, env vars, and flags * Add new 'create role' command * Add backticks around output format * Minor tweaks to global CLI flags * List config options, not env vars * MCP tools, not commands * Add new service_fork MCP tool * chore: update on review. --------- Signed-off-by: Iain Cox <[email protected]> Co-authored-by: billy-the-fish <[email protected]> Co-authored-by: Iain Cox <[email protected]> * Link to support portal + fix duplication (#4541) * chore: update logo in the readme. (#4542) * Remove table access method option (#4543) This option no longer exists Signed-off-by: Philip Krauss <[email protected]> * Apply suggestions from code review Co-authored-by: Philip Krauss <[email protected]> Signed-off-by: Iain Cox <[email protected]> * Update _use-case-transport-geolocation.md (#4501) Hinting about the tuple decompression limit error and how to set it to zero. Signed-off-by: Raja Yogan <[email protected]> Co-authored-by: Iain Cox <[email protected]> --------- Signed-off-by: Brandon <[email protected]> Signed-off-by: Iain Cox <[email protected]> Signed-off-by: Philip Krauss <[email protected]> Signed-off-by: Raja Yogan <[email protected]> Co-authored-by: billy-the-fish <[email protected]> Co-authored-by: Brandon <[email protected]> Co-authored-by: Anastasiia Tovpeko <[email protected]> Co-authored-by: atovpeko <[email protected]> Co-authored-by: Nathan Cochran <[email protected]> Co-authored-by: Philip Krauss <[email protected]> Co-authored-by: Raja Yogan <[email protected]> * 484 create table with start columnstore policy immediately and selecting partition column optional (#4529) * chore: first steps for new create table. * chore: change to using CREATE TABLE with the default columnstore policy rather than add_columnstore_policy in another step. * chore: review updates. * Apply suggestions from code review Co-authored-by: Anastasiia Tovpeko <[email protected]> Signed-off-by: Iain Cox <[email protected]> * chore: update on review * chore: change includes to show new way of working * chore: update after review. * Apply suggestions from code review Co-authored-by: Philip Krauss <[email protected]> Signed-off-by: Iain Cox <[email protected]> * chore: update links --------- Signed-off-by: Iain Cox <[email protected]> Co-authored-by: billy-the-fish <[email protected]> Co-authored-by: Anastasiia Tovpeko <[email protected]> Co-authored-by: Philip Krauss <[email protected]> * Updated list of GUCs from TimescaleDB 2.23.0 (#4530) * [create-pull-request] automated change * Apply suggestions from code review Co-authored-by: Iain Cox <[email protected]> Signed-off-by: Philip Krauss <[email protected]> --------- Signed-off-by: Philip Krauss <[email protected]> Co-authored-by: Iain Cox <[email protected]> Co-authored-by: Philip Krauss <[email protected]> --------- Signed-off-by: Iain Cox <[email protected]> Signed-off-by: Brandon <[email protected]> Signed-off-by: Philip Krauss <[email protected]> Signed-off-by: Raja Yogan <[email protected]> Co-authored-by: Philip Krauss <[email protected]> Co-authored-by: Anastasiia Tovpeko <[email protected]> Co-authored-by: billy-the-fish <[email protected]> Co-authored-by: atovpeko <[email protected]> Co-authored-by: Brandon <[email protected]> Co-authored-by: Nathan Cochran <[email protected]> Co-authored-by: Raja Yogan <[email protected]> Co-authored-by: Eon <[email protected]>
1 parent 0141bcf commit 5059e8a

File tree

59 files changed

+472
-763
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+472
-763
lines changed

.helper-scripts/llms/generate_llms_full.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ def process_imports(self, content: str, current_file_path: Path) -> str:
712712
print(f"Replaced {component_name} using default path: {default_path}")
713713

714714
# Remove or replace components that don't have clear partials
715-
orphaned_components = ['Installation', 'Skip', 'OldCreateHypertable', 'PolicyVisualizerDownsampling', 'APIReference', 'Since2180']
715+
orphaned_components = ['Installation', 'Skip', 'OldCreateHypertable', 'CreateHypertablePolicyNote', 'PolicyVisualizerDownsampling', 'APIReference', 'Since2180']
716716
for component_name in orphaned_components:
717717
# Handle both normal and spaced component tags
718718
component_tags = [

_partials/_cloudtrial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Highlight type="cloud" header="Try for free on Tiger" button="Try for free">
1+
<Highlight type="cloud" header="Try for free on Tiger Cloud" button="Try for free">
22

33
Your $CLOUD_LONG trial is completely free for you to use for the first
44
thirty days. This gives you enough time to complete all the tutorials and run a

_partials/_cloudtrial_unused.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Highlight type="cloud" header="Try for free on Tiger" button="Try for free">
1+
<Highlight type="cloud" header="Try for free on Tiger Cloud" button="Try for free">
22

33
<ul>
44
<li> Get started at the click of a button </li>

_partials/_consider-cloud.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Highlight type="cloud" header="Try for free on Tiger" button="Try for free">
1+
<Highlight type="cloud" header="Try for free on Tiger Cloud" button="Try for free">
22

33
$CLOUD_LONG is a fully managed service with automatic backup and restore, high
44
availability with replication, seamless scaling and resizing, and much more. You

_partials/_create-hypertable-blockchain.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import OldCreateHypertable from "versionContent/_partials/_old-api-create-hypertable.mdx";
1+
import CreateHypertablePolicyNote from "versionContent/_partials/_create-hypertable-columnstore-policy-note.mdx";
22
import HypertableIntro from "versionContent/_partials/_tutorials_hypertable_intro.mdx";
33

44
## Optimize time-series data using hypertables
@@ -31,13 +31,12 @@ import HypertableIntro from "versionContent/_partials/_tutorials_hypertable_intr
3131
details JSONB
3232
) WITH (
3333
tsdb.hypertable,
34-
tsdb.partition_column='time',
3534
tsdb.segmentby='block_id',
3635
tsdb.orderby='time DESC'
3736
);
3837
```
3938

40-
<OldCreateHypertable />
39+
<CreateHypertablePolicyNote />
4140

4241
1. Create an index on the `hash` column to make queries for individual
4342
transactions faster:
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
When you create a $HYPERTABLE using [CREATE TABLE ... WITH ...][hypertable-create-table], the default partitioning
2+
column is automatically the first column with a timestamp data type. Also, $TIMESCALE_DB creates a
3+
[columnstore policy][add_columnstore_policy] that automatically converts your data to the $COLUMNSTORE, after an interval equal to the value of the [chunk_interval][create_table_arguments], defined through `compress_after` in the policy. This columnar format enables fast scanning and
4+
aggregation, optimizing performance for analytical workloads while also saving significant storage space. In the
5+
$COLUMNSTORE conversion, $HYPERTABLE chunks are compressed by up to 98%, and organized for efficient, large-scale queries.
6+
7+
You can customize this policy later using [alter_job][alter_job_samples]. However, to change `after` or
8+
`created_before`, the compression settings, or the $HYPERTABLE the policy is acting on, you must
9+
[remove the columnstore policy][remove_columnstore_policy] and [add a new one][add_columnstore_policy].
10+
11+
You can also manually [convert chunks][convert_to_columnstore] in a $HYPERTABLE to the $COLUMNSTORE.
12+
13+
[add_columnstore_policy]: /api/:currentVersion:/hypercore/add_columnstore_policy/
14+
[remove_columnstore_policy]: /api/:currentVersion:/hypercore/remove_columnstore_policy/
15+
[create_table_arguments]: /api/:currentVersion:/hypertable/create_table/#arguments
16+
[alter_job_samples]: /api/:currentVersion:/jobs-automation/alter_job/#samples
17+
[convert_to_columnstore]: /api/:currentVersion:/hypercore/convert_to_columnstore/
18+
[hypertable-create-table]: /api/:currentVersion:/hypertable/create_table/

_partials/_create-hypertable-energy.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import OldCreateHypertable from "versionContent/_partials/_old-api-create-hypertable.mdx";
1+
import CreateHypertablePolicyNote from "versionContent/_partials/_create-hypertable-columnstore-policy-note.mdx";
22
import HypertableIntro from "versionContent/_partials/_tutorials_hypertable_intro.mdx";
33

44
## Optimize time-series data in hypertables
@@ -15,12 +15,11 @@ import HypertableIntro from "versionContent/_partials/_tutorials_hypertable_intr
1515
type_id integer not null,
1616
value double precision not null
1717
) WITH (
18-
tsdb.hypertable,
19-
tsdb.partition_column='time'
18+
tsdb.hypertable
2019
);
2120
```
2221

23-
<OldCreateHypertable />
22+
<CreateHypertablePolicyNote />
2423

2524
</Procedure>
2625

_partials/_create-hypertable-nyctaxis.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import OldCreateHypertable from "versionContent/_partials/_old-api-create-hypertable.mdx";
1+
import CreateHypertablePolicyNote from "versionContent/_partials/_create-hypertable-columnstore-policy-note.mdx";
22

33

44
## Optimize time-series data in hypertables
@@ -15,7 +15,6 @@ same way. You use regular $PG tables for relational data.
1515

1616
1. **Create a $HYPERTABLE to store the taxi trip data**
1717

18-
1918
```sql
2019
CREATE TABLE "rides"(
2120
vendor_id TEXT,
@@ -38,11 +37,10 @@ same way. You use regular $PG tables for relational data.
3837
total_amount NUMERIC
3938
) WITH (
4039
tsdb.hypertable,
41-
tsdb.partition_column='pickup_datetime',
4240
tsdb.create_default_indexes=false
4341
);
4442
```
45-
<OldCreateHypertable />
43+
<CreateHypertablePolicyNote />
4644

4745
1. **Add another dimension to partition your $HYPERTABLE more efficiently**
4846

_partials/_create-hypertable-twelvedata-crypto.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import HypertableIntro from "versionContent/_partials/_tutorials_hypertable_intro.mdx";
2-
import OldCreateHypertable from "versionContent/_partials/_old-api-create-hypertable.mdx";
2+
import CreateHypertablePolicyNote from "versionContent/_partials/_create-hypertable-columnstore-policy-note.mdx";
33

44
## Optimize time-series data in a hypertable
55

@@ -25,12 +25,11 @@ import OldCreateHypertable from "versionContent/_partials/_old-api-create-hypert
2525
day_volume NUMERIC
2626
) WITH (
2727
tsdb.hypertable,
28-
tsdb.partition_column='time',
2928
tsdb.segmentby='symbol',
3029
tsdb.orderby='time DESC'
3130
);
3231
```
33-
<OldCreateHypertable />
32+
<CreateHypertablePolicyNote />
3433

3534
</Procedure>
3635

_partials/_create-hypertable-twelvedata-stocks.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import HypertableIntro from "versionContent/_partials/_tutorials_hypertable_intro.mdx";
2-
import OldCreateHypertable from "versionContent/_partials/_old-api-create-hypertable.mdx";
2+
import CreateHypertablePolicyNote from "versionContent/_partials/_create-hypertable-columnstore-policy-note.mdx";
33

44
## Optimize time-series data in hypertables
55

@@ -20,11 +20,10 @@ import OldCreateHypertable from "versionContent/_partials/_old-api-create-hypert
2020
price DOUBLE PRECISION NULL,
2121
day_volume INT NULL
2222
) WITH (
23-
tsdb.hypertable,
24-
tsdb.partition_column='time'
23+
tsdb.hypertable
2524
);
2625
```
27-
<OldCreateHypertable />
26+
<CreateHypertablePolicyNote />
2827

2928
1. **Create an index to support efficient queries**
3029

0 commit comments

Comments
 (0)