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

bulkDelete() for large number of primary keys is way too slow #1984

Open
thusitha-cs opened this issue May 8, 2024 · 0 comments
Open

bulkDelete() for large number of primary keys is way too slow #1984

thusitha-cs opened this issue May 8, 2024 · 0 comments

Comments

@thusitha-cs
Copy link

I'm using Dexie.js for something experimental. Everything seems good except the delete() or the bulkDelete(). I have a situation that I need to delete more than 100k records from the IndexedDB, and even for 100k records, it takes around 10s, which is not acceptable.
I used both functions and based on my experience bulkDelete() works faster. But still that's too much of time.
Do we have any known limitations to delete operations in Dexie? If so, do we have a way to go around it somehow?

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

No branches or pull requests

1 participant