What can justify 15 seconds of delay to retrive rows from system tables? - sql-server-2005

If I run select * from sysobjects, the first time it takes 15 seconds, after that it just takes 0 seconds.
The same occurs with sp_helptext someAppSP or other stuff. Server is almost all time at 0% CPU usage.
It is a classic asp App on top of a VM with Microsoft SQL Server 2005 - 9.00.5000.00 (Intel X86) Dec 10 2010 10:56:29 Copyright (c) 1988-2005 Microsoft Corporation Standard Edition on Windows NT 6.1 (Build 7601: Service Pack 1)
I am after recent (newly) App's delays. I don't care the mentioned querys by itself.

Related

Weird behaviour of microsoft.ace.oledb.12.0 64bit

We are using a SQL Server 2014 64 bit cluster in Windows server 2012 R2. We have huge amount of MS Access .mdb files coming from distributed areas. We use OpenRowSet for loading data from Access .mdb to SQL Server.
Until we upgraded to 64bit server it was working fine. After migration to 64bit SQL Server we found that Jet.4.0 has no 64bit version so we switched to Ace.12.0 64bit. After upgrading to Ace.12.0 64bit performance has been degraded. Test result is weird.
SQL 2008R2 64 bit-7sec to 10min
SQL 2008R2 32 bit-7sec
SQL 2014 64 bit cluster-7sec-10min
We cannot take initiatives to test in SQL Server 2014 in 32 bit mode.
Tested on the same server on same query. I found that after restart either Server or SQL Server SQL 2014 64bit and 2008R2 32bit/64bit take 7 seconds to execute and it is gradually increased for 64bit as time elapsed. Execution time is not stable on 64bit SQL server but 32 bit SQL server takes fixed 7seconds to executes the query anytime. Ace.12.0 and Jet.4.0 takes the same time in 32bit mode but Ace.12.0 is not stable in 64bit mode.
We use 16core processor with 128GB RAM, 2Node with SAN switch. All network switches are gigabyte switch. 9tb usable storage.
Any help will be highly appreciated.

Trace query that get query processor ran out of internal resources

In the event log we get the error
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)
I need to catch what is causing the problem. It's the only option to set up a sql server trace to get the errors? Or are the any startup parameters to the server that i can use? Or alternative method. That not effects the servers performance or need a restart of the server.
We solved it checking the event log on all calling application servers for the error. After that we find the system that was causing the error and contacted the vendor of the problem.

Error installing sql server 2012 Entreprise Edition

I m trying to install sql server 2012 entrprise (or Express ) edition in my computer but i get the this error message:
The operating system on this computer does not meet the minimum requirements for SQL Server 2012. For Windows Vista or Windows Server 2008 operating systems, Service pack 2 or later is required. For windows 7 or windows server 2008 R2, Service pack 1 or later is required. For more information, see Hardware and software requirements for installing SQL Server 2012 at http://go.microsoft.com/fwlink/?LinkID=195092***
I read the requirements of microsoft but i didn't find a solution.
I have windows 7 Integral Edition & below are my system informations,
-- processor - Intel(R) Core(TM)2 Duo CPU P8700 # 2.53 GHz
-- RAM - 3 GB
-- System type - 32 bit OS
(.Net Framework 4.5 is available - PowerShell is installed & i am using Visual studio ultimate 2012 )
As per Microsoft's requirements page (which is linked in the error message):
SQL Server Enterprise Edition requires Windows Server 2012 R2 or Windows Server 2012 or Windows Server 2008 R2 SP1 or Windows Server 2008 SP2. It will not install on Windows 7.
SQL Server Express Edition (which is a very different thing to Enterprise Edition) will install on Windows 7 but it requires a minimum of Windows 7 SP 1, which it seems you don't have. If so, you must install Windows 7 service pack 1.

BRKR TASK has 10GB in tempdb

Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64)
Enterprise Edition (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1)
Millions of service broker conversations were not cleaned up properly and ended up using over 10GB in tempdb internal objects.
BRKR TASK task_internal_objects_alloc_page_count : 2142768
Having cleaned them up with END CONVERSATION WITH CLEANUP, the conversations are gone from sys.conversation_endpoints, but the space in tempdb has not been released.
I was hoping some garbage clean up would kick in, but the space is still allocated to internal tasks 8 hours later.
Any tips on having this space released?
(Remus Resanu, help!)
You can have a look at article "A very strange Service Broker and TempDB problem".

What version of JET does Windows Server 2003 ENT SP2 use?

Normally when you look software on Wikipedia you can find information regarding the version numbers of a product and what the differences are between versions.
In the JET Wikipedia page I found the corresponding MS Access version and expected to find the corresponding JET engine version number...but it was not there, instead a there is dash!
Scanning the text of the article a bit I find that:
"Jet has been included in every version of Windows from Windows 2000 to
Windows 7...Access 2003 relied on the Jet
engine component of the operating system for its data storage and
query processing."
- Wikipedia, Microsoft Jet Database
At this point I'm not certain if the versions of Windows 2000-7 includes the Windows Server versions as well.
And if it does include them, then what version of JET would MS Access use on Windows Server 2003 Enterprise Edition SP2?
Msjet40.dll Jet 4.0 release level
version
4.0.2927.4 Service Pack 3 (SP3)
4.0.3714.7 Service Pack 4 (SP4)
4.0.4431.1 or
4.0.4431.3 Service Pack 5 (SP5)
4.0.6218.0 Service Pack 6 (SP6)
4.0.6807.0 Service Pack 6 (SP6) shipped only with Windows Server 2003
4.0.7328.0 Service Pack 7 (SP7)
4.0.8015.0 Service Pack 8 (SP8)
4.0.8618.0 Windows XP SP2 and Security Bulletin MS04-014
4.0.9025.0 Windows Server 2003 SP1 and Update Rollup 1 for Windows 2000 SP4
4.0.9505.0 Windows Server 2003 SP2
4.0.9511.0 Windows XP SP3 and Security Bulletin MS08-028
4.0.9635.0 Windows Vista
4.0.9704.0 Windows Vista SP1 and Windows Server 2008
How to determine the current release level of Jet 4.0