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
Database id 7 allocation unit_id 72057940501050814.

SQL SERVER – Table Space Allocation Details using DMV

November 5, 2014
Pinal Dave
SQL Tips and Tricks
SQL DMV

Beyond DBCC IND and EXTENTINFO, the DMV dm_db_database_page_allocations shows table space allocation details. My friend Balmukund pointed me to it.

Read More
A man laughing.

SQL SERVER – Using Bitwise And (&) Instead of a Junction Table – Notes from the Field #053

November 5, 2014
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Server Security

Stuart Ainsworth shows a cool trick: using Bitwise And (&) instead of a junction table to get more performance with fewer code changes.

Read More
A hand checking the soil of one red window box on a tall apartment building

Azure SQL Database Wait Stats: Reading sys.dm_db_wait_stats

November 4, 2014
Pinal Dave
SQL Performance
SQL Azure, SQL DMV, SQL Performance, SQL Wait Stats

Read Azure SQL Database wait stats with sys.dm_db_wait_stats, identify log-rate governance, and compare resource percentages before scaling.

Read More
helpbutton

SQL SERVER – Unable to Restore From Backup After Detach Operation

November 4, 2014
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts

A young guy came to me and said – “I found a bug in SQL Server Restore”. How to fix Unable to Restore From Backup After Detach Operation.

Read More
Restart-Service PowerShell command in Notepad++.

SQL SERVER – PowerShell way of Restarting SQL Server Service

November 3, 2014
Pinal Dave
SQL Tips and Tricks
PowerShell

Restarting SQL Server service with PowerShell is one line, and it is wrong on a named instance. The right name, -Force, and when it is really up.

Read More
A bowl of identical red keys by a front door, a guest's hand taking one

Linked Server Logins: Stop Mapping Everyone to sa

November 3, 2014
Pinal Dave
SQL Tips and Tricks
Linked Server, SQL Login, SQL Server, SQL Server Security

Audit linked server logins for blanket remote sysadmin mappings, test with a low-privilege identity, and replace broad access safely.

Read More
SQL SERVER - What are my Trace Flags Enabled on SQL Server?

SQL SERVER – What are my Trace Flags Enabled on SQL Server?

November 2, 2014
Pinal Dave
SQL Tips and Tricks
SQL Server, TraceFlags

A DBA friend wanted to see the trace flags enabled on his production servers. Here is how to find them easily, and a word of caution about using them.

Read More
Previous 1 … 404 405 406 407 408 409 410 … 845 Next
  • Books
  • Testimonials
  • Privacy Policy

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