Sys.dm_os_sys_info bpool_commited bpool_visible
BOL states:bpool_commited The total number of buffers with pages that have associated memory. This does not include virtual memory. --Here no doubt, Sql server Physical memory consumptionbpool_visible...
View ArticleCheckpoint on Readonly db
1) Are there checkpoints issued on Readonly database as there's no modification done?2) Internal Sql 2008 book....." most writing to disk doesn’t actually happen during checkpoint operations....
View ArticleIs there a resource governer for sql server 2005?
The resource governor is only for 2008, I wonder if there is similar tools in sql 2005? If there isn't any tools built-in, any 3rd party tool would you suggest?
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 ArticleSQL 2012 database stuck in Recovery Pending status
Hey all. Thanks in advance to anybody that can please help me. I have a SQL cluster which ran out of disk the other day. I threw plenty more disk at the SAN. However, 1 of the databases came back...
View ArticleHow The Query display the resul
HI ALL,How the query give the result.select * from BranchTable data isDENABANK1 1900-01-01 00:00:00.000 ANDHRABANK2 1900-01-01 00:00:00.000 ICICIBANK 3 1900-01-01 00:00:00.00--1--declare...
View ArticleBlob data pages have a lot of unused space.
I have a table with blob data that has a truckload of unused space that I can't get rid of. SELECT * FROM sys.dm_db_index_physical_stats (DB_ID(N'Test_dbname'), OBJECT_ID(N'tableName'), NULL, NULL...
View ArticleUpdating many statistics on the same table quickly.
We have a table which has close to 400 columns, about 950 million rows and 3400+ partitions. There are 4 statistics created with indexes and another 40+ column statistics. When I tried updating all...
View ArticleSliding Window Partition Left Range
Hi All,I am in a tight time line and need some help to achieve it.below is the senario1. Create Database CREATE DATABASE [SPICA] CONTAINMENT = NONE ON PRIMARY ( NAME = N'SPICA', FILENAME =...
View Articlehow to get OS available memory & total memory in sql server 2005 & 2000
how to get OS available memory & total memory in sql server 2005 & 2000.sys.dm_os_sys_memory is only working for sql server 2008.
View ArticleRunning DTS package through job in SQL Server 2008
Hi,I have imported DTS packages from SQL Server 2000 to 2008. Under Management-Legacy they show there. I already changed connection strings before importing. I want to run these dts packages through...
View Articlescript level upgrade for database 'master' failed because upgrade step...
Greetings. I recieved this error when attempting to restart SQL Server 2008R2 after installing SP2. The install claimed it was successful upon completion, but then wouldn't restart.There are many posts...
View ArticleInserts taking longer time
Hello,I am noticing that the inserts are slow on our production. I started a sql profiler trace to see which inserts are taking longer time to complete. A bunch of inserts appear to complete around 700...
View ArticleSELECT statement leaving open transaction causes blocking
Hi all,I'll be interested to see if I get any responses on this at all, but here goes.I have a user that runs a very simple statement from SSMS:select ContactID, AddressID, * from dbo.Contact where...
View ArticleSQL Server 2012 and audit data
Hi,I am trying to implement audit on SQL Server 2012. Everything went fine as per the documentation, except that the events I monitor:( a select statement on som tables, ) are not recorded.What am I...
View ArticleClustered index on a varbinary column
Hi,I just wanted to ask if there are any consequences to using a varbinary(120) column on a table and having a clustered index on it. How does this affect inserts etc.This column is used in a checksum...
View ArticleSQL Server 2012 Diagnostic Information Queries by Glenn Berry (updated...
http://dl.dropbox.com/u/13748067/SQL%20Server%202012%20%20Diagnostic%20Information%20Queries%20%28January%202013%29.sqlThank you Glenn Berry!Frank Garcia
View ArticleHow to get the command text in a trigger that cause the update?
Hi AllI create a update trigger for a table, if the specific column is updated, my trigger will save the old value, new value and the sql statement to another table, now old value and new value is in...
View ArticleMaintenance Plan authentication issue after AD Migration
We have a Windows 2003 server running SQL Server 2005 that was provided to us pre-configured by our point of sale system provider. We had to move this server manually from an NT4 domain to an Active...
View ArticleSQL server 2005 DeadLock
Hi,What this deadlock graph indicates and how to resolve this issue?
View Article