July 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
Carnality Estimation

SQL SERVER – Temp Table vs Table Variable – Cardinality Estimation

January 17, 2020
Pinal Dave
SQL Performance
Cardinality, Execution Plan, SQL Scripts, SQL Server, SQL TempDB, Temp Table

I had a very interesting conversation with one of my clients about Cardinality Estimation for Temp Table vs Table Variable. Let us discuss it today.

Read More

What is TempDB Spill in SQL Server? – Interview Question of the Week #259

January 12, 2020
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Memory, SQL Scripts, SQL Server, SQL TempDB

When SQL Server uses TempDB when any query does not have enough memory to do its operation, it is called TempDB Spill. Let’s learn today.

Read More
Mismatch Between

SQL SERVER – Mismatch Between sys.database_files and sys.master_files For TempDB Database

December 6, 2019
Pinal Dave
SQL
File format, SQL Error Messages, SQL Scripts, SQL TempDB

I would share my knowledge and findings of a situation where there was a mismatch between sys.database_files and sys.master_files for the TempDB database!

Read More
table variable

SQL SERVER – Table Variables or Temp Tables – Performance Comparison – SELECT

September 23, 2019
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL TempDB, Temp Table, variable

Today we are going to discuss the performance comparison of table variables and temp tables when we are running SELECT queries.

Read More

Where is Table Variable Created? – Interview Question of the Week #243

September 22, 2019
Pinal Dave
SQL Interview Questions and Answers
Disk, SQL Scripts, SQL Server, SQL TempDB, Temp Table

Question: Where is Table Variable Created?

Answer: On Hard Disk and NOT in Memory.

I suggest you read the following blogs

Read More
TempDB Logging

SQL SERVER – Regular Table or Temp Table – TempDB Logging Explained

September 20, 2019
Pinal Dave
SQL Performance
SQL Log, SQL Scripts, SQL Server, SQL TempDB, Temp Table

After the blog posts about temp and regular table, I have received questions about it hence I am writing this blog post about TempDB Logging.

Read More
slow query

SQL SERVER – 5 Important Steps When Query Runs Slow Occasionally

September 7, 2019
Pinal Dave
SQL Performance
Maintenance Plan, SQL FileGroup, SQL Scripts, SQL Server, SQL Server Configuration, SQL Stored Procedure, SQL TempDB, SQL Wait Stats, SSMS

This was a very interesting situation and at the end of we had found the culprit for the slow query and resolved it. Today we will discuss the experience.

Read More
Previous 1 2 3 4 5 6 7 … 12 Next
  • SQL Interview Q & A
  • Testimonials
  • Search
  • Privacy Policy

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

Go to mobile version