Quantcast
Channel: SQL Server Database Engine forum
Browsing all 12844 articles
Browse latest View live

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 Article


Log 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 Article


Linked 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 Article

Linked 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 Article

Decent 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 Article


Partition 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 Article

Data 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 Article

SQL 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 Article


Unspecified 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 Article


Replication & 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 Article

troubleshoot 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 Article

Database 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 Article

SQL 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 Article


Restore 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 Article

300 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 Article


Foreign 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 Article

FullText 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 Article


SQL 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 Article

Difference 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 Article

SQL 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
Browsing all 12844 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>