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

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


sql 2008 r2: two cdc questions

hi folks,i have two questions regarding CDC1. are there any perfmon indicators for CDC?  if so, under what category are they in?  I thought they might be somewhere under replication but not seeing it....

View Article


Shrinking database log file - Any other way

Insetad of shrinking log file,Is it ok if we drop the whole database and create new (just a thought -- I am not very experienced in sql db things)of course will transport data to somewhere else first...

View Article

Contained database

hi all  i am having very basic doubt about contained database. 1.What is contained database. 2.how its different from User database. 3.can i alter userDB to containedDB? 4.Other benefits of containedDB...

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


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

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

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


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


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

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

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

Need to generate a report on SQL Server Service dependencies in a cluster for...

Hi Guys,I got one requirement that I need to extract the sql server service dependencies on 20 cluster servers and generate a report this in the below formatSQL Server Service || SQL server virtual...

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

What is causing this "The timeout period elapsed during the post-login phase."?

This is happening on a shared environment running DataCenter.  We are doing a bulk merge of about 100 plus records.  It is failing in different spots but always the same error.  Sql has no error logs,...

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

Script to find who is trying take backup on Database

Hi,I have a script to find who is taking the database backup and physical device information, but i need to know which job is trying to run in a particular time to run the backup on...

View Article


database engine connection

In my laboratory i have a P2P LAN, and on each Windows 7 - PC i have installed SQL Server 2008 (Standalone/Enterprice Server). On Windows there are the Administrator and User - Accounts. Both accounts...

View Article

Image may be NSFW.
Clik here to view.

SQL_Handle 0x0000000000000000000000000000000000000000

We have OLTP and OLAP sitting on the same database for different reasons. I have 16 Proc machine and i have set MAXDOP to 4. While i am still testing different values, But i see select queries on...

View Article

Image may be NSFW.
Clik here to view.

Microsoft TechNet Wiki Guru - Winners for August!!

The results for August's TechNet Guru competition have been posted!http://blogs.technet.com/b/wikininjas/archive/2013/09/11/technet-guru-awards-august-2013.aspx Congratulations to all our new Gurus for...

View Article
Browsing all 12963 articles
Browse latest View live