-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
pouchdb queries are very slow on mobile app react native expo #8853
Comments
Just a question to add more context, why would you do a Do you have an example of documents that you have stored in the database and the createIndex that you're trying to execute ? If you change the default adapter does it change something in the performance issue you're having? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue
I am using pouchdb db form react native expo app and expo-sqlite as an adapter, but the problem is queries are very slow on mobile device as compare to browser.
find query take take 6 minutes to execute without indexes, if I create indexes , createIndex() takes 10 minutes to execute
allDocs is compareablly fast but still it takes 10 seconds to fetch 34000 docs which takes less than 1 second in the browser.
i dont know if this is how pouchdb suppose to work on mobile devices or I am doing something wrong
here is my configuration code
Info
Reproduce
try pouchdb with expo-sqlite
The text was updated successfully, but these errors were encountered: