Oracle SQL Internals Handbook doc

196 647 0
Oracle SQL Internals Handbook doc

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... discussion of advanced SQL topics such as keyword searches, using SQL with web databases, and calculated columns The tips and tricks in this handbook come from some of the World’s more renown Oracle experts and we hope we have provided you with the tools and knowledge to write and optimize your SQL code xiv Oracle SQL Internals Handbook Parsing in Oracle SQL CHAPTER 1 Parsing in SQL SQL is a high abstraction... hand 16 Oracle SQL Internals Handbook Oracle SQL Optimizer Plan Stability CHAPTER 3 Plan Stability in Oracle 8i/9i Find out how you can use "stored outlines" to improve the performance of an application even when you can't touch the source code, change the indexing, or fiddle with the configuration Toolbox: For the purposes of experimentation, this article restricts itself to simple SQL and PL /SQL code... of Oracle databases Prior to this, he spent four years designing and creating data warehouses in Oracle John can be reached at jweeg@hesaonline.com or http://www.hesaonline.com/ dba/dba_services.shtml xii Oracle SQL Internals Handbook Foreword The process of Oracle SQL tuning is a critical aspect of many Oracle databases If the database fails to service its queries in an efficient manner, the system... select count(1) cnt,substr (sql_ text,1,instr (SQL_ text,'(')) string from v$sqlarea group by substr (SQL_ text,1,instr (SQL_ text,'(')) order by 1; Again I get almost 200 rows back An example is: CNT String -13 SELECT oradba.fn_physician_name( To see these 13 statements we can use: Break on address skip 1 on hash_value select a.address,a.hash_value,b .sql_ text||' . write and optimize your SQL code. xiv Oracle SQL Internals Handbook 1 Parsing in Oracle SQL CHAPTER Parsing in SQL SQL is a high abstraction. The Final Test 60 Chapter 6 - SQL Tuning Improvements 64 iv Oracle SQL Internals Handbook SQL Tuning Improvements in Oracle 9.2 by Vadim Tropashko

Ngày đăng: 06/03/2014, 17:20

Mục lục

  • Conventions Used in this Book

  • CHAPTER 1 Parsing in Oracle SQL

    • Parsing in SQL

    • CHAPTER 2 Are We Parsing Too Much?

      • Are We Parsing Too Much?

      • How Much CPU are We Spending Parsing?

      • Shared Pool Free Space

      • Do What You Can

      • CHAPTER 3 Oracle SQL Optimizer Plan Stability

        • Plan Stability in Oracle 8i/ 9i

        • The Back Door to the Black Box

        • What Does the Application Want to Do?

        • What Do You Want the Application to Do?

        • From Development to Production

        • CHAPTER 4 SQL Tuning Using

          • Query Tuning Using DBMS_ STATS

          • With Hash Join Hints

          • Oracle's Cost- based Optimizer

          • Getting CBO to the Required Plan

          • CHAPTER 5 Trees in SQL

            • Trees in SQL: Nested Sets and Materialized Path

            • Finding Parent Encoding and Sibling Number

            • Calculating Materialized Path and Distance

            • Access and Filter Predicates

            • V$ SQL_ PLAN_ STATISTICS

Tài liệu cùng người dùng

Tài liệu liên quan