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

Snapshot out of memory documentation #710

Merged
merged 1 commit into from
Jul 23, 2024
Merged
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
16 changes: 15 additions & 1 deletion doc/production_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,18 @@ in terms of number of elements the queue can hold and the maximum size of the qu

Flush time of the buffer in milliseconds. The buffer that is stored in memory before being flushed to ClickHouse.
buffer.flush.time.ms: "1000"
```
```

## Snapshots (Out of Memory)

1. The following parameters might be useful to reduce the memory usage of the connector during the snapshotting phase.


**Reduce the number of tables**: Use the `snapshot.include.collection.list` to filter include only the necessary tables
as part of the snapshot which will reduce the data retrieved from source.

**snapshot.fetch.size**: This defines the maximum number of rows that are fetched as part of the batch from the database.
Use a lower number to reduce memory usage.

**snapshot.max.threads**: Increase this number from 1 to a higher value to enable parallel snapshotting.

Loading