IT tutorials
 
Database
 

SQL Server 2012 : Delivering Manageability and Performance (part 3) - POLICY-BASED MANAGEMENT - Database — Data and Log File Auto-Grow Increments

11/18/2013 2:36:11 AM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

3.7 Database — Data and Log File Auto-Grow Increments

This policy checks the auto-growth increments for data and log files to ensure they are optimized given the database size. This particular policy is a good example of how the optimal value for the auto-growth increment varies according to the size of the database. It would be unreasonable to grow a 10MB log file by anything more than a few MB. Similarly, it would be unreasonable to grow a 100GB data file by anything less than 1GB.

To get started with this policy example, create the four conditions shown in Table 3. Figure 3 shows values for a medium data check condition.

TABLE 3: Example Autogrow Conditions

image

FIGURE 3

image

Before creating the policies, four further conditions are required that will be used in the target to ensure that each policy is applied against the correct database (see Figure 4). Table 4 summarizes the additional conditions required.

FIGURE 4

image

TABLE 4: Additional Conditions for Filtering Targets

image

Once these conditions are created, the next and final step is to create the policies. Four policies are required, and these policies will connect the check condition to the target conditions and specify the evaluation mode for the policy. Table 5 summarizes the four policies required. Figure 5 shows an example dialog using the Small Data condition.

FIGURE 5

image

TABLE 5: Example File Autogrow Policies

POLICY NAME CHECK CONDITION AGAINST TARGETS
Database — Log File Autogrow Amount Optimized Autogrow — Small Log Log Files with KB Growth Type Log file in Every Database
Database — Data File Autogrow Amount Optimized Autogrow — Small Data Data Files with KB Growth Type File in Every FileGroup in Every Database
Database — Medium Data Autogrow Optimized Autogrow — Medium Data Data Files 1GB or greater with KB file in Every FileGroup in Every Database
Database — Medium Log Autogrow Optimized Autogrow — Medium Log Log Files 1GB or greater with KB LogFile in Every database

Creating these eight conditions and four policies enables the automated policy evaluation to ensure that small databases have KB growth increments, and databases with data or log files larger than 1GB have autogrow set to 1GB or larger.

 
Others
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us