171_Ch05_06_Creating03
171_Ch05_06_Creating03
Creating a
Database: Sizing
and Configuring
Database Files
Chapter: Creating and Managing Databases
Course: SQL Server 2012 Database Administration
Course ID: 171
Instructor: Scott Whigham
1 p. 1
2
2 p. 2
3
3 p. 3
4
4 p. 4
5
5 p. 5
6
6 p. 6
7
7 p. 7
8
Autogrowth parameters:
– Grow the file by either:
• A percentage of current size
• A fixed amount (in MB)
– Tips:
• Always set a maximum size
• Autogrowth is a blocking operation unless Instant
File Initialization is enabled
– More on IFI later in this chapter...
8 p. 8
9
FILEGROWTH is Autogrowth:
9 p. 9
10
10 p. 10
11
11 p. 11
12
12 p. 12
13
13 p. 13
14
Don’t forget!
– You can use SSMS to learn your TSQL
• Make your changes in SSMS then click Script
14 p. 14
15
“Rules are for the guidance of wise men and the obedience of fools.”
- Douglas Bader
15 p. 15