Skip to content

edgecases: disadvantages for parallelization? #3113

Closed Answered by semihsalihoglu-uw
hpvd asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @hpvd,

Thanks for your interest. In general the answer is, yes, parallelism should always help. We adopt morsel-driven parallelism approach to parallelize queries: https://db.in.tum.de/~leis/papers/morsels.pdf. This is a state-of-the-art approach adopted in many DBMSs. But overall this is a hard question to answer because there is likely to be some queries where the overhead of trying to parallelize can make some queries slower but I don't ever expect this to be a major slow down frankly. But if they are, these are likely performance bugs we can fix.

The other thing is that some parts of queries are not parallelized, so even if you have 64 threads, we will run in intentionally with 1 t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hpvd
Comment options

Answer selected by prrao87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants