Skip to content

Clickhouse: Delete old data without replication to target (i.e. only from source) #3406

@mkaze

Description

@mkaze

We would like to setup CDC between postgres (source) and clickhouse (target) using PeerDB. However, in our application, the old/cold data in postgres is almost never modified and is only used for analytical purposes. It's only the recent/hot (i.e. past few weeks) data which may be updated.

Is there any way to delete the old data (e.g. older than 3 months) only from postgres while still keeping them in clickhouse (i.e. without these specific delete operations be replicated to clickhouse)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions