Truth in IT
    • Sign In
    • Register
        • Videos
        • Channels
        • Pages
        • Galleries
        • News
        • Events
        • All
Truth in IT Truth in IT
  • Data Management ▼
    • Converged Infrastructure
    • DevOps
    • Networking
    • Storage
    • Virtualization
  • Cybersecurity ▼
    • Application Security
    • Backup & Recovery
    • Data Security
    • Identity & Access Management (IAM)
    • Zero Trust
    • Compliance & GRC
    • Endpoint Security
  • Cloud ▼
    • Hybrid Cloud
    • Private Cloud
    • Public Cloud
  • Webinar Library
  • TiPs
  • DRAW

Solarwinds: AI-Powered SQL Query Optimization in SQL Sentry

Solarwinds
03/29/2026
0 (0%)
Share
  • Comments
  • Download
  • Transcript
Report Like Favorite
  • Share/Embed
  • Email
Link
Embed

Transcript


It is an advisor that will help you potentially rewrite a query. It will also help suggest missing indexes, etc., and it appears in the AI Query Assist column within the web portal. So this is something that is unique to the web portal itself. In this case, we've already done an optimization for this one, so you can see that it is waiting there for our review. If you want to do a new one, these are the ones that have both a SQL statement as well as a plan that we can send to the AI engine. So to do that, and you click on a query, there is a new AI Query Assist tab in the bottom right, and you would just choose Optimize SQL. What happens under the covers then is that a sanitized version of your SQL statement, so the text data, as well as the plan, is sent up to our AI query engine, and in about a minute or so, it will come back with the results. So let's take a quick look at some examples of results. So I did this optimization a couple of days ago, and it's very small down here, so what I typically will do is maximize this screen, and then you get four different sections of things. The top one is the rewritten query, so here is the original, and then here is the optimized version of that. Now as with any AI engine, I never take it at first blush. I make sure and test it first of all, and make sure that it makes sense to me that I can maintain it, and I really take it as more of a suggestion, maybe some different ideas on how to rewrite the query. A lot of us get stuck writing queries the same way oftentimes, but this might be another option that you didn't think about previously. The other sections, the thinking section, it gives you a little bit about what it saw and what it will work on and improve potentially. The explanation is a detailed explanation of what it found and kind of what it suggested doing, including there will be some suggested indexes potentially here. And then there's also a summary too of what it would do. So it hopefully will provide maybe a different way of thinking about the query, but hopefully ways of rewriting the query so that it is more optimal.

TL;DR

  • AI Query Assist in SQL Sentry uses generative AI to automatically rewrite inefficient SQL Server queries and suggest missing indexes in about one minute
  • The system sanitizes query text and execution plans locally before sending to the AI engine, masking PII to maintain security and compliance
  • Results include side-by-side comparison of original and optimized queries with detailed explanations of logic changes and performance improvement recommendations

Summary

This demonstration introduces AI Query Assist, a new generative AI feature in SolarWinds SQL Sentry that automates SQL query optimization for SQL Server environments. The feature analyzes problematic queries identified in the Top SQL view and generates optimized rewrites along with missing index recommendations in approximately one minute. The system sanitizes query text and execution plans locally before sending them to the AI engine, masking personally identifiable information to maintain security. Users can review the AI-generated suggestions through a dedicated interface that displays the original query alongside the optimized version, along with detailed explanations of the logic changes and reasoning behind the recommendations. The presenter emphasizes a trust-but-verify approach, encouraging database administrators to test and validate AI suggestions rather than implementing them blindly, positioning the tool as a way to discover alternative optimization approaches that might not have been considered using traditional manual tuning methods.

Chapters

0:00 - Introduction to AI Query Assist
0:34 - Accessing the Feature in Web Portal
1:02 - How Query Sanitization and Processing Works
1:22 - Reviewing AI-Generated Optimization Results

Key Quotes

