![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| 32 bit MSSQl 2005 SP3 on a 64bit Windows Server 2003 SP2 host. My database is 1.5gb, and something unknown happens during the day to make the size of tempdb go to 1.5gb and log to 21gb (not 2.1, 21). I want to use Performance Monitor logging to capture what is happening. What counters can I use to trap this event? Thanks. |
#3
| |||
| |||
|
| 32 bit MSSQl 2005 SP3 on a 64bit Windows Server 2003 SP2 host. My database is 1.5gb, and something unknown happens during the day to make the size of tempdb go to 1.5gb and log to 21gb (not 2.1, 21). I want to use Performance Monitor logging to capture what is happening. What counters can I use to trap this event? Thanks. |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
That is great info. I tweaked the TSQL a little and have a result set. I can see a lot of rows with "tmpdb" , "templog" , "12880000" (duration) , "log" , "log_12.trc" but am not sure how I can track this down to a stored procedure or command that is causing the growth. Where can I look next? |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Hello Snap Thank you for using Microsoft MSDN Managed Newsgroup. My name is Mark Han. I am glad to work with you on this issue. From your description, I understand that you would like to analysis the SQL Server Profiler Trace to figure out why the size of the tempDB grew bigger. If I have misunderstood, please let me know. After reviewing the post history, I found Erland has give you a detail answer. Thank you,Erland. besides, if it is convenient to you, please send me an email, I would like to help you to analysis the profiler trace. my email address is v-fathan (AT) microsoft (DOT) online.com (please remove "online"). Besides, since the profiler trace you have is generated by SQL Server automatically, it is possible that some important information is not captured. Therefore, if the information is not enough for us to figure out the root cause of the issue, we might need to monitor the issue and while the issue happens again, try to capture a new Profiler Trace which we could configure to collect informatin requested. If there is anything unclear, please do not hesitate to let me know. Have a nice day! Best regards, Mark Han Microsoft Online Community Support ================================================== ========= Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: msdnmg (AT) microsoft (DOT) com. ================================================== ========= Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscripti...ult.aspx#notif ications. Note: MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 2 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/en-us/subs.../aa948874.aspx ================================================== ========== This posting is provided "AS IS" with no warranties, and confers no rights. ================================================== ======= |
#8
| |||
| |||
|
|
The problem is not tempdb mdf, it is the transaction log (ldf) that grows to 21gb and never shrinks. |
#9
| |||
| |||
|
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |