8000 cache: more efficient sqlite indices by ronag · Pull Request #4142 · nodejs/undici · GitHub
[go: up one dir, main page]

Skip to content

cache: more efficient sqlite indices #4142

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

Merged
merged 1 commit into from
Apr 4, 2025
Merged

cache: more efficient sqlite indices #4142

merged 1 commit into from
Apr 4, 2025

Conversation

ronag
Copy link
Member
@ronag ronag commented Apr 3, 2025
  • Drop unnecessary single-column indices (url, method, start alone), as the composite index effectively covers them.

  • Avoid redundant indices that can slow down inserts without additional query benefits.

@ronag ronag requested a review from mcollina April 3, 2025 07:19
Copy link
Member
@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Should we bump the version?

@mcollina
Copy link
Member
mcollina commented Apr 3, 2025

There are some failing wpts, which seems odd.

@ronag
Copy link
Member Author
ronag commented Apr 3, 2025

Should we bump the version?

I don't think that's necessary?

8000

Copy link
Member
@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina
Copy link
Member
mcollina commented Apr 4, 2025

#4145 should cover for the failing tests

@ronag ronag merged commit 8a5de7c into main Apr 4, 2025
30 of 37 checks passed
@github-actions github-actions bot mentioned this pull request Apr 10, 2025
@github-actions github-actions bot mentioned this pull request May 12, 2025
@Uzlopak Uzlopak deleted the sqlite-index branch June 5, 2025 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0