This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
A flashlight beam from the top of cellar stairs lighting an old boiler, pipes and a shelf of jars.

Three Scripts for a First Look at Any Server

June 6, 2008
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL DMV, SQL Server, SQL Server Configuration

A first look at any server needs three read-only T-SQL checks: configuration, databases and backups, and current activity.

Read More
SQL Server query execution plan.

SQL SERVER – Introduction to sys.dm_exec_query_optimizer_info

March 28, 2008
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, SQL System Table

While browsing Books Online I found sys.dm_exec_query_optimizer_info, which returns statistics about the query optimizer to help you tune a workload.

Read More
A small garden gate with a latch polished bright from use beside a grand iron gate rusted shut.

Finding the Most Frequently Run Queries

March 9, 2008
Pinal Dave
SQL Performance
Query Store, SQL Cache, SQL CPU, SQL DMV, SQL Server

Most frequently run queries can consume large SQL Server resources even when each call is fast; use plan cache and Query Store to find them.

Read More
An open kitchen drawer with wooden compartments, one overflowing with tangled string while others hold cutlery.

Reading Memory Clerks to See Where Memory Goes

February 9, 2008
Pinal Dave
SQL Performance
SQL Cache, SQL DMV, SQL Memory, SQL Server

Memory clerks show how SQL Server allocates memory among engine components; learn to read the DMV, spot unusual growth, and investigate safely.

Read More
SQL SERVER - 2005 - Display Fragmentation Information of Data and Indexes of Database Table

SQL SERVER – 2005 – Display Fragmentation Information of Data and Indexes of Database Table

January 10, 2008
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Scripts, SQL Server DBCC, SQL System Table

How do you find Fragmentation Information for a table in SQL Server 2005? DBCC SHOWCONTIG has limits, so I use sys.dm_db_index_physical_stats instead.

Read More
SQL SERVER - 2005 - Last Ran Query - Recently Ran Query

SQL SERVER – 2005 – Last Ran Query – Recently Ran Query

January 3, 2008
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL System Table

Want to see the last ran query on SQL Server 2005? This quick script uses sys.dm_exec_query_stats to list recent queries with the time each one ran.

Read More
SQL SERVER - 2005 - Dynamic Management Views (DMV) and Dynamic Management Functions (DMF)

SQL SERVER – 2005 – Dynamic Management Views (DMV) and Dynamic Management Functions (DMF)

December 6, 2007
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Function

Dynamic Management Views and Management Functions show what SQL Server is doing right now. The two scopes, the main categories and where to start.

Read More
Previous 1 … 40 41 42 43 44 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com