Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
48 used & new from $22.74

Have one to sell? Sell yours here
 
   
SQL Server 2005 Practical Troubleshooting: The Database Engine (SQL Server Series)
 
See larger image
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

SQL Server 2005 Practical Troubleshooting: The Database Engine (SQL Server Series) (Paperback)

by Ken Henderson (Editor)
3.6 out of 5 stars See all reviews (9 customer reviews)

List Price: $59.99
Price: $41.99 & this item ships for FREE with Super Saver Shipping. Details
You Save: $18.00 (30%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Monday, July 20? Choose One-Day Shipping at checkout. Details
31 new from $37.72 17 used from $22.74

Frequently Bought Together

SQL Server 2005 Practical Troubleshooting: The Database Engine (SQL Server Series) + Inside Microsoft® SQL Server(TM) 2005: Query Tuning and Optimization + Inside Microsoft  SQL Server(TM) 2005: The Storage Engine (Solid Quality Learning)
Price For All Three: $104.97

Show availability and shipping details


Customers Who Bought This Item Also Bought

Inside Microsoft  SQL Server(TM) 2005: The Storage Engine (Solid Quality Learning)

Inside Microsoft SQL Server(TM) 2005: The Storage Engine (Solid Quality Learning)

by Kalen Delaney
4.4 out of 5 stars (17)  $31.49
Microsoft® SQL Server® 2008 Internals (Pro - Developer)

Microsoft® SQL Server® 2008 Internals (Pro - Developer)

by Kalen Delaney
5.0 out of 5 stars (2)  $37.79
Inside Microsoft SQL Server 2005: T-SQL Querying (Solid Quality Learning)

Inside Microsoft SQL Server 2005: T-SQL Querying (Solid Quality Learning)

by Itzik Ben-Gan
4.7 out of 5 stars (30)  $29.69
The Guru's Guide to SQL Server Architecture and Internals

The Guru's Guide to SQL Server Architecture and Internals

by Ken Henderson
4.3 out of 5 stars (27)  $41.99
Professional SQL Server 2005 Performance Tuning (Programmer to Programmer)

Professional SQL Server 2005 Performance Tuning (Programmer to Programmer)

by Steven Wort
4.6 out of 5 stars (7)  $31.49
Explore similar items

Editorial Reviews

Product Description

Never-Before-Published Insiders’ Information for Troubleshooting SQL Server 2005.

 

This is the definitive guide to troubleshooting the Microsoft SQL Server 2005 database engine, direct from the people who know it most intimately: the people who wrote it, designed it, and support it. SQL Server expert Ken Henderson, author of the best-selling Guru’s Guides to SQL Server, has assembled a “dream team” of SQL Server developers and support engineers to provide in-depth troubleshooting and diagnostic information that has never been documented before: information that would be impossible to get without access to Microsoft’s own source code.

 

From caching to clustering, query processing to Service Broker, this book will help you address even the toughest problems with database engine operations. Each chapter begins with a brief architectural overview of a key SQL Server component, then drills down into the most common problems users encounter, offering specific guidance on investigating and resolving them. You’ll find comprehensive, in-depth chapters on

 

• Waiting and blocking

• Data corruption and recovery

• Memory

• Procedure cache issues

• Query processing

• Server crashes and other critical failures

• Service Broker

• SQLOS and scheduling

• tempdb

• Clustering

 

This is the indispensable resource for everyone who must keep SQL Server running smoothly: DBAs, database application developers, API programmers, and Web developers alike.

 

 

Contents

About the Authors      ix

Preface      xii

Acknowledgments      xiv

1   Waiting and Blocking Issues      1

2   Data Corruption and Recovery Issues      47

3    Memory Issues      137

4   Procedure Cache Issues      183

5   Query Processor Issues      225

6   Server Crashes and Other Critical Failures      273

7   Service Broker Issues      331

8   SQLOS and Scheduling Issues      369

9   Tempdb Issues      411

10   Clustering Issues      425

The Aging Champion      441

Index      445



About the Author

The authoring team is a mix of developers from the SQL Server development team and support professionals from Microsoft’s Customer Support Services organization. Seven developers from the SQL Server development team and three support professionals from Microsoft CSS contributed to this book.

 

SQL Server Development Team

 

August Hill has been a developer for more than 30 years. For the past six years he has been a member of the SQL Server Service Broker team. He’s made a number of contributions to the product in the area of supportability. When he’s not developing software he can be found playing guitar or tasting Washington wines. He can be reached at august.hill@microsoft.com.

 

Cesar Galindo-Legaria is the manager of the Query Optimizer group in SQL Server. He received a Ph.D. in computer science (databases) from Harvard University in 1992. After working for a graphics company in the Boston area, he went back to databases, doing post-doctoral visits in European research centers. In 1995 he joined Microsoft to work on a new relational query processor, first shipped with SQL Server 7.0, which introduced a fully cost-based query optimizer, a rich set of execution algorithms, and a number of auto-administration features. He has been working on query processing for SQL Server ever since. He holds several patents on query processing and optimization, and has published a number of research papers in that area.

 

Ken Henderson has been a developer for more than 25 years. He has worked with SQL Server since 1990 and has built software for a number of firms throughout his career, including H&R Block, the Central Intelligence Agency, the U.S. Navy, the U.S. Air Force, Borland International, JP Morgan, and various others. He joined Microsoft in 2001 and is currently a developer in the Manageability Platform group within the SQL Server development team. He is the creator of SQL Server 2005’s SQLDiag facility and spends his days working on SQL Server management tools and related technologies. He is the author of eight books on a variety of computing topics, including the popular Guru’s Guide series of SQL Server books available from Addison-Wesley. He lives with his family in the Dallas area and may be reached via email at khen@khen.com.

 

Sameer Tejani, originally from Arusha, Tanzania, has spent the past 10 years working at Microsoft in the SQL Server group. His work has exposed him to different areas of the SQL Server Engine, including the T-SQL execution framework, Open Data Services (ODS), connection management, User Mode Scheduler (UMS), and other areas. He is solely responsible for the infamous “non-yielding scheduler” error messages that support professionals have come to abhor! He is currently a software development lead in the SQL Server Security team. In his spare time, Sameer enjoys being outdoors and going on long bike rides. He lives with his wife Farhat in the Seattle area.

 

Santeri Voutilainen, better known as Santtu, has been a software design engineer in SQL Server storage engine team since 1999. He has worked closely on page allocation, latches, and the lock manager. A graduate of Harvard University, he is in the final stages of a master’s degree in computer science from the University of Washington. Although he calls Seattle home, Santeri was born in Finland and spent most of his young life in Nepal. He is an avid traveler and outdoorsman and spends his free time exploring the Pacific Northwest with his wife and one-year-old son. Santtu can be reached at sqlsanttu@vode.net.

 

Slava Oks is a software architect for the Storage Engine and Infrastructure team in SQL Server. He has been with Microsoft for more than nine years. During the SQL Server 2005 development, project he worked on architecture and implementation of SQLOS. He’s made a number of contributions to the product in the area of performance, scalability, supportability, and testability. He is also the author of a popular SQL Server’s blog located at blogs.msdn.com/slavao. When he’s not developing software he can be found playing sports or having fun with friends and family.

 

Wei Xiao worked on the design of the SQL Server Storage Engine in Microsoft from 1996 to April 2006. His main areas of focus are access methods, concurrency control, space management, logging, and recovery. He also worked on SQL Server performance monitoring and troubleshooting. He has spoken at several industry conferences, including Microsoft Tech Ed and SQL PASS. He is currently working on a Microsoft internal data storage project.

 

Microsoft Customer Support Services

 

Bart Duncan has worked with SQL Server and related technologies for about 10 years. He is currently an escalation engineer in the SQL Server product support group. Bart lives in Dallas, Texas, where he is fortunate to share a home with his wonderful wife, Dr. Andrea Freeman Duncan.

 

Bob Ward is a senior escalation engineer in Microsoft Customer Service and Support (CSS) based in the Microsoft Regional Support Center in Irving, Texas. He has worked with Microsoft for 13 years and has now supported every release of Microsoft SQL Server from 1.1 for OS/2 to SQL Server 2005. His background in the computer industry spans 20 years and includes database development projects with companies like General Dynamics, Harris Hospital, and American Airlines. Bob graduated with a bachelor’s degree in computer science from Baylor University in 1986. He currently lives in North Richland Hills, Texas, with his wife Ginger and two sons, Troy and Ryan. Bob spends his spare time coaching youth sports, cheering for the local professional sports teams, and sharpening his golf game for a dream of playing on the PGA Legends Tour.

 

Cindy Gross has been a member of the Texas Microsoft PSS support team for SQL Server and Analysis Services since 2000. Cindy has taken on many roles during this time, including support engineer, content lead, and Yukon readiness lead. Before joining Microsoft, Cindy was a SQL Server DBA for seven years, working on SQL Server versions 1.11 and later. She is an avid reader of science fiction and fantasy, with a special love for books starring women as fighters. Her favorite non-technical author is Sheri S. Tepper. Cindy spends many weekends racing her dirt bike–currently a 2004 Honda CRF250X. You may contact Cindy from her website http://cindygross.spaces.live.com/.



See all Editorial Reviews

Product Details

  • Paperback: 480 pages
  • Publisher: Addison-Wesley (December 18, 2006)
  • Language: English
  • ISBN-10: 0321447743
  • ISBN-13: 978-0321447746
  • Product Dimensions: 9.2 x 7 x 1.3 inches
  • Shipping Weight: 2 pounds (View shipping rates and policies)
  • Average Customer Review: 3.6 out of 5 stars See all reviews (9 customer reviews)
  • Amazon.com Sales Rank: #477,422 in Books (See Bestsellers in Books)

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(2)
(1)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

9 Reviews
5 star:
 (5)
4 star:
 (1)
3 star:    (0)
2 star:    (0)
1 star:
 (3)
 
 
 
 
 
Average Customer Review
3.6 out of 5 stars (9 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
1 of 1 people found the following review helpful:
4.0 out of 5 stars Expert level explanations with little emphasis on troubleshooting, January 8, 2009
By Jaewoo Kim (Santa Monica, CA) - See all my reviews
(REAL NAME)      
The authors of this book are very knowledgeable about the SQL 2005 architecture. No doubt, their explanations of SQL 2005 and its architecture are of high level and that makes this book worth reading for those who want to expand their MS SQL knowledge.

As with many books with several authors, the book lacks a pinpoint focus. Namely, the book lacks focus on the troubleshooting SQL issues. The book is great on SQL architecture and diagnosing problems. But the book is rather skimpy on the actual troublehshooting methods. For example, on a chapter on troubleshooting Master database corruption, the author writes the following about Master database recovery (not restore):

"The steps to use setup to rebuild master are actually well documented in SQL Server Books Online...so I don't list them here. an important point for you to keep in mind is that after rebuilding master, you must apply any service packs.."

I don't think anyone buys SQL books to tell them to read the SQL Books Online. Ironically, the same author goes to great lengths to explain how to diagnose Master database problems and how to choose which methodology to fix it.

The same issue exists throughout most of the book.

But I am being very critical. I woudld give this book 4.5 stars for its depth of coverage and functional and theoratical expertise of the authors.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
5.0 out of 5 stars Excellent, May 24, 2009
Excellent is the word.... great book.... We miss Ken Henderson.... only you could make this possible...

He was the real GURU for all guru of sql server.......

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
5 of 8 people found the following review helpful:
5.0 out of 5 stars Book in need, book Indeed - Review of Database Administrator SQLAuthority.com, August 1, 2007
SQLAuthority.com Book Review :
SQL Server 2005 Practical Troubleshooting: The Database Engine (SQL Server Series) (Paperback)
by Ken Henderson

Short Review :
Database Administrators can use this book on a daily basis in SQL Server 2005 troubleshooting and problem solving. Answers to SQL issues can be swiftly located using the index of this book.This book covers the topics and subjects which any other books, blogs or websites (including MSDN, BOL) do not cover. This book provides DBAs with solutions which can be used by user in highly dynamic environments to resolve common and specialized problems. This book tells user what to do when something goes wrong with SQL Server 2005. This book is an edge case, but is something that can make the difference between a SQL Server application meeting customer needs and it going down in flames. This book is a good place to begin troubleshooting expedition.

Detail Review :
This book will not teach you basic T-SQL from basic and it is not easy and interesting training text book. This book is more like guide to save the troubled time. This book must be read by all the DBA before hand to know what kind of bad (worst!) situation can arise and how this book can be used to prevent the situation or fix it if it has already happened. The authors obviously knows the product very well from inside out, many of the authors are working for Microsoft or MVP. The authors communicate the the topic very well, many places there is lots of code dump, however that is appropriately justified looking at the content covered in the book and direction of the topic taken in the book. The Authors unveils the secretes of SQL Server 2005 internals. We can easily understand how the SQL Server 2005 is working, which helps when something goes wrong.

This book contains many interesting topics. Regular readers of my blog knows that my favorite subject is data corruption and recovery and server crashes and other critical failures. I enjoy writing and researching SQL Server errors and their resolution. It is extremely important to know the common errors and their solution. This book covers errors in depth and in detail. This book tries to cover many subjects in 480 pages, which makes sometime book little heavy to read.

The book covers complex subject very easily and in simple words. For example,
"Last Known Good - When was the last time DBCC CHECKDB reported no errors for this database? SQL Server 2005 saves in the database information about the last time a DBCC CHECKDB was run without errors on the database."
"Run DBCC FREEPROCCACHE. This clears the procedure cache of any cached plans that are not currently in use."
"No matter how accurate the planning or estimate is, you might still run out of space in production. The best practice here is to set up the SQLDiag service to constantly monitor the production system and take action before you run out of space."

This book comes up with CD which contains some useful software (SQL Nexus; TraceBuster, DataDemon) and sample code of the book. I have yet to try the software myself.

Rating : 4 and 1/2 stars

In Summary, This should be a standard book on most DBA's desktops.

Pinal Dave
Principal Database Administrator
[...]
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
Ad
 
Most Recent Customer Reviews

1.0 out of 5 stars MAJOR PROBLEM - NO CD, NO DOWNLOAD
The book itself is not bad. However not getting the accompanying materials is a major pain. Instead of an accompanying CD, they tell you to go to a web-site to download the... Read more
Published 8 months ago by watsamata

1.0 out of 5 stars cd missing code
The cd is missing the code from book.
The author/publisher is ignoring my email.
Published 16 months ago by CBGB

5.0 out of 5 stars WOW!
I cannot believe how much you get for your money with this book. Very informative.
Published 22 months ago by Mike

1.0 out of 5 stars Trash from Trash
This book becomes useless on page 5 where it begins to reference sample code that is not provided. After registering my purchase with Safari and Addison -Wesley and reporting the... Read more
Published 22 months ago by Grover P. Zucker

5.0 out of 5 stars Excellent write ups for DBAs
This book contains articles and code examples that are very handy, especially to those of us who are transitioning from SQL 2000 to SQL 2005. Read more
Published on June 15, 2007 by D. Knapp

5.0 out of 5 stars Nice book, detailed data
The book is well written, contains lots of description for troubleshooting of complex problems. I think the book is one of "better to have" for every good MSSQL DBA. Read more
Published on February 20, 2007 by Andrey Smirnov

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Turn On the Savings

Home Improvement Value Center
Shop for bathroom faucets in the Home Improvement Value Center, where the savings can flow as much as 50% off brand-name products.

Shop the Value Center

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 
Ad

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Free
Free by Chris Anderson
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Glenn Beck's Common Sense

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates