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
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
SQL SERVER - How to Listen on Multiple TCP Ports in SQL Server?

SQL SERVER – How to Listen on Multiple TCP Ports in SQL Server?

July 24, 2018
Pinal Dave
SQL Tips and Tricks
Computer Network, SQL Server, SQL Server Configuration, Starting SQL

Can SQL Server listen on multiple TCP Ports? Yes, and here are the Configuration Manager steps I shared when a senior DBA asked me during a Health Check.

Read More
Gouache painting of a vermilion music box with its lid opening on a table in a music room

Startup Stored Procedures in SQL Server: Uses and Risks

July 23, 2018
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Stored Procedure, Starting SQL

Startup stored procedures run every time SQL Server starts, which makes them useful and easy to forget. This post covers good uses, the risks, a wait that gives up instead of looping forever, and how to list and remove the startup stored procedures already on a server. The setup steps are in a separate post.

Read More
Growth rings in an established oak log beside a young sapling

How Old Version of SQL Server Running on Server? – Interview Question of the Week #183

July 22, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Patch, SQL Scripts, SQL Server

Is your server on an old version of SQL Server? Run SELECT @@VERSION to see the build and the date the patch was created, a check I often run during a Health Check.

Read More
Previous 1 … 110 111 112 113 114 115 116 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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