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

Slow query / warning #1189

Open
Crash-- opened this issue Jun 13, 2022 · 1 comment
Open

Slow query / warning #1189

Crash-- opened this issue Jun 13, 2022 · 1 comment

Comments

@Crash--
Copy link
Contributor

Crash-- commented Jun 13, 2022

Since the CouchDB 3 upgrade, Couch returns a warning in the query is not optimized enough. The Cozy-Stack now returns https://github.com/cozy/cozy-stack/pull/3430/files a warning for such query.

CozyClient DevTools should display it and suggest what to do with this warning. By default $or or $in should be avoided as possible and we should fallback to something like bulk_get and so on.

@Crash--
Copy link
Contributor Author

Crash-- commented Jul 18, 2022

We already use this new warning attribute for index creation. We should add it to devTools anyway

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