You are on page 1of 8

WWW.TRUBIX.

COM
FEBRUARY 01, 2007

Think Training, Training Trubix

Oracle 11g New Features


This article wi! discuss key features in the Oracle 11g.
Recent Blogs/Podcasts
www.trubix.com
trubix.blogspot.com
web.mac.com/george.trujillo

• Oracle 11g NF Summary


• Oracle 11g New Features
• Profile of a DIA
• Oracle Fusion: Transitioning
Trad. Developers to Fusion
• Oracle Fusion: Service Ori-
ented Architecture
• Oracle Fusion: Java
• Enterprise Infrastructure Man-
agement
• Collaborate 2007 Las Vegas
• Profile of a Database Infra-
structure Administrator
• Migrating to Oracle 10g: A
Checklist
• Oracle Fusion: Demystifying
The skills sets required to be Middle ware skills with Fusion
an Oracle DBA and Developer are Application Servers, Identity • Oracle Fusion: Roadmap
• Oracle Fusion: Terminology
changing. Management, SOA, XML, Web
• Oracle Fusion: A First Step in
DBAs with RAC, Data Guard, Services, XML, J2EE and ADF are Understanding
Streams, Security are in much in hot demand today. • Changing Skill sets for
higher demand. Oracle 11g helps us understand Oracle DBAs

Data Infrastructure where Oracle technology is going


and what areas Oracle are being George J. Truji!o, Jr.
Administrators with enterprise
infrastructure management across emphasized.
multiple tiers are in high demand.

Assiduus usus uni rei deditus et ingenium et artem saepe vincit


I have been working with Oracle since days. I have helped customers with the
version 4, so I've seen a lot of new re- rollouts of new Oracle software versions
leases. I still remember having for a good part of my career.
to install over 20 5.25" floppy
disks, when referential integrity This includes internal rollouts to
was only declared and not en- Oracle Corporation for 5.5 years.
forced, as well as the old max I was a lead in the internal
extent limit of 121. The old days rollouts of Oracle 8.0, 8i, 9i, JDe-
weren't always the good old veloper, RAC, Streams and new

© ALL RIGHTS PROTECTED


PAGE 1
WWW.TRUBIX.COM
FEBRUARY 01, 2007

releases of the Oracle Application when the object features were not
Server. Since then I have had a leader- mature enough in the first release
ship role in the Oracle Beta program for instead of focusing on features
Oracle 10g and 11g. that would help DBAs in their day
to day jobs.
Reasons why you should care about fea- • Oracle did the same thing with
tures in a new release of the Oracle da- Java in the database with Oracle
tabase: 9i. Although Java in the database
• It is very important that a com- has turned into a fantastic feature
pany understand how features in a especially for Oracle product and
new release of the Oracle data- feature development, most DBAs
base server will impact their cur- didn't initially see the value of
rent database management prac- Java in the database.
tices and decisions.
• The correct decisions made today However, Oracle 10g was by far the
will reduce migration issues in the most stable release of a new version of
future. Oracle software. Oracle 10g also had a
• The only way to make the right large number of bug fixes for Oracle 9i,
decisions today, is by understand- so Oracle 10g was even a more stable
ing where database management version of Oracle 9i. Oracle 10g also had
is going in the future. a lot of enhancements and bug fixes for
• Understanding current and future advanced features of Oracle such as
skill sets needed for IT staff. RAC, Data Guard, Streams, etc. The
• I believe you don't always have to Oracle Enterprise Manager (OEM) took a
be moving in the right direction, gigantic leap from a tool in Oracle 9i
but you should always try to be that most DBAs snickered at, to a strong
pointed in the right direction. Enterprise solution with Grid Control in
Oracle 10g. DBAs should have been
For the most part, DBAs have been a lit- moving to Oracle 10g to take advantage
tle frustrated by the number of bugs and of the important new features and in-
feature restrictions in Oracle 6, 7, 8 and creased stability, instead they were us-
9i in the first releases of each version. ing the old pattern of moving slowly to a
• The issues with previous first re- new release and to using the new fea-
leases of a major version of Oracle tures of a new release.
database software has taught
DBAs to historically stay away Oracle 10g has by far more new fea-
from the first release and to be tures that should be used out of the box
very careful when using new fea- than any previous release of Oracle. The
tures. features in Oracle 10g are so significant,
• I think Oracle put too much adver- the Oracle 10g features should change
tising in the Object-Relational fea- the way DBAs are managing their sys-
tures of the Oracle 8 database tems. Yet, DBAs have been very slow in

© ALL RIGHTS PROTECTED


PAGE 2
WWW.TRUBIX.COM
FEBRUARY 01, 2007

adopting these new features. If you look them correctly. I cannot state strongly
at a lot of Oracle 10g shops, they are enough that as organizations move to
running their databases closer to Oracle the Oracle 10 and Oracle 11 database
7 features than Oracle 10g features. The server they really need to look out how
release of Oracle 10g added tremendous they are going to tie these new features
functionality to database environments into their database management prac-
that Oracle DBAs need to leverage. tices and leverage these features to
minimize down time and reduce their
I have been involved with Oracle 11 cost of ownership.
since the summer of 2006, so I can tell
you the upcoming release of Oracle 11 is As our multi-tiered database environ-
very interesting. Its amazing how many ments get more complex we need en-
new features there are in Oracle 11. hanced tools for managing these envi-
There are brand new features, existing ronments and for improving perform-
feature enhancements and a lot of en- ance as our databases get bigger. There
hancements to make Oracle faster. Ora- is also a strong need for improving the
cle 11 has added some very interesting management of advanced database fea-
enhancements in RMAN, Streams, Data tures such as RAC, Data Guard and
Guard, RAC, diagnosability, XML, secu- Streams. Oracle 11 strongly addresses
rity, Java, PL/SQL, Data Pump, tables, these areas.
tablespaces, partitioning, performance
and management to name a few area This is not a comprehensive list of all of
highlights. the new features in Oracle 11. Below is
more of a summary of key areas I like in
As I looked at the Oracle 11 release of Oracle 11 of the database server.
the database server one thing stood out
to me. Organizations really need to look High Availability (RAC, Data Guard,
at their database management strate- LifeCycle Management)
gies and how they are going to manage • Fast-Start Failover for maximum
all their databases in their environment. performance mode in a Data
I think it is VERY important that compa- Guard configuration.
nies leverage the new features in a da- • Compression of redo traffic (for
tabase and tie the use of the new fea- Gap Resolution) over the network
tures into their best practices. I have a in a Data Guard Configuration.
tendency to buy the hottest high tech- • Real-Time query of a physical
nology gadgets but historically I never standby database while redo apply
use more than 10 percent of the fea- is active.
tures. I find most customers are the • Dynamic setting of Oracle Data
same way with their databases. This is Guard SQL apply parameters.
bad because the new features in Ora- • A physical standby database can
cle10g can significantly reduce their cost be opened temporarily for report-
of ownership if organizations would use ing and testing. Redo is still ap-

© ALL RIGHTS PROTECTED


PAGE 3
WWW.TRUBIX.COM
FEBRUARY 01, 2007

plied while database is in this • A new MEMORY_TARGET parame-


state. ter that will improve the automatic
• Online database upgrades for data memory management across
guard physical standby. Can up- shared and private memory areas.
grade logical standby database, • Simplified Temp Space Manage-
then run both in parallel, then ment
switch them. • Enhanced OFA Support
• Can take standby databases, and • Server side connection pooling.
take them out of standby to do • Secure configuration install option
testing and can then move them • Stronger Password Protection
back into standby modes. • Improved statistics generation for
• RAC enhancements in OEM for partitioned objects.
monitoring and diagnostics. A lot • Security enhancements with
of nice enhancements. transparent tablespace and LOB
• Improved metrics. encryption.
• Next generation RAC cache fusion • SQL Repair Advisor
is even more scalable. • Automatic Diagnostic Repository
• Query results caches (ADR)
• Fast caching of query/function re- • Fast ANALYZE: Finding Table-Index
sults for read-mostly data Corruptions
• Good enhancements to ADDM for • Automatic SQL Tuning with Self-
diagnosing and tuning an entire Learning Capabilities that can
RAC cluster as well as individual identify top SQL statements and
instances.. This includes improved tunes them automatically by cre-
diagnostics with Global cache in- ating SQL profiles.
terconnect issues and global re- • Better SQL plan management al-
source contention, I/O bandwidth lows the optimizer to maintain a
and hot blocks. history of
execution plans for a SQL state-
RMAN ment. The optimizer can move to
• A Virtual Private Catalog can now a new plan when it able to verify it
make sure an RMAN user can only is more efficient than an old plan.
see databases they are authorized • Streams management improves
to use. with automated alerts for
• Archive log management for Streams, a new DBMS_COMPARI-
Streams and Data Guard SON package than can help evalu-
• Network aware DUPLICATE ate the consistency of data across
• Optimized undo backup databases, splitting and remerging
• Improved corrupt block detection of streams, LCR marking and
tracking for diagnosing configura-
Manageability tion issues, views and interfaces
for understanding a Streams to-

