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 steel patch plate bolted over a pipe, its new bolts painted red

SQL SERVER – Cluster Patching: The RPC Server is Too Busy to Complete This Operation

August 18, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Cluster

A cluster patch failed with The RPC server is too busy. The real cause was a stopped Remote Registry service on the other node, and why it was off.

Read More
A small library reading room with separate book towers outside linked by covered bridges, a red book crossing one

Azure SQL Hyperscale: When the Database Outgrows One Server

August 17, 2017
Pinal Dave
SQL Tips and Tricks
Cloud Computing, SQL Azure, SQL Server

Evaluate Hyperscale by separating compute and storage needs, testing read replicas, and checking migration, recovery, and current limits.

Read More
Gouache painting of a detective's hat and magnifying glass beside two trunks, the swollen one with a vermilion strap

Database File Size Shrinks by Itself? Check Auto Shrink

August 15, 2017
Pinal Dave
SQL Tips and Tricks
Shrinking Database, SQL Data Storage, SQL Scripts, SQL Server Configuration

When a database file keeps getting smaller after you set its size, check Auto Shrink first. This post shows why a size you set later isn’t protected, then gives three checks: the database flag, jobs that shrink, and the default trace. It ends with the fix and the reason shrinking costs more than it saves.

Read More
SQL SERVER - SQL Agent Not Starting. The EventLog Service has Not Been Started

SQL SERVER – SQL Agent Not Starting. The EventLog Service has Not Been Started

August 14, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Log, SQL Server, SQL Server Agent

After a server hardening script, a client’s SQL Agent would not start because the Eventlog Service had not been started. Here is how we traced and fixed it.

Read More
One empty template compartment sits above its removed guides, while neighboring compartments and finished products remain intact.

SQL SERVER – How to Clear Plan Cache with Database Scoped Configuration?

August 12, 2017
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Cache, SQL Scripts, SQL Server, SQL Server Configuration

I can Clear Plan Cache for the current database through database-scoped configuration. I verify the context before considering eviction.

Read More
Gouache painting of a wide slate blue bowl holding a cream bowl and several tiny cups, one cup vermilion

SPID, KPID and ECID in sys.sysprocesses: What They Mean

August 11, 2017
Pinal Dave
SQL Tips and Tricks
Parallel, SQL DMV, SQL Scripts, System Object

SPID, KPID and ECID are the three ID columns of sys.sysprocesses: the session, the Windows thread and the part of a parallel query. This post reads them for an idle session and for a query running in parallel, explains why KPID can be negative, and names the DMVs that give the same answers today.

Read More
SELECT statement for object_id.

SQL SERVER – How to Build Three Part Name from Object_ID – Part 2?

August 8, 2017
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, System Object

Rin Sitah replied to my interview question with a neat alternative way to build three part name from Object_ID using sys.objects and sys.schemas.

Read More
Previous 1 … 144 145 146 147 148 149 150 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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