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
An empty storage bin is ready for tiles without changing its physical capacity.

SQL SERVER – How to Turn On / Enable Instant File Initialization?

July 31, 2018
Pinal Dave
SQL Performance
Computer Network, SQL Server, Starting SQL

To Enable Instant File Initialization for data files, I check the Windows service identity and volume-maintenance privilege. Eligibility still matters.

Read More
A mesh sieve held in a mountain stream, stones on top and a few gold flakes caught

SQL SERVER – T-SQL Script: How to Search for Multiple Values in ERRORLOG?

July 30, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server

Need to find corruption or other errors in the ERRORLOG? Here is a T-SQL script I use to search for multiple values in the SQL Server ERRORLOG at once.

Read More
Ready-to-lay turf beside ground being prepared by hand tools

How to Check Status of Instant File Initialization? – Interview Question of the Week #184

July 29, 2018
Pinal Dave
SQL Interview Questions and Answers
Computer Network, File format, SQL Scripts, SQL Server, Windows

Here are two quick ways to check status of Instant File Initialization: read the error log, or query sys.dm_server_services on SQL Server 2016 and later.

Read More
SQL Server error log.

SQL SERVER – How to Check If Instant File Initialization Enabled or Not?

July 28, 2018
Pinal Dave
SQL Tips and Tricks
Computer Network, File format, SQL Scripts, SQL Server, Windows

Is Instant File Initialization enabled on your server? Before SQL Server 2016 there was no quick answer, but from 2016 onward you can check it in seconds.

Read More
Database Properties Tool Window.

SQL SERVER – Error 9002: The Transaction Log for Database ‘SQLDB’ is Full Due to ‘DATABASE_MIRRORING’

July 27, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL High Availability, SQL Mirroring, SQL Scripts, SQL Server

Error 9002 has many causes. Here I explain the one where the transaction log for database ‘SQLDB’ is full due to ‘DATABASE_MIRRORING’ and what it tells you.

Read More
Gouache painting of a picket fence with a tiny padlock on every picket beside a gate with one big vermilion padlock

ROWLOCK Hint and Slow Performance in SQL Server

July 26, 2018
Pinal Dave
SQL Performance
Query Hint, SQL Lock, SQL Scripts, SQL Server

A ROWLOCK hint makes SQL Server lock each row it reads instead of whole pages. This post counts the locks of the same scan with and without the hint, times both versions, shows how an open transaction on a busy server changes the result, and explains how ROWLOCK differs from UPDLOCK.

Read More
A turf edger changing one grass border while the rest of the patch remains intact

JSON_MODIFY: Changing One Property Inside a JSON Column

July 25, 2018
Pinal Dave
SQL Tips and Tricks
Computed Column, JSON, SQL Column

Edit one value inside a JSON document without string surgery. A hands-on tour of the quirks with types, NULL, missing paths and retries.

Read More
Previous 1 … 210 211 212 213 214 215 216 … 849 Next
  • Books
  • Testimonials
  • Privacy Policy

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