Browsing articles in "T-Sql"
Sep
4
2014

How: Take SQL Server Full Memory Dump from within SQL Server and via Automated way

090414_1709_HowTakeSQLS1.png

Sometimes there is need to take full dump for various kind of SQL Server issues and most of the time a DBA don’t know when issue going to occur hence becomes difficult to capture the dump, now to do same we need to have a standard approach, this post is compiled to work as procedure to take required dump file or automate it via trigger to ensure dump is taken even when no one is […]

Jan
1
2014

Database Backup Compression using SQL Server 2008 R2

010114_1301_DatabaseBac2.png

Database backup compression is a feature provided by Microsoft which reduces the native backup size by up to 66% depending upon the type of data stored in a database and similar other factors. By default backup compression is disabled as it has some limitations which needs to be looked as per environment setup and if suites one’s need then it can be enabled as default or a parameter can be added to backup script to […]

Feb
5
2012

T-SQL to find Physical and Logical Processors (CPU)

Today while searching for t-sql scripts to collect Physical and Logical CPU count for around 100+ SQL servers (all version SQL 2000, 2005 and 2008 R2) came across following articles and the useful scripts, read below for more details, The basic limitation behing finding physical CPU count is you can’t find directly using t-sql in SQL Server 2000, from SQL 2005 onwards you can easily find it using DMV sys.dm_os_sys_info Script provided at following links, […]

Dec
15
2011

How do I check SQL replication status via T-SQL?

While searching for t-sql script which can check replication agent status came across a good script which works well for all versions of SQL Server i.e. 2000/2005/2008/2008R2 and above…

Subscribe to this blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 457 other subscribers

Translate this blog!

EnglishFrenchGermanItalianPortugueseRussianSpanish

Calender

August 2017
M T W T F S S
« May    
 123456
78910111213
14151617181920
21222324252627
28293031  

View Post by Categories

%d bloggers like this: