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

jdbc rangeSplitStrategy extension #914

Closed
Paddy0523 opened this issue Jun 6, 2022 · 1 comment
Closed

jdbc rangeSplitStrategy extension #914

Paddy0523 opened this issue Jun 6, 2022 · 1 comment
Labels
feature-request this is a feature requests on the product

Comments

@Paddy0523
Copy link
Contributor

Range slices can be read sequentially on disk if splitPk is incremented in the table. It can improve performance to some extent
1.incremental mode with parallelism >1 ,support range splitStrategy
image

2.polling mode support range splitStrategy

  • JdbcInputSplit Added splitStrategy and isPolling attributes
  • Get minValue and maxValue from splitPk in the database table, slice these data using rangeSplitStrategy first
  • Set maxValue as startLocation and start polling according to the modSplitStrategy
@Paddy0523 Paddy0523 added the feature-request this is a feature requests on the product label Jun 6, 2022
Paddy0523 added a commit to Paddy0523/chunjun that referenced this issue Jun 6, 2022
… ,support range splitStrategy 2.polling mode support range splitStrategy
Paddy0523 added a commit to Paddy0523/chunjun that referenced this issue Jun 6, 2022
…support range splitStrategy 2.polling mode support range splitStrategy
FlechazoW pushed a commit that referenced this issue Jun 6, 2022
… range splitStrategy 2.polling mode support range splitStrategy
@FlechazoW
Copy link
Member

PR merged.

yanghuaiGit pushed a commit to yanghuaiGit/chunjun that referenced this issue Jun 24, 2022
…support range splitStrategy 2.polling mode support range splitStrategy
yanghuaiGit pushed a commit that referenced this issue Jun 24, 2022
… range splitStrategy 2.polling mode support range splitStrategy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request this is a feature requests on the product
Projects
None yet
Development

No branches or pull requests

2 participants