why call dirty pages on checkpoint
Regarding "checkpoint flushes changed pages (“dirty pages”) from cache to the data portion of the database on disk " I don't know why call the changed pages "dirty pages" ?Regarding "SQL Server will...
View ArticleSQL Server 2008 R2 { An Error occured when attaching database(s) }
Hello Guys!I just installed SQL Server 2008 R2 a couple of days ago, on the first day use i can attach database(.mdf) with out any problem.on the day 2, i keep getting this...
View Articlemonitor disk space using alerts
I need to receive an email when a disk space on a given drive (which has SQL DB files) falls below 3 GB:- I need to use alerts (I don't want to use a SQL job to run some SP every x mins).- SQL Server...
View Articleperformance difference 2012 to 2008 R2
i have been evaluating 2012 Enterprise. we current run 2008R2 Enterprise.there is an 18 percent degradation from a key job that we run in 2012 compared to 2008R2 64.Here's the test environment:1 Xeon...
View Articlesys.dm_db_stats_properties returns empty rowset for some statistics?
I am looking at the new dynamic management function sys.dm_db_stats_properties.http://msdn.microsoft.com/en-us/library/jj553546.aspxI have found that for some tables and statistics it is returning an...
View ArticleDatabase status is getting set to Shutdown,Normal in SQL Server Express Edition.
Hi All, I have a project which is about upgrading DB from MSDE to SQL Express. While doing teh installation of our product SQL Express is getting installed and another application is launched to create...
View Articleplan cache hit ratio
Hi all,is there any dmv query for knowing plan cache hit ratio and page life expectency.please help me.thanks in advance.regards,venkat.
View Articlememory usage details
hi gurus,I there any dmv query that gives details of memory usage details like total memory,sql cache memory,lock memory,workspace memory,connection memory,optimizer memory in instance.This shouldnt...
View ArticleColumn name or number of supplied values does not match table definition.
I am having this same error message.....Column name or number of supplied values does not match table definition.when inserting rows into this table ....createdepartmentname...
View ArticleColumn name or number of supplied values does not match table definition.
create table GwenF_department(departmentname varchar(25)Primarykey,insertinto GwenF_departmentvalues('Marketing','MIS','Billy Williams','1972/Apr/01','98000','10',Null,'To pack the seats at Wrigley...
View ArticleSlow extended event file read
Hey,I'm trying to make a transition from using SQL Trace to the new extended events model, but I'm finding that reading the resulting data from a file target is extremely slow. I'm using the methods...
View ArticleDeadlock
Hi,We are using SQLSentry tool to monitor our DB server. We got below alert.Environment: SQL Server 2005 Std With SP2 on Windows Server 2003 EntPlease help why we are getting below...
View Articlefor robocopy
what is max i can set threads to and other settings to maximize transfere spead, without risking errors or loss of data
View ArticleLog shipping copy job failing
I have an issue with the LS COPY job for log shipping from Server A (primary) toServer B (secondary) - Message2012-12-24 13:00:06.95 *** Error: Logon failure: unknown user name or bad...
View ArticleHow to repair corrupt SQL 2005 Database
We have recovered from RAID5 server the SQL 2005 database, which are not attaching.There are more than dozen databases under master.Please help to resolve this problem.
View ArticleSQL Server Agent jobs scheduling
Hi All, I just have a small requirement. A SQL agent job runs at 530AM on Tue,Wed,Thur,Fr,Sat. Just for ONE day (next Tues) I want to change theschedule to 10AM. I have created a new schedule - 10AM -...
View ArticleAre you insert duplicate record in table having cluster index?
Hi all,In my client database the tables does not having any keys like (primary key,unique keys,F K, etc).but the table having one Cluster index.Now we can insert the duplicate records in table having...
View Articlelogin failed error Error: 18056, Severity: 20, State: 46.
Hi I am getting below error on our SQL Serverenvironment: SQL Server 2008 Standard edition SP1 64 bit running on Windows 2008 R2 SP2Got below error, the applications were not able to access later after...
View Articlesql server monitoring
Hi all,i need a clarification.i am under a process of building a monitoring tool for my database.I have all the queries with respect to capture performance metrics but i dont understand how does the...
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 Article