OpenTenBase / OpenTenBase/TXSQL

Parallel query issue

Open
#26 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
337
Forks
234
PR merge metrics
No merged PRs in 30d

Description

Hi, Hi, I encountered an issue during testing. Some data synchronization scenarios use order by limit, but I found that if parallel queries are enabled, the query takes 10x or more slower. I think it should be related to parallel scan, below is the reproduced image.

Image Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names no source file, test, or SQL reproduction; start by reproducing the order-by-limit workload with parallel queries enabled and disabled. Trace the parallel-scan path to identify the slowdown, then add regression coverage showing the affected query no longer incurs the reported performance loss.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.