Cantitate/Preț
Produs

Cost-Based Oracle Fundamentals

Autor Jonathan Lewis
en Limba Engleză Paperback – 2 noi 2005

În Cost-Based Oracle Fundamentals, observăm o analiză riguroasă a nucleului sistemului de baze de date Oracle: optimizatorul bazat pe costuri (CBO). Această lucrare nu se rezumă la simple recomandări de scriere a codului, ci decriptează modelul matematic pe care Oracle îl utilizează pentru a transforma o interogare SQL într-un plan de execuție. Suntem de părere că înțelegerea acestui model este esențială pentru orice specialist care s-a întrebat de ce baza de date refuză utilizarea unui index aparent perfect. Structura volumului este una progresivă, pornind de la conceptele de bază ale costului și scanările de tabele, trecând prin selectivitatea coloanelor și complexitatea factorului de clusterizare (Clustering Factor), până la tehnici avansate precum histogramele, join-urile de tip hash și utilizarea fișierului de trace 10053. Cititorul care a aplicat deja metodele de diagnostic din Troubleshooting Oracle Performance de Christian Antognini va găsi aici fundamentul teoretic necesar pentru a înțelege „de ce” funcționează acele soluții, trecând de la rezolvarea simptomelor la ajustarea modelului de date. Jonathan Lewis poziționează acest prim volum dintr-o trilogie ca pe o hartă a logicii interne a bazei de date. Față de lucrarea sa ulterioară, Oracle Core: Essential Internals for Dbas and Developers, care oferă o privire de ansamblu asupra componentelor interne, volumul de față este mult mai focalizat pe mecanica statisticilor și a cardinalității. Recomandăm această lectură pentru rigoarea tehnică și pentru capacitatea de a transforma depanarea SQL-ului dintr-o activitate bazată pe încercări și erori într-o știință predictibilă.

Citește tot Restrânge

Preț: 32761 lei

Preț vechi: 40950 lei
-20%

Puncte Express: 491

Carte disponibilă

Livrare economică 14-28 mai


Specificații

ISBN-13: 9781590596364
ISBN-10: 1590596366
Pagini: 536
Ilustrații: XXIV, 536 p. 36 illus.
Dimensiuni: 188 x 232 x 28 mm
Greutate: 0.83 kg
Ediția:, Corr. 3rd Printing edition
Editura: Apress
Locul publicării:Berkeley, CA, United States

Public țintă

Popular/general

De ce să citești această carte

Recomandăm această carte administratorilor de baze de date și dezvoltatorilor care doresc să stăpânească optimizarea interogărilor la nivel profund. Veți câștiga capacitatea de a anticipa comportamentul optimizatorului Oracle și de a corecta planurile de execuție ineficiente prin gestionarea corectă a statisticilor, nu doar prin indicii (hints). Este resursa definitivă pentru a înțelege logica din spatele performanței SQL.


Despre autor

Jonathan Lewis este unul dintre cei mai respectați experți independenți în tehnologia Oracle la nivel mondial, cu o carieră de peste 25 de ani în industria IT. Membru marcant al OakTable Network, el a contribuit la lucrări colective esențiale precum Expert Oracle Practices și Oracle Insights. Este recunoscut internațional pentru seminarele sale tehnice și pentru capacitatea de a diagnostica probleme critice de performanță în medii complexe. Expertiza sa se concentrează pe mecanismele interne ale motorului bazei de date, fiind autorul unor volume de referință precum Oracle Core: Essential Internals for Dbas and Developers.


Descriere scurtă

The question, "Why isn't Oracle using my index?" must be one of the most popular (or perhaps unpopular) questions ever asked on the Oracle help forums. You've picked exactly the right columns, you've got them in the ideal order, you've computed statistics, you've checked for null columns—and the optimizer flatly refuses to use your index unless you hint it. What could possibly be going wrong?
If you've suffered the frustration of watching the optimizer do something completely bizarre when the best execution plan is totally obvious, or spent hours or days trying to make the optimizer do what you want it to do, then this is the book you need. You'll come to know how the optimizer thinks, understand why it makes mistakes, and recognize the data patterns that make it go awry. With this information at your fingertips, you will save an enormous amount of time on designing and trouble-shooting your SQL.
The cost-based optimizer is simply a piece of code that contains a model of how Oracle databases work. By applying this model to the statistics about your data, the optimizer tries to efficiently convert your query into an executable plan. Unfortunately, the model can't be perfect, your statistics can't be perfect, and the resulting execution plan may be far from perfect.
In Cost-Based Oracle Fundamentals, the first book in a series of three, Jonathan Lewis—one of the foremost authorities in this field—describes the most commonly used parts of the model, what the optimizer does with your statistics, and why things go wrong. With this information, you'll be in a position to fix entire problem areas, not just single SQL statements, by adjusting the model or creating more truthful statistics.

Cuprins

What Do You Mean by Cost?.- Tablescans.- Single Table Selectivity.- Simple B-tree Access.- The Clustering Factor.- Selectivity Issues.- Histograms.- Bitmap Indexes.- Query Transformation.- Join Cardinality.- Nested Loops.- Hash Joins.- Sorting and Merge Joins.- The 10053 Trace File.

Notă biografică

Jonathan Lewis has been working in the information technology industry for nearly 25 years, and has been using the Oracle relational database management system for more than 20. For the past 16 years, he has worked as a freelance consultant, often spending only one or two days at a time with any client to address critical performance problems. He also advises on design and implementation problems, and on how to make best use of the most appropriate Oracle features for a given project. Jonathan is also renowned throughout the world for his tutorials and seminars about the Oracle database engine and how to make best use of it. Having visited 42 countries at last count, his exceptional ability has earned him an O1 visa from the United States, allowing him to do consultancy and lecture work there. Jonathan has written two books about Oracle (Practical Oracle8i, Addison-Wesley, 2000; Cost-Based Oracle Fundamentals, Apress, 2005), and has contributed to two others (Oracle Insights, Apress, 2004; Oracle Database 10g New Features, Oracle Press, 2004). He also writes regularly for the UKOUG magazine, and occasionally for other publications around the world. In the limited amount of time he has leftover, Jonathan also publishes high-tech Oracle articles on his blog at jonathanlewis.wordpress.com.

Caracteristici

Jonathan Lewis is one of the world's foremost authorities in this field (he is frequently quoted and reference by other leading experts, such as Tom Kyte – see for example http://asktom.oracle.com/pls/ask/download_file?p_file=3067171813508366601 Will be strongly co-promoted with Tom Kyte's Expert Oracle Database Architecture (1-59059-530-0) Highlights traps for those migrating from Oracle 8i to 9i to 10g, potentially averting often disastrous performance issues and downtime (=lost revenue) The first comprehensive book written to investigate, describe, and demonstrate the methods used by the Cost Based Optimizer Jonathan is one of very few Oracle authors to maintain online enhancements, errata and addenda pages, so the reader will be supported long after the book is published