Re: Full v. simple recovery mode
- From: "Hari Prasad" <hari_prasad_k@xxxxxxxxxxx>
- Date: Thu, 21 Dec 2006 07:53:42 -0600
Hello,
As you saif if you backup the transaction log in frequent interval then you
can keep the LDF file under control during Index analyzes / Index rebuild.
Regarding FULL VS Simple:- First of all if it is production I will
recommend you to go for FULL recovery model. Full recovery
model with the help of transaction Log backup will help you to :-
1.recover your database if there is any database/server crash
2. Will help you to do Point_In_Time recovery. This helps incase some does
an invalid update / delete
I suggest you to do ,below:-
1. Do DBCC CHECKDB daily when user access is less. Schedule this as a SQL
Server job. DB do not want to be in single user
2. Do a reindex every week. FOr SQL 2000 for this database should not have
any access. You could use ALTER DATABASE DBNAME SET SINGLE_USER command
Thanks
Hari
"TPetkus" <TPetkus@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8408153E-0C53-41A5-99AA-3DEDA5830655@xxxxxxxxxxxxxxxx
We use SQL 2000 as part of Small Business Server 2003 Premium (up to
date).
We are rank amateurs when it comes to SQL.
I am trying to run weekly database maintenance against a SQL db using the
SQL maintenance utility wizard. One of the routines I set up is to check
db
intergrity and make simple repairs, if needed. This always fails due to
the
db not being in single user recovery mode. The sp_dboption command fails
to
change the db to single user mode stating that while other users are using
the database it cannot be changed (yet there aren't any other users logged
in). The check table index linkage command does not execute.
I read that if I change the recovery mode from simple to full, I can avoid
the error altogether. Other than the risk of huge log files gobbling up
all
available disk space, is the any reason not to change a db to full
recovery
mode from simple?
I understand that if I have a regular routine to backup the transaction
log,
its size will not get out of control .
I would like to know what risks there are from a setting with full
recovery
vs. simple recovery mode. If someone can suggest a better alternative, I
would welcome any advice.
Thank you.
Tomas
.
- Prev by Date: Re: Installing SQL Server 2005 on Vista RTM
- Next by Date: AWE, Lock Pages, Local System Account
- Previous by thread: Re: Installing SQL Server 2005 on Vista RTM
- Next by thread: AWE, Lock Pages, Local System Account
- Index(es):
Relevant Pages
|