|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, February 22, 2011 3:54 AM
Points: 3,
Visits: 89
|
|
I have created a database snapshot for one database (25 GB).
Is it possible to alter database snapshot's datafile to 15 GB.
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 1:00 PM
Points: 37,744,
Visits: 30,024
|
|
Database snapshots are read only. Completely
That said, it's highly unlikely that the snapshot is taking the full 25GB. Snapshots use sparse file technology where the file is only as big as the data in it, not the size of the source database. Check the properties of the file and check the 'size on disk'. That's how much space it's actually taking up.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, February 22, 2011 3:54 AM
Points: 3,
Visits: 89
|
|
Thanks for the update. In our case, data file is 96% used and we are getting alerts as it crossed the threshold. So I tried to increase the datafile size but with out success. So in and all, we can't increase/decrease the datafile size of a snapshot database..right!
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 1:00 PM
Points: 37,744,
Visits: 30,024
|
|
p.brat.23 (11/6/2010) Thanks for the update. In our case, data file is 96% used and we are getting alerts as it crossed the threshold.
The source database or the snapshot?
So in and all, we can't increase/decrease the datafile size of a snapshot database..right!
The snapshot will never be bigger than the database was at the time the snapshot was created. The file is Sparce (and no alerts can look at that), the size will appear as the same as the source database, the size on disk will be lower usually.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
SSCarpal Tunnel
       
Group: General Forum Members
Last Login: Friday, May 17, 2013 11:21 AM
Points: 4,317,
Visits: 9,216
|
|
p.brat.23 (11/6/2010) Thanks for the update. In our case, data file is 96% used and we are getting alerts as it crossed the threshold. So I tried to increase the datafile size but with out success. So in and all, we can't increase/decrease the datafile size of a snapshot database..right!
When was the snapshot created? Normally, you would create a database snapshot for a short period of time and then drop it.
What is the purpose of this snapshot - and why do you still need it?
Jeffrey Williams Problems are opportunites brilliantly disguised as insurmountable obstacles.
How to post questions to get better answers faster Managing Transaction Logs
|
|
|
|