Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

SQL Server Instant File Initialization (PQW) Expand / Collapse
Author
Message
Posted Tuesday, April 3, 2012 3:48 AM


Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Saturday, August 23, 2014 6:03 AM
Points: 351, Visits: 1,556
Thanks Mike, glad you found it useful. Always test those changes in DEV first


John Sansom (@sqlBrit) | www.johnsansom.com
Post #1277160
Posted Tuesday, April 3, 2012 11:56 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Today @ 12:48 PM
Points: 51, Visits: 379
I just created a test database on my Dev machine and I don't see anything in the log about zeroing the data file or log file. What am I missing?

Thanks!
Post #1277526
Posted Tuesday, April 3, 2012 11:10 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Tuesday, May 6, 2014 4:49 PM
Points: 389, Visits: 154
Try Creating a database with a large filesize. e.g. 8gb or more and see how long it takes with instant initialization and with out
Post #1277781
Posted Tuesday, April 3, 2012 11:28 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Wednesday, August 27, 2014 5:52 PM
Points: 2,270, Visits: 3,789
heb1014 (4/3/2012)
I just created a test database on my Dev machine and I don't see anything in the log about zeroing the data file or log file. What am I missing?

Thanks!


Did you enable those traces like how John had described.


Mohammed Moinudheen
Post #1277787
Posted Wednesday, April 4, 2012 9:22 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Today @ 12:48 PM
Points: 51, Visits: 379
Thanks Mohammed! I must have read too fast. Both flags have to be enabled to see the zeroing in the log and data files. Then, the service account must be added to the volume maintenance policy (followed by a restart).

Works now!
Post #1278166
Posted Saturday, April 7, 2012 4:33 AM


Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Saturday, August 23, 2014 6:03 AM
Points: 351, Visits: 1,556
Mohammed, good man. Thanks for stepping in and helping heb1014 in my absence, I appreciate it.


John Sansom (@sqlBrit) | www.johnsansom.com
Post #1279808
Posted Saturday, April 7, 2012 4:56 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Wednesday, August 27, 2014 5:52 PM
Points: 2,270, Visits: 3,789
John.Sansom (4/7/2012)
Mohammed, good man. Thanks for stepping in and helping heb1014 in my absence, I appreciate it.


You are welcome,


Mohammed Moinudheen
Post #1279812
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse