Documentation Index

Fetch the complete documentation index at: https://docs.fortifiedwisdom.com/llms.txt

Use this file to discover all available pages before exploring further.

Query Optimization FAQ

Prev Next

Common questions about Optimizations in Query Analysis. See Query Analysis, Overview, Details, and Optimizations for background on how the feature works.

Why does a query show Un-optimizable?

A query is marked Un-optimizable when it either doesn't meet the criteria WISdom requires to evaluate it, or when evaluation found no optimizations available. This can happen even for a query with other Observation flags, such as High Variance, if there's nothing WISdom can recommend changing.

Why wasn't a credit consumed for my request?

A credit is only consumed when a query is successfully optimized. If the query can't be optimized, including when no execution plan is available, no credit is charged.

Does the automated scan use the same credits as my manual requests?

Yes. The automated top-CPU scan and a manual Queue for Optimization request both draw from the same annual credit pool for the account.

Can I re-run optimization on a query that's already been optimized?

No. A query that has already been optimized cannot be optimized again unless a new query plan is available with changes that warrant optimization.

Why can't I queue optimization from Overview?

Optimization can only be requested for a SQL Statement resolved to a specific Server, Database, Object, and statement hash. Overview's Default grouping shows one row per statement across all instances and databases, so it isn't specific enough. Drill in from Overview to a specific instance and database in Details to reach the Query Analysis flyout, where Queue for Optimization is available.

How many optimization credits do I have?

Each client is issued five optimization credits per monitored instance per year. Used and remaining credits are shown on the Optimization Credits card on Overview.

What happens if I run out of credits?

Additional optimization credits will be available for purchase once a client's annual allotment is used. Because a credit is only consumed when a query is successfully optimized, this hasn't come up in practice yet. Pricing for additional credits hasn't been determined.

How do I find queries that already have a recommendation?

Use the Recommended Optimization filter (Yes) on Overview to narrow the Query Impact Analysis table to only SQL Statements that have an optimization recommendation available.

Should I run every script exactly as generated?

Scripts are generated recommendations, not verified migrations. Review them and test on a non-production copy of the database before running against production. Some scripts include a comment warning when a change may briefly lock a table.

Related Topics