Items related to Oracle SQL High-Performance Tuning

Oracle SQL High-Performance Tuning - Softcover

  • 3.86 out of 5 stars
    14 ratings by Goodreads
 
9780130123817: Oracle SQL High-Performance Tuning

Synopsis

*Targets the no.1 Oracle performance bottleneck: SQL and PL/SQL *For all releases through Oracle 8i *Detailed case studies and performance measurements *Large-volume queries, Oracle clusters, Java, parallel query tuning, and much more Your one-stop resource for all Oracle SQL and PL/SQL tuning and optimization! Optimizing SQL code is the no.1 factor in improving Oracle database performance, yet most guides to Oracle tuning virtually ignore SQL. Oracle SQL High Performance Tuning, Second Edition zeroes in on SQL and PL/SQL, demonstrating how to achieve performance gains of 100% or more in many applications. Expert Oracle developer Guy Harrison gives Oracle developers and DBAs a single source for guidance on every aspect of Oracle 8/8i SQL and PL/SQL tuning, with specific recommendations, detailed case studies, and real benchmarks. Coverage includes: *Designing applications to maximize efficiency right from the start *Building indexes that support high-performance queries *Identifying and resolving Oracle Server bottlenecks *Fixing poorly performing SQL code *Identifying opportunities to substitute PL/SQL or Java for SQL *Making the most of Oracles tuning tools, including tkprof and

"synopsis" may belong to another edition of this title.

From the Inside Flap

Introduction

This book is about tuning Oracle databases and applications with an emphasis on the tuning of SQL statements. Tuning SQL is not the only way to tune an application: The design of an application will often dictate its performance limits, and tuning the physical layout of an Oracle database can be critical to reaching those limits. However, tuning SQL is usually the most cost-effective way of improving the performance of an existing application, while other measures—such as changing database parameters or altering disk layouts—will usually be ineffective unless the application's SQL is properly tuned.

It is common for the performance of an Oracle application to appear to be acceptable during development only to degrade abruptly when the application encounters production data volumes or transaction rates. While this may result from a number of causes, inefficient SQL that fails to maintain good performance as data volumes increase is a major factor.

Poorly performing SQL arises in applications for a number of reasons. Although SQL is a relatively easy language to learn, its nonprocedural nature tends to obscure performance-related issues. As a result, its much harder to write efficient SQL than it is to write functionally correct SQL. Additionally, there seems to be insufficient awareness of the need to monitor carefully and tune SQL performance, and the tools and techniques needed to tune SQL are not sufficiently well known.

Another factor that has increased the significance of well-tuned SQL is the emergence of data warehouses or On-Line Analytical Processing (OLAP) systems. These databases are often extremely large and are subject to a great deal of ad hoc query activity. If the SQL that supports these queries is inefficient, then queries may take hours or even days to complete or may fail to complete at all.

When Oracle applications start to underperform, it's typical for performance experts to be called in to perform benchmark tests or tune the Oracle database engine. For the most part, they will tune the operating system, change Oracle configuration parameters, reconfigure input/output (I/O), disks and so on. At the end of the process, you can (if you are lucky) expect a 10 to 20 % improvement in performance.

During these tuning exercises it is usually that apparent the SQL contained within the application is the most important factor in determining performance. If the SQL can be tuned, then performance increases of 100 percent or more are not uncommon. But there is a dilemma: By the time performance problems are recognized, it is often difficult to make changes to the production SQL. Furthermore, performance experts usually don't have the application knowledge required to understand and tune the SQL, while the developers don't have the necessary understanding of SQL performance tuning.

It follows that the best way to improve substantially the performance of most Oracle applications is to improve the efficiency of the application SQL. To make this happen, developers needed to acquire SQL tuning skills together with a commitment to tuning.

The objective of this book is to provide SQL programmers with the theory and practice of SQL tuning together with hints and guidelines for optimizing specific SQL statement types. We'll see how to diagnose and correct problems with existing SQL and briefly explore performance issues beyond SQL tuning, such as application design and server tuning. By following the guidelines in this book, SQL programmers should be able to write SQL that will perform well both in development and in production and will be able to detect and correct inefficiencies in existing SQL. The result will be SQL that performs to its peak potential.The need for this book

With the Oracle server documentation set consisting of more than a dozen manuals—including a tuning guide—and a number of independent Oracle tuning texts on the market, is there really a need for this book?

There is a need, and the basis for this need lies in two fundamental imperfections in all alternative tuning guides: They are aimed almost exclusively at database administrators (DBAs), and they gloss over the processes of tuning SQL statements. There is a need for a book that is aimed not at the administrators of the Oracle databases, but at those writing the access routines (that is, the SQL) for the database, such as application developers, users of data warehouses, and others whose work involves writing high-performance SQL.

Additionally, while tuning the database engine can help poorly performing applications, nothing can match improving the efficiency of SQL for getting massive performance improvements. Unfortunately, most tuning texts spend most of their time focusing on database and I/O subsystem tuning.Who should use this book

This is not a book for Oracle DBAs, although DBAs should find many things of interest here. Rather, this is a book for anyone who needs to write SQL that has a performance requirement.

People who need to write high-performance SQL are as follows:

Developers of Oracle-based applications. These developers will typically need to embed SQL statements within the code of the development tool (such as C++, Java, or Visual Basic). Alternately, the SQL may be contained within stored procedures that they will call from their client tool. These SQL statements will need to be efficient; otherwise the applications concerned will fail to meet reasonable performance requirements.

Those querying data warehouses or decision-support databases. These databases are typically very large and hence these queries must run efficiently; otherwise they may take an unreasonable time to complete (or not complete at all).

Anyone who writes Oracle SQL statements and cares about their response time or throughput.How to use this book

Few people read a book of this type from beginning to end. Depending on your background, you may wish to skip sections that review database theory and jump right into the details of SQL tuning.

However, apart from the "Review of SQL" and the "Beyond SQL Tuning" sections, most readers should attempt to read or at least review the majority of this book.

The book has the following major sections:Part I: Introduction to SQL Tuning

This section contains a review of the importance of SQL tuning, an overview of the tuning process and a review of SQL. The chapters in Part I are as follows:

Chapter 1: Introduction to SQL Tuning

Chapter 2: SQL Tuning Quick Start

Chapter 3: Review of SQLPart II: SQL Tuning theory

Chapters in Part II introduce a number of important topics, such as the role of the query optimizers, indexing and hashing concepts, SQL parsing, basic data retrieval strategies, and tools for explaining and tuning SQL execution. Although Part II is heavy on theory, its difficult to tune SQL successfully without at least a broad understanding of these topics. All readers are therefore encouraged to read this section.

The chapters in Part II are as follows:

Chapter 4: SQL Processing Internals

Chapter 5: The Optimizer

Chapter 6: Indexing and Clustering

Chapter 7: Tracing and Explaining SQLPart III: SQL Tuning in Practice

Chapters in Part III contain tuning guidelines for specific SQL statement types and circumstances. While it will be useful to read Part III from start to finish, it may also be used as a reference. You may wish to consult the relevant portions of this section as appropriate tuning requirements arise. Chapters in Part III are as follows:

Chapter 8: Tuning Table Access

Chapter 9: Tuning Joins and Subqueries

Chapter 10: Sorts, Aggregates, and SET Operations

Chapter 11: Parallel SQL

Chapter 12: Optimizing DML

Chapter 13: VLDB and Warehousing

Chapter 14: Using and Tuning PL/SQL

Chapter 15: Using and Tuning Oracle Java

Chapter 16: Oracle Object Types

Chapter 17: Miscellaneous TopicsPart IV: Beyond SQL Tuning

At the beginning of the application life cycle, effective database and application design can define the constraints that will ultimately determine the limits on your SQL's performance. For a well-designed application with tuned SQL, the configuration of your database—disk layouts, SGA configuration, etc.—may be the key to getting further gains in performance. Chapters in Part IV discuss these "beyond SQL" issues:

Chapter 18: Application Design Issues

Chapter 19: Oracle Server Design

Chapter 20: Oracle Server TuningAppendices

The appendices contain details of configuring client programs and the Oracle server for specific circumstances, a reference guide, and a guide to further reading and other resources.The Sample Database

Whenever possible, any SQL tuning principle in this book will be illustrated with an example SQL statement. Usually, these SQL statements will be based on the sample database shown in Figure P-1. This database is not intended to illustrate good or bad data modeling principles but to be a basis for illustrating a wide range of SQL statements. You can find an export of one of the variations of this database at the book's website.

The sample database implements a simple a

About the Author

GUY HARRISON has worked with Oracle databases for more than a decade, has conducted many Oracle training seminars, and is author of several books on Oracle, including Oracle Desk Reference (Prentice Hall PTR). Currently a product architect at Quest Software, Harrison has conducted many Oracle training seminars and has authored several articles for the Oracle Technical Journal. He resides in Australia.

"About this title" may belong to another edition of this title.

  • PublisherPearson P T R
  • Publication date2001
  • ISBN 10 0130123811
  • ISBN 13 9780130123817
  • BindingPaperback
  • Number of pages630
  • Rating
    • 3.86 out of 5 stars
      14 ratings by Goodreads

