DTA execution problem

Laurent Guiochet 40 Reputation points
2023-12-28T16:58:26.9766667+00:00

I'd like to use the database engine configuration wizard to create an optimisation plan using the plan cache.

When I select the databases I'm interested in and launch the analysis, an error immediately appears: Impossible to extract the workload from the plan cache (DTAEngine).

I don't know what to do to make it work

Thanks for your help

DTA Param

DTA Result

SQL Server | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. LiHongMSFT-4306 31,566 Reputation points
    2023-12-29T05:36:12.41+00:00

    Hi @Laurent Guiochet

    Referring from this doc:

    These options not available via the GUI:

    1. Number of workload events to tune: This option, specified using -n command line argument, allows the user to control how many events from the Query Store are tuned. By default, DTA uses a value of 1000 for this option. DTA always chooses the most expensive events by total duration.
    2. Time windows of events to tune: Since the Query Store may contain queries that have executed a long time ago, this option allows the user to specify a past time window (in hours) when a query must have executed for it to be considered by DTA for tuning. This option is specified using -I command line argument.

    Best regards,

    Cosmog Hong

    0 comments No comments

  2. Laurent Guiochet 40 Reputation points
    2023-12-29T08:58:35.1333333+00:00

    Hello,

    I'm sorry, but you haven't answered my question. I've already consulted this document, which doesn't help me in my case.

    You were asking for an explanation of the error and how to resolve it. I haven't managed to solve the problem with the document and I'm looking for further help.

    Thank you

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.