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 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
Two separate trays of objects presented together in one tray

How to Show Results of sp_spaceused in a Single Result? – Interview Question of the Week #135

August 13, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL Stored Procedure

How do you show results of sp_spaceused in a single result? My co-interviewer asked this. I think it is a poor interview question, but here is the answer.

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
SQL Server database scoped configuration window.

SQL SERVER – Database Scoped Configurations – Query Optimizer Fixes

August 10, 2017
Pinal Dave
SQL Performance
SQL Server Configuration, SQL Server Management Studio, TraceFlags

During recent SQL Server Performance Tuning Practical Workshop I receive following question about Query Optimizer Fixes.

Read More
Reports Menu in SSMS.

SQL Download – SQL Server Management Studio (SSMS) – Performance Dashboard

August 9, 2017
Pinal Dave
SQL Performance
SQL Download, SQL Reports, SQL Server Management Studio

The latest SQL Server Management Studio now includes the Performance Dashboard by default. Here is the free SSMS download link and a quick look at it.

Read More
Previous 1 … 255 256 257 258 259 260 261 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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