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

Introduce the batch scan to improve the performance of the query and limit the memory usage #597

Merged
merged 6 commits into from
Jan 18, 2025

Conversation

hanahmily
Copy link
Contributor

Significant Decrease in Memory Usage

From 940.42MB to 195.27MB total

Improved Latency

| **Latency**           | N   | Min   | Median | Mean | StdDev | Max    |
|-----------------------|-----|-------|--------|------|--------|--------|
| **Old**               | 100 | 2.5ms | 3.2ms  | 4ms  | 2.4ms  | 16.9ms |
| **New**               | 100 | 1.6ms | 2ms    | 2.2ms| 600µs  | 4.3ms  |

@hanahmily hanahmily added the enhancement New feature or request label Jan 18, 2025
@hanahmily hanahmily added this to the 0.8.0 milestone Jan 18, 2025
wu-sheng
wu-sheng previously approved these changes Jan 18, 2025
Signed-off-by: Gao Hongtao <[email protected]>
@hanahmily hanahmily merged commit 23a2e4a into main Jan 18, 2025
13 checks passed
@hanahmily hanahmily deleted the stream branch January 18, 2025 02:54
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

Successfully merging this pull request may close these issues.

[Feature] Add Full Iterator Pattern to BanyanDB's Query Pipeline
3 participants