Quantcast
Channel: SQL Feather and Quill » Performance
Browsing latest articles
Browse All 8 View Live

Performance Counters to Monitor for SQL

I would suggest once a quarter, set up a performance monitor log to collect the following counters for a couple of 24 hour periods.  Look at the results in both a graph and report forms to determine...

View Article



SQL 2005 – Script to find missing indexes

SET CONCAT_NULL_YIELDS_NULL OFF SELECT weighted_cost = avg_total_user_cost * avg_user_impact * (user_seeks + user_scans),  s.*,  'CREATE INDEX IX_' +  REPLACE(REPLACE(COALESCE(equality_columns,...

View Article

SQL Database Data File Growth Performance Impact

I was On call this week and one of our databases files became over 90% full.  This is the threshold we set to alert us to manually expand any file.  We have autogrowth just in case, but we want to...

View Article

Script for Generating Random Data

I often need to fill up tables with random data to test data conversion scripts, foreign keys, indexes, etc. Here’s my “Go To” script for coming up with random data. I usually base it off this and...

View Article

Image may be NSFW.
Clik here to view.

Big Trys and Small Trans

The catch phrase around the office these days is “Big Trys and small Trans.”  This came about as we were review stored procedure changes and I two suggestions.  First, that the entire procedure has a...

View Article


Random Data – Part 2

A few years ago I found this procedure on SQLServerCentral – I believe (but I can’t find it today) – it creates a random password with options for upper case, lower case, special characters and...

View Article

Image may be NSFW.
Clik here to view.

10 Things Running and SQL Have In Common

I’m a runner as well as a DBA.  I’ve got a marathon this weekend, so I started thinking about how SQL and running are similar. Small issues in your mechanics will show up later when performance is...

View Article

Index Usage with Row Counts

I got into a bit of a situation today.  There were some performance issues in our performance testing environment and my changes (and a few others) were finally being tested.  I was also told by...

View Article

Browsing latest articles
Browse All 8 View Live




Latest Images