Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

xp_sqlmaint
I am using xp_sqlmaint 'switch string here' to obtain log file dumps
every six hours. The problem is that log continues to grow. DB is on
full recovery mode. Full DB backup is taken twice a week but log is
never fully backed up. How do I specify in maintenance plan or in
switch string to truncate the log when its backed up.

Thank you.


Report this thread to moderator Post Follow-up to this message
Old Post
zomer
03-29-06 04:23 PM


Re: xp_sqlmaint
A log is truncated when it is backed up. Truncate doesn't
mean reduce the size of the physical file. The option in
sqlmaint to shrink a database is -RmUnusedSpace
threshold_percent free_percent
But it's not really a good idea to setup shrinking on a
regular basis. The size is the usually just the amount of
space SQL Server needs between the log backups.You want to
focus more and appropriately sizing your files. You can find
more info in the following article:
http://www.karaszi.com/sqlserver/info_dont_shrink.asp

-Sue

On 29 Mar 2006 08:48:38 -0800, "zomer" <noneee@gmail.com>
wrote:

>I am using xp_sqlmaint 'switch string here' to obtain log file dumps
>every six hours. The problem is that log continues to grow. DB is on
>full recovery mode. Full DB backup is taken twice a week but log is
>never fully backed up. How do I specify in maintenance plan or in
>switch string to truncate the log when its backed up.
>
>Thank you.


Report this thread to moderator Post Follow-up to this message
Old Post
Sue Hoegemeier
03-31-06 08:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 07:46 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006