More in Database Performance Tuning

  • database related words
    Sep 24, 2013

    Truncating SQL Server Job History 1

    A common maintenance task that many 'reluctant DBAs' commonly overlook is the need to keep historical information in the msdb database trimmed, or 'truncated' on a semi-regular basis....More
  • Aug 27, 2013

    SQL Server Tip: Assign Ownership of Jobs to the SysAdmin Account

    For most of your SQL Server Agent jobs, make sure that as the jobs are created or modified, that you specify that 'sa' (or the built-in SysAdmin) account is the job owner....More
  • Aug 1, 2013

    Massive Speed and High Availability

    One of the things people are always trying to figure out is how to get high-speed disks and high availability (HA) all in a single package. A possible solution is the DataKeeper Cluster Edition from SIOS Technology....More
  • traffic orange hazard lights
    Jul 18, 2013

    Tracking Live SQL Server File Stalls

    Given that SQL Server workloads are commonly I/O bound, a great way to get a sense for how a given server is keeping up with its current workload is to evaluate how long the I/O subsystem is taking to respond to requests....More
  • Microsoft SQL Server Profiler output screen
    Jun 25, 2013

    Debugging (Nested) Stored Procedures with SQL Server Profiler 2

    Nested stored procedures (or stored procedures that call other stored procedures) are a mixed blessing and a curse. They also serve as powerful fodder for starting holy wars....More
  • SQL Server database planning benchmarks
    Apr 22, 2013

    Read the New TPC Database Benchmarking Series

    Let's talk about database application benchmarking. This is a skill set which, in my opinion, is one of the major differentiators between a journeyman-level DBA and a true master of the trade....More
  • Feb 26, 2013

    SQL Server Essentials For Non-DBAs

    In my session on SQL Server Essentials for Non-DBAs I tried to provide a very high-level overview of key concepts and concerns that ‘reluctant’ or ‘accidental’ DBAs should know....More
  • Nov 26, 2012

    Avoiding 'Failed to notify <operator> via email' errors

    If a picture is worth a thousand words, then the words associated with the following picture would probably involve a decent amount of muttering and cursing about the the DREADED ‘Failed to notify' via email’ error message that you might see crop up in your environment every once in a while—on new or recently provisioned servers....More
  • Nov 14, 2012

    Quick Tip - Speed a Slow Restore from the Transaction Log

    During some restore operations on Microsoft SQL Server, the transaction log redo step might be taking an unusually long time.  Depending somewhat on the version and edition of SQL Server you've installed, you may be able to increase performance by tinkering with the readahead performance for the redo operations....More
  • Phoenix, Arizona highway Loop 101 road signs above streets
    Nov 9, 2012

    Another Analogy About the Importance of Statistics

    In my most recent post, I touched upon the importance of SQL Server Statistics by way of an analogy—in terms of comparing the importance of up-to-date statistics with the process of ‘sizing up’ which kinds of ‘retrieval’ mechanisms to use vs. the kinds of problems that can occur when incorrectly-sized retrieval mechanisms are used....More

From the Blogs
Sep 29, 2015

Data Breaches and Insider Threats

I’ll sound a bit like Captain Obvious for bringing this up, but it’s important to remember that security encompasses a lot more than protecting sensitive data from the specter of outsider threats like hackers. Properly implemented security policies also account for threat-models that include insiders – or people within your organization....More
Sep 15, 2015

Setting Up Additional Checks to Ensure Regular Transaction Log Backups 1

There’s simply no way to overstate the importance of regular Transaction Log Backups. Not only do they help protect from disaster, but regular execution of T-Log backups on Full (and Bulk-Logged) Recovery databases helps keep thing “fit and trim”. Most of the time, setting up a Notification for when T-Log Backup Jobs fail is enough to let you know when something goes wrong....More
Sep 1, 2015

Stop Using INFORMATION_SCHEMA and SysObjects for Exists Checks 3

Code like this isn’t optimal: IF EXISTS(SELECT * FROM sys.objects WHERE name = N'TableToDrop' AND type = 'U')         DROP TABLE TableToDrop; GO Neither is this: IF EXISTS(SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'TableToDrop')         DROP TABLE TableToDrop; GO Yet, I see both of those used all of the time – over and over again. Even though it’s 2015.  ...More
SQL Server Pro Forums

Get answers to questions, share tips, and engage with the SQL Server community in our Forums.

Sponsored Introduction Continue on to (or wait seconds) ×