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

Support a way to configure partitioning by segment size #146

Open
julienrf opened this issue May 30, 2024 · 0 comments
Open

Support a way to configure partitioning by segment size #146

julienrf opened this issue May 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@julienrf
Copy link
Collaborator

Currently, you can manually set scanSegments to control the number of partitions to split the data into.

We could also provide a segmentSize setting which could be an alternative to scanSegments to control the partitioning. The benefits would be that the same configuration (e.g. segmentSize: 100) could be used with different tables and it would automatically compute an appropriate number of segments that fit the desired size. Whereas with scanSegments you have to adapt its value to every table you migrate (because you want to adjust the number of segments according to each table size).

Originally posted by @julienrf in #143 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant