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 a wheelbarrow of apples stopped at a closed vermilion side gate in an orchard fence

Availability Group Restore Error When You Add a Database

June 28, 2019
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Backup and Restore, SQL Error Messages, SQL High Availability, SQL Server Management Studio

The availability group restore error appears when automatic seeding and a manual restore both fill the same secondary. The post explains the cause, shows read-only checks for the seeding mode and the replica roles, and gives the fix with its undo.

Read More
Gouache painting of two matching picnic baskets, one full and one nearly empty in vermilion

COPY_ONLY Full Backup Size: What Differs Between Always On Replicas

June 27, 2019
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Backup and Restore, SQL High Availability, SQL Scripts

A COPY_ONLY full backup of the same database can have a different size on the primary and the secondary replica of an Always On group. This post reads the log pages in the backup messages, shows them on a standalone database and explains how to compare backups fairly. It also covers what a restore needs.

Read More
Gouache painting of a line of boxcars waiting on one track before a vermilion switch lever

PAGELATCH_UP Waits and Suspended Sessions: Find the Hot Page

June 26, 2019
Pinal Dave
SQL Performance
SQL Data Storage, SQL Memory, SQL TempDB, SQL Wait Stats

PAGELATCH_UP waits mean that sessions queue for the same page in memory, and that page can be named. This post reads the waiting sessions, turns the resource into a database, a file and a page, and tells an allocation page from an ordinary one. It then lists the fixes for tempdb and for a user database.

Read More
Gouache painting of a swept doormat with a pile of old brass keys aside and one vermilion key in the middle

DBCC FLUSHAUTHCACHE: Force Azure SQL to Re-authenticate

June 25, 2019
Pinal Dave
SQL Tips and Tricks
SQL Azure, SQL Login, SQL Scripts, SQL Server Security

DBCC FLUSHAUTHCACHE clears the authentication cache of an Azure SQL database, so open connections must authenticate again. This post shows what a password change does to open sessions on SQL Server, why Azure SQL needs the extra command and how to list the sessions you want to end. It also covers the cautions that matter.

Read More
A string of glowing garden lights with one dark bulb, a replacement waiting on a stepladder.

Removing a Bad Plan From Cache Without Clearing Everything

June 24, 2019
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, SQL Cache, SQL Performance, SQL Server

Remove one bad plan from cache by handle, compare narrower recompilation choices, and fix the cause so the plan stays healthy.

Read More
Completed ceramic tiles are filed in a cabinet beside a tray awaiting storage

What are the Different Types of SQL Server CHECKPOINT? – Interview Question of the Week #230

June 23, 2019
Pinal Dave
SQL Interview Questions and Answers

Question: What are the Different Types of SQL Server CHECKPOINT?

Answer: There are four different kinds of checkpoints in SQL Server.

Read More
Smart speaker glowing yellow beside a parcel and an empty notification tray

Personal Technology – Blinking or Flashing Yellow Light in Alexa – Solution

June 22, 2019
Pinal Dave
Personal
Personal Technology

Yellow Light on Alexa with no messages? Check notifications and reminders, then adjust Amazon Shopping alerts without silencing everything.

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

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