title
TuningTimeInMin Element (DTA)
description
In the dta utility, the TuningTimeInMin element specifies the maximum length of a tuning session in minutes.
author
rwestMSFT
ms.author
randolphwest
ms.date
03/01/2017
ms.service
sql
ms.subservice
tools-other
ms.topic
reference
ms.collection
helpviewer_keywords
dev_langs
TuningTimeInMin Element (DTA)
[!INCLUDE SQL Server ]
Specifies the maximum length of a tuning session in minutes.
<DTAInput>
...code removed...
<TuningOptions>
<TuningTimeInMin>...</TuningTimeInMin>
Characteristic
Description
Data type and length
unsignedInt , unlimited length.
Default value
480 minutes (8 hours).
Occurrence
Required unless a value has been specified for the NumberOfEvents element.
The following code example shows how to set 12 hours as the maximum tuning time:
<DTAInput>
<Server>...</Server>
<Workload>...</Workload>
<TuningOptions>
<TuningTimeInMin>720</TuningTimeInMin>
...code removed here...
</DTAInput>
XML Input File Reference (Database Engine Tuning Advisor)