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
Gouache painting of six clay pots on a potting bench, five tipped over and empty, one upright vermilion pot

Drop Tables by Prefix in SQL Server and Azure SQL Database

June 21, 2019
Pinal Dave
SQL Tips and Tricks
SQL Azure, SQL Cursor, SQL Scripts, SQL Table Operation

To drop tables by prefix, list the matching tables first and drop them with a script that quotes every schema and table name. This post shows why the underscore in a prefix is a trap, a one-statement version and a cursor version. It works in SQL Server and in Azure SQL Database.

Read More
A filling bathtub with a red float tied to a small brass bell on the rim.

Performance Condition Alerts: Warnings Before a Log File Fills

June 20, 2019
Pinal Dave
SQL Tips and Tricks
DBA, SQL Monitoring, SQL Server Agent, Transaction Log

Build performance condition alerts for log usage, tempdb free space, and blocking, with sensible delays and an operator response.

Read More
Gouache painting of a row of wooden trays of sawdust on a workbench with the overflowing one in vermilion

TempDB Performance: Five Settings to Check in SQL Server

June 19, 2019
Pinal Dave
SQL Performance
Best Practices, SQL Data Storage, SQL Scripts, SQL Server, SQL TempDB

TempDB performance depends on five settings that you can read in a few minutes: how big it is, how many data files it has, whether they match, how it grows and where it lives. Three read-only queries check each one. The post also explains what to do with the answers.

Read More
Gouache painting of a vermilion cart rolling crates up a wide ramp onto a boat while a narrow plank stands unused

CHECKPOINT Duration: Can You Speed Up a Manual CHECKPOINT?

June 18, 2019
Pinal Dave
SQL Performance
Best Practices, SQL Memory, SQL Scripts, SQL Server

The CHECKPOINT duration argument sets a target time in seconds. This post times a manual checkpoint on a database with 130 MB of dirty pages, and shows that a long duration slows it badly while a short one does not make it faster. It also shows that a backup flushes dirty pages by itself.

Read More
checkpoint

SQL SERVER – Impact of CHECKPOINT and DBCC DROPCLEANBUFFERS on Memory

June 17, 2019
Pinal Dave
SQL Tips and Tricks
SQL Memory, SQL Scripts, SQL Server

Today we will discuss the Impact of CHECKPOINT and DBCC DROPCLEANBUFFERS on Memory. We will see how each of them clears dirty and clean pages from the buffer memory pool.

Read More
Paint brushes with clean and colored bristles stand together in a glass jar

How Dirty or Clean is SQL SERVER’s Memory? – Interview Question of the Week #229

June 16, 2019
Pinal Dave
SQL Interview Questions and Answers

Question: How Dirty or Clean SQL SERVER Database is (by Memory)?
This blog post is the follow up of the earlier blog post on the same subject.

Read More
Bluetooth volume control issue illustrated by a faucet whose control is separate from the main slider

Personal Technology – Bluetooth Volume Problem with Windows Volume Control

June 15, 2019
Pinal Dave
Personal
Personal Technology, Windows

Bluetooth volume stays the same from 1 to 100 in Windows? Diagnose Absolute Volume, use a reversible fix, and restore the original setting.

Read More
Previous 1 … 158 159 160 161 162 163 164 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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