January 11, 2010 at 2:31 pm
They had to have something else going on, or they're confused by nomenclature - snapshot just can't get bigger than the database - once all pages from the database are copied, there's nothing else that can make the snapshot grow.
Paul Randal
CEO, SQLskills.com: Check out SQLskills online training!
Blog:www.SQLskills.com/blogs/paul Twitter: @PaulRandal
SQL MVP, Microsoft RD, Contributing Editor of TechNet Magazine
Author of DBCC CHECKDB/repair (and other Storage Engine) code of SQL Server 2005
January 11, 2010 at 2:43 pm
Thanks for the reply and add'l detail. Glad to know that I was not missing something on the file size.
Jeremy.
January 11, 2010 at 9:47 pm
Paul Randal (1/11/2010)
...snapshot just can't get bigger than the database - once all pages from the database are copied, there's nothing else that can make the snapshot grow.
True, but it could appear that way:
Consider a database 80GB in size.
A snapshot of that database reaches 78GB in size.
Objects are then deleted from the main database.
The main database is then shrunk to 1GB.
The snapshot is now larger than the database, since extents are never deallocated from the snapshot.
Paul
January 12, 2010 at 9:43 am
Yes, that's what I said two replies further up in the thread...
Paul Randal
CEO, SQLskills.com: Check out SQLskills online training!
Blog:www.SQLskills.com/blogs/paul Twitter: @PaulRandal
SQL MVP, Microsoft RD, Contributing Editor of TechNet Magazine
Author of DBCC CHECKDB/repair (and other Storage Engine) code of SQL Server 2005
January 12, 2010 at 9:59 am
Paul Randal (1/12/2010)
Yes, that's what I said two replies further up in the thread...
So you did :laugh:
I read that post more than once and missed that part every time! Oh well. The point is well made then I guess.
January 12, 2010 at 10:03 am
No worries 🙂
Paul Randal
CEO, SQLskills.com: Check out SQLskills online training!
Blog:www.SQLskills.com/blogs/paul Twitter: @PaulRandal
SQL MVP, Microsoft RD, Contributing Editor of TechNet Magazine
Author of DBCC CHECKDB/repair (and other Storage Engine) code of SQL Server 2005
February 10, 2010 at 4:16 am
The Paul R blog entry is nice and clear - my mind was boggling at the original article, but as soon as I read the phrase "copy-before-write" it all clicked.
Tom
Viewing 7 posts - 16 through 21 (of 21 total)
You must be logged in to reply to this topic. Login to reply