May 2025 Discount: Comprehensive Database Performance Health Check | Testimonials

Home
  • Consulting
  • Training
  • Free Videos
  • All Articles
    • Interview Questions and Answers
    • SQL Tips and Tricks
    • SQL Performance
    • SQL Puzzle
    • Big Data
    • Blog Stats
    • SQL Books
    • Search SQLAuthority
  • Downloads
  • Hire Me
  • Health Check
Error Object Named 

SQL SERVER – Fix: There is already an object named ‘MyFirstTable’ in the database

February 23, 2021
Pinal Dave
SQL Tips and Tricks
Primary Key, SQL Error Messages, SQL Scripts, SQL Server

Recently I had a very interesting scenario with a client when they faced an error about already object named that exist in the database.

Read More
zero

SQL SERVER – Scan Count Zero for Statistics IO

October 28, 2020
Pinal Dave
SQL Performance
Execution Plan, Primary Key, SQL Scripts, SQL Server, SQL Statistics

On the production server and they noticed scan count as Zero on the result. They reached out to me asking what actually it means.

Read More

Nonclustered Primary Key – SQL in Sixty Seconds #119

September 7, 2020
Pinal Dave
SQL Video
Primary Key, SQL Constraint and Keys, SQL in Sixty Seconds, SQL Index, SQL Scripts, SQL Server

I will describe in detail a bit later on during this blog post. Today we are going to learn that it is possible to have a nonclustered primary key. 

Read More
non-clustered-primary-key0

SQL SERVER – Resolving Last Page Insert PAGELATCH_EX Contention Changing Primary Key to Non-Clustered

May 11, 2020
Pinal Dave
SQL Performance
oStress, Primary Key, SQL Constraint and Keys, SQL Identity, SQL Scripts, SQL Server, SQL Wait Stats, SSMS, Stress Testing

You can change your clustered primary key to Non-clustered Primary Key and can get the benefit of performance by reducing Pagelatch_EX.

Read More
contention

SQL SERVER – Resolving Last Page Insert PAGELATCH_EX Contention with OPTIMIZE_FOR_SEQUENTIAL_KEY

May 6, 2020
Pinal Dave
SQL Tips and Tricks
oStress, Primary Key, SQL Constraint and Keys, SQL Identity, SQL Scripts, SQL Server, SQL Server 2019, SQL Wait Stats, SSMS, Stress Testing

I have personally implemented the solution suggested of resolving contention about creating an index with OPTIMIZE_FOR_SEQUENTIAL_KEY at my client’s place.

Read More
Last Page Insert

SQL SERVER – Last Page Insert PAGELATCH_EX Contention Due to Identity Column

May 5, 2020
Pinal Dave
SQL Performance
oStress, Primary Key, SQL Constraint and Keys, SQL Identity, SQL Scripts, SQL Server, SQL Wait Stats, SSMS, Stress Testing

Today’s goal is to understand what is the Last Page Insert PAGELATCH_EX Contention Due to Primary Key. Let us start understanding it together.

Read More
  • SQL Interview Q & A
  • Testimonials
  • Search
  • Privacy Policy

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

Go to mobile version