Question: How to Find Cardinality or Uniqueness for any Column?
SQL SERVER – Script to Identify Memory Used By Each Database
During the last SQL Server Performance Tuning Practical Workshop, I was asked a very interesting question by an attendee. The question goes like if there is any script available which users can use and figure out if how much memory used by each of the databases. Fortunately, I was lucky that I have a script handy which exactly does the same task.
SQL SERVER – How to Know Transaction Isolation Level for Each Session?
During recent, Comprehensive Database Performance Health Check, I had a very interesting scenario. I was hired by a customer to identify their system’s unexpected performance bottlenecks. I do these for a living so I am usually pretty comfortable. However, this customer was so unique that after their permission I am sharing you their story of transaction isolation level.
How to Generate Fibonacci Series for the First 1000 Values? – Interview Question of the Week #174
Question: How to Generate Fibonacci Series for the First 1000 Values?
SQL SERVER – Impact of Transaction on the Free Log Space
Earlier I wrote a blog post about SQL SERVER – How to Find Free Log Space in SQL Server? After reading this blog post, I received the following question from one of the users about the impact of the transaction on the free log space.
SQL SERVER – Reading Transaction Log to Identified Who Dropped a Table
The other day I received a distress email from a user who wanted to find out who has dropped a table or column from their database. During the On Demand (55 minutes) consultation, not only I was able to help them with restoring their lost data but also was able to find out which user had actually dropped their table “accidentally”. We were lucky enough that the user had a database in full recovery model, hence their transaction log recorded every detail needed.





