Quantcast
Channel: Forum SQL Server Database Engine
Browsing all 15694 articles
Browse latest View live

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 Article


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


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

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

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


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

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

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


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


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

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

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

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


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

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


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

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


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

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

Image may be NSFW.
Clik here to view.

SQL server 2005 DeadLock

Hi,What this deadlock graph indicates and how to resolve this issue?

View Article
Browsing all 15694 articles
Browse latest View live


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