mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Update replication.md
This commit is contained in:
parent
25be18c83d
commit
a016e8fcd1
@ -8,11 +8,18 @@ sidebar_label: Data Replication
|
|||||||
|
|
||||||
:::note
|
:::note
|
||||||
In ClickHouse Cloud replication is managed for you. Please create your tables without adding arguments. For example, in the text below you would replace:
|
In ClickHouse Cloud replication is managed for you. Please create your tables without adding arguments. For example, in the text below you would replace:
|
||||||
|
|
||||||
|
```sql
|
||||||
|
ENGINE = ReplicatedReplacingMergeTree(
|
||||||
|
'/clickhouse/tables/{shard}/table_name',
|
||||||
|
'{replica}',
|
||||||
|
ver
|
||||||
|
)
|
||||||
```
|
```
|
||||||
ENGINE = ReplicatedReplacingMergeTree('/clickhouse/tables/{shard}/table_name', '{replica}', ver)
|
|
||||||
```
|
|
||||||
with:
|
with:
|
||||||
```
|
|
||||||
|
```sql
|
||||||
ENGINE = ReplicatedReplacingMergeTree
|
ENGINE = ReplicatedReplacingMergeTree
|
||||||
```
|
```
|
||||||
:::
|
:::
|
||||||
|
Loading…
Reference in New Issue
Block a user