買這商品的人也買了...
-
JSP 2.0 技術手冊$750$593 -
建構嵌入式 Linux 系統$780$616 -
Windows CE 嵌入式系統理論與實務$680$537 -
Windows CE.NET 程式設計 (Programming Microsoft Windows CE .Net, 3/e)$890$703 -
GNU Make 專案開發工具 (Managing Projects with GNU Make, 3/e)$620$490 -
深入淺出設計模式 (Head First Design Patterns)$880$695 -
Linux 核心開發指南 (Linux Kernel Development, 2/e)$550$495 -
深入淺出 Java 程式設計, 2/e (Head First Java, 2/e)$880$695 -
Linux Mail Server 技術實務─架設、稽核、防毒、防垃圾信$580$493 -
Java 認證 SCJP 5.0 猛虎出閘$650$514 -
CSS 功能索引式參考手冊$390$332 -
作業系統原理 (Silberschatz: Operating System Principles, 7/e)$780$741 -
如何設計好網站 (Don't Make Me Think: A Common Sense Approach to Web Usability, 2/e)$450$383 -
鳥哥的 Linux 私房菜基礎學習篇, 2/e$780$663 -
Microsoft SQL Server 2005 設計實務$680$578 -
駭客攻防技術擂臺$520$442 -
專案管理之美學 (The Art of Project Management)$620$490 -
Ajax 網頁程式設計─Google 成功背後的技術$580$493 -
世界是平的 (The World Is Flat)$390$332 -
ASP.NET 2.0 深度剖析範例集$650$507 -
SQL 語法範例辭典$550$468 -
Visual C# 2005 程式開發與介面設計秘訣$750$593 -
SQL Server 2005 資料庫程式開發達人手冊, 2/e$680$537 -
C++ Primer, 4/e (中文版)$990$891 -
現代嵌入式系統開發專案實務-菜鳥成長日誌與專案經理的私房菜$600$480
相關主題
商品描述
Description
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 columnsand 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. Youll 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 Lewisone of the foremost authorities in this fielddescribes the most commonly used parts of the model, what the optimizer does with your statistics, and why things go wrong. With this information, youll be in a position to fix entire problem areas, not just single SQL statements, by adjusting the model or creating more truthful statistics.
商品描述(中文翻譯)
**描述**
「為什麼 Oracle 不使用我的索引?」這個問題可能是 Oracle 幫助論壇上最受歡迎(或許是不受歡迎)的問題之一。你選擇了正確的欄位,並且按照理想的順序排列,計算了統計數據,檢查了空值欄位,但優化器卻堅決拒絕使用你的索引,除非你給出提示。到底發生了什麼問題?
如果你曾經感到沮喪,目睹優化器在最佳執行計劃顯而易見的情況下做出完全荒謬的決策,或者花了幾小時或幾天試圖讓優化器按照你的意願運作,那麼這本書就是你所需要的。你將了解優化器的思維方式,理解它為什麼會犯錯,並識別導致其出錯的數據模式。掌握這些資訊後,你將能夠在設計和排除 SQL 問題上節省大量時間。
基於成本的優化器只是一段包含 Oracle 數據庫運作模型的程式碼。通過將這個模型應用於你的數據統計,優化器試圖有效地將你的查詢轉換為可執行的計劃。不幸的是,這個模型不可能是完美的,你的統計數據也不可能是完美的,最終生成的執行計劃可能遠非完美。
在《基於成本的 Oracle 基礎知識》中,這是三部曲中的第一本,Jonathan Lewis 這位該領域的權威之一,描述了模型中最常用的部分,優化器如何處理你的統計數據,以及為什麼會出現問題。擁有這些資訊後,你將能夠通過調整模型或創建更真實的統計數據來修正整個問題區域,而不僅僅是單一的 SQL 語句。
