product level vs service pack
Hi. When I run a profile on one of my engine instances, I see this@@version = Microsoft SQL Server 2008 (SP3) - 10.0.5500.0 (X64) Sep 21 2011 22:45:45 Copyright (c) 1988-2008 Microsoft Corporation...
View ArticleDynamic SQL
Hi, How good are Dynamic SQL queries for SQL Server's better peformance ? I m just asking because I got a request from one of our developers to tune a stored proc that he develped. It has 800 lines...
View Articlesysjobactivity cannot insert duplicate
We have a job which runs through ok, but right at the end it (presumably) tries to update sysjobactivity to say success. Upon attempting to do this it looks like it's failing (with error below in error...
View ArticlePerfmon is reporting very high "waits started per second". What are possible...
Win 2008r2 Enterprise. SQL 2008R2.Included is a screenshot of the perfmon capture. Notice the Wait Stats section at the bottom and the high waits starts per second. What causes could explain this...
View ArticleDebugging tips for job/procedure - SQL 2005
SQL 2005 standard editionCan I step into a stored procedure from SSMS ?Ive read where you can do remote debugging if you install some additional components, but Id rather not do that.
View ArticleDefault return value from stored procedure if none specified?
If a procedure just simply returns with no value specified, what will that value be, 0?
View ArticleHow to tell if statistics are causing problems
Is there a system view I can query to tell me if there is something wrong with statistics for a database which might cause strange problems with a procedure?
View ArticleChangeTracking auto cleanup problem
I use ChangeTracking in SQL 2012 and IsAutoCleanup is true. But my settings have no effect on the actual situation. I put 1 hour, 5 hours, 10 minutes, 2 minutes, 40 minutes, but the cleaning is always...
View ArticleHow to tell if a job is hung up or being blocked? no blocks seen with sp_who2
Ive started a job on a server that I have inherited, by right clicking on it and starting it.Its still running, and has not errored yet, but Im thinking it should have finished by now.How can I tell if...
View ArticleSQL 2008 R2 standard edition upgrade to enterprise
Hi AllI try to upgarde the editions of SQL 2008 R2 standard. But Failed.Overall summary: Final result: Failed: see details below Exit code (Decimal): 1570409569 Exit...
View ArticleCan be stored procedures without cache?
Hello Guys!Today one procedure in my company after job for recompile, was no cache stored when I find with this select:SELECT [cp].[refcounts] , [cp].[usecounts] , [cp].[objtype] , [st].[dbid] ,...
View Articlesql server services starting problem..
HI team,when i try to start the sql server services i am facing the bellow error, please give a answer...
View ArticleSQL Server 2008 Memory Usage details
Server configuration : Windows 2008 64-bit & SQL Server 2008 64-bit environment with 14 Gigs of Memory.Max. Server Memory set to 11 Gigs.- The task manager is showing sqlservr.exe is consuming all...
View ArticleReclaiming 2TB in a SQL Server 2008R2 database ( non-log file) shrinkdb
We have a very large SQL Server 2008R2 database (4TB). Recently we were able to compress some of the xml files located within the database. This reduced the actual database size to 1.5TB. But the...
View ArticleSQL Compression performance issue
I have 2 identical databases. I have page compressed all tables and indexes in one of them. This gave me around a 40-50% saving in terms of storage.Now when I run the same query (select only) against...
View Articledrop article does not clear records from MSreplication_objects
I have simple transactional replication set up. One of the publications had 3 articles. 1 of those became unnecessary, so I did:EXEC sp_dropsubscription @publication = 'Pub_A', @article = 'Art3',...
View ArticleDisk performance question: disk bytes/transfer
Hi,I'm suffering performance issue with my disks.its for a datawarehouse, so I setup the SQL Server flag to use the extended pages. its supposed to read 256Kb instead of 64kb.on my tempdb drive, the...
View ArticleRandom Error: A network-related or instance-specific error occurred while...
Over the weekend around 2am in the morning we started receiving the following error from all of our web applications accessing a particular SQL Server: A network-related or instance-specific error...
View ArticleCMS -Store the results in a table
I have configured CMS in my sql 2008 instance. I want to import all the resultant to a table t present on the same instance.How to do it?vivekanandhan periasamy
View ArticleVirtual SQL Server failing to create snapshot during backup (Netbackup,...
Hi, I'm hoping someone can offer some advice regarding an issue I'm having trying to back up a Windows VM via a Flashbackup policy. For the past few days (no issues previously) this backup has been...
View Article