© ALL RIGHTS PROTECTED


PAGE 4
WWW.TRUBIX.COM
FEBRUARY 01, 2007

pology and a Streams Perform- • Fine-Grained Access Control on


ance Advisor. Network Call-outs from the Data-
• Migration of DBMS_JOB jobs to base. New packages
the Oracle scheduler. DBMS_TCP_AMIN and
• SQL Test Case Builder • DBMS_IMADDR_ADMIN can con-
• Automatic Health Monitoring trol which hosts on the Internet an
• Manage and schedule jobs across Oracle user can access with PL/
multiple databases. This includes SQL packages.
external jobs (i.e. shell scripts). • Secure service registration with
the listener out of the box.
Automatic fault diagnostics
• New facilities to capture and man- Performance - Some areas that stand
age relevant information for inci- out as getting faster in Oracle 11 in-
dents to speed support processes clude:
• Support workbench. • Faster Data Guard.
• Repair advisors (coming in future • Faster simple SQL operations.
releases) Faster SQL with caching of fre-
• Speed analysis of root cause for quently used SQL results.
faults • Faster DML triggers.
• Advice dbas on repair strategy • Faster upgrades.
• The goal is to cut down on the • Faster PL/SQL and Java (auto na-
trace files that are sent to Oracle. tive compilation). Caching of fre-
quently used procedures and func-
Enterprise Manager Enhancements tions results.
• Support for ASM File Access Con- • Faster statistics generation.
trol, ASM Manageability, ASM Roll- • Faster sort operations.
ing Migrations, OCR and Voting, • Faster SQL with the caching of
Disk in ASM, Disk Resync, Disk frequently used SQL results.
Zones, and Infrastructure. Secu-
rity enhancements with ACL and Java, PL/SQL, XML, .NET, PHP, APEX
Security Classes. • PL/SQL Native Compilation With-
• Database cloning enhancements. out Needing a Third-Party C Com-
• Expected enhancements to the piler.
Database Home Page and Per- • Native PL/SQL use of Seq.Nextval
formance change as well as im- in a PL/SQL program.
proved metrics, archiving and • PL/SQL can use CLOBs to get
purging tracing and alert files, around 32KB limitation of SQL
group copy of tnsnames.ora and character strings.
viewing trace files, management • Enhanced PL/SQL warnings and
of Oracle Text Indexes, error messages.
• New LogMiner enhancements in
Enterprise Manager.

© ALL RIGHTS PROTECTED


PAGE 5
WWW.TRUBIX.COM
FEBRUARY 01, 2007

• PLSTIMER identifies hotspots and that allows a XMLType to be used


performance tuning opportunities with a session pool model of con-
in PL/SQL. nection management.
• New package DBMS_HPROF con- • APEX will be standard with an em-
trols the recording of raw PLSTI- bedded PL/SQL gateway.
MER data. • APEX will have an application
• Continued support of standards packager for packaging and de-
with JDBC 4.0 and JVM 5.0. Capa- ployment of APEX applications.
bility to upgrade to JVM 6.0 will be
available in the future. Data Pump Enhancements to use
• Oracle JVM JIT supports transpar- when you're moving data
ent native Java compilation with- • Compression and encryption en-
out a C Compiler. hancements
• Significant performance improve- • Support for XML Schemas and
ments with JDBC performance es- schema-based tables.
pecially with Advanced Queuing. • Transportable partitions
• JDBC supports server side result
cache alone with OCI client side Data Warehousing and Analytics to
result cache. Additional things I use on a Friday night
liked included the "big" improve- • New DETECT option for unusual
ments in the JIT and RAC support records.
for JDBC. • New MAP option for detecting pro-
• New command line interface to files.
Oracle JVM making it a lot easier • New PROFILE feature for find de-
to work with the JDK in the data- fined patterns.
base. • New analytics and data mining
• Support for database resident
JARs. Partitioning Enhancements that you'll
• JDBC support for starting and like
shutting down the database. • Partition by parent/child reference
• Performance enhancements to • Partition orders and order_lines
XPath query for Java. together
• XML applications can now process • Virtual column partitioning
larger XML documents by loading • Partition on virtual order status,
and saving . active, less active, derived from
• DOM nodes in memory and using multiple status fields in order re-
a page manager for physical bi- cord
nary data management. • Referential partitioning
• Unified Java API for XML allows • More composite partitioning
mid-tier Java programs to lever- • List/range, range/range, list/hash,
age lazily loading by allowing a list/list
disconnected mode of operation

© ALL RIGHTS PROTECTED


PAGE 6
WWW.TRUBIX.COM
FEBRUARY 01, 2007

• Ex: order status/month, month/


day Secure Files (Next generation LOBS)
• Automatic interval partitioning • Eliminates need for file systems.
supports the automatic creation of Very fast access of files.
time-based partitions. • Just as fast as file systems with all
• Single partition transport ta- the capabilities of the Oracle data-
blespace base (it’s a new LOB type). It
is very fast. It is fast as accessing
Automatic Storage Management the files from a file system, oracle
• Convert Single-Instance ASM to believes they will make it faster.
Clustered ASM by allowing ASM to • Store all your data in the database
be configured on all nodes. with one consistent:, Security and
• ASM gets even better in Oracle 11. auditing model
Some of the new features include: • Backup and recovery mechanism
• A new SYSASM role allows the • Storage management (ASM)
separation of database manage- • Transaction and concurrency
ment and storage management model
responsibilities. • Interface and protocol
• ASM Fast Disk Resync brings a re- • Values added services like encryp-
paired ASM disk on line in a much tion, compression, and de-
shorter time. duplication
• ASM manageability gets better
with enhancements to the LOBS
ASMCMD utility, a new mount • Fast bulk data transfers
mode for rebalance performance, • LOB prefetch (where was this in
disk group metadata backup and Oracle 8 when we needed it)
improved disk group compatibility • InterMedia enhancements to LOBs
across software versions. • SecureFiles compression, encryp-
• Support for ASM Rolling Migrations tion and optimization
for different versions of Oracle 11g • Installs/Deinstalls and other fun
and upward. on weekends

Change assurance (important for sav- XML DB


ing money during testing) • XML index enhancements ( very
• Database replay – captures ac- important!)
tual production workload and re- • XSLT performance enhancements
plays it on a test system. • NFS v4.0 support
• SQL performance analyzer – • Enable the XDB HTTP Server for
finds and fixes SQL performance SOA (the Oracle database is a
degradations service)
• 10gR2 will have a patch set, that • Updates to registered XML Sche-
will allow the replay to occur. mas

© ALL RIGHTS PROTECTED


PAGE 7
WWW.TRUBIX.COM
FEBRUARY 01, 2007

• Optimizations for XQuery and


XPATH
• XML DB repository trigger Oracle database training in RAC,
• Recursive XML Schema handling Streams, ASM, Oracle Clusterware, Data
• Support of SQL/XML standards Guard, DBA I, DBA II, Performance Tun-
(SQL 2005) ing, Partitioning, ...
• XBRL validation and XLink valida-
tion
• Binary xml storage Oracle Fusion training Oracle Appli-
• Enhanced xml indexing cation Server, J2EE, Web Services, ADF,
• Schema evolution TopLink, SOA, XML, ...

Miscellaneous Enhancements
• Virtual columns (functions) on ta- Training in Linux, Solaris, Unix,
bles. Indexes on virtual columns. SQL Server, Java, ...
• Enhancements to DBMS_SQL sup-
porting LOBS, user-defined types
and bulk operations. This spring, Trubix will be launching
Tru iLearning , a True Interactive
Security Learning system containing visual,
• Enhanced passwords (case sensi- video, audio and instructor interaction in
tive and enhanced password algo- a self-based online environment.
rithm). Highlights of the Tru iLearning launch
• Security on ports and URLs for will be:
FGAC (i.e. UTL_HTTP, UTL_SMTP,
• Oracle DBA Fusion training track.
UTL_TCP).
• Oracle Developer Fusion training
track.
Installs/Deinstalls
• Oracle 10g RAC offerings available
• 9iR2 <-> 11g upgrade/downgrade
in English and Spanish.
• 10gR1 <-> 11g upgrade/
• Oracle 10g DBA Workshop for Ap-
downgrade
plication Vendors.
• 10gR2 <-> 11g upgrade/
Beta customers are currently working
downgrade
with Tru iLearning solutions. Watch for
details of our launch for this exciting
Although you may not be moving to
product.
Oracle 11g anytime soon having an un-
derstanding of future Oracle directions is
important.

This article was written by Trubix. Visit


us at www.trubix.com to learn more
about our training offerings.

© ALL RIGHTS PROTECTED


PAGE 8

You might also like