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 - Size of Index Table for Each Index - Solution 2

SQL SERVER – Size of Index Table for Each Index – Solution 2

May 9, 2010
Pinal Dave
SQL Performance
SQL Data Storage, SQL Index, SQL Scripts

A second solution to my size of index table puzzle: Rama Mathanmohan’s query sums used pages from sys.allocation_units to give each index size in KB.

Read More
SQL SERVER - SHRINKFILE and TRUNCATE Log File in SQL Server 2008

SQL SERVER – SHRINKFILE and TRUNCATE Log File in SQL Server 2008

May 3, 2010
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, SQL Scripts

A reader’s job failed after upgrading to SQL Server 2008 because TRUNCATE_ONLY is gone. My notes on SHRINKFILE and TRUNCATE Log File, and what to watch for.

Read More
SQL SERVER - GUID vs INT - Your Opinion

SQL SERVER – GUID vs INT – Your Opinion

April 28, 2010
Pinal Dave
SQL Performance
SQL Constraint and Keys, SQL Data Storage

GUID vs INT as a primary key or clustered index: I list one advantage and one disadvantage of each and ask you to add yours in the comments.

Read More
SQL SERVER – Attach mdf file without ldf file in Database

SQL SERVER – Attach mdf file without ldf file in Database

April 26, 2010
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, SQL Scripts

A friend sent me only his mdf file instead of a backup of the database. Here is how to attach mdf file without ldf file and let SQL Server build a new log.

Read More
Size of disk.

SQL SERVER – 2008 – Introduction to Snapshot Database – Restore From Snapshot

April 5, 2010
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage

A Snapshot database is a read-only, static view of a source database. I explain how it works and how to restore a database from a snapshot.

Read More
Test compression data and page compression.

SQL SERVER – Data and Page Compressions – Data Storage and IO Improvement

March 1, 2010
Pinal Dave
SQL Performance
SQL Data Storage, SQL Index, SQL Scripts

SQL Server 2008 data and page compressions cut disk space and I/O. I explain ROW and PAGE compression and how to set them on tables, indexes and partitions.

Read More
A hand lifting one small seed packet from a slim drawer, heavy seed sacks stacked behind it.

Keeping Large Blobs Out of Your Main Tables

January 23, 2010
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Datatype, SQL Server, SQL Table Operation

Large blobs can widen SQL Server access paths and backups; learn to separate payloads, avoid SELECT *, and measure off-row storage behavior.

Read More
Previous 1 … 12 13 14 15 16 17 18 … 23 Next
  • Books
  • Testimonials
  • Privacy Policy

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