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 hand picking a small stone out of a tray of raw rice, the empty cooking pot waiting beside it.

Data Quality Asserts in T-SQL: Failing a Load When Rules Break

May 4, 2023
Pinal Dave
SQL Tips and Tricks
ETL, SQL Error Messages, SQL Server, SQL Transactions

Write data quality asserts in T-SQL to reject invalid staging rows, preserve check results, and record each load attempt.

Read More
A small vermilion dinghy carrying one tiny parcel across a harbor while dozens more wait on a cargo boat.

Chatty Applications: Finding Many Tiny Queries per Second

April 28, 2023
Pinal Dave
SQL Performance
SQL Counter, SQL Extended Events, SQL Monitoring, SQL Server, SQL Wait Stats

Diagnose chatty applications with batch rates, cached executions, bounded session event counts, and measured round trips per user action.

Read More
A kitchen dresser with plates and cups on open shelves, one shelf hidden behind a small drawn curtain.

Column-Level Permissions: Hiding One Column From Some Users

April 26, 2023
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Server, SQL Server Security, SQL View

Apply SQL Server column-level permissions, test DENY and SELECT behavior, inspect explicit grants, and compare views with data masking.

Read More
A hand holding a brass pass token to a locked iron turnstile between two sections of an empty stadium.

Cross-Database Ownership Chaining: Why It Is Off and What to Use

April 25, 2023
Pinal Dave
SQL Tips and Tricks
DBA, SQL Server Encryption, SQL Server Security, SQL Stored Procedure

Understand cross-database ownership chaining, inspect its scope, and use signed procedures for narrow access between SQL Server databases.

Read More
A nearly empty grain bin with a scoop in a barn, a field of ripening wheat seen through the open door

Finding Oversized Data Files With Lots of Free Space

March 8, 2023
Pinal Dave
SQL Tips and Tricks
DBA, Disk, Shrinking Database, SQL Data Storage

Identify oversized data files with FILEPROPERTY, separate internal free space from disk capacity, and review one-time shrink choices.

Read More
Gouache painting of a bead tray with tiny cells beside a tray of four large compartments, one vermilion

VLF Growth Rules: How Many Virtual Log Files One Growth Adds

February 28, 2023
Pinal Dave
SQL Tips and Tricks
SQL Server 2022, Transaction Log, VLF

The VLF growth rules say how many virtual log files one log growth adds: one up to 64 MB, eight up to 1 GB, sixteen above. This post measures them on a demo database, shows a log with 68 VLFs from 1 MB steps, and repairs it by shrinking and growing once.

Read More
Gouache painting of a ready blank canvas on an easel beside a primed canvas and a pot of vermilion paint

Log File Growth and Instant File Initialization: The 64 MB Rule

February 24, 2023
Pinal Dave
SQL Tips and Tricks
Disk, SQL Server 2022, SQL Server Configuration, Transaction Log

The 64 MB rule says log file growth can skip zeroing when instant file initialization is on, but only up to 64 MB. Two trace flags make the SQL Server error log show a 64 MB growth skipping the zeroing and a 65 MB growth zeroing in full. The last section says what to change.

Read More
Previous 1 … 39 40 41 42 43 44 45 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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