Start reading Relational Database Index Design and the Optimizers on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here or start reading now with a free Kindle Reading App.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Anybody can read Kindle books – even without a Kindle device-with the FREE Kindle app for smartphones and tablets.
Relational Database Index Design and the Optimizers
 
 

Relational Database Index Design and the Optimizers [Kindle Edition]

Tapio Lahdenmaki , Mike Leach
5.0 out of 5 stars  See all reviews (1 customer review)

Print List Price: £76.50
Kindle Price: £52.34 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £24.16 (32%)
* Unlike print books, digital books are subject to VAT.

Formats

Amazon Price New from Used from
Kindle Edition £52.34  
Hardcover £74.77  
Kid's and Teen books from £0.99 on Kindle
Browse our selection of top children's and teen title in our one week sale, with top titles from only £0.99.Browse the sale here

Product Description

Review

"I recommend this book to all those who have anything to do with database performance. It is a must–read for all database administrations, database designers, performance–tuning specialists, and application programmers…" ( Computing Reviews.com , November 20, 2005)

Product Description

Improve the performance of relational databases with indexes designed for today's hardware

Over the last few years, hardware and software have advanced beyond all recognition, so it's hardly surprising that relational database performance now receives much less attention. Unfortunately, the reality is that the improved hardware hasn't kept pace with the ever-increasing quantity of data processed today. Although disk packing densities have increased enormously, making storage costs extremely low and sequential read very fast, random reads are still painfully slow. Many of the old design recommendations are therefore no longer valid-the optimal point of indexing has come a long way. Consequently many of the old problems haven't actually gone away-they have simply changed their appearance.

This book provides an easy but effective approach to the design of indexes and tables. Using lots of examples and case studies, the authors describe how the DB2, Oracle, and SQL Server optimizers determine how to access data, and how CPU and response times for the resulting access paths can be quickly estimated. This enables comparisons to be made of the various designs, and helps you choose available choices for the most appropriate design.

This book is intended for anyone who wants to understand the issues of SQL performance or how to design tables and indexes effectively. With this title, readers with many years of experience of relational systems will be able to better grasp the implications that have been brought into play by the introduction of new hardware.

An Instructor's Manual presenting detailed solutions to all the problems in the book is available online from the Wiley editorial department.

An Instructor Support FTP site is also available.

Product details

  • Format: Kindle Edition
  • File Size: 4653 KB
  • Print Length: 328 pages
  • Publisher: Wiley-Interscience; 1 edition (7 July 2005)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • ASIN: B000PY48KE
  • Text-to-Speech: Enabled
  • X-Ray:
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: #799,349 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


More About the Author

Discover books, learn about writers, and more.

Customer Reviews

4 star
0
3 star
0
2 star
0
1 star
0
5.0 out of 5 stars
5.0 out of 5 stars
Most Helpful Customer Reviews
14 of 15 people found the following review helpful
5.0 out of 5 stars Performance by indexing 17 Jan 2008
Format:Hardcover
Before I start commenting on this book, I should point out that I have been using, running, designing, or trouble-shooting Oracle database systems for most of the last 20 years - but the authors have a background in DB2.

Having made said that, the difference in RDBMS really doesn't matter. If you are responsible for making databases perform well you should read this book.

It tells you why you need to create indexes - and the answer is a little more subtle than just "to make things go faster"; it tells you how to decide on the columns to include in your indexes; it tells you how to choose the best order for those columns; and it describes the compromises you make between a reasonable set of pretty good indexes and the complete set of ideal indexes

Experienced DBAs may read this book and decide that it's not telling them anything new. Even if you fall into this group, don't use that as an excuse for putting the book to one side. The clarity of explanation, the rational justification, and the numerical approximation methods supplied by this book should give you a better insight - hence greater effectiveness - into what may at present be an intuitive approach to deciding on indexing strategies.

The book gives you useful models for working out the benefit of adding, or modifying, an index in terms of how much work you do as you walk through the index and visit the table. It gives you a simple system for classifying an index with one, two, or three stars, and then offers an insight into when you may or may not,want to create the ideal index for a query.
Read more ›
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.7 out of 5 stars  7 reviews
5 of 5 people found the following review helpful
5.0 out of 5 stars Good book on index design 20 Sep 2007
By Ricky G - Published on Amazon.com
Format:Hardcover
I am an experienced software developer who has designed some fairly sophisticated databases. However, I have not had a lot of training regarding index design and have had DBAs to back me up in case I needed better indexing. Now I don't have a DBA to fall back on and I am having some performance issues on a specific report in one of my databases. How do I resolve the problem? By carefully reading this book.

Index design is not easy, especially when there are many tables involved, joined together in a variety of interesting ways. However, this book helped me understand the core issues of index design. It also helped me understand how to estimate the cost of different indexing strategies. Throughout the book, the authors did a good job of being consistent in their treatment of the topic. I am armed, ready to tackle my report performance issue!
6 of 7 people found the following review helpful
5.0 out of 5 stars A book of choice... or may be a book of SELECT ? 8 Jan 2006
By Dmitry Dvoinikov - Published on Amazon.com
Format:Hardcover
This is an exceptional book on how indexes work in a generic relational database. The authors only pay attention to the principles, not to any particular vendor and this is seldom seen.

The book takes a very pragmatic approach to speeding up SQL SELECTs, it's all about making SELECTs fast. One more thing to notice about this book is that authors talk about tables that contain tens of millions of rows and queries that could take hours (or forever) in the worst case. Compare this to some other SQL performance optimization books that talk about tens of thousands of rows. Sure there is a huge difference in approaches.

Now, why SELECTs could be slow ? Surprise, huge data volume plus limited hardware capacity. How to overcome this ? Surprise, by proper indexing. We all know that.

But ! What exactly a good index is, how to build a good index or improve an existing one, how to estimate the quality of an existing index, how to estimate the query execution time with this or that access path, how the optimizer chooses its ways, which predicates affect it's decisions in which way, how to monitor the database activity and determine what to improve, how indexes wear out with time - this book discusses in a very simple, clear and pragmatical way.

The book gives a clear view of the current state with indexing relational databases. It shows you the principles but does not give any rules of thumb, you still have to understand what you are doing and what are the implications, rather than blindly following the textbook.

And it seriously shifts the way you look at indexes, at least it was so in my case.

This is an invaluable book, but it should be accompanied with a good and very deep tuning guide for your own database of choice. If read alone, it leaves you empty handed, because you wouldn't know where to look in your own database. And if that other guide is not deep enough, it would be a useless companion.

An amazing book for a thinking DBA.
3 of 3 people found the following review helpful
5.0 out of 5 stars Diving deep into expert knowledge 1 Dec 2005
By 20yrs in rel DBs - Published on Amazon.com
Format:Hardcover
Gold is heavy. If you are a student (or a professor) with no practical knowledge in real-life large database tuning, this book is quite heavy. It may not be the best for you. But, instead, if you are a hands-on professional, here you can find such knowledge that seldomly becomes published.

If you are a DBA who think you already read everything worth to know about indexing, don't miss this book.

The authors don't try to sell you any simplified tricks.

The book describes a solid methodology, how to diagnose the performance problems and how to do proactive and reactive tuning.

The text is dense, but it makes sense. The examples are clear.

In addition to the actual DBA work, the book builds up an idea of a quality assurance system. In principle, the software developers could be tought a reasonable set of rules-fo-thumb. The goal is to avoid the worst performance pitfalls.
5 of 6 people found the following review helpful
5.0 out of 5 stars Exceptional, a must for every DBA! 22 Aug 2005
By Arihovi - Published on Amazon.com
Format:Hardcover
Finally a book about database indexing!

I have read numerous books on database design and performance and they usually emphasize the importance of index design. And then only a few pages general and out-of-date rules.

This book is a must for every DBA and database programmer! It describes indexing in a very clear manner and is a good combination of theory and practise.

I already have speeded up a few applications and what's best: just by indexes - no need to change application source code!
2 of 2 people found the following review helpful
5.0 out of 5 stars Excellent book to build mental estimate of cost of queries and best indexes 1 Mar 2009
By Sebastien Tardif - Published on Amazon.com
Format:Hardcover
The book is database neutral and do not use any complex terms.

You learn what is costly in executing a query, and how to do a fast estimate. This way, you can easily evaluate different indexes, and know which one is better.

So contain many recipes, including how to determine best index for a specific query.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

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

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category


ARRAY(0x11699fcc)