Find Login in Active Directory
Find Login in AD
Many times we require to know if particular login is a part of ad user group. Or sometimes we need to know a AD group and wanted to know who all logins are part of it.
There are many different ways to achieve this.
-
I follow…
1 comments, 119 reads
Posted in Vinay Thakur on 29 January 2012
When Date Modified changes for Sql mdf/ldf files
*This is related to physical file size of a MDF or LDF file not internal allocation.
One of our user asked that the ldf file is not changing, on checking the last modified date time, user was asking this.
Its a good question, the we have to educate to user… Read more
0 comments, 11 reads
Posted in Vinay Thakur on 18 January 2012
Good Bye 2011
Good Bye 2011
Hey there, this year is going to an end and just want to recall what all happened this year in my life both personally (cannot disclose much J) and professionally.
The good news about this year is on 24th Dec 2011, we blessed a second… Read more
0 comments, 4 reads
Posted in Vinay Thakur on 31 December 2011
Basics QA on Extended Event
Basics QA on Extended Event
I am learning Extended Event so this is my first blog on extended event, There is a great whitepaper on XEvent by Jonathan Kehayias.
Q1. What is extended event?
A1. It is a light weighted profiler kind of trace introduced on sql… Read more
0 comments, 10 reads
Posted in Vinay Thakur on 23 December 2011
Suspect Database
Suspect database generally caused by internal IO issue, and the best way to resolve it to ask hardware person to check and correct the issue. And sql server dba has to monitor it.
Check the database consistence using
DBCC CHECKDB (‘YourDBname’) WITH NO_INFOMSGS, ALL_ERRORMSGS
And try to understand the messages. Read more
0 comments, 6 reads
Posted in Vinay Thakur on 19 December 2011
spid in Killed/Rollback cannot kill
We come across a situation where we have to kill one spid which was running for quite some time, so we though killing will help us, but after killing found that that spid is not killed but stuck in our processes spid. And we could not able to kill even Read more
0 comments, 11 reads
Posted in Vinay Thakur on 17 December 2011
Download: Troubleshooting a day – Nov 2011
As I did for powershell a day Series Blog April 2011, consolidated the all months blog into one pdf file here. I have done this month as well, I Blog about Troubleshooting sql server issues -Errors , which we get during our day to day activity.
you can download… Read more
0 comments, 5 reads
Posted in Vinay Thakur on 30 November 2011
Day 30: More Fatal Errors and BUGs
Day 30 More Fatal Errors and BUGs
- For sql server 2000 and earlier you may get 5242 and 5243 corruption in the record structure(for sql server 2005 onwards you may get 824).
Msg 5242, Level 22, State 1, Line 1
An inconsistency was detected during an internal operation in database… Read more
0 comments, 6 reads
Posted in Vinay Thakur on 30 November 2011
Day 2: Log file grown high cannot shrink log file.(available size in – negative)
Description:-
Yesterday, we discussed what happen when tempdb data file grown very high, now what if log file of any user database has grown high and occupying most of its space. Please see the great blog post to know about what is log and how log file works here by… Read more
0 comments, 7 reads
Posted in Vinay Thakur on 29 November 2011
Day 29: Fatal Errors 823, 824, 825, 832, OS error 23
Day 29: Fatal Errors 823, 824, 825, 832, OS error 23
- Error 823: IO error OS cannot read the data
Error: 823, Severity: 24, State: 2.
The operating system returned error 21(The device is not ready.) to SQL Server during a read at offset xxxx in file ‘xxx.mdf’. Additional messages… Read more
0 comments, 8 reads
Posted in Vinay Thakur on 29 November 2011
Day 28: Linked server errors
0 comments, 5 reads
Posted in Vinay Thakur on 28 November 2011
TransactionLog Internals
0 comments, 105 reads
Posted in Vinay Thakur on 22 June 2011
Difference between Checkpoint and LazyWriter
0 comments, 129 reads
Posted in Vinay Thakur on 20 June 2011
Difference between Checkpoint and LazyWritter
0 comments, 28 reads
Posted in Vinay Thakur on 20 June 2011
How Query execute
0 comments, 33 reads
Posted in Vinay Thakur on 10 June 2011
Isolation level and Locks
0 comments, 151 reads
Posted in Vinay Thakur on 8 June 2011
Failure Cluster -General
0 comments, 47 reads
Posted in Vinay Thakur on 4 June 2011
SQL Server Migration Assistant v5.0
0 comments, 30 reads
Posted in Vinay Thakur on 25 May 2011
Troubleshooting Performance -1
0 comments, 42 reads
Posted in Vinay Thakur on 11 May 2011
Download: Powershell a Day -April 2011
2 comments, 37 reads
Posted in Vinay Thakur on 30 April 2011




Subscribe to this blog