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

Leverage Indexes DSV SQL Queries #11410

Merged
merged 1 commit into from
Mar 17, 2025
Merged

Leverage Indexes DSV SQL Queries #11410

merged 1 commit into from
Mar 17, 2025

Conversation

flvndvd
Copy link
Contributor

@flvndvd flvndvd commented Mar 17, 2025

Description

We had a few spike one SQL queries latency, zooming deeper, most of them are linked to fetching data source views (example).

This PR leverages existing composite indexes to ensure we avoid any Sequential Scan.

Tests

Risk

Deploy Plan

@flvndvd flvndvd marked this pull request as ready for review March 17, 2025 14:54
@flvndvd flvndvd merged commit 0d1a515 into main Mar 17, 2025
6 checks passed
@flvndvd flvndvd deleted the flav/improve-dsv-sql-queries branch March 17, 2025 15:06
frankaloia pushed a commit that referenced this pull request Mar 17, 2025
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.

None yet

2 participants