April 22, 2010 at 9:34 am
Hi,
We have MOSS 2007 SP1 databases on SQL Server 2005. We have TempDB on Separate drive (storage is on SAN) and I have created the tempDB datafile size as 15 GB & log file size as 10 GB initially.
Within one week after going production, the tempDB log file size is increased 5 GB and data file size is 11 MB only. So for TempDb, the Log file size should be as large as enough but the data file size will be small right? In my case can I reduce the data file size & increase log file size?
Please advice
April 22, 2010 at 10:04 am
in the follow link I believe that is good to understand how works the tempdb DB and how you can resolved this
good luck
Angel Miranda Nieto
DBA Specialist, BI, MCSA SQL Server
April 22, 2010 at 12:01 pm
thanks Angel,
For tempDb, we do not need to allocate large size for Data file (mdf) but need to allocate large size for Log file (ldf) right?
Because for us, the tempDB data file size is always in MB eventhough I set the initial size as 15 GB. Only Log file size is increasing!
April 22, 2010 at 2:15 pm
A couple of other folks and I recently discovered a possible problem with the IDENTITY function when used with SELECT/INTO in the form of explosive log file growth even with databases set to the SIMPLE recovery mode (like TempDB). The work around in 2k5 is to, of course, use ROW_NUMBER() instead of IDENTITY if you don't actually need an IDENTITY column.
When I say "explosive", I mean "nuclear bomb explosive". I've not finished my testing on the problem, yet, but current testing clearly demonstrates that it just doesn't take very much for it to "run away".
Check your code for %IDENTITY(INT,% and see if you find if you get anyhits.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 22, 2010 at 3:57 pm
Thanks,
But this SQL instance has MOSS 2007 databases & unfortunately we cannot change any settings on SQL Server side according to the Share Point Technologies Products support!
April 22, 2010 at 4:11 pm
To find what may be causing the log and tempdb growth refer to this article.
http://www.sqlservercentral.com/articles/Log+growth/69476/
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply