1. Trang chủ
  2. » Công Nghệ Thông Tin

Oracle SQL Jumpstart with Examples doc

499 711 0

Đ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

Thông tin cơ bản

Định dạng
Số trang 499
Dung lượng 11,73 MB

Nội dung

[...]... aspects of SQL code tuning, (2) a description of how the Oracle SQL engine executes SQL code internally, and (3) a brief look at tools for tuning Oracle Database It is essential to understand the basic facts about how to write properly performing SQL code and perform basic tuning using Oracle internals and simple tools Subsequent chapters will progress on to considering specific details of tuning SQL coding... In Oracle Database and other databases a data warehouse can implement numerous special feature structures including proper indexing, partitioning, and materialized views SQL code for execution of queries against a data warehouse can be extensively tuned, usually hand-in-hand with use of specialized objects, such as materialized views Highly complex SQL code can be replaced with specialized Oracle SQL. .. Matching Set Membership (IN and EXISTS) Using Subqueries for Efficiency Groups Logical Operators Set Operators 7.1.6 Pseudocolumns Sequences The ROWID Pseudocolumn The ROWNUM Pseudocolumn 7.1.7 Joins How to Code Joins in SQL Code How Oracle Joins Tables How to Tune a Join 7.2 How Oracle SQL Is Executed 7.2.1 The Parser 7.2.2 The Optimizer The Importance of Statistics Realistic Statistics Dynamic Sampling... Database Links and SQL 13.3.2 Transportable Tablespaces Transportable Tablespace Limitations Self-Containment Transporting a Tablespace 13.4 Loading and Transformation 13.4.1 Basic Loading Procedures SQL* Loader SQL* Loader Performance Characteristics SQL* Loader Architecture Input Datafiles The SQL* Loader Control File Row Loading Options Loading Multiple Tables Field Definitions Dealing with NULL Values... data to fit in with existing data warehouse structures Therefore, transformation is not an integral part of Oracle Database itself and, thus, not particularly relevant to the core of Oracle Database data warehouse tuning As a result, transformation will only be covered in this book explicitly to the extent to which Oracle Database tools can be used to help with transformation processing As with my previous... the WITH clause, and some specialized expression types, will be covered in later chapters All these SQL coding extensions tend to make highly complex data warehouse reporting more simplified and also much better performing—mostly because of the fact that SQL coding is made easier Chapter 9 Analysis Reporting This chapter describes better performing ways of building analytical queries in Oracle SQL Oracle. .. analytical queries in Oracle SQL Oracle SQL, has rich in built-in functionality to allow for efficient analytical query construction, helping queries to run faster and to What Is in this Book? xxix be coded in a much less complex manner This chapter examines analysis reporting using Oracle SQL Chapter 10 SQL and the MODEL Clause This chapter describes the Oracle SQL MODEL clause The use of the MODEL clause... expansion to Oracle SQL catering to the complex analytical functionality required by data warehouse databases Details covered in this chapter include the how and why of the MODEL clause, MODEL clause syntax, and various specialized MODEL clause functions included with Oracle SQL The second part of this chapter analyzes detailed use of the MODEL clause Finally, some performance issues with parallel... for Oracle Database Any detail relating directly to hardware tuning or hardware architectural tuning will not be covered in this book in any detail, apart from the content in the final chapter Hardware encompasses CPUs, memory, disks, and so on Hardware architecture covers areas such as RAID arrays, clustering with Oracle RAC, and Oracle Automated Storage Management (ASM) RAID arrays underlie an Oracle. .. the way in which partitions are constructed Part II Specialized Data Warehouse SQL Code Chapter 7.The Basics of SQL Query Code Tuning This chapter begins Part II of this book focusing on aspects of Oracle SQL code provided specifically for the tuning of data warehouse type functionality In order to introduce aspects of tuning SQL code for data warehouses, it is necessary to go back to basics This chapter . 176 7.1.6 Pseudocolumns 176 Sequences 176 The ROWID Pseudocolumn 177 The ROWNUM Pseudocolumn 178 7.1.7 Joins 179 How to Code Joins in SQL Code 179 How Oracle. Loading Procedures 369 SQL* Loader 369 SQL* Loader Performance Characteristics 369 SQL* Loader Architecture 370 Input Datafiles 371 The SQL* Loader Control File

Ngày đăng: 22/03/2014, 11:20

TỪ KHÓA LIÊN QUAN