Skip to content

sqlitevec: use DELETE by key instead of IN for virtual table deletes - #53

Open
rossdonald wants to merge 2 commits into
CommunityToolkit:mainfrom
rossdonald:sqlite-batch-delete-with-key
Open

rossdonald wants to merge 2 commits into
CommunityToolkit:mainfrom
rossdonald:sqlite-batch-delete-with-key

Conversation

@rossdonald

Copy link
Copy Markdown

For the sqlite vector table, replace the slow IN operator with a loop using a statement that deletes by key.

Fixes: #52

@rossdonald

Copy link
Copy Markdown
Author

@dotnet-policy-service agree

This branch has not been deployed

No deployments
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.

SqliteVec delete using IN is slow and scans every row

1 participant