Investigate slow running query
Hi All,I have a stored proc which inside simply joins a view and 3 tables. The SP takes less than 1 sec in my DEV environment but it takes almost 10 secs most of the time in my SIT environment.1) The...
View ArticleLog Can't be truncated but no CDCs or Replication exists.
We restored databases to our test environment and set up AlwaysOn (AlwaysOn was set up for these databases in prod as well). Whenever I try and backup the log I'm getting "The log was not truncated...
View ArticleLinked Server error: Login Failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
Good afternoon,I have the following issue that i can't seem to "fix":I have 2 instances: Instance A (primary databases for my application) and Instance B (relational databases for Reporting...
View ArticleLinked Server error
Dear All, When I tried to create a Linked Server I get the following error message would you please let me know what would cause the issue please? Named Pipes Provider: Could not open a connection to...
View ArticleDecent SQLIO results but SQL 2008 not performing as well
Apologies, I'm not a DBA so if I miss key info required, please let me know.We have a SQL 2008R2 server that, when busy, is generating high average disk queue length on the Windows VM but we're not...
View ArticlePartition scheme change with clustered Index
Hi, I have table which has 600 million records and also has the Partition on PS_TRPdate(TRPDate) column, I want to change it to another Partition PS_LPDate(LPDate). So I have tried with small amount of...
View ArticleData copy across Linked Server much slower than expected
I'm trying to retrieve data from a SQL Server at a remote site running SQL2008. There is a query involved, but to isolate the issue I've materialised the data, so all subsequent tests are now doing a...
View ArticleSQL Cluster Issue
Hi All,There seems to be an issue with a database in a cluster(the cluster is accessed from a separate server).Last week, I had loaded some data on Monday,Tuesday and Wednesday. There was also some...
View ArticleUnspecified error occurred on SQL Server during Index Maintenance
The following error messages received during Index Maint job."Msg 0, Sev 0, State 1: Unspecified error occurred on SQL Server. Connection may have been terminated by the server. [SQLSTATE HY000]" This...
View ArticleReplication & Publication Databases
Hi,I'm in need of moving the database files to a different drive. Well I can't because 1 of the databases is replicated. (when you right click on the database to click detach, there's a message that...
View Articletroubleshoot The current transaction cannot be committed and cannot support...
Ran into a difficult-to-troubleshoot situation. environment: SQL 2012, two databases, (A) one with full recovery model, (B) second with simple recovery model A SP that works only against DB (A) starts...
View ArticleDatabase engine on separate OS/VM or same
We have to deploy SQL Server 2012 as database engine to our front end application. We are given option to have two VMs one for SQL and one for front end. OR One VM with specs same as of two...
View ArticleSQL Server Performance Counter
Hello,Very quick question. What is a Free List? I can see a performance counter for Free List Stalls/Sec, is there any documentation detailing what a free list is? I have been unable to find anything...
View ArticleRestore Job has been failed with error message as "Skipped log backup file....
We have already configured log shipping on server. But now restore job failed with error message as "Skipped log backup file. Secondary DB"Kindly provide resolution steps for same.
View Article300 million rows in a table
Hello Gurus,I have a table with over 300 million records in it. I was wondering if you can give me some ideas on how to ensure performance of the database is optimum. What is generally advised?1- Can I...
View ArticleForeign keys are not showing up in Visual Studio
Hello all,I am having an issue where my SQL Model in Visual Studio 2010 is not fully generating code for my foreign keys. In my SQL database I have a few tables with foreign key relationships. In VS...
View ArticleFullText Index Population
Hiin one our production database Fulltext Index Full build was kicked off and table was locked , now i see the status is "Full Population In Progress" running ... and its been since one day now.. is...
View ArticleSQL Server 2012 Enterprise Core license for MSDN version?
I've been trying to do some scalability testing on SQL 2012 Enterprise edition (from MSDN - no Key required). After wondering why I couldn't use all the CPU, I found the issue that Enterprise+CAL is...
View ArticleDifference between SQL server 2008 Sp2 standard edition and 2008 R2 sp1...
Hi All,If there is a big differance between between SQL server 2008 Sp2 standard edition and 2008 R2 sp1 standard edition. please sned me wt kind of changes have between them. because my system can...
View ArticleSQL Server is terminating because of fatal exception c0000005
I believe this is related to old DTS packages running, but I'm not certain of the exact cause or the fix. This is running on Windows 2003 Std SP2 x86 build 3790 GDR 080813-1204 and SQL Server 2005 Std...
View Article