Skip to Content
Microsoft® SQL Server® 2008 Bible
book

Microsoft® SQL Server® 2008 Bible

by Paul Nielsen, Mike White, Uttam Parui
August 2009
Beginner to intermediate
1680 pages
42h 30m
English
Wiley
Content preview from Microsoft® SQL Server® 2008 Bible

Chapter 64. Indexing Strategies

IN THIS CHAPTER

  • Indexing for improving performance

  • Interpreting query execution plans

  • A database strategy for improving performance

My son Dave and I love to watch "MythBusters." Even if we know Adam and Jamie aren't going to get the pig's head to blow up, it's a blast to see them try.

If there's any aspect of SQL Server populated with misconceptions (or shall I say, "mythconceptions"), it's indexing—and that's unfortunate, because sound indexing isn't all that complicated.

My Smart Database Design Seminar is based on the notion (described in Chapter 2) that an elegant physical schema lends itself to writing great set-based queries that respond well to indexing. It's the theory I use when I design a database and when I go on a performance-tuning and optimization consulting job. One aspect of Smart Database Design is that no layer can overcome deficiencies in lower layers, i.e., no index will solve an inappropriate cursor and a sorry database schema.

Nulltheless, indexes are at the heart of SQL Server performance; they are the bridge from the question to the data—from the query to the schema.

Indexes are so critical to SQL Server performance that I've spent two months longer than my writing schedule allowed to explain how to think about indexes, work through the twelve query paths, and present a solid indexing strategy.

Zen and the Art of Indexing

Right up front, here's my secret to designing effective indexes: When I'm indexing, in my mind's eye I don't see ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Microsoft® SQL Server 2005 Unleashed

Microsoft® SQL Server 2005 Unleashed

Ray Rankins, Paul Bertucci, Chris Gallelli, Alex T. Silverstein, Tudor Trufinescu, John Kane
Microsoft® SQL Server 2008 R2 Unleashed

Microsoft® SQL Server 2008 R2 Unleashed

Ray Rankins, Paul Bertucci, Chris Gallelli, Alex T. Silverstein

Publisher Resources

ISBN: 9780470257043Purchase book