在事件日志中我们收到错误
The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information.
Its a Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64)
Apr 2 2010 15:48:46
Copyright (c) Microsoft Corporation
Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7600: ) (Hypervisor)
我需要抓住导致问题的原因。这是设置sql server跟踪以获取错误的唯一选择吗?或者是我可以使用的服务器的任何启动参数?或者替代方法。这不会影响服务器性能或需要重新启动服务器。
答案 0 :(得分:0)
我们解决了它检查所有调用应用程序服务器上的事件日志以查找错误。之后,我们找到导致错误的系统并联系供应商解决问题。