Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Database Log Expand / Collapse
Author
Message
Posted Monday, July 22, 2013 9:38 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, July 22, 2013 9:27 PM
Points: 1, Visits: 1
I am a Newbie DBA
please Help me.

My Database transaction log always more than 55% every 12 hour.
i saw it from DBCC SQLPERF(LOGSPACE) command
at Log Space Used (%) column.
It is normal?
What should i do beside dump and shrink?
Any Database setting that i should look?
Post #1476336
Posted Tuesday, July 23, 2013 1:32 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Today @ 10:02 PM
Points: 1,219, Visits: 1,688
Never shrink the log file, it will have to grow again to accomodate any transaction that requires the space.

Read up some more on transaction log management, you need to understand how the log works, recovery models and how the log backup affects your log space usage.

These links will help you out:
http://www.sqlservercentral.com/articles/Administration/64582/

https://www.simple-talk.com/sql/learn-sql-server/managing-transaction-logs-in-sql-server/

Post #1476386
Posted Tuesday, July 23, 2013 9:22 AM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Today @ 7:23 PM
Points: 15,737, Visits: 28,145
It's pretty normal behavior. Do you have log backups in place? If not, is the database in Simple recovery mode? If not, you need to setup log backups.

----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of: SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans

Product Evangelist for Red Gate Software
Post #1476654
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse