Monitor and Enforce Best Practices by Using Policy-Based Management
Policy-Based Management allows you monitor best practices for the SQL Server Database Engine. SQL Server provides a set of policy files that you can import as best practice policies, and then evaluate the policies against a target set that includes instances, instance objects, databases, or database objects. You can evaluate policies manually, set policies to evaluate a target set according to a schedule, or set policies to evaluate a target set according to an event. For more information about Policy-Based Management, see Administer Servers by Using Policy-Based Management.
Policy and Rules for Database Engine
The following table lists the policies that are included with the installation of SQL Server and includes information about the best practices rules that each policy evaluates. The policies are stored as XML files and must be imported into SQL Server. For more information about how to import policies, see Import a Policy-Based Management Policy.
Policy name |
Best practice rule |
---|---|
Asymmetric Key Encryption Algorithm |
|
Backup and Data File Location |
Backup Files Must Be on Separate Devices from the Database Files |
Data and Log File Location |
|
Database Auto Close |
|
Database Auto Shrink |
|
Database Collation |
Set the Collation of User-defined Databases to Match Those of the master and model Databases |
Database Page Verification |
|
Database Page Status |
|
Guest Permissions |
|
Last Successful Backup Date |
|
Public Not Granted Server Permissions |
|
SQL Server 32-bit Affinity Mask Overlap |
|
SQL Server 64-bit Affinity Mask Overlap |
|
SQL Server Affinity Mask |
|
SQL Server Blocked Process Threshold |
|
SQL Server Default Trace |
|
SQL Server Dynamic Locks |
|
SQL Server Lightweight Pooling |
|
SQL Server Login Mode |
|
SQL Server Max Degree of Parallelism |
Set the Max Degree of Parallelism Option for Optimal Performance |
SQL Server Max Worker Threads for 32-bit SQL Server 2000 |
|
SQL Server Max Worker Threads for 64-bit SQL Server 2000 |
|
SQL Server Max Worker Threads for SQL Server 2005 and above |
|
SQL Server Network Packet Size |
|
SQL Server Password Expiration |
|
SQL Server Password Policy |
|
Symmetric Key Encryption for User Databases |
|
Symmetric Key for master Database |
|
Symmetric Key for System Databases |
|
Trustworthy Database |
|
Windows Event Log Cluster Disk Resource Corruption Error |
|
Windows Event Log Device Driver Control Error |
|
Windows Event Log Device Not Ready Error |
|
Windows Event Log Failed I_O Request Error |
|
Windows Event Log I_O Delay Warning |
|
Windows Event Log I_O Error During Hard Page Fault Error |
|
Windows Event Log Read Retry Error |
|
Windows Event Log Storage System I_O Timeout Error |
|
Windows Event Log System Failure Error |