GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.datadoghq.com — Bits Database Optimization For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/database_monitoring/bits_database_optimization.md.
A documentation index is available at /llms.txt.
Bits Database OptimizationBits Database Optimization is available for PostgreSQL and MySQL, and in Preview for SQL Server. To request support for another database management system, contact your Datadog representative or Datadog Support. OverviewBits Database Optimization detects underperforming queries across your database fleet, identifies optimizations validated against a simulated copy of your environment, and delivers the result as a pull request fixing the exact code that triggered the query. Optimization candidates are selected automatically from Database Monitoring telemetry. Candidates are identified by highest potential impact, focusing on query execution times, blocking queries, and regressed queries. Bits Database Optimization does not require write access to your database, and does not export or use actual data from your environment. Optimizations are empirically tested against database simulations populated with synthetic data using statistical properties of your schema. Prerequisites
Enable continuous optimizations
The instances included in Continuous Optimizations are listed below the toggle. To remove an instance, click the minus (-) button on the right side of its row, then click Save. When continuous optimizations are enabled, Bits Database Optimization selects eligible queries from the included instances on an ongoing basis until the limit of 50 distinct queries per database instance per month is reached. Queries are prioritized by total execution duration. Each analyzed query counts toward this limit even when no optimization is found. After a query has been analyzed, it is not analyzed again in the same month. The limit resets at the start of each month (UTC). Bits Database Optimization is priced according to AI credits. For details, see the AI credits pricing page. SQL Server (Preview)PreviewBits Database Optimization for SQL Server is in Preview. To request access, click Get Early Access in the SQL Server banner on the Optimizations page, or contact your Datadog representative. RequirementsIn addition to the prerequisites, SQL Server requires:
Recommended
Limitations
Viewing optimizationsQuery listOn the Database Monitoring > Queries screen, queries with optimizations available have an AI icon in the Status column. Hover over an icon to see a summary of the optimization, and click the icon to open the Optimization panel. To filter the query list by optimization type, select an option from Optimizations above the list. Optimization panelThe Optimization panel includes a summary of the query issue, the optimized query used in the simulation, and a visualization of the Simulated Performance Impact. Explore the Simulated Performance Impact visualization for more details about improvements:
Click Compare Plans to view side-by-side comparisons of the current and optimized execution plans:
Review the pull requestTo review the PR for the optimization fix to your database, select Review PR by Bits AI. The GitHub PR opens with a pre-populated description that includes the simulation results. Automated pull requests require APM to be configured for the service issuing the query, and a GitHub repository linked to your Datadog organization. Further readingAdditional helpful documentation, links, and articles: |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |