Plan Cache Related Performance Drop After SQL 2012 Upgrade
We've installed SQL2012 on one of our servers and spotted an overall performance drop of around 20% when compared to SQL2008. On the same hardware and identical database settings (Optimize for Ad Hoc...
View ArticleLarge Index Quickly Fragmented
We have a 400GB database in SQL 2008 (compatibility 80) we recently upgrade from SQL 2000. For some reason this database seems to have frequent fragmentation issues. There are quite a few indexes in...
View ArticleAudit certain SQL connections>
Hi,Is it possible to monitor / audit SQL logins that originate from certain machines only, and alert us when a connection is made? Or is the best way to do this a SQL profiler trace excluding certain...
View ArticleHow to reduce DB restore hrs
Hi, We are facing some slower DB restoration in one of the production Server. Is there any best method, where we can to reduce DB restoration ?Let me give overview :Our database size is 8...
View ArticleSQL Server does not exist or access denied
The Story is like the following:there is some asp program on XPs , to connect to SQL 2005 SP4 server, and sometimes get the error"SQL Server does not exist or access denied" when try to built...
View ArticleSharepoing db sql express 2005 unable to upgrade to sql server enterprise R2
I have installed sharepoint 2007 SP2 with SQL Express 2005 of course all sharepoint DBs are in SQL Express 2005, I would like to upgrade the Express 2005 to SQL Server Enterprise R2.Here's what I did...
View ArticleTempdb
HiAll,We have around 6 databases that we use in our queries. I would like to know what's the correct size of Temdb database size should be as all the databases are being referenced in order to boost...
View ArticleSql 2008 blocking....
Every few weeks sp_who2 shows a chain of "spid"-s all blocked by one spid. (We usually ask the person with the main "spid" to log off)1. Is there any way to be more proactive, to look for likely issues...
View ArticleProblem with performance. Maybe transaction log problem?
Hello,we have ETL process which starts everyday. I noticed that load time started to become bigger. Since no changes hasn't been made for weeks I think that it could be related to transaction...
View ArticleEstimated Number of rows Issue when Result set is empty
Hi All, i query the "orders" table from northwinds database The query is SELECT * FROM Orders WHERE OrderDate > '2000-01-01' The table has the orders data from 1996 to 1998 so ideally the result set...
View ArticleHow Plan Cache hit works for Triggers
Whitepaper on Cache Plan Reuse:>Trigger-Related IssuesFor a trigger execution, the number of rows affected by that execution (as measured by the number of rows in either the inserted or deleted...
View ArticleSetFileIOOverlappedRange Error AFTER Installing SQL Server 2008 R2 SP2 / Win...
SQL Server 2008 R2 - 64 BitVersion: 10.5.4260 (SP2 CU1)OS: Windows Server 2008 R2 Enterprise 64 bit SP1 With Hotfix 2679255 installedSQL Server Trace flag 8903 enabledIn the environment described...
View ArticleWhat is a good SOP when you get a stack dump for an access violation?
We just got a single EXCEPTION_ACCESSS_VIOLATION error on a production box, the process was apparently killed but the server continued.How seriously does one want to take this, and what is a good...
View ArticleBACKUP SQLSERVER
If I have a sqlserver database, if I take a full backup, differential or log, the data to be recorded in the mdf, ndf and ldf while backapea, not reflected in the backup .... end, it is so or am I...
View ArticleQuery Plan Guides and Parameter Size
Hi,Is there a trick to work around creating multiple plan guides for the same query where the only thing changing is the length of named parameters?I have a query that is issued by MS CRM 4.0. The only...
View ArticleCan you call a stored procedure via extended events?
I was wondering if there is a way to trigger a customized action (for example your own stored procedure or run a SQL/T-SQL statement) using extended events. Basically I would like to not only collect...
View ArticleSQL Agent Keeps Executing a Deleted Job Step
We are still maintaining an old SQL 2000 install. On this server was a job with multiple steps. If any of the job steps ever failed, the job would jump to the last step and execute an extended...
View ArticleThe mail could not be sent to the recipients because of the mail server...
Interesting db mail issue. If i click send test mail from sql mgmt studio, it works fine, but when i execute a SP to send a mail, it fails. One thing I noticed is that the "LastModified" column in the...
View ArticleHigh Number of Runnable Tasks, But Low CPU
I’m using Quest Benchmark Factory to run the TPC-E workload on some SQL instances, and comparing results. I’ve got 1 server built to our company’s standards (standard hardware, disk, etc.). It’s...
View ArticleSQL Server Performance issue
I am usine SQL server 2005 standard edition. Our system has a process of Day end.This process is executed at end of the day and performs different operations.This process consists of a stored...
View Article