简体   繁体   English

SQL 2005 tempdb增长和DTA语法错误

[英]SQL 2005 tempdb growth and DTA syntax errors

I arrived at work to today to discover one of our SQL 2005 servers had run out of disk space. 我今天到了工作岗位,发现我们的一台SQL 2005服务器的磁盘空间不足。 On examination the database causing the problem was tempdb. 在检查时导致问题的数据库是tempdb。 It seems to have grown from around 8mb to 16gb, causing me some concern. 它似乎从大约8mb增长到16gb,引起了我的一些担忧。 After kicking everyone out of the server and restarting the problem the tempdb is now back to its original size, not a problem. 在将所有人踢出服务器并重新启动问题之后,tempdb现在恢复到其原始大小,这不是问题。

So I now decided to try and trace the query(s) causing the tempdb to grow. 所以我现在决定尝试跟踪导致tempdb增长的查询。 There are only two active databases on the server so I launched the SQL server profiler. 服务器上只有两个活动数据库,因此我启动了SQL Server Profiler。 I ran it using the "blank" template with the following events selected: 我使用“空白”模板运行它,并选择了以下事件:

  • All of Errors / Warnings 所有错误/警告
  • T-SQL T-SQL
  • Stored Procedures 存储过程

I then threw this into the database tuning advisor which is now reporting that "67% of the consumed workload has syntax errors". 然后,我将其放入数据库调整顾问中,该顾问现在报告“已消耗的工作量的67%具有语法错误”。

Question1) should I be worried about such a high level of syntax errors? 问题1)我应该担心这么高级别的语法错误吗? The errors are coming from a very well known supplier of project management software, should I be contacting them regarding these errors? 这些错误来自一个众所周知的项目管理软件供应商,我是否应就这些错误与他们联系?

Question2) Are the events I selected likely to discover the root cause of my tempdb growth? 问题2)我选择的事件是否可能发现我的tempdb增长的根本原因?

Apologies for the long questions, trying to include as much details as I can. 为长期问题道歉,试图尽可能多地包含细节。

Thanks in advance for any advice I receive. 提前感谢我收到的任何建议。

I have used this one Properly Sizing the SQL Server TempDB Database to monitor the growth. 我使用这个正确调整SQL Server TempDB数据库的大小来监控增长。 Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM