Oracle Database 11g Performance Tuning Recipes and over one million other books are available for Amazon Kindle. Learn more



or
Sign in to turn on 1-Click ordering
More Buying Choices
Have one to sell? Sell yours here
Start reading Oracle Database 11g Performance Tuning Recipes on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Oracle Database 11g Performance Tuning Recipes: A Problem-Solution Approach [Paperback]

Sam Alapati , Darl Kuhn , Bill Padfield
4.4 out of 5 stars  See all reviews (8 customer reviews)

List Price: $59.99
Price: $46.12 & FREE Shipping. Details
You Save: $13.87 (23%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it Tuesday, May 28? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition $22.79  
Paperback $46.12  
Rent Your Textbooks
Save up to 70% when you rent your textbooks on Amazon. Keep your textbook rentals for a semester and rental return shipping is free.

Book Description

August 22, 2011 1430236620 978-1430236627 1

Performance problems are rarely "problems" per se. They are more often "crises" during which you’re pressured for results by a manager standing outside your cubicle while your phone rings with queries from the help desk. You won’t have the time for a leisurely perusal of the manuals, nor to lean back and read a book on theory. What you need in that situation is a book of solutions, and solutions are precisely what Oracle Database 11g Performance Tuning Recipes delivers.

Oracle Database 11g Performance Tuning Recipes is a ready reference for database administrators in need of immediate help with performance issues relating to Oracle Database. The book takes an example-based approach, wherein each chapter covers a specific problem domain. Within each chapter are "recipes," showing by example how to perform common tasks in that chapter’s domain. Solutions in the recipes are backed by clear explanations of background and theory from the author team. Whatever the task, if it’s performance-related, you’ll probably find a recipe and a solution in this book.

  • Provides proven solutions to real-life Oracle performance problems
  • Offers relevant background and theory to support each solution
  • Written by a team of experienced database administrators successful in their careers

What you’ll learn

  • Optimize the use of memory and storage
  • Monitor performance and troubleshoot problems
  • Identify and improve poorly-performing SQL statements
  • Adjust the most important optimizer parameters to your advantage
  • Create indexes that get used and make a positive impact upon performance
  • Automate and stabilize using key features such as SQL Tuning Advisor and SQL Plan Baselines

Who this book is for

Oracle Database 11g Performance Tuning Recipes is aimed squarely at Oracle Database administrators. The book especially appeals to those administrators desiring to have at their side a ready-to-go set of solutions to common database performance problems.

Table of Contents

  1. Optimizing Table Performance
  2. Choosing and Optimizing Indexes
  3. Optimizing Instance Memory
  4. Monitoring System Performance
  5. Minimizing System Contention
  6. Analyzing Operating System Performance
  7. Troubleshooting the Database
  8. Creating Efficient SQL
  9. Manually Tuning SQL
  10. Tracing SQL Execution
  11. Automated SQL Tuning
  12. Execution Plan Optimization and Consistency 
  13. Configuring the Optimizer
  14. Implementing Query Hints
  15. Executing SQL in Parallel

Frequently Bought Together

Oracle Database 11g Performance Tuning Recipes: A Problem-Solution Approach + Expert Indexing in Oracle Database 11g: Maximum Performance for your Database + Oracle Database 11g Release 2 Performance Tuning Tips & Techniques (Oracle Press)
Price for all three: $120.11

Buy the selected items together


Editorial Reviews

About the Author

Sam R. Alapati is an experienced Oracle database administrator who holds the Oracle Certified Professional designation and the Hewlett-Packard UNIX System Administrator certification. He currently manages Oracle databases at the Boy Scouts of America's national headquarters in Los Colinas, Texas. Alapati has been dealing with databases for a long time, including the Ingres RDBMS in the mid-1980s. He is also well-versed in the Microsoft SQL Server, Sybase, and IBM DB2 database management systems.

Darl Kuhn is a senior database administrator working for Oracle. He handles all facets of database administration from design and development to production support. He also teaches advanced database courses at Regis University in Colorado. Darl does volunteer DBA work for the Rocky Mountain Oracle Users Group. He has a graduate degree from Colorado State University and lives near Spanish Peaks, Colorado, with his wife, Heidi, and daughters, Brandi and Lisa.

Bill Padfield is an Oracle Certified Professional, working for a large telecommunications company in Denver, Colorado as a lead database administrator. Bill helps administer and manage a large data warehouse environment consisting of more than 75 databases. Bill has been an Oracle Database administrator for more than 14 years, and has been in the IT industry since 1985. Bill also teaches graduate database courses at Regis University and currently resides in Aurora, Colorado with his wife, Oyuna, and son, Evan.

Product Details

  • Paperback: 592 pages
  • Publisher: Apress; 1 edition (August 22, 2011)
  • Language: English
  • ISBN-10: 1430236620
  • ISBN-13: 978-1430236627
  • Product Dimensions: 7.5 x 1.2 x 9.2 inches
  • Shipping Weight: 2.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (8 customer reviews)
  • Amazon Best Sellers Rank: #63,707 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

4.4 out of 5 stars
(8)
4.4 out of 5 stars
Most Helpful Customer Reviews
6 of 6 people found the following review helpful
4.0 out of 5 stars Not detailed enough October 9, 2011
Format:Paperback|Amazon Verified Purchase
I did not find this book detailed enough to assist me in troubleshooting my issues with SGA, Kernel and Parallel Query tuning. It covers the basics and how the principles improve performance when implemented but it does not get detailed with anything other than the most rudimentary of examples. Overall it's very good for a beginner as it did educate me on several other nuances that I was previously unaware of. 4 stars (1 missing for lack of detail).
Comment | 
Was this review helpful to you?
4 of 5 people found the following review helpful
5.0 out of 5 stars Performance Tuning 101 at it's best May 20, 2012
By F. Riaz
Format:Paperback
The "WOW" factor of this text is inversely proportional to the read's prior experience with database performance tuning.

In my opinion, a DBA (or a developer) with 0 - 3 years of experience can expect the following after reading this book

1. Know what to do when a 3 page query is dropped in their lap for tuning (trust me, trying to convince the user the problem is with the network, or their
machine, or with them !!! does not work after a couple of times :)')
2. not be intimated to read and to analyze an AWR report
3. can incorporate performance related daily checks in their day-to-day activities
4. can actually answer the typical performance related interview questions (e.g. how to tune an instance, how to tune a query, etc)
5. have the background to read advanced performance tuning literature

Following are some suggestions for the subsequent editions of this book

Chapter 8 "Creating Efficient Sql" adds no value and can be scratched in favor of the following topics

1. Sql Plan Management (after all, one of the authors has talked extensively about it in their "Oracle Database 11g" book)
2. Local vs Global indexing (when to use them, how to create them, etc.)
3. Why, which (local vs global), and how often to collect object level statistics
4. Highlight the performance tuning similarities and differences between OLTP and OLAP systems

I am almost tempted to add "RAC Performance Tuning" to my wishlist, but it might be an advanced topic?

In summary, I would recommend this book to anybody wanting to get started on Oracle performance tuning
Comment | 
Was this review helpful to you?
14 of 20 people found the following review helpful
Format:Paperback
I bought the alpha copy of this book from the Apress site in May 2011 when I heard about the book's pending release, and was able to obtain the final version of the book at the end of August 2011. I have read a couple of the other "Recipe" books from Apress, so I was excited to see how the recipe format could be applied to the task of Oracle Database performance tuning, specifically in versions 11.1 and above.

The authors of this book all have at least 10-15 years of experience with Oracle Database (and likely several years of IT related experience prior to that), are accomplished writers of several books (at least three of the "Recipes" books were co-authored by this book's authors), and at least two of the authors teach at the university level. The technical reviewer of the book is an Oracle Ace with an OCP certificate and also has an Oracle Certified RAC Expert certificate. Apress, based on my past experience, publishes some of the best Oracle Database material on the market. All of the critical recipe elements for a very successful, extremely useful book were initially in place for this book.

So, how well did the book's final contents meet the level of expectations provided by the book's front cover and the publisher's description of the book? Simply put, some of the chapters appeared as though someone tried to hammer a square cut nail into a finely machined and tapped machine-screw hole. The end result shows that the topic of performance tuning Oracle Databases simply does not fit well into a recipe format. The number of technical/logical errors per page in some of the chapters makes for a difficult challenge to find any useful/reliable information in those chapters without spending significant time verifying that the material presented by the book is accurate. Some of the other chapters did provide useful information that was mostly correct, but that information sometimes lacked sufficient depth of the information presented, likely constrained by the recipe format of the book. The topic selection for the book is reasonably good, although in execution the book sometimes drifted far away from performance tuning, into a lesson of what to do if a user cannot connect to the database, how to write basic SQL statements, how to perform basic database administration (such as handling snapshot too old errors), and how to issue operating system commands. Some sections of the book also seemed to be more specific to Oracle Database 9.2 and below than 11.1 and above. In short, there is good material in the book, but it is difficult to determine what is accurate and what is completely wrong.

This review is very long (20+ type-written pages for the first seven chapters in the book), as that level of detail is required to justify the rating attached to this book review. As such, this review will exceed the length limit permitted by Amazon, so see my blog for the full review. I have divided this review into three sections: interesting dictionary views, parameters, functions, hints, and Oracle error messages mentioned in the book; comments, corrections, and problems for the contents of the book; and interesting and/or well-above-average bits of information found in the book.

Data Dictionary Views:
* DATABASE_PROPERTIES (page 4)
* DBA_TABLESPACES (page 6)
* USER_SEGMENTS (page 12)
* USER_EXTENTS (page 13)
* V$DATABASE, DBA_TABLESPACES (page 16)
* V$TRANSACTION (page 18)
* DBA_AUTO_SEGADV_SUMMARY (page 20)
* DBA_ADVISOR_FINDINGS, DBA_ADVISOR_OBJECTS (page 25)
* DBA_INDEXES (page 29)
* DBA_AUDIT_TRAIL, DBA_AUDIT_OBJECT (page 41)
* USER_CONSTRAINTS (page 54)
* USER_INDEXES (page 55)
* USER_IND_EXPRESSIONS (page 66)
* V$OBJECT_USAGE (page 75)
* V$MEMORY_DYNAMIC_COMPONENTS, V$MEMORY_TARGET_ADVICE (page 90)
* V$SQL_WORKAREA_HISTOGRAM (page 94)
* V$RESULT_CACHE_STATISTICS (page 98)
* V$STATISTICS_LEVEL (page 114)
* DBA_HIST_WR_CONTROL (page 116)
* DBA_HIST_BASELINE (page 125)
* DBA_HIST_ACTIVE_SESS_HISTORY, V$ACTIVE_SESSION_HISTORY (page 139)
* V$SYSMETRIC, V$SESSION, V$SESSION_WAIT, V$SESSION_WAIT_HISTORY, V$SESSION_EVENT (page 148)
* V$SYSTEM_EVENT, V$SYSTEM_WAIT_CLASS (page 149)
* V$ACTIVE_SESSION_HISTORY, V$SQLAREA (page 150)
* V$EVENT_NAME, V$SYSTEM_WAIT_CLASS (page 155)
* DBA_EXTENTS (page 160)
* V$LOCK, V$LOCKED_OBJECT (page 164)
* SYS_TIME_MODEL (page 175)
* V$SESSION_WAIT_CLASS, V$EVENT_HISTOGRAM (page 177)
* V$UNDOSTAT (page 212)
* V$TRANSACTION, V$SESSTAT, V$STATNAME (page 214)
* DBA_TEMP_FILES, V$TEMP_SPACE_HEADER (page 217)
* V$OPEN_CURSOR, GV$OPEN_CURSOR (page 222)

Parameters
* UNDO_MANAGEMENT, UNDO_TABLESPACE (page 4)
* AUDIT_TRAIL (page 40)
* _USE_NOSEGMENT_INDEXES (page 54)
* OPTIMIZER_USE_INVISIBLE_INDEXES (page 70)
* PARALLEL_THREADS_PER_CPU (page 78)
* DDL_LOCK_TIMEOUT (page 80)
* SGA_TARGET, PGA_AGGREGATE_TARGET, MEMORY_TARGET, MEMORY_MAX_TARGET (page 83)
* RESULT_CACHE_MAX_SIZE, RESULT_CACHE_MAX_RESULT, and RESULT_CACHE_REMOTE_EXPIRATION (page 95)
* RESULT_CACHE_MODE (page 100)
* CLIENT_RESULT_CACHE_SIZE, CLIENT_RESULT_CACHE_LAG (page 103)
* DB_FLASH_CACHE_FILE, DB_FLASH_CACHE_SIZE (page 109)
* LOG_BUFFER (page 111)
* STATISTICS_LEVEL (page 114)
* CONTROL_MANAGEMENT_PACK_ACCESS (page 115)
* COMMIT_WRITE (page 159)
* LOG_BUFFER (page 160)
* CURSOR_SPACE_FOR_TIME (page 179)
* UNDO_TABLESPACE, UNDO_RETENTION (page 211)
* OPEN_CURSORS (page 222)
* SESSION_CACHED_CURSORS (page 223)

Functions:
* DBMS_RESULT_CACHE.STATUS (page 97)
* DBMS_RESULT_CACHE.MEMORY_REPORT (page 98)

Hints:
* APPEND (page 15)
* INDEX (page 70)
* RESULT_CACHE, NO_RESULT_CACHE (page 100)

Error Numbers:
* Chapter 1: ORA-01578: ORACLE data block corrupted, ORA-26040: Data block was loaded using the NOLOGGING option (page 16); ORA-02266: unique/primary keys in table referenced by enabled foreign keys (page 18)
* Chapter 2: ORA-00001: unique constraint violated (page 58), ORA-02270: no matching unique or primary key for this column-list (page 59), ORA-10635: Invalid segment or tablespace type (page 81)
* Chapter 3: ORA-00838: Specified value of MEMORY_TARGET is too small (page 86)
* Chapter 4: ORA-20200: The instance was shutdown between snapshots (page 120), ORA-13541: system moving window baseline size (page 124), ORA-13539: invalid input for modify baseline window size (page 124)
* Chapter 6: ORA-09817: Write to audit file failed (page 187)
* Chapter 7: ORA-0155: snapshot too old (page 211)

---

Comments, Corrections, and Problems:
* In recipe 1-2 the following note appears, "As of Oracle Database 11g R2, the EXTENT MANAGEMENT DICTIONARY clause has been deprecated." I could not locate confirmation in the Oracle Database documentation that that clause was deprecated in 11g R2, but the documentation does state that dictionary managed tablespaces were deprecated in Oracle Database 9i R2, even though Oracle Database 11g R2 apparently still supports (to an extent) dictionary managed tablespaces (and the deprecated DICTIONARY keyword) as long as the system tablespace is not locally managed. This recipe also states that the authors recommend using ASSM tablespaces, without describing the potential negative performance impact of such tablespaces. (pages 5-7)
* In recipe 1-4 the authors state "Specify a separate tablespace for the table and indexes" with the justification that doing so "simplifies administration and maintenance" - it would have been helpful for the authors to provide supporting evidence for this claim (pages 9-12). In recipe 2-2 on page 51, the authors suggests that backup and recovery is easier with separate tablespaces for data and indexes.
* In recipe 1-5 (page 13), an apparently unintentional word substitution: "An extent will not be allocated until the initial record is inserted into a given extent" - the second "extent" in the sentence should probably be replaced with the word "segment". The recipe should mention that deferred segment creation is an Enterprise Edition only feature, and explain the potential problems that restriction might cause. (pages 12-14)
* In recipe 1-8 the authors suggest checking the DBA_ADVISOR_EXECUTIONS, DBA_ADVISOR_FINDINGS, and DBA_ADVISOR_OBJECTS views without providing a warning about the licensing requirements associated with the DBA_ADVISOR views. (pages 19-23)
* Recipe 1-11 demonstrates using several approaches to reduce the number of rows that span more than one data block. It would have been helpful if the book differentiated between chained rows and migrated rows, and discussed why the ANALYZE TABLE LIST CHAINED ROWS command might still report a count greater than 0 in the CHAINED_ROWS table (table has more than 255 columns and must be broken into multiple row pieces, table row is larger than a table block, etc.). Since it is the absolute file number that appears most commonly in the various data dictionary views, it probably would have been a better approach to use the DBMS.ROWID_TO_ABSOLUTE_FNO function rather than the ROWID_RELATIVE_FNO function when decoding the ROWID values. (pages 28-32)
* Recipe 2-5 includes a SQL statement that attempts to identify unindexed foreign key columns. This same SQL statement appears on page 243 of the book "Oracle SQL Recipes: A Problem-Solution Approach". While the SQL statement only works for the current user's schema, and A, B, and C generic aliases are used for table aliases, there are more significant problems with the SQL statement and the recipe as a whole. Read more ›
Was this review helpful to you?


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Listmania!

Create a Listmania! list

So You'd Like to...


Create a guide


Look for Similar Items by Category