all groups > sql server new users > march 2007 >
You're in the

sql server new users

group:

MSDB Transaction log growth


MSDB Transaction log growth Curt Spanburgh
3/28/2007 12:42:04 PM
sql server new users:
I've encountered a clients SQL Instance that experiences a large growth of
the MSDB Transaction log.

At one time the MDF was 14 MB and the log was 25 GB.

I used T-SQL commands to shink the file.

Auto growth is set to 1 mb.

This morning is was 4 GB.

I check for uncommitted transactions with DBCC Opentran.

Nothing in there.

There are nightly backups. A weekly backup and a monthend backup.

IT's a Dynamics Great Plains server.

Anyone experience this?
Re: MSDB Transaction log growth Curt Spanburgh
3/28/2007 3:02:04 PM
Great Point. The accidental DBA there must have thought it would be a good
Idea.

I see lots of settings that don't make sense.

Thanks. It's good to have someone to bounce something off. Especially when
it's a client and not my own servers.

/:>


[quoted text, click to view]
Re: MSDB Transaction log growth TheSQLGuru
3/28/2007 4:06:18 PM
1) Autogrowth of 1MB is BAD!!!!! You created what . . . 4000 file fragments
spread over your hard drive with that, in one night? Make it s standard
practice to set appropriate file size and file growth increments in ALL your
databases. There is significant performance to be gained by preventing (or
eliminating) os-level disk fragmentation.

2) Great Plains has any number of scheduled jobs it does. I would look at
the job history table (or whatever table has the HUGE number of rows) and
determine which one or ones are most likely stuck in an infinite loop. Then
address with MS support. Also check the last run status/next run date
columns in Enterprise Manager for the jobs and see if something has a 1 min
cycle time. The jobs I am looking at now for Great Plains have a 30 minute
rerun time.

--
TheSQLGuru
President
Indicium Resources, Inc.

[quoted text, click to view]

AddThis Social Bookmark Button