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
Change Database

How to Change Database File Size? – Interview Question of the Week #296

October 4, 2020
Pinal Dave
SQL Interview Questions and Answers
Shrinking Database, SQL Performance, SQL Scripts, SQL Server, SQL Server DBCC

Question: How to Change Database File Size?

Answer: By Shrinking the files. Now, many have a negative opinion about Shrinkfile.

Read More
spinlock

SQL SERVER – What is Spinlock?

September 16, 2020
Pinal Dave
SQL Tips and Tricks
SQL Latch, SQL Memory, SQL Server, SQL Server DBCC, SQL Spinlock

After reading both the blog post, I got another question from my client on What is Spinlock? Let us discuss today What is Spinlock. 

Read More
what is latch

SQL SERVER – What is Latch?

September 15, 2020
Pinal Dave
SQL
SQL Latch, SQL Memory, SQL Server, SQL Server DBCC

Earlier I wrote about SQL SERVER – SQLOS Scheduler and the Process States, lots of people liked the blog post and asked me another question – What is Latch?

Read More
two identity columns

SQL SERVER – Having Two Identity Columns for A Single Table

June 5, 2020
Pinal Dave
SQL Tips and Tricks
Computed Column, SQL Identity, SQL Scripts, SQL Server, SQL Server DBCC

In yesterday’s session, a DBA asked an interesting question that if it is possible to have two identity columns for a single table. Yes and No. 

Read More
SHRINKFILE Process

SQL SERVER – Killing DBCC SHRINKFILE Process – Is it Safe?

June 4, 2020
Pinal Dave
SQL Tips and Tricks
Shrinking Database, SQL Performance, SQL Server, SQL Server DBCC

Shrinking the data file is a very bad thing and you can read it. Now let us learn about if Killing DBCC SHRINKFILE Process is safe or not?

Read More
rowssampled

SQL SERVER – Rows Sampled – sys.dm_db_stats_properties

June 2, 2020
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, SQL Server DBCC, SQL Statistics

Here is the question asked in my yesterday’s Comprehensive Database Performance Health Check about rows sampled from sys.dm_db_stats_properties.

Read More
Statistics Modification Counter

SQL SERVER – Statistics Modification Counter – sys.dm_db_stats_properties

June 1, 2020
Pinal Dave
SQL Performance
SQL DMV, SQL Scripts, SQL Server, SQL Server DBCC, SQL Statistics

Let us learn about it in today’s blog post about the Statistics Modification Counter. The answers to this question is also very simple.

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

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

Go to mobile version