Re: question about autogrowth and shrinkfile



geekyguy (geeky@xxxxxxx) writes:
But say that the database had been running like that for a fortnight.

It was longer than that...several months...

Oops! Assuming that you also left out the full backup, you are lucky that
something bad didn't happen in that period.

So if I become more proactive and really track the growth, as well as
maintain regular backups of the transaction log (hourly?), if it's only
growing at say 200 meg/day max, I could fix it's size at 1 gig and not
worry about it? I will probably leave auto-grow on just to be safe, but
I want to make sure I understand the sizing issues.

1 GB sounds right.

Yes, leave auto-grow on. Even if auto-grow should ideally not happen
when the system is up, it's a lot better than the system grinding to
a total standstill because of a full file.


--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Re: SQL Server 2008 caching
    ... Before db lock, i set one parameter ... Why would the user have to log out when you do a backup in the first place? ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: dropped tables
    ... We Restored from the last backup 12 hours prior... ... Restore it from a backup if you have one. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: Dump Huge
    ... dump three weeks ago was 26gb, ... In that case the backup is appended to the file. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)
  • Re: Timeout errors
    ... BACKUP Database DBName to DISK='D:\Files\Backups\DBName.bak' ... That's one backup statement, not two, and not a RESTORE statement in sight. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: SBS2003, NTBackup-Fehler
    ... Falls das Problem noch verhandeln ist,werde ich vorschalgen nächste Schritte durchzuführen. ... Backup fails on a computer that is running Small Business Server 2003 ... Die Sicherung kann nicht fortgesetzt werden. ... Microsoft OLE DB Provider for SQL Server ...
    (microsoft.public.de.german.backoffice.smallbiz)