Oracle Database 11g: Performance Student Guide

作者: Maclean Liu , post on October 25th, 2010 , English Version
【本站文章除注明转载外,均为本站原创编译】
转载请注明:文章转载自: Oracle Clinic – Maclean Liu的个人技术博客 [http://www.oracledatabase12g.com/]
本文标题: Oracle Database 11g: Performance Student Guide
本文永久地址: http://www.oracledatabase12g.com/archives/oracle-database-11g-performance-student-guide.html

Objectives

  • After completing this lesson, you should be able to:
  • Describe enhancements to locking mechanisms
  • Use the enhanced PL/SQL recompilation mechanism
  • Create and use invisible indexes
  • Describe Adaptive Cursor Sharing
  • Manage your SPFILE

Oracle Database 11g supports online redefinition for tables with materialized views and view
logs. In addition, online redefinition supports triggers with the FOLLOWS or PRECEDES clause,
which establishes an ordering dependency between the triggers.
In previous database versions, all directly and indirectly dependent views and PL/SQL packages
would be invalidated after an online redefinition or other DDL operations. These views and
PL/SQL packages would automatically be recompiled whenever they are next invoked. If there
are a lot of dependent PL/SQL packages and views, the cost of the revalidation or recompilation
can be significant.
In Oracle Database 11g, views, synonyms, and other table-dependent objects (with the exception
of triggers) that are not logically affected by the redefinition, are not invalidated. So, for example,
if referenced column names and types are the same after the redefinition, then they are not
invalidated.
This optimization is “transparent,” that is, it is turned on by default.
Another example: If the redefinition drops a column, only those procedures and views that
reference the column are invalidated. The other dependent procedures and views remain valid.
Note that all triggers on a table being redefined are invalidated (as the redefinition can potentially
change the internal column numbers and data types), but they are automatically revalidated with
the next DML execution to the table.

© 2010, www.oracledatabase12g.com. 版权所有.文章允许转载,但必须以链接方式注明源地址,否则追究法律责任.

相关文章 | Related posts:

  1. Oracle Database 11g: BI and Data Warehousing Student Guide
  2. Oracle Database 11g: Server Manageability Student Guide
  3. Oracle Database 11g: Program Development Student Guide
  4. Oracle Database 11g: Diagnosability Student Guide
  5. Oracle Database 11g: Scheduler Student Guide
  6. Oracle Database 11g: Security Student Guide
  7. Oracle Database 11g: Java Development Student Guide
  8. Oracle Database 11g: High Availability Student Guide
  9. Oracle Database 11g: New Features Overview eStudy Student Guide
  10. Performance Tuning Guide for Siebel CRM Application on Oracle

1 comment to Oracle Database 11g: Performance Student Guide

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>