Skip to content

Commit 04b79b5

Browse files
authored
Update shared-catalog.md
1 parent 9951425 commit 04b79b5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/cloud/reference/shared-catalog.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ keywords: ['SharedCatalog', 'SharedDatabaseEngine']
66
description: 'Describes the Shared Catalog component and the Shared database engine in ClickHouse Cloud'
77
---
88

9-
# Shared Catalog and Shared Database Engine
9+
# Shared Catalog and Shared Database Engine {#shared-catalog-and-shared-database-engine}
1010

1111
**Available exclusively in ClickHouse Cloud (and first party partner cloud services)**
1212

@@ -21,21 +21,21 @@ It supports replication of the following database engines:
2121
- MySQL
2222
- DataLakeCatalog
2323

24-
## Architecture and Metadata Storage
24+
## Architecture and Metadata Storage {#architecture-and-metadata-storage}
2525

2626
All metadata and DDL query history in Shared Catalog is stored centrally in ZooKeeper. Nothing is persisted on local disk. This architecture ensures:
2727

2828
- Consistent state across all replicas
2929
- Statelessness of compute nodes
3030
- Fast, reliable replica bootstrapping
3131

32-
## Shared Database Engine
32+
## Shared Database Engine {#shared-database-engine}
3333

3434
The **Shared database engine** works in conjunction with Shared Catalog to manage databases whose tables use **stateless table engines** such as `SharedMergeTree`. These table engines do not write persistent state to disk and are compatible with dynamic compute environments.
3535

3636
Shared database engine builds on and improves the behavior of the Replicated database engine while offering additional guarantees and operational benefits.
3737

38-
### Key Benefits
38+
### Key benefits {#key-benefits}
3939

4040
- **Atomic CREATE TABLE ... AS SELECT**
4141
Table creation and data insertion are executed atomically—either the entire operation completes, or the table is not created at all.
@@ -62,7 +62,7 @@ Shared database engine builds on and improves the behavior of the Replicated dat
6262
- **Centralized, versioned metadata state**
6363
Shared Catalog stores a single source of truth in ZooKeeper. When a replica starts, it fetches the latest state and applies the diff to reach consistency. During query execution, the system can wait for other replicas to reach at least the required version of metadata to ensure correctness.
6464

65-
## Usage in ClickHouse Cloud
65+
## Usage in ClickHouse Cloud {#usage-in-clickhouse-cloud}
6666

6767
For end users, using Shared Catalog and the Shared database engine requires no additional configuration. Database creation is the same as always:
6868

@@ -72,7 +72,7 @@ CREATE DATABASE my_database;
7272

7373
ClickHouse Cloud automatically assigns the Shared database engine to databases. Any tables created within such a database using stateless engines will automatically benefit from Shared Catalog’s replication and coordination capabilities.
7474

75-
## Summary
75+
## Summary {#summary}
7676

7777
Shared Catalog and the Shared database engine provide:
7878

0 commit comments

Comments
 (0)