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
SQL SERVER - Shrinking Database is Bad - Increases Fragmentation - Reduces Performance

SQL SERVER – Shrinking Database is Bad – Increases Fragmentation – Reduces Performance

January 19, 2011
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Server, SQL Server DBCC

Shrinking database is bad: it increases fragmentation and reduces performance. Here is a simple example with two tables that shows it step by step.

Read More
SQL SERVER - Quick Look at SQL Server Configuration for Performance Indications

SQL SERVER – Quick Look at SQL Server Configuration for Performance Indications

January 14, 2011
Pinal Dave
SQL Performance
SQL Scripts

Part two of my SQL Server Magazine series is a quick look at SQL Server configuration for performance and the settings I check first with new clients.

Read More
SQL SERVER - A Quick Note on DB_ID() and DB_NAME() - Get Current Database ID - Get Current Database Name

SQL SERVER – A Quick Note on DB_ID() and DB_NAME() – Get Current Database ID – Get Current Database Name

January 13, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts

A quick note on DB_ID() and DB_NAME(): how to get current database name and ID, and how to turn a database ID into a name and back again.

Read More
Two plain notebooks lie open with blank pages and a wooden pencil between them.

Using Query Store to Prove an Upgrade Did Not Hurt

January 12, 2011
Pinal Dave
SQL Performance
Best Practices, Database, SQL Scripts, SQL Server

Plan a Query Store upgrade comparison with a captured baseline, matched workload periods, regression review, and carefully monitored plan forcing.

Read More
Gouache painting of a paper road map on a desk with faded grey and blue routes and one route traced in vermilion, held down by a brass pushpin beside a magnifier

Force a Plan With Query Store: Undo a Bad Plan in Minutes

January 11, 2011
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, Query Store, SQL Scripts

Force a plan with Query Store when a query turns slow after a plan change. This post builds a regression, finds both plans in Query Store, forces the good one, measures what forcing costs and shows when to unforce.

Read More
SQL Server Database Log File Grew Too Big.

SQL SERVER – master Database Log File Grew Too Big

January 9, 2011
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts

A reader found the master database log file grew very large even in simple recovery mode. I share the full email and ask what you would suggest.

Read More
SQL SERVER - Get File Statistics Using fn_virtualfilestats

SQL SERVER – Get File Statistics Using fn_virtualfilestats

January 8, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Statistics, SQL View

Which MDF or NDF file is the busiest? This query uses fn_virtualfilestats to show reads, writes, IO stalls and size for every database file.

Read More
Previous 1 … 240 241 242 243 244 245 246 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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