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 balance scale with apples and a small red basket collecting the apples that changed

When Are Statistics Updated? What Triggers an Automatic Update

April 21, 2010
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Statistics

Statistics updated automatically need two things: enough changed rows, and a query that uses the statistic. This post explains the old 500 plus 20 percent rule and the newer square root threshold, then shows a million-row demo where last_updated changes only after a query compiles. It also covers FULLSCAN, asynchronous updates and when to update by hand.

Read More
Max worker threads window.

SQL SERVER – Find Max Worker Count using DMV – 32 Bit and 64 Bit

April 20, 2010
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL System Table

Does doubling the CPUs double the worker threads? No. Use sys.dm_os_sys_info to find Max Worker Count, and see the formula for 32 bit and 64 bit.

Read More
SQL SERVER - Find Most Active Database in SQL Server - DMV dm_io_virtual_file_stats

SQL SERVER – Find Most Active Database in SQL Server – DMV dm_io_virtual_file_stats

April 19, 2010
Pinal Dave
SQL Tips and Tricks

Reader Sreedhar shared a query on sys.dm_io_virtual_file_stats that finds the most active database by reads, writes and IO stalls, with file sizes.

Read More
A small stack of plain closed books beside one open blank notebook in soft window light.

Keeping Up With SQL Server Without Drowning

April 18, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Make keeping up SQL Server knowledge manageable with release-note reviews, one deep topic each quarter, and a small record of relevant changes.

Read More
SQL Server Audit Log Settings.

SQL SERVER – SELECT TOP Shortcut in SQL Server Management Studio (SSMS)

April 17, 2010
Pinal Dave
SQL Tips and Tricks

Want a SELECT TOP shortcut in SSMS? Besides the right click Select Top 1000 menu, you can set up your own keyboard shortcut to see the top rows.

Read More
A pilot seen from behind walking around a small propeller plane at dawn, a red streamer on one wing

A Daily DBA Checklist You Can Run as One Script

April 16, 2010
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Monitoring, SQL Scripts, SQL Server Agent

Run a daily DBA checklist that reports stale backups, failed jobs, offline databases, recent errors, low volume space and current blocking.

Read More
SQLAuthority News - Tips for Traveling to Nepal

SQLAuthority News – Tips for Traveling to Nepal

April 15, 2010
Pinal Dave
SQLAuthority News
SQLAuthority Author Visit

I travel 20 or more days a month, and a friend suggested I share travel tips. Here are mine for Nepal: Kathmandu, Pashupatinath Temple, Bhaktapur and more.

Read More
Previous 1 … 659 660 661 662 663 664 665 … 849 Next
  • Books
  • Testimonials
  • Privacy Policy

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