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 - 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
Four figures seen from behind carrying one long oak beam on their shoulders along a village lane.

Striped Backups: Writing One Backup to Several Files

January 6, 2011
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Server

Use striped backups across several files, inspect media families, restore every stripe, and test resource settings on your own server.

Read More
Generate Scripts Wizard.

SQL SERVER – Copy Statistics from One Server to Another Server

January 5, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Statistics

Without the client’s data, every query ran in zero milliseconds. Here is how I copy statistics from one server to another to tune with only the schema.

Read More
SQL SERVER - Reduce the Virtual Log Files (VLFs) from LDF file

SQL SERVER – Reduce the Virtual Log Files (VLFs) from LDF file

January 2, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts, VLF

Too many virtual log files are bad for your LDF. Here is a simple script to reduce the virtual log files right away with a log backup and a shrink.

Read More
An orchard gate in early spring with a red ribbon tied to the post

Fiscal Years That Do Not Start in January

January 1, 2011
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Reports, SQL Scripts, SQL Server

Compute fiscal years and quarters from an April start, build indexed date boundaries, and store a fiscal calendar for repeatable reports.

Read More
SQL SERVER - Detect Virtual Log Files (VLF) in LDF

SQL SERVER – Detect Virtual Log Files (VLF) in LDF

December 30, 2010
Pinal Dave
SQL Tips and Tricks
SQL Scripts, VLF

A large LDF file is made of many small Virtual Log Files (VLFs). Here is how to detect them with DBCC LOGINFO and see which ones are active.

Read More
Pinal Dave presenting at SharePoint Conference at Singapore

SQLAuthority News – My Evaluation of Singapore SharePoint Conference

December 29, 2010
Pinal Dave
SQL Tips and Tricks
SharePoint, SQLAuthority Author Visit

My feedback from the Singapore SharePoint Conference, where I was the only SQL speaker: very high ratings, and my demo was called one of the best of the event.

Read More
Previous 1 … 410 411 412 413 414 415 416 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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