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 long clothesline of washing, fresh sheets at one end and dry ones taken down at the other.

Temporal Table Retention: Cleaning Out Old History Automatically

January 22, 2018
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server 2017, Temporal Table

Set temporal table retention, check history cleanup settings, and choose a history index that lets old versions leave safely.

Read More
Sys.dm_db_log_space_usage.

SQL SERVER – Introduction to Log Space Usage DMV – sys.dm_db_log_space_usage

January 9, 2018
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Server, SQL Server 2017, Transaction Log

DBAs wanted to back up the log based on log space used, not on a schedule. Here is how the SQL Server 2017 DMV sys.dm_db_log_space_usage helps.

Read More
SQL query execution results.

SQL SERVER- New DMF in SQL Server 2017 – sys.dm_os_file_exists. A Replacement of xp_fileexist

November 4, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server 2017, SQL Stored Procedure

SQL Server 2017 adds a new DMF, sys.dm_os_file_exists, a replacement of xp_fileexist that suits both Windows and Linux. Here is how to use it.

Read More
Automatic Tuning SQL Server 2017.

SQL Authority News – SQL Server 2017 and Automatic Tuning

September 27, 2017
Pinal Dave
SQL Performance
Query Store, SQL Performance, SQL Server, SQL Server 2017

SQL Server 2017 becomes generally available on Oct 2. Here are my thoughts on rapid releases and on Automatic Tuning, the feature I most want to try.

Read More
Drive path query window.

SQL SERVER – New DMV in SQL Server 2017 – sys.dm_os_enumerate_fixed_drives. A Replacement of xp_fixeddrives

September 22, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server 2017, SQL Stored Procedure

SQL Server 2017 adds sys.dm_os_enumerate_fixed_drives, a new DMV that shows free space on each drive and replaces xp_fixeddrives. Here is the query I use.

Read More
A mother duck leading ducklings across a lawn, one duckling following another toward the pond

Modeling Friends and Followers With SQL Server Graph Tables

April 10, 2012
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Joins, SQL Server, SQL Server 2017

Build SQL Server graph tables for follows, mutual connections and friends of friends, then use shortest paths and compare a junction table.

Read More
Previous 1 2
  • Books
  • Testimonials
  • Privacy Policy

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