-
Notifications
You must be signed in to change notification settings - Fork 316
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
Add postgres cdc guide to doc #3557
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, left some comments
docs/integrations/data-ingestion/clickpipes/postgres/deduplication.md
Outdated
Show resolved
Hide resolved
docs/integrations/data-ingestion/clickpipes/postgres/deduplication.md
Outdated
Show resolved
Hide resolved
docs/integrations/data-ingestion/clickpipes/postgres/deduplication.md
Outdated
Show resolved
Hide resolved
docs/integrations/data-ingestion/clickpipes/postgres/ordering_keys.md
Outdated
Show resolved
Hide resolved
docs/integrations/data-ingestion/clickpipes/postgres/ordering_keys.md
Outdated
Show resolved
Hide resolved
docs/integrations/data-ingestion/clickpipes/postgres/ordering_keys.md
Outdated
Show resolved
Hide resolved
docs/integrations/data-ingestion/clickpipes/postgres/ordering_keys.md
Outdated
Show resolved
Hide resolved
docs/integrations/data-ingestion/clickpipes/postgres/ordering_keys.md
Outdated
Show resolved
Hide resolved
@lio-p i thought the plan was to update https://clickhouse.com/docs/migrations/postgres/migrations/postgresql |
scripts/aspell-dict-file.txt
Outdated
@@ -944,3 +944,15 @@ kinesis | |||
--docs/cloud/security/aws-privatelink.md-- | |||
GWLBs | |||
NLBs | |||
--docs/integrations/data-ingestion/clickpipes/postgres/joins_and_denormalization.md-- | |||
Clickpipes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is an invalid spelling
|
||
The illustration below walks through a basic example of synchronization of a table `users` between PostgreSQL and ClickHouse using ClickPipes. | ||
|
||
<Image img={clickpipes_initial_load} alt="Clickpipes initial load" size="lg" border/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dont need border
|
||
Since Postgres is a relational database, its data model is heavily [normalized](https://en.wikipedia.org/wiki/Database_normalization), often involving hundreds of tables. In ClickHouse, denormalization can be beneficial at times to optimize JOIN performance. This page covers common JOINs tips and best practices to denormalize data. | ||
|
||
### Optimizing JOINs {#optimizing-joins} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have a guide here thats already dedicated. Ok with a little duplicatiom but point to the guide as well.
Peak memory usage: 5.44 GiB. | ||
``` | ||
|
||
### Denormalization {#denormalization} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again we have a dedicated guide @lio-p lets enhance the guide and link vs repeat
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see both mine and @Blargian
|
||
Let’s look at what’s happening in ClickHouse when using a Materialized view with Postgres CDC. | ||
|
||
<Image img={clickpipes_joins_mv} alt="Clickpipes Postgres JOINs MV" size="lg" border/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no border
Co-authored-by: Shaun Struwig <[email protected]>
Summary
Port the Postgres CDC blog to documentation
Checklist