Skip to content

Commit

Permalink
Added a note about lifecycle policy
Browse files Browse the repository at this point in the history
  • Loading branch information
melvynator committed Oct 30, 2023
1 parent c40bb2c commit ca3a21b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/en/guides/separation_compute_storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ Please note that implementing and managing a separation of storage and compute a

*This guide assumes you are using ClickHouse version 22.8 or higher.*

:::warning
Do not configure any AWS/GCS lifecycle policy. This is not supported and could lead to broken tables.
:::

## 1. Use S3 as a ClickHouse disk

### Creating a disk
Expand Down Expand Up @@ -149,6 +153,10 @@ If everything worked successfully, you are now using ClickHouse with separated s

![S3 bucket example using separation of compute and storage](./images/s3_bucket_example.png)

:::warning
Do not configure any AWS/GCS lifecycle policy. This is not supported and could lead to broken tables.
:::

## 3. Implementing replication for fault tolerance (optional)

For fault tolerance, you can use multiple ClickHouse server nodes distributed across multiple AWS regions, with an S3 bucket for each node.
Expand All @@ -160,4 +168,3 @@ Replication with S3 disks can be accomplished by using the `ReplicatedMergeTree`

- [SharedMergeTree table engine](/en/cloud/reference/shared-merge-tree)
- [SharedMergeTree announcement blog](https://clickhouse.com/blog/clickhouse-cloud-boosts-performance-with-sharedmergetree-and-lightweight-updates)

0 comments on commit ca3a21b

Please sign in to comment.