Skip to content

Commit

Permalink
chore: add convert_to_columnstore to the build.
Browse files Browse the repository at this point in the history
  • Loading branch information
billy-the-fish committed Jan 9, 2025
1 parent bd9946c commit 5ad76e2
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 10 deletions.
1 change: 1 addition & 0 deletions _partials/_deprecated_2_18_0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**@since [TimescaleDB v2.18.0](https://github.com/timescale/timescaledb/releases/tag/2.18.0)**
1 change: 1 addition & 0 deletions _partials/_since_2_18_0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**@since [TimescaleDB v2.18.0](https://github.com/timescale/timescaledb/releases/tag/2.18.0)**
3 changes: 2 additions & 1 deletion api/hypercore/add_columnstore_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ api:
license: community
type: function
---
import Since2180 from "versionContent/_partials/_since_2_18_0.mdx";

# add_columnstore_policy() <Tag type="community" content="community" />

Expand All @@ -21,7 +22,7 @@ You do this by calling `ALTER TABLE` for hypertables and `ALTER MATERIALIZED VIE
To view the policies that you set or the policies that already exist,
see [informational views][informational-views], to remove a policy, see [remove_columnstore_policy][remove_columnstore_policy].

**@since [TimescaleDB v2.18.0](https://github.com/timescale/timescaledb/releases/tag/2.18.0)**
<Since2180 />

## Samples

Expand Down
3 changes: 2 additions & 1 deletion api/hypercore/alter_table.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ api:
type: command
products: [cloud, self_hosted]
---
import Since2180 from "versionContent/_partials/_since_2_18_0.mdx";

# ALTER TABLE (Hypercore)<Tag type="community" content="community" />

Expand All @@ -19,7 +20,7 @@ After you have enabled the columnstore, either:
specific time interval.
- [convert_to_columnstore][convert_to_columnstore]: manually add a specific chunk in a hypertable to the columnstore.

**@since [TimescaleDB v2.18.0](https://github.com/timescale/timescaledb/releases/tag/2.18.0)**
<Since2180 />

## Samples

Expand Down
3 changes: 2 additions & 1 deletion api/hypercore/chunk_columnstore_settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ api:
license: community
type: view
---
import Since2180 from "versionContent/_partials/_since_2_18_0.mdx";

# timescaledb_information.chunk_columnstore_settings

Retrieve information about each chunk in the columnstore.

**@since [TimescaleDB v2.18.0](https://github.com/timescale/timescaledb/releases/tag/2.18.0)**
<Since2180 />

## Samples

Expand Down
3 changes: 2 additions & 1 deletion api/hypercore/chunk_columnstore_stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ api:
license: community
type: function
---
import Since2180 from "versionContent/_partials/_since_2_18_0.mdx";

# chunk_columnstore_stats() <Tag type="community">Community</Tag>

Expand All @@ -22,7 +23,7 @@ Get chunk-specific statistics related to hypercore.
Inserting into a chunk in the columnstore does not change the chunk size. For more information about how to compute
chunk sizes, see [chunks_detailed_size][chunks_detailed_size].

**@since [TimescaleDB v2.18.0](https://github.com/timescale/timescaledb/releases/tag/2.18.0)**
<Since2180 />

## Samples

Expand Down
3 changes: 2 additions & 1 deletion api/hypercore/convert_to_columnstore.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ api:
license: community
type: function
---
import Since2180 from "versionContent/_partials/_since_2_18_0.mdx";

# convert_to_columnstore() <Tag type="community">Community</Tag>

Expand All @@ -19,7 +20,7 @@ Although `convert_to_columnstore` gives you more more fine grained control, best

To move a chunk from the columnstore back to the rowstore, use [`convert_to_rowstore`][convert_to_rowstore].

**@since [TimescaleDB v2.18.0](https://github.com/timescale/timescaledb/releases/tag/2.18.0)**
<Since2180 />

## Samples

Expand Down
3 changes: 2 additions & 1 deletion api/hypercore/convert_to_rowstore.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ api:
license: community
type: function
---
import Since2180 from "versionContent/_partials/_since_2_18_0.mdx";

# convert_to_rowstore() <Tag type="community">Community</Tag>

Expand All @@ -18,7 +19,7 @@ data. After the update, [convert the chunk to the columnstore][convert_to_column
This workflow is especially useful if you need to backfill old data.


**@since [TimescaleDB v2.18.0](https://github.com/timescale/timescaledb/releases/tag/2.18.0)**
<Since2180 />

## Samples

Expand Down
3 changes: 2 additions & 1 deletion api/hypercore/hypertable_columnstore_settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ api:
license: community
type: view
---
import Since2180 from "versionContent/_partials/_since_2_18_0.mdx";

# timescaledb_information.hypertable_columnstore_settings

Retrieve information about the settings for each hypertable in the columnstore.

**@since [TimescaleDB v2.18.0](https://github.com/timescale/timescaledb/releases/tag/2.18.0)**
<Since2180 />

## Samples

Expand Down
3 changes: 2 additions & 1 deletion api/hypercore/hypertable_columnstore_stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ api:
license: community
type: function
---
import Since2180 from "versionContent/_partials/_since_2_18_0.mdx";

# hypertable_columnstore_stats() <Tag type="community">Community</Tag>

Expand All @@ -16,7 +17,7 @@ Get statistics related to compression in the columnstore. All sizes are in bytes
For more information about using hypertables, including chunk size partitioning,
see the [hypertable section][hypertable-docs].

**@since [TimescaleDB v2.18.0](https://github.com/timescale/timescaledb/releases/tag/2.18.0)**
<Since2180 />

## Samples

Expand Down
3 changes: 2 additions & 1 deletion api/hypercore/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ products: [cloud, self_hosted]
api:
license: community
---
import Since2180 from "versionContent/_partials/_since_2_18_0.mdx";

# Hypercore

Expand All @@ -28,7 +29,7 @@ in each $CLOUD_LONG service:
- **Full mutability with transactional semantics**: regardless of where data is stored,
hypercore provides full ACID support.

**@since [TimescaleDB v2.18.0](https://github.com/timescale/timescaledb/releases/tag/2.18.0)**
<Since2180 />

## Hypercore workflow

Expand Down
3 changes: 2 additions & 1 deletion api/hypercore/remove_columnstore_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ api:
license: community
type: function
---
import Since2180 from "versionContent/_partials/_since_2_18_0.mdx";

# remove_columnstore_policy() <Tag type="community" content="community" />

Expand All @@ -16,7 +17,7 @@ Remove a columnstore policy from a hypertable or continuous aggregate.
To restart automatic chunk migration to the columnstore, you need to call
[add_columnstore_policy][add_columnstore_policy] again.

**@since [TimescaleDB v2.18.0](https://github.com/timescale/timescaledb/releases/tag/2.18.0)**
<Since2180 />

## Samples

Expand Down
5 changes: 5 additions & 0 deletions api/page-index/page-index.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ module.exports = [
href: "remove_columnstore_policy",
excerpt: "Remove the compression policy",
},
{
title: "convert_to_columnstore",
href: "convert_to_columnstore",
excerpt: "Compress or recompress a specific chunk in the rowstore and add it to the columnstore",
},
],
},
{
Expand Down

0 comments on commit 5ad76e2

Please sign in to comment.