1:02 "What happens under the covers then is that a sanitized version of your SQL statement, so the text data, as well as the plan, is sent up to our AI query engine, and in about a minute or so, it will come back with the results."
1:44 "Now as with any AI engine, I never take it at first blush. I make sure and test it first of all, and make sure that it makes sense to me that I can maintain it, and I really take it as more of a suggestion, maybe some different ideas on how to rewrite the query."
2:06 "A lot of us get stuck writing queries the same way oftentimes, but this might be another option that you didn't think about previously."
Categories:
  • » Data Protection » Backup & Recovery
  • » Data Protection
Channels:
News:
Events:
Tags:
  • Data Protection
  • AI & Machine Learning
  • Demo
  • Technical Deep Dive
  • Best Practices
  • SQL query optimization
  • generative AI for database performance
  • SQL Server tuning
  • automated index recommendations
  • database performance monitoring
  • query rewriting techniques
Show more Show less

Browse videos

  • Related
  • Featured
  • By date
  • Most viewed
  • Top rated
  •  

              Video's comments: Solarwinds: AI-Powered SQL Query Optimization in SQL Sentry

              Industry Events (Sponsor Hosted)

              • Sep
                29

                Embracing AI Adoption While Ensuring Robust Security Measures

                09/29/202612:00 PM ET
                • Oct
                  01

                  Meta Muse 101: Embracing the Agentic Internet and Its Next Steps.

                  10/01/202601:00 PM ET
                  • Oct
                    13

                    Your Questions Answered: Insights on DatasecAI 2026

                    10/13/202602:00 PM ET
                    More events

                    Upcoming Webinar Calendar

                    • 09/29/2026
                      12:00 PM
                      09/29/2026
                      Embracing AI Adoption While Ensuring Robust Security Measures
                      https://www.truthinit.com/index.php/channel/2092/embracing-ai-adoption-while-ensuring-robust-security-measures/
                    • 09/30/2026
                      04:00 AM
                      09/30/2026
                      AI Command Center: Enhanced Visibility and Control in Your Operations
                      https://www.truthinit.com/index.php/channel/2024/ai-command-center-enhanced-visibility-and-control-in-your-operations/
                    • 10/01/2026
                      01:00 PM
                      10/01/2026
                      Meta Muse 101: Embracing the Agentic Internet and Its Next Steps.
                      https://www.truthinit.com/index.php/channel/2144/meta-muse-101-embracing-the-agentic-internet-and-its-next-steps/
                    • 10/13/2026
                      02:00 PM
                      10/13/2026
                      Your Questions Answered: Insights on DatasecAI 2026
                      https://www.truthinit.com/index.php/channel/2141/your-questions-answered-insights-on-datasecai-2026/
                    • 10/15/2026
                      11:00 AM
                      10/15/2026
                      Risk in Real Time Demo Series: Virtual Patching: Protection at the Speed of Exploitation
                      https://www.truthinit.com/index.php/channel/1372/risk-in-real-time-demo-series-the-autonomous-era-orchestrating-a-resilient-enterprise/
                    • 10/20/2026
                      11:00 AM
                      10/20/2026
                      Harnessing Data Governance for AI with Cyera and Snowflake
                      https://www.truthinit.com/index.php/channel/2137/harnessing-data-governance-for-ai-with-cyera-and-snowflake/
                    • 10/27/2026
                      01:00 PM
                      10/27/2026
                      The HUMAN Experience: Real-Time Insights into Page Intelligence
                      https://www.truthinit.com/index.php/channel/2139/the-human-experience-real-time-insights-into-page-intelligence/
                    • 11/19/2026
                      01:00 PM
                      11/19/2026
                      360View: Govern, Secure & Recover Your Microsoft 365 Environment
                      https://www.truthinit.com/index.php/channel/2076/360view-govern-secure-recover-your-microsoft-365-environment/
                    Truth in IT
                    • Sponsor
                    • About Us
                    • Terms of Service
                    • Privacy Policy
                    • Contact Us
                    • Preference Management
                    Desktop version
                    Standard version