Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEO updates #129

Merged
merged 1 commit into from
Feb 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
---
title: "Distributed table to Cluster"
title: "Distributed table to ClickHouse® Cluster"
linkTitle: "Distributed table to cluster"
description: >
Distributed table to cluster
Shifting INSERTs to a standby cluster
keywords:
- clickhouse distributed table
- clickhouse distributed
---

In order to shift INSERTS to a standby cluster (for example increase zone availability or disaster recovery) some ClickHouse® features can be used.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
---
title: "Who ate my memory"
linkTitle: "Who ate my memory"
title: "Who ate my ClickHouse® memory?"
linkTitle: "Who ate my memory?"
description: >
Who ate my memory
*"It was here a few minutes ago..."*
keywords:
- clickhouse memory
- clickhouse memory usage
---

```sql
SELECT *, formatReadableSize(value)
FROM system.asynchronous_metrics
Expand Down
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
---
title: "clickhouse-keeper"
linkTitle: "clickhouse-keeper"
title: "Using clickhouse-keeper"
linkTitle: "Using clickhouse-keeper"
description: >
clickhouse-keeper
Moving to the ClickHouse® alternative to Zookeeper
keywords:
- clickhouse keeper
- clickhouse-keeper
---

## clickhouse-keeper

Since 2021 the development of built-in alternative for Zookeeper is happening, which goal is to address several design pitfalls, and get rid of extra dependency.
Since 2021 the development of built-in ClickHouse® alternative for Zookeeper is happening, whose goal is to address several design pitfalls, and get rid of extra dependency.

See slides: https://presentations.clickhouse.com/meetup54/keeper.pdf and video https://youtu.be/IfgtdU1Mrm0?t=2682

## Current status (last updated: July 2023)

Since version 23.3 we recommend using clickhouse-keeper for new installations.

Even better if you will use the latest version of clickhouse-keeper (currently it's 23.7), and it's not necessary to use the same version of clickhouse-keeper as ClickHouse® itself.
Even better if you will use the latest version of clickhouse-keeper (currently it's 23.7), and it's not necessary to use the same version of clickhouse-keeper as ClickHouse itself.

For existing systems that currently use Apache Zookeeper, you can consider upgrading to clickhouse-keeper especially if you will upgrade clickhouse also.
For existing systems that currently use Apache Zookeeper, you can consider upgrading to clickhouse-keeper especially if you will [upgrade ClickHouse](https://altinity.com/clickhouse-upgrade-overview/) also.

But please remember that on very loaded systems the change can give no performance benefits or can sometimes lead to a worse performance.

The development pace of keeper code is [still high](https://github.com/ClickHouse/ClickHouse/pulls?q=is%3Apr+keeper)
so every new version should bring improvements / cover the issues, and stability/maturity grows from version to version, so
if you want to play with clickhouse-keeper in some environment - please use the most recent ClickHouse releases! And of course: share your feedback :)
if you want to play with clickhouse-keeper in some environment - please use [the most recent ClickHouse releases](https://altinity.com/altinity-stable/)! And of course: share your feedback :)

# How does it work
## How does clickhouse-keeper work?

Official docs: https://clickhouse.com/docs/en/guides/sre/keeper/clickhouse-keeper/


ClickHouse-keeper still need to be started additionally on few nodes (similar to 'normal' zookeeper) and speaks normal zookeeper protocol - needed to simplify A/B tests with real zookeeper.

To test that you need to run 3 instances of clickhouse-server (which will mimic zookeeper) with an extra config like that:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
type: redirect
target: https://docs.altinity.com/altinitykubernetesoperator/kubernetesinstallguide/minikubeonlinux/
alias: altinitykubernetesoperator/kubernetesinstallguide
---