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

perf: index dashboard linked fields #3110

Closed
ankush opened this issue Feb 24, 2025 · 1 comment · Fixed by #3112
Closed

perf: index dashboard linked fields #3110

ankush opened this issue Feb 24, 2025 · 1 comment · Fixed by #3112
Assignees

Comments

@ankush
Copy link
Contributor

ankush commented Feb 24, 2025

These are taking >10 seconds on large tables

select distinct `name` from `tabe-Invoice Log` where `tabe-Invoice Log`.`reference_name` = '*********' and `tabe-Invoice Log`.`reference_doctype` = 'Sales Invoice' limit 100 offset 0

I'd suggest indexing the reference_name field here.

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 a pull request may close this issue.

2 participants