You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**name**|**nvarchar(128)**|The name of the automatic tuning option, for example, `FORCE_LAST_GOOD_PLAN`|
41
-
|**desired_state**|**smallint**|Indicates the desired operation mode for Automatic Tuning option, explicitly set by user.|
42
-
|**desired_state_desc**|**nvarchar(60)**|Textual description of the desired operation mode of Automatic Tuning option:<br />`OFF` (0)<br />`ON` (1)|
43
-
|**actual_state**|**smallint**|Indicates the operation mode of Automatic Tuning option.|
44
-
|**actual_state_desc**|**nvarchar(60)**|Textual description of the actual operation mode of Automatic Tuning option.<br />`OFF` (0)<br />`ON` (1)|
45
-
|**reason**|**smallint**|Indicates why actual and desired states are different.|
46
-
|**reason_desc**|**nvarchar(60)**|Textual description of the reason why actual and desired states are different.|
40
+
|**name**|**nvarchar(128)**|The name of the automatic tuning option. Refer to [ALTER DATABASE SET AUTOMATIC_TUNING (Transact-SQL)](../../t-sql/statements/alter-database-transact-sql-set-options.md)for available options.|
41
+
|**desired_state**|**smallint**|Indicates the desired operation mode for Automatic Tuning option, explicitly set by user.<br />0 = OFF<br />1 = ON|
42
+
|**desired_state_desc**|**nvarchar(60)**|Textual description of the desired operation mode of Automatic Tuning option.<br />OFF<br />ON|
43
+
|**actual_state**|**smallint**|Indicates the operation mode of Automatic Tuning option.<br />0 = OFF<br />1 = ON|
44
+
|**actual_state_desc**|**nvarchar(60)**|Textual description of the actual operation mode of Automatic Tuning option.<br />OFF<br />ON|
45
+
|**reason**|**smallint**|Indicates why actual and desired states are different.<br />2 = DISABLED<br />11 = QUERY_STORE_OFF<br />12 = QUERY_STORE_READ_ONLY<br />13 = NOT_SUPPORTED|
46
+
|**reason_desc**|**nvarchar(60)**|Textual description of the reason why actual and desired states are different.<br />DISABLED = Option is disabled by system<br />QUERY_STORE_OFF = Query Store is turned off<br />QUERY_STORE_READ_ONLY = Query Store is in read-only mode<br />NOT_SUPPORTED = Available only in [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Enterprise edition|
47
47
48
48
## Permissions
49
49
Requires the `VIEW DATABASE STATE` permission.
50
50
51
-
## Remarks
52
-
The values in `reason` and `reason_desc` columns might be:
0 commit comments