Author Archives: Vidhya Sagar - Page 5

SQL Server 2008 R2 RTM Launched

Today the next version of SQL Server is released. Most of us know that MS is working on SQL Server 2008 R2 and the last package released for this version is on November and we got the Nov CTP package. If you remember, on Jan 2010 DPI has posted a blog that SQL 2008 R2 will be May 2010 however MS has launched SQL Server 2008 R2 RTM today. SQL Server 2008 R2 packed with many features for BI, DBA’s and Developers. If you are express edition user then you have a good news, SQL Server 2008 R2 express edition supports max of 10 GB data file size which is increased from 4 GB however all other features remains same as SQL Server 2008 Express. We have couple of new editions also available for SQL Server 2008

Read more »

VN:F [1.9.13_1145]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)

Backup SQL Database to Remote location

Does the title sounds crazy? You might think that this topic is very simple? Yes you are right however some folks still raise this question in forums. I’m seeing this question for for a long time in forums and thought of sharing the solution here, so that the folks can give a search to get this (coz Google is our first techie teacher or instant solution provider :P ).

Read more »

VN:F [1.9.13_1145]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)

Capture SQL Performance Counters through TSQL

Performance counters are useful to gather information about server status and we can analyze the server status later using these data. In my environment one of my client is not ready to pay or buy metrics tools (normally we will be using BMC, HP etc). Our windows team has written they own custom scripts to capture the counters related to them, then it comes to our team how we are going to capture these data. Immediately it strikes my mind that we have a DMV “sys.dm_os_performance_counters” to get SQL performance counter values. So I thought of utilizing this procedure to get SQL Performance counter values and storing it in a table which will help us in the future to analyze the data.

Read more »

VN:F [1.9.13_1145]
Rating: 3.2/5 (5 votes cast)
VN:F [1.9.13_1145]
Rating: +1 (from 5 votes)

Suppress Backup information in Errorlog

After a long gap I’m writing a article. This article is all about suppressing successful backup information into errorlog. Let me explain my scenario, In my working environment we have a production SQL Server with 60+ databases, all the databases are set to full recovery and data loss is accepted only for 15 min. Yeah you got me, we are taking Full backup daily, differential every 4 hours and transaction log backup  every 15 min, there is no problem with the backup. We have one thing that is messing our error log, whenever a backup is taken by default SQL Server will write the detail to the errorlog as shown below.

Read more »

VN:F [1.9.13_1145]
Rating: 5.0/5 (1 vote cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)

Use xp_logininfo to retrieve AD group members list

I was discussing with one of my colleague and during the discussion he told me that he is not able to view the list of members available in a AD group since he don’t have permission on AD forest. Normally to retrieve this he will sent the request to the AD team and they will be verifying or sending him the list. I informed him that we have an alternate (happy news to him) to use xp_logininfo SQL extended stored procedure to retrieve the list, he has used it and got the desired result. I then thought of putting it in blog since in most of the big companies DBA’s will be limited to the permission so s\he need to check with the respective team to retrieve the settings. This actually needed when an AD group is added to SQL with necessary permission and when a particular user belongs to that group is not able to access SQL, you need to cross verify the AD group members list, so at that time you can utilize this procedure. Read more »

VN:F [1.9.13_1145]
Rating: 5.0/5 (1 vote cast)
VN:F [1.9.13_1145]
Rating: +1 (from 1 vote)