Buy Used

Condition: Good
Item in good condition. Textbooks... Learn more about this copy

Shipping: FREE
Within U.S.A.

Destination, rates & speeds

Add to basket

Other Popular Editions of the Same Title

9780136142317: Oracle SQL High-Performance Tuning

Featured Edition

ISBN 10:  0136142311 ISBN 13:  9780136142317
Publisher: Prentice Hall Ptr, 1997
Softcover

Top Search Results from the AbeBooks Marketplace

Stock Image

Harrison, Guy
Published by Pearson P T R, 2001
ISBN 10: 0130123811 ISBN 13: 9780130123817
Used Softcover

Seller: SecondSale, Montgomery, IL, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Good. Item in good condition. Textbooks may not include supplemental items i.e. CDs, access codes etc. Seller Inventory # 00071003065

Contact seller

Buy Used

US$ 7.22
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Harrison, Guy
Published by Pearson P T R, 2001
ISBN 10: 0130123811 ISBN 13: 9780130123817
Used Softcover

Seller: SecondSale, Montgomery, IL, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Very Good. Item in good condition. Textbooks may not include supplemental items i.e. CDs, access codes etc. Seller Inventory # 00047201595

Contact seller

Buy Used

US$ 7.22
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Harrison, Guy
Published by Pearson Education, Limited, 2000
ISBN 10: 0130123811 ISBN 13: 9780130123817
Used Softcover

Seller: Better World Books, Mishawaka, IN, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Good. 2nd Edition. Used book that is in clean, average condition without any missing pages. Seller Inventory # 5237627-6

Contact seller

Buy Used

US$ 7.24
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 2 available

Add to basket

Stock Image

Harrison, Guy
Published by Pearson Education, Limited, 2000
ISBN 10: 0130123811 ISBN 13: 9780130123817
Used Softcover

Seller: Better World Books, Mishawaka, IN, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Good. 2nd Edition. Former library book; may include library markings. Used book that is in clean, average condition without any missing pages. Seller Inventory # 16243846-6

Contact seller

Buy Used

US$ 7.24
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Harrison, Guy
Published by Prentice Hall, 2001
ISBN 10: 0130123811 ISBN 13: 9780130123817
Used Paperback

Seller: ThriftBooks-Atlanta, AUSTELL, GA, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: Good. No Jacket. Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less 1. Seller Inventory # G0130123811I3N00

Contact seller

Buy Used

US$ 8.35
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Harrison, Guy
Published by Prentice Hall, 2001
ISBN 10: 0130123811 ISBN 13: 9780130123817
Used Paperback

Seller: ThriftBooks-Dallas, Dallas, TX, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: Good. No Jacket. Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less 1. Seller Inventory # G0130123811I3N00

Contact seller

Buy Used

US$ 8.35
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Harrison, Guy
Published by Pearson P T R, 2001
ISBN 10: 0130123811 ISBN 13: 9780130123817
Used Softcover

Seller: Books Unplugged, Amherst, NY, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Good. Buy with confidence! Book is in good condition with minor wear to the pages, binding, and minor marks within 2.35. Seller Inventory # bk0130123811xvz189zvxgdd

Contact seller

Buy Used

US$ 13.65
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Harrison, Guy
Published by Pearson P T R, 2001
ISBN 10: 0130123811 ISBN 13: 9780130123817
Used Softcover

Seller: Book Deals, Tucson, AZ, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Fair. Acceptable/Fair condition. Book is worn, but the pages are complete, and the text is legible. Has wear to binding and pages, may be ex-library. 2.35. Seller Inventory # 353-0130123811-acp

Contact seller

Buy Used

US$ 13.65
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Harrison, Guy
Published by Pearson P T R, 2001
ISBN 10: 0130123811 ISBN 13: 9780130123817
Used Softcover

Seller: Book Deals, Tucson, AZ, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Very Good. Very Good condition. Shows only minor signs of wear, and very minimal markings inside (if any). 2.35. Seller Inventory # 353-0130123811-vrg

Contact seller

Buy Used

US$ 13.80
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Harrison, Guy
Published by Pearson P T R, 2001
ISBN 10: 0130123811 ISBN 13: 9780130123817
Used Paperback

Seller: WorldofBooks, Goring-By-Sea, WS, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: Very Good. The book has been read, but is in excellent condition. Pages are intact and not marred by notes or highlighting. The spine remains undamaged. Seller Inventory # GOR002628969

Contact seller

Buy Used

US$ 7.48
Convert currency
Shipping: US$ 6.39
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

There are 13 more copies of this book

View all search results for this book