Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

DTA command line utility never completes (SQL Server 2012)

$
0
0

I'm trying to use the command-line dta Database Engine Tuning Advisor utility to analyze trace files from SQL Server Profiler (SQL Server 2012). This works fine with the GUI tool, but the command line version launched with the same options never completes."Time elapsed" stops at something like 00:00:01 and "Workload consumed" never gets much past 0%.

If I view the session in the GUI after starting it from the command line, I can see that "Submitting Configuration Information" results in Success, but "Consuming Workload" and "Performing Analysis" remain at "In progress...". I've let dta run for over 20 minutes on a workload file that took the GUI version less than a minute to complete with no further progress.

I can terminate the session from the command line or GUI, but doing so causes it to remain at "Aborting" status indefinitely until I kill the database connection.

Here's the command I'm using:

dta -E -D dbname -if "step 1.trc" -s session1 -of "step 1 dbname" -B 500 -C 1023 -e


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>