Deadlocks and metadata locks
I have a deadlock situation that I am having some difficulty understanding. Attached is the deadlock graph - I am trying to understand why we see so many metadata locks. Is a metadata lock the same as...
View ArticleFix-length and variable-length data types
Is there a complete list of SQL Server data types which is classified based on fixed-length and variable-length feature?I only find data type description at...
View ArticleIs a checkpoint created in the transaction log of a db being copied?
we have a number of databases to move from production to testing. for a number of reasons we cannot take the production databases offline nor can we use sql back up to accomplish this task. we are...
View ArticleSQL 2012 SP1 system_health security_error_ring_buffer_recorded Events
Hello,I recenlty upgraded My SQL 2005 server to SQL 2012 SP1. The system_health in Extended Events is now continuously reporting the event listed below.After upgrading to SQL 2012 SP1 I installed a...
View ArticleGhost Server on trace file from SQL Profiler (SQL Server 2000 and SQL Server...
Hi Friends,I'll explain my scenario: I have 2 servers, the first is a SQL Server 2000 and the other is SQL Server 2008, both servers are production servers. I activated the SQL Profiler from SQL...
View Articlecpu utilization
Hi all,what is the differerence between these two queries,please explain in detailSELECT TOP(256) SQLProcessUtilization AS [SQL Server Process CPU Utilization], SystemIdle AS [System...
View ArticleFiltering SQL Server Profiler trace by RPC starting
Hello Experts,Our application use a middle tier that performs connection pooling to database for several logged in users. We use Multiple Active Results Set so there is no one to one mapping between...
View Articlewhat would be the SQL server 2012 default database name?
what would be the SQL server 2012 default database name? I'm run SharePoint 2013 and in the configuration dialog box it is asking for the database name. Where would I found that? Thanks
View Articlecan anyone help me in sending me a dbmail plz?
hi, i configured dbmail in my local machine. step1: i configured by emailaddress:test@gmail.com, servername :smtp.gmail.com, portnumber : 587 (previously it was 25) then basic authentication with...
View ArticleThe cluster on this computer does not have a shared disk available. To...
Dear Friend,I am writing something about this error when i tried to configure fail over cluster node in sql server 2008 R2.One Server with 3 Virtual machine for testing.One Domain Controller.Other...
View ArticleRe : Log shipping issue
Hi,i am configuration Log shipping that Database Recovery Model is "FULL" after unexcited i am change the Database Recovery Model "FULLto BULK LOGGED"Here is any effect in my Log shipping...
View ArticleHow To Get Old And New Values If They Exists On Particular Date
Date Temperature OldTemperature NewTemperature 12-May-12 35 Some Value before 12 May 35 13-May-12 40 35 40 14-May-12 10 40 10 15-May-12 0 10 0 17-May-12 17 0 17 18-May-12 0 17 0 20-May-12 25 0 25...
View ArticleGet the name of the user who created the table
hii need to know the user who has created/modified a table. I read across that it is not possible in SQL Server 2005. is there any work around for it?
View ArticleHow to increase Batch Requests/Second?
What to expect from SQL server? We have a SQL server that I want to know what to expect in terms of the performance. The applications being served are running very well written/indexed ERP system(s) -...
View Articlecorrupt data in sys.tabels. How to fix this?
Hi,I have the following problem:In the tables sys.key_constraints and sys.default_constraints i have a few corrupted records. The records have a parent_object_id that doesn't exists anymore. So I can't...
View ArticleWhy am I running out of space in TEMPDB for a DBCC CHECKDB command?
I'm running "dbcc checkdb" on a 10g database. DBCC CHECKDB WITH ESTIMATEONLY says I should only need 20m for CHECKALLOC and 16m for CHECK TABLES. My tempdb is 3g with 2.9g unallocated. Why would it be...
View ArticleWould authentication settings on SQL server 2008 R2 make any performance...
Alright this is the first method public static string srConnectionString = "server=localhost; database=myDB; uid=sa; pwd=myPW;"; And this is the second method public static string...
View Articletables referenced
We are running sql server 2008. Is there a way to tell what tables were accessed (select,update,insert,delete) during a specified time (ie. what tables were accessed between 9:00-10:00 pm last...
View ArticleCan I rebuild index in parts?
I have tables around in billions of rows and downtime requires quite long.Can I rebuild index in parts?Thanks
View Article