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

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


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


SQL Server Maintenance Plan on a Network Drive

Hi,I am using SQL Server 2008 R2 and trying to do Maintenance Plan for database backup on a network drive.The network drive is based on CIFS that required us to login with username and password. I am...

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


Why SQL Database files ware called Virtual File

Hi,Why SQL Database files ware called "Virtual File". Like sys.dm_io_virtual_file_stats - defination of this DMV is "Returns I/O statistics for data and log files. This dynamic management view replaces...

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


I O usage

Recently after a data center outage upgrade, our network people are troubleshooting some SAN I/O issues.One thing they want to find out what causes the big I/Os, and ask me also as a dba to provide a...

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

Where can I find column description for internal views such as...

It seems that MSDN only said system_internals_partition_columns, system_internals_partitions, etc. are internal views. But do not provide any more information about its column information. Where can I...

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

SQL Server 2008 R2 Express with Advanced Services is free??

Hi All,SQL Server 2008 R2 Express with Advanced Services is free for lifetime??and can i use as a witness server in mirroring??

View Article


Re:Blockinges..

HI Friends, i am facing BLOCKING issues in no.of timeshow to resolve the BLOCKING's  with out " Killing " please tem solution step by step.. Regards,Purna...Thanks, Purna

View Article

Baselining using sys.dm_os_performance_counters output

Hi All.  Hope this makes sense...When you query sys.dm_os_performance_counters, you get perf counter data normalized something like:COUNTER_1, VALUECOUNTER_2, VALUEIf you get the same counter data out...

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

table taking 50% more space than it should

Hi All,I have a table with 1.4 billion rowsin - it is a many to many - and I have been carrying out some work before christmas towards partitioning it.the length of the row is only 33 bytes, however...

View Article


How to recover database from .mdf file

create a database ofequal size to the one you're trying to attachshutdown the server (Stop)swap in the old mdf file (replace new .mdf file with .mdf file to be recovered )Location: C:\Program...

View Article

Oracle to SQL Server Migration estimation

Hi,I am working on an Oracle to SQL Server migration project and need help with the estimation of stored procedures. What criteria needs to be used for estimation? Currently I need to provide...

View Article

Image may be NSFW.
Clik here to view.

Performance Investigation and Potential Fix/Solution

OS: Windows 2008 R2SQL Server: 2008 R2 SP2OS Memory: 16 GBSQL Server Max Memory: 12 GBDatabase is in SIMPLE recovery mode.1. I saw some blocking on executing sp_who2 and ran Paul Randal's Where it...

View Article
Browsing all 15930 articles
Browse latest View live


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