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
Title card: Logging On as the CNO Failed With Error 1326

SQL SERVER – LogonUserExEx Fails for User & GetToken – Logging on as the CNO Failed With Error 1326

March 17, 2020
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL Server, SQL Server Cluster, SQL Server Security

In this blog I would share my learning about fixing error LogonUserExEx fails for user & GetToken – Logging on as the CNO failed with error 1326.

Read More
Title card: PolyBase Error Msg 46530

SQL SERVER – PolyBase Error Msg 46530 – External Data Sources Are Not Supported With Type GENERIC

March 16, 2020
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server Configuration

In this blog, I would share my findings of error Msg 46530 – External data sources are not supported with type GENERIC. Let us read more…

Read More
Independent shutters on a building are open or closed in different combinations

How to Decode @@OPTIONS Value? – Interview Question of the Week #268

March 15, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL Server Configuration

How to decode @@OPTIONS value? Session-level SET options live in the @@options variable, and this script turns that number into readable settings.

Read More
SQL Server VSS backup sequence: freeze writes, take snapshot, then resume writes. Investigate if the pause persists.

SQL SERVER – What do These Messages Mean – “I/O is Frozen on Database” and “I/O was Resumed on Database”?

March 14, 2020
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Server, Starting SQL, System Database

  “I/O is frozen on database” and “I/O was resumed on database”? Did you check the air conditioner temperature? Let us learn about it in today’s blog post.

Read More
Gouache painting of a row of cream bicycles in a shed and one distant vermilion bicycle alone on a hilltop path

Scheduler ID Values in dm_os_schedulers: What the Big Numbers Mean

March 13, 2020
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Scripts, SQL Server

Scheduler ID values in dm_os_schedulers run from 0 up to a few thousand, and then jump past one million. This post groups the rows into user, dedicated admin connection and hidden schedulers, and shows the filter that keeps CPU scripts honest. It also shows why filtering on the number alone is fragile.

Read More
Gouache painting of a row of neat stacked logs, a scatter of old grey rounds and a vermilion sawhorse between them

Active and Inactive VLFs: List Them for Every Database

March 12, 2020
Pinal Dave
SQL Performance
SQL DMV, SQL Scripts, Transaction Log, VLF

To list active and inactive VLFs for every database, count the rows of sys.dm_db_log_info by vlf_active and read the log reuse wait next to them. This post builds a demo log with 24 VLFs, shows how an open transaction and small autogrowth steps add more, and fixes the count with one shrink and one regrow.

Read More
Gouache painting of a vermilion template board beside a pile of identical pieces cut from it on a workbench

KEEP PLAN Hint: Cut Temp Table Recompiles in SQL Server

March 11, 2020
Pinal Dave
SQL Performance
Query Hint, Recompile, SQL TempDB, Temp Table

The KEEP PLAN hint gives a temp table the same recompile threshold as a permanent table. This post counts statistics recompiles with Extended Events for a plain query, a KEEP PLAN query and a KEEPFIXED PLAN query. It shows where the hint helps, where it does nothing and what the stronger hint costs.

Read More
Previous 1 … 119 120 121 122 123 124 125 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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