| SQL Tuning | |||||||
| Motivation: New book brings practical method and insights to SQL Tuning
optimizers are myopic; they do not know that variations on this query or that update will be done in a batch process making costly index building well worth the while. True, users can pass on hints to most optimizers but the syntax is cryptic and sometimes the effort just backfires. In sum, knowing the basis of SQL Tuning means having a recourse when all else fails at the least; and better understanding of how to make SQL work for you better in general. The second chapter on data acess basics is almost worth the price ($40US) of admission alone. Tow discusses the various data objects created by the 4 principal databases: IBM DB2, Microsoft SQL Server (and by extension Sybase SQL Server because Microsoft SQL Server was "adopted" from the Sybase product), and Oracle's Oracle Xi. In fact, throughout the book, Tow discusses all the optimizations methods in relation to these four top of the line databases. However, the query diagramming technique he uses to determine optimal queries can be applied to any SQL database which provides indexes and simple select count(*) from dTable where ...". And in fact this is the virtue of the book, Tow describes a technique that not only helps database administrators arrive at an optimal query solution for just about any SQL database or combination there of; but at the same time helps to uncover logic errors in database design - specifically on maintaining unique keys and referential integrity. This is no small benefit. This is 300 pages, with a graded set of examples, several exercises plus a nifty chapter Outside-the-Box Solutions to Seemingly Unsolvable problems. In sum, I can only echo the American Express travellers check commercials: "Dont go on a database programming trek without Tow's SQL Tuning in your toolkit." |
|||||||
Top of Page Tutorials Home |