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 Article2K8R2: Merge statement bug? A severe error occurred on the current command....
version is:Microsoft SQL Server 2008 R2 (SP1) - 10.50.2811.0 (X64) Apr 6 2012 01:59:29 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601:...
View ArticleWhere 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 ArticleBaselining 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 ArticleHow 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 ArticleSQL 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 ArticleOracle 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 ArticleWhy 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 Articletable 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 ArticlePerformance 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 ArticleSQL Server Agent Jobs not running 'SQL Server Agent is not currently running...
Hello All,We have sql 2008 R2 SP1 A/P cluster running on VM.SQL Server Agent jobs are not running. If I manually try to run the job it gives below error'SQL Server Agent is not currently running so it...
View ArticleSQL 2005 Jobs randomly fail with authentication error?
I dump the tran logs every hour and am getting random failures of the job to authenticate? Owner is sa, so how can it fail? No system or application event errors related to this. We have already...
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 ArticleDatabase Mirroring problem
Hi All,I am facing problem regarding mirroring. In our domain we have 2 serversVk-srv-py and Vk-srv-fb. on both only login (vk-srv-user )have the access to login(Which is not Domain account) and on...
View Articlehow to avoid the loss of users during backup and restore activity
Hi,I have a database with 100+users . If i restore the DB from some other environment, the entire Db is restored including the users. So my old 100+ users where not able to connect to the databases. Is...
View ArticleO/S Memory Consumption Issue
Hello,I am using SQL Server 2008 R2 SE installed on WIndows Server 2008 R2 SE. I recently installed a third party tool to monitor the SQLServer and I am seeing O/S Memory Utilization in a critical...
View ArticleAh - Its a Data Orgy !!!
SQL Server 2008 Fully Patched Enterprise Edition Database in Full Recovery Model Logs backed up every 15 minutes All indexes fully optimized =================================Thanks for looking at my...
View ArticleData loss when transaction fails caused by full C drive
I knew that bad things can happen if the C: drive fills but apparently this can cause SQL Server to neither commit or correctly rollback a transaction?This occured on SQL Server 2008 R2 in a database...
View ArticlePerformance issue
Hi AllIf 250 blockings occured on the database,genarally performance is down. i know how to resove if less blockings occured on the database so can any one explain this type of scenario and how we can...
View Articlehow to find max no of connections worked/connected on sql server instance.
Hi Experts,I am looking for,how to get the max no of sessions/connections on sql server instance ever in last 5 days. Oracle has one report called AWR to get such information, Does Sql Server equipped...
View Article