-
Notifications
You must be signed in to change notification settings - Fork 123
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
[CBRD-25728] Support parallel sort for ORDER_BY #5694
Open
shparkcubrid
wants to merge
60
commits into
CUBRID:feature/parallel_sort
Choose a base branch
from
shparkcubrid:CBRD-25728
base: feature/parallel_sort
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 59 commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
f92d4ba
Remove previous parallel routines. Add single thread sort routines ex…
shparkcubrid 3387562
remove px_mtx, add list_file_close() for avoiding latch contention, c…
shparkcubrid def6734
indent
shparkcubrid 9ece22e
Merge remote-tracking branch 'remotemain/develop' into CBRD-25391
shparkcubrid a0d70d0
init record
shparkcubrid 11f0192
Merge remote-tracking branch 'remotemain/develop' into CBRD-25391
shparkcubrid 743743d
temporarily blocked
shparkcubrid efbbbff
temporarily, close and reopen temp file for getting.
shparkcubrid 6d4ed79
reopen temp file for getting
shparkcubrid 5a52af4
temporarily split list file on half and remove some assert. it should…
shparkcubrid 01c518f
copy sort_param and split input_temp_file
shparkcubrid d0ac831
add sort_merge_run_for_parallel ()
shparkcubrid 3243445
add thread wait
shparkcubrid b24ae69
fix memory leak
shparkcubrid 997279d
fix big tuple
shparkcubrid e83bc14
slip
shparkcubrid 840b4aa
init prev page_id of first page when input file is splitted
shparkcubrid 07301fe
change private_alloc to malloc to free memory by other thread
shparkcubrid 0692623
Merge remote-tracking branch 'remotemain/develop' into CBRD-25391
shparkcubrid 1be195e
fix to not add tran info for temporary file
shparkcubrid 348138f
indent
shparkcubrid 4fdd6d2
indent
shparkcubrid 3367551
add check for splitted temp file and comment
shparkcubrid 0c9d0ef
indent
shparkcubrid 9e44f72
slip
shparkcubrid 0ffb02c
add set_dirty for temp file
shparkcubrid e8ee99f
remove pgbuf_set_dirty temporarily
shparkcubrid 9a89ef1
add sort_check_parallelism()
shparkcubrid 6b98ae5
add start and end parallel
shparkcubrid 763bb40
change private_alloc to malloc for freeing in main thread
shparkcubrid dfba094
slip
shparkcubrid eec95c9
Merge remote-tracking branch 'remotemain/develop' into CBRD-25391
shparkcubrid 74d67dc
revert fix mode to PGBUF_LATCH_WRITE
shparkcubrid 6a56eb0
fix memory leak
shparkcubrid c02ca4a
revert pgbuf_set_dirty
shparkcubrid 1c95c40
revert set_dirty
shparkcubrid 34292dc
add resource_tracker in parallel thread
shparkcubrid 849eecd
revert private_alloc
shparkcubrid fb728f2
slip
shparkcubrid 63b33b7
indent
shparkcubrid 52f3ff3
enable pgbuf_set_dirty()
shparkcubrid 42552ce
change pgbuf_set_dirty to qfile_set_dirty_page for memory buffer
shparkcubrid 2f57e12
change qfile_set_dirty_page to qmgr_set_dirty_page
shparkcubrid cb4195e
revert pgbuf_unfix_all()
shparkcubrid a101b37
Merge remote-tracking branch 'remotemain/develop' into CBRD-25391
shparkcubrid c588ff6
add local mutex for temp file to avoid broken Linked list in parallel…
shparkcubrid 4cc95ed
no busy wait. need to block and wake up.
shparkcubrid 272ce1e
indent
shparkcubrid e9e5fa3
Merge remote-tracking branch 'remotemain/develop' into CBRD-25391
shparkcubrid d1fcff9
add merge routines upto 32 thread
shparkcubrid 4f6a94c
add MAX_PARALLEL_THREAD system parameter and print execution time tem…
shparkcubrid afc5a44
indent
shparkcubrid 4af0217
slip
shparkcubrid 31610a5
slip
shparkcubrid 6306774
Merge remote-tracking branch 'remotemain/develop' into CBRD-25391
shparkcubrid 3d70364
slip
shparkcubrid c6af082
remove unnecessary var
shparkcubrid a2cccb2
indent
shparkcubrid fccfb9e
Merge remote-tracking branch 'remotemain/develop' into CBRD-25391
shparkcubrid 3ba3d8a
Update src/base/system_parameter.c
shparkcubrid File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
디버그 빌드에서 아래 코드에 의해
Aborted (core dumped)
가 발생합니다.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.
수정했습니다.
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.
다음 코드에서도
PRM_FOR_SESSION
과PRM_HIDDEN
이 함께 있어서 같은 문제가 발생합니다.일단은
PRM_HIDDEN
을 제거하고 리뷰하겠습니다.