Pro Oracle SQL / Edition 1

Pro Oracle SQL / Edition 1

5.0 1
by Karen Morton, Robyn Sands, Jared Still, Riyaj Shamsudeen
     
 

ISBN-10: 1430232285

ISBN-13: 9781430232285

Pub. Date: 12/14/2010

Publisher: Apress

Pro Oracle SQL, Second Editionunlocks the power of SQL in the Oracle database—one of the most potent SQL implementations on the market today. To master it requires a multi-pronged approach: learn the language features, learn how and why the language features work, learn the supporting features that Oracle provides to help use the language

Overview

Pro Oracle SQL, Second Editionunlocks the power of SQL in the Oracle database—one of the most potent SQL implementations on the market today. To master it requires a multi-pronged approach: learn the language features, learn how and why the language features work, learn the supporting features that Oracle provides to help use the language effectively, and learn to think and work in sets.

Karen Morton has updated the content for Oracle version 12c and helps you master powerful aspects of Oracle SQL from the inside-out. You’ll learn analytic functions, the MODEL clause, and advanced grouping syntax—features thatwill helpin creating good queries for reporting and business intelligence applications. Pro Oracle SQL, Second Editionalso helps you minimize parsing overhead, read execution plans, test for correct results, understand performance management, and exert control over SQL execution in your database. You’ll learn when to create indexes, how to verify that they make a difference, how to use SQL Baselines and Profiles to optimize and stabilize SQL execution plans, and much more. You’llalso understandhow SQL is optimized for working in sets, and that the key to getting accurate results lies in making sure that queries ask clear and precise questions.

Pro Oracle SQL, Second Editionhelps you work at a truly professional level in the Oracle dialect of SQL. You’ll master the language, the tools to work effectively with the language, and the right way to think about a problem in SQL.

  • Endorsed by the OakTable Network, a group of Oracle technologists well-known for their rigorous and scientific approach to Oracle Database performance
  • Comprehensive—goes beyond the language with a focus on what you need to know to write successful queries and data manipulation statements.
  • Performance focused—teaches you how to measure the performance of your SQL statements and not just the syntax.

What you’ll learn

  • Master powerful SQL features implemented in the Oracle Database
  • Understand how the Oracle Optimizer develops execution plans
  • Read and interpret SQL execution plans
  • Quickly diagnose and fix badly performing SQL
  • Control execution plans through hints, profiles, and plan baselines
  • Optimize queries within packaged applications without touching the code
  • Recognize when not to waste time on SQL that is performing optimally

Who this book is for

Pro Oracle SQL, Second Editionis aimed at developers and database administrators who submit SQL for execution by an Oracle database. Readers should already know the basic four SQL statements, and be ready to learn deeply about Oracle’s specific implementation of the language, including Oracle-specific features and syntax. Readers should also want to learn about Oracle Database features such as analytic queries, the MODEL clause, and the WITH clause (subquery factoring) that are designed to help developers and database administrators exert control over their SQL environment and its execution.

Table of Contents

  1. Core SQL
  2. SQL Execution
  3. Access and Join Methods
  4. SQL is About Sets
  5. It’s About the Question
  6. SQL Execution Plans
  7. Advanced Grouping
  8. Analytic Functions
  9. The Model Clause
  10. Subquery Factoring
  11. Semi-joins and Anti-joins
  12. Indexes
  13. Beyond the SELECT
  14. Transaction Processing
  15. Testing and Quality Assurance
  16. Plan Stability
  17. Plan Management/Control
  18. Cool SQL Constructs

Product Details

ISBN-13:
9781430232285
Publisher:
Apress
Publication date:
12/14/2010
Edition description:
2010
Pages:
600
Sales rank:
1,187,024
Product dimensions:
7.40(w) x 9.20(h) x 1.50(d)

Related Subjects

Table of Contents

  1. Core SQL
  2. SQL Execution
  3. Access and Join Methods
  4. SQL is About Sets
  5. It’s About the Question
  6. SQL Execution Plans
  7. Advanced Grouping
  8. Analytic Functions
  9. The Model Clause
  10. Subquery Factoring
  11. Semi-joins and Anti-joins
  12. Indexes
  13. Beyond the SELECT
  14. Transaction Processing
  15. Testing and Quality Assurance
  16. Plan Stability
  17. Plan Management/Control
  18. Cool SQL Constructs

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

Pro Oracle SQL 5 out of 5 based on 0 ratings. 1 reviews.
Dean_Alomerovic More than 1 year ago
The book is for Oracle professionals almost exclusively - the other RDBMS are not covered. I've found the book very useful to both developers and DBAs (I happened to be wearing both hats) in day to day activities. The authors have assumed you are already in the Oracle field. If you are not, then the material may often overwhelm you. Novices can find more suitable books out here for sure. By the time you are through the book, you'll be up several levels when it comes to writing better SQL or understanding better already written SQL. I give all 5 STARS to the authors of the book for the job done on demystifying SQL execution plans. The book shows and analyzes execution plans over and over again until they become your second nature. It took chapters 2 through 6 to build the necessary background and take readers to the very hart of execution plans. The rest of the book also uses the plans as the main tool for SQL characterization and performance analysis. Page 165 shows how to read an exec plan as a plain English narrative. In my experience, this is highly useful for: 1. Putting yourself in the shoes of Oracle Optimizer - think the way HE thinks. 2. Presenting in plain English the SQL execution problems to inquisitive but less-technical folks, from VPs and directors to functional users. My experience has thought me that being able to understand, interpret, assess and compare SQL execution plans is a great skill to have. Despite being a seasoned DBA (at least I'd like to think that way after having spent decades with Oracle), I've found plenty of new-to-me, hard to get and harder to verify useful info in the book, such as: a) Execution plans stability - why does my SQL performance suddenly deteriorates and how to control that? b) Histograms, bind variables, statistics, and exec plans - all are interrelated, but how - get ready for surprises. c) Transactions - Oracle isolation levels form default up and what are possibilities for tuning. d) Instrument your SQL code - Oracle RDBMS has done it for the world's benefit; you can do the same! e) Index partitioning and access paths - From Fast Full Scan to Virtual and Invisible Indexes, amazing stuff! f) Index/attribute cardinality and selectivity - cousins or in-laws? g) All about joins - Hash-joins through Anti-joins h) Analytic functions, Model clause - Cube, Rank and Spreadsheets, just to get you started. g) You are on SQL code quest - get your offense and defense lines in order - brief but very insightful.