on 01-22-2011 7:20 AM
hi,
few days ago I noticed that data files (mdf, ndf - i am not talking about log file) sometimes get s small. auto shrink is turned off.
I checked it in dbacockpit->space->history->database size history.
is it OK? why it happens so? as I know without shrinking files should not get small (even if delete much data from data base).
we are doing full backup every night.
(OS - Win2003R2, DB - MSSQL2005 SP2, SAP - ERP6)
thanks in advance
Edited by: pharvana on Jan 22, 2011 8:22 AM
You may want to check following note:
Note 142731 - DBCC checks of SQL server
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi pharvana,
i know this behavoir of the SQL Server for the DBCC CHECKDB command. The DB Files are growing during the CHECKDB and after finishing, the Files shrunk back to their origin size.
For the CHECKDB Command it normal.
I dunno if it is normal for the time where an Fullbackup is running.
Kind regards
Manuel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Manuel
thank you,
we do dbcc checkdb before fullbackup, but we start dbcc... at 00:00 and dbsize value system takes at 23:40 (before checkdb starts).
if after checkdb files get their original size then we would not have such sql server behavior (files could not get smaller at 23:40). am i right?
do you know any official source (sap or microsoft) where this issue is described?
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.