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 line of small wooden carts waiting at a narrow hopper, the first one vermilion

Insert Workload Waits: WRITELOG and PAGELATCH_EX

May 2, 2020
Pinal Dave
SQL Performance
Best Practices, SQL Log, SQL Scripts, SQL Wait Stats, Testing

Insert workload waits come down to two names, WRITELOG and PAGELATCH_EX. This post runs 16 connections that insert one row at a time and reads their waits with a tested script. It explains what each wait means and where to look for a fix.

Read More
A hand sets a plate on its embroidered outline on a half-set table, a red jug in the center.

Writing Rerunnable Deployment Scripts for Database Changes

May 1, 2020
Pinal Dave
SQL Tips and Tricks
Best Practices, DevOps, SQL Scripts, SQL Server

Write rerunnable deployment scripts with guarded schema changes, version records, and a dry run on a restored database copy.

Read More
sqlcmd mode

SQL SERVER Management Studio and SQLCMD Mode

April 30, 2020
Pinal Dave
SQL Tips and Tricks
SQL Download, SQL Scripts, SQL Server, SQL Server Management Studio, sqlcmd, Testing

Honestly, there is an alternative way to quickly use SSMS SQLCMD mode as a development environment, let us learn about it today. 

Read More
Gouache painting of a wooden spoon with a vermilion handle beside a big cream stand mixer

sqlcmd vs SSMS: How to Time the Same Loop Fairly

April 29, 2020
Pinal Dave
SQL Performance
Command Line, SQL Scripts, SQL Server Management Studio, sqlcmd, Testing

A sqlcmd vs SSMS timing is fair only when both tools run the same file. The clock must sit inside the script. This post times 10,000 inserts three ways with a log table, shows what changed and what didn’t, and lists the settings to match before you compare.

Read More
Gouache painting of a grey wheelbarrow of pumpkins beside a vermilion tractor on a farm track

oStress vs SSMS: What Each Tool Is Built to Measure

April 28, 2020
Pinal Dave
SQL Performance
Command Line, SQL Scripts, SQL Server Management Studio, Testing

oStress vs SSMS is not a race, because the tools measure different things. This post times 10,000 inserts in three ways with a clock inside the script, then shows how eight sessions finish the same work faster. It explains what a one-session loop really measures.

Read More
Gouache painting of a plank bridge over a brook loaded with sandbags, the top one vermilion

oStress Load Test: Run Many Sessions Against SQL Server

April 27, 2020
Pinal Dave
SQL Performance
Command Line, SQL Server, sqlcmd, Testing

An oStress load test runs one query from many connections at once, so you can watch SQL Server under a crowd. This post explains the main switches and runs a small first test with five connections. It also builds the same test with sqlcmd workers, for machines without oStress.

Read More
Matching aqueduct couplings carry water while a mismatched spare segment remains separate

What is Transactional Replication Supported Version Matrix? – Interview Question of the Week #274

April 26, 2020
Pinal Dave
SQL Interview Questions and Answers
AlwaysOn, SQL High Availability, SQL Replication, SQL Server

Question: What is the Transactional Replication Supported Version Matrix?

The rules for the supported versions are pretty simple and clearly written.

Read More
Previous 1 … 112 113 114 115 116 117 118 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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