Вы находитесь на странице: 1из 100

4/AB3@/>>23D3:=>;3<B

A3/;:3AA5@727<B35@/B7=<
A/D3;7::7=<A

>719/<GB6@33=@/1:3272

ORACLE DOESN’T NEED TO MAKE COMPROMISES.


And you don’t have to either. Oracle saved a ton of resources (and money) by consolidating storage
on our easy-to-manage single-storage architecture. They also use NetApp storage for their grid
infrastructure, so you know our solutions will integrate seamlessly into your Oracle grid environments.
With NetApp, provisioning is easy and nondisruptive. Cloning is effortless and near-instantaneous,
so you can run more tests in less time, accelerating QA cycles and application development. It’s no
wonder we’re trusted by the world’s greatest companies, like Oracle. We’re proud to have Oracle as
our customer and partner. It’s the kind of relationship we live for.

SETTLE FOR EVERYTHING WITH NETAPP.

Save your bottom line along with your data at www.netapp.com/bizapps or call 1-866-237-8987.

© 2007 Network Appliance, Inc. All rights reserved. Specifications subject to change without notice. NetApp and the Network Appliance logo are registered trademarks and Network
Appliance is a trademark of Network Appliance, Inc. in the U.S. and other countries. Oracle is a registered trademark of Oracle Corporation. All other brands or products are trademarks
or registered trademarks of their respective holders and should be treated as such.

orcaclemag_partner_oracle_0629.i1 1 6/26/07 11:47:53 AM


SEPTEMBER/OCT O BE R 2 0 0 7 O R A C L E.C O M /O R A CLEMA GA ZI NE

MANAGE
CHANGE
WITH ORACLE DATABASE 11g
NEW FEATURES SPEED
INNOVATION AND TRANSFORM
THE ENTERPRISE

OPEN AND THE POWER MORE PARTITIONING


SECURE /54 WITHIN /58 CHOICES /73
www.prodesign.de

Best-in-class architecture

© 2007 Fujitsu Limited. All rights reserved. Fujitsu, the Fujitsu logo and PRIMEQUEST are registered trademarks or trademarks of Fujitsu Limited in the United States and other countries.
All designations used in this document may be trademarks, the use of which by third parties for their own purposes could violate the rights of the trademark owners. Changes in design
and technology are reserved. Intel, Intel Logo, Intel Inside, Intel Inside Logo, Itanium, Itanium Inside are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the
United States and other countries.
for Oracle solutions.
FlexFrame™ for Oracle
Pre-integrated and pre-tested, FlexFrame™ for Oracle paves the way for greater
flexibility and cost effectiveness in applications based on Oracle Application
Server or Oracle Database. This innovative infrastructure solution distributes
resources, replacing rigid hardware and software configurations with virtual
relationships.

PRIMEQUEST™
The fault-immune PRIMEQUEST™ server represents best-in-class SMP capabilities
for Itanium®-based systems. With its high performance memory sub-system,
PRIMEQUEST™ is designed to support robust and demanding database workloads.

Benefit from two best-in-class dynamic IT infrastructure solutions today.


Be ready for Service-Oriented Architecture tomorrow. We make sure.

www.fujitsu-siemens.com www.fujitsu.com
Revealed
They tried so hard to conceal it, but it’s not a secret any longer. Here is an
advance look at some of the details … revealed before it’s available: a set of
indispensable, easy-to-use, highly professional tools for everyday use. No
fancy toys or extremely costly tools. Not just nice to have. It will be a new
age for Oracle DBA’s and PL/SQL developers. World class tools available
at an unbeatable price-performance level.

ORACLE DBA
Sophisticated COMPARE DATABASE or SCHEMA or OBJECT (highly
flexible synchronize them), DATABASE EXAMINER (21 instant groups of facts from
your Oracle DB), DATABASE MONITOR (advanced diagrams, set alert limits, ...),
TOP SESSION LOCATOR, DB HEALTH CHECK, … and more to come!

ORACLE PL/SQL
SQLDetective is already the choice of thousands of PL/SQL developers in
over 25 countries worldwide. Version 4.0 offers new features and many
improvements for them. Together with its tools for Oracle DBA’s and its
extensive range of over 40 tools for PL/SQL developers, SQLDetective 4.0
will be a better choice than ever before. We believe it’s simply the best that
Oracle developers and DBA’s can get for their money. Buy SQLDetective
now, and save money with a FREE (equivalent) upgrade to 4.0!

SQLDetective 4.0
www.sqldetective.com

SQLDetective 4.0 is expected by the end of Oct. 2007


When information
comes together,
your business
is more agile.

Information lives in companies that handle challenges nimbly. EMC® solutions for midsize enterprises start small and grow as your business
grows—giving you the agility, adaptability, and resourcefulness to be sure that technology meets the needs of your business. You can store,
back up and recover, archive and protect your information, and optimize your applications and databases more efficiently, affordably, and
reliably than ever. So you can handle the information management and storage challenges you face every day. Learn more at
www.EMC.com/information or call 866-796-6369.

EMC2, EMC, and where information lives are registered trademarks of EMC Corporation. All other trademarks used herein are property of their respective owners. © 2007 EMC Corporation. All rights reserved.
CONTENTS VOLU M E XXI , I SSUE 5

F E AT UR E S
MANAGE CHANGE
WITH ORACLE DATABASE 11g
Oracle Database 11g
includes a broad array
of new features and
OPEN and
capabilities, from grid SECURE
computing and data Data security, access,
security to high availability and compliance:
and manageability, all of controlling who gets to
which will help companies see what information
manage change better and or manage which data is today’s
faster. Learn how it can business imperative. See how
transform your enterprise. Oracle helps manage these
—David Baum mission-critical tasks.
/36 —David A. Kelly
/54
Cover by Richard Merchán

GET READY FOR THE THE POWER


BIGGEST EVENT
OF THE YEAR
WITHIN
Oracle embedded databases work behind
Innovation. Inspiration. Information.
the scenes and undercover, driving
Find out what’s coming at Oracle
software applications and hardware
OpenWorld 2007, including keynotes,
appliances. Find out how companies
programs for DBAs and developers,
power their success at the edge of the
technology presentations, and more.
enterprise with Oracle. —Alan Joch
/17 /58
DE PAR T M E NTS

16
From Our Readers/ 12
From the Editor / 14
AT OR AC LE
Innovation Matters
—Tom Haunert Events / 16 OTN Bulletin / 19
Find out about current and Learn what’s happening with Oracle’s most
upcoming industry events. dynamic online community.

Oracle Resources / 18 Oracle News Briefs / 20


Your guide to Oracle’s broadband, Interview / 23
education, online offerings, Andy Mendelsohn, senior vice president of
and more Database Server Technologies at Oracle, talks
about innovations in Oracle Database 11g.

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 5

SO07_TOC.indd 5 7/19/07 11:50:13 AM


CONTENTS

26 C OM MU NI TY
Commitment / 26
Oracle supports CARE’s education initiatives in
impoverished Uttar Pradesh.
73 TEC HNOLOGY
PAR TITIONING
Partner News / 28 More Partitioning Choices / 73
Cisco Systems, Zend Technologies, Ingram Learn when and how to use new partitioning schemes in
Micro, Tech Data, Fujitsu, Dell Inc., PANTA Oracle Database 11g. —Arup Nanda
Systems, HP, IBM, Sun Microsystems,
Applimation, Sierra Atlantic S TOR AGE
Faster, Safer, and Smaller LOBs / 77
Book Beat / 28
Oracle SecureFiles provides increased performance, better
Peer-to-Peer / 30 security, and reduced disk usage.
Lutz Hartman, Eric — Jonathan Gennick
Marcoux, Daniel
Uehara S QL DEV ELOP ER
Moving to an Oracle Database / 81
Use Oracle Migration Workbench to migrate third-party
schema objects to an Oracle database. —Sue Harper

AS K TOM
On Oracle Database 11g / 85
Our technologist takes a look at the server results and

63
PL/SQL function caches. —Tom Kyte

D EVEL O PER
F RA MEWO RKS
Defining a Cascading List of Values / 63
90 R ES OUR C ES
Oracle Certified Partner Index / 90
Setting up LOVs is easier than ever with Oracle
JDeveloper 11g. —Steve Muench Advertisers’ Index / 94

92
B RO WSER-B A SED
Express Web 2.0 / 67
C OMMENT
Create dynamic interfaces that minimize page refresh
with Oracle Application Express. —David Peake IN THE FIELD
What’s New in Oracle Database 11g / 92
PL / SQ L PRA CTI CES The latest version of the database has great new
On the PL/SQL Function Result Cache / 71 features for everyone. —Ari Kaplan
Best practices—and preparation—for PL/SQL in Oracle
Database 11g. —Steven Feuerstein ALL S EC UR E
Automating Security / 93
Papa’s got a brand-new bag (of tools).
—Mary Ann Davidson

ANALY S T’ S C OR NER
Secure Data for Every Business Need / 96
Burton Group’s Trent Henry discusses why new
needs for compliance mean tighter access
control. —David Baum

6 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_TOC.indd 6 7/19/07 11:50:15 AM


Unlock
the Grid.
Storage solutions from Pillar Data Systems® extend the traditional benefits of Oracle
Grid computing environments with unparalleled cost reductions and simplified
management (across the database and storage layer). The Pillar Axiom® storage
system enables SAN, NAS or both in a single storage pool. Plus, you can add
performance and capacity, and manage it all through one powerful interface.
 
The Pillar Axiom storage system enables Oracle customers to drastically reduce
their storage acquisition costs while maintaining database performance. And the
best part is how easy it is. No complicated migrations, patched-together storage
pools or substandard configurations. Learn how our partnership with Oracle has
made Pillar the best choice for networked storage. Call 1.877.252.3706 or visit
www.pillardata.com/oracle

© 2007 Pillar Data Systems Inc. All rights reserved. Pillar Data
Systems, Pillar Axiom, AxiomONE and the Pillar logo are all
trademarks or registered trademarks of Pillar Data Systems.
HOW DOES YOUR
BUSINESS INTELLIGENCE
E DITORIAL

Editor in Chief Tom Haunert


STRATEGY MEASURE UP?
tom.haunert@oracle.com

Senior Managing Editor Caroline Kvitka


caroline.kvitka@oracle.com
If your BI strategy is more anemic than
strategic, then it may be time to take a look
Features Editor Kay Keppler
at Oracle BI Enterprise Edition (OBI EE). We
kay.keppler@oracle.com
can help. Using our training offerings through
Contributing Editor and Writer
BICG University, our custom methodology
Blair Campbell
designed specifically for OBI EE projects,
Editor in Chief, OTN Justin Kestelyn and our deeply experienced project
justin.kestelyn@oracle.com teams, organizations
Technology Advisor Tom Kyte across the globe are
Contributing Writers making the most of their
Marta Bright, Ed DeJesus, Jeff Erickson, Oracle BI Enterprise Edition
Aaron Lazenby, Fred Sandsmark, Rich Schwerin deployments.
DE SIGN
Design Director Richard Merchán
With more than 250 OBI EE
projects completed, BI
SUBSCRIP T ION INF ORMAT ION Consulting Group is Oracle’s
Subscriptions are complimentary for qualified individuals who largest consulting partner
complete the subscription card found in each issue or online dedicated exclusively to
at oracle.com/oraclemagazine. For change of address,
Oracle BI Enterprise
mail in label with the new address to Oracle Magazine,
P.O. Box 1263, Skokie, IL 60076-8263.
Edition.
MAGAZ INE CUSTOME R SE RVIC E
oracle@halldata.com, fax +1.847.763.9638,
phone +1.847.763.9635

RE SOURCE S
Oracle Products +1.800.367.8674 (U.S./Canada)
Oracle Services +1.888.283.0591
Oracle Press Books www.oraclepress.com

Printed by Brown Printing

P RIVACY
Oracle Publishing allows sharing of our mailing list with
selected third parties. If you prefer that your mailing address
or e-mail address not be included in this program,
contact Customer Service at oracle@halldata.com. To Learn How We Can Help
Make the Most of Your
Copyright © 2007, Oracle. All Rights Reserved. No part of this publication may Business Intelligence
be reprinted or otherwise reproduced without permission from the editors. ORACLE
MAGAZINE IS PROVIDED ON AN “AS IS” BASIS. ORACLE EXPRESSLY DISCLAIMS
Strategy, Call us at
ALL WARRANTIES, WHETHER EXPRESS OR IMPLIED. IN NO EVENT SHALL 651.767.3687 or Visit
ORACLE BE LIABLE FOR ANY DAMAGES OF ANY KIND ARISING FROM YOUR USE
OF OR RELIANCE ON ANY INFORMATION PROVIDED HEREIN. The information
www.biconsultinggroup.com
is intended to outline our general product direction. It is intended for information
purposes only, and may not be incorporated into any contract. It is not a commitment
to deliver any material, code, or functionality, and should not be relied upon in making
purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.

Oracle is a registered trademark of Oracle Corporation and/or its affiliates.


Other names may be trademarks of their respective owners.

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 9

SO07_TOC.indd 9 7/24/07 10:22:31 AM


Oracle_Citrix_Revised2.eps 6/27/07 4:03:03 PM

what if
EVERYTHING WENT 5X FASTER?

CM

MY

CY

CMY

Faster Application Delivery. Fast is good. Faster is better. With


Citrix® NetScaler®, you can dramatically accelerate performance for external
Web sites and enterprise Web applications by up to 5X. NetScaler also
simplifies security, management and application availability, making it easy
to accelerate your Web application delivery. Download your free Speed Brief
and learn how to increase your Web application performance by up to 5X at
www.citrix.com/simplyfaster3.
© 2007 Citrix Systems, Inc. All rights reserved. Citrix® and Citrix® NetScaler ® are trademarks of Citrix Systems, Inc. and/or one or more of its subsidiaries, and may be registered
in the United States Patent and Trademark Office and in other countries. All other trademarks and registered trademarks are property of their respective owners.
WHAT’S THE COST OF A
WORLD CLASS BI EDUCATION?
P UBL ISHING
Publisher HOW DOES FREE SOUND?
Jeff Spicer
jeff.spicer@oracle.com

ADVE RT ISING SAL E S


Associate Publisher
Kyle Walkenhorst
kyle@sprocketmedia.com
+1.323.340.8585

Northwest & Central U.S., Technology


Tom Cometa
thomas.cometa@sbcglobal.net
+1.510.339.2403

Southwest U.S. Technology & Consumer


Shaun Mehr
shaun@sprocketmedia.com
+1.949.923.1660

MidAtlantic U.S., Technology & Consumer


Dawn Becker and Lisa Rinaldo
dbeck71@optonline.net
+1.732.772.0160

Northeast U.S./Canada, Technology & Consumer


Ann and David Schissler
schissler@comcast.net
+1.508.394.4026

Europe/Middle East/Africa/Asia Pacific, Technology


Mark Makinney
mark.makinney@oracle.com
+44 0 1273 774341

Mailing-List Rentals
Edith Roman Associates
+1.800.223.2194, Ext. 684

P RODUCT ION & OP E RAT IONS


Sales and Production Director
Jennifer Hamilton
jennifer.hamilton@oracle.com
+1.650.506.3794

Circulation Manager
Karin Kinnear
karin.kinnear@oracle.com

E DITORIAL BOARD

Ian Abramson, Jeff Bernknopf, Karen Cannell, Andrew Clarke,


Chris Claterbos, Karthika Devi, Kimberly Floss,
Kent Graziano, Taqi Hasan, Tony Jambu, Tony Jedlinski,
Ari Kaplan, Val Kavi, Steve Lemme, Carol McGury,
Sumit Sengupta, Danisment Gazi Unal, Jonathan Vincenzo,
Dan Vlamis, Billy Yu
WWW.BICONSULTINGGROUP.COM

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 11

SO07_TOC.indd 11 7/24/07 10:22:31 AM


f r o m o u r READERS

Your corrections, your opinions, and your requests:


Here’s your forum for telling us what’s right and
wrong in each issue of Oracle Magazine, and for
letting us know what you want to read.

WHERE’S THE CHOICE? community/ofm_directors)—recognized learners like me, you include more
I found the headline of the cover story Oracle community members and leaders. Oracle code and scripts in the pages of
of Oracle Magazine’s May/June issue, All who are interested in appearing in the magazine.
“Develop with Choice,” to be rather Peer-to-Peer can send their contact infor-
ironic. The article did indeed describe mation as well as links and references to Femi Famejo
some choices and options that develop- their Oracle community contributions to hollaffo@yahoo.com
ers have, but it did not cover Oracle opubedit_us@oracle.com.
Developer! This is still an excellent IN NEED OF PRIVACY
development tool for creating data entry NEWBIES SEEK ENLIGHTENMENT I am a regular reader of Oracle Magazine,
applications for Oracle. I’m a regular reader of Oracle Magazine, and I would be grateful if you could
and I suggest you include introductory please provide more information on
Mark Geerlings articles for Oracle beginners like me on Oracle Virtual Private Database and
mark.geerlings@gentex.com topics such as installation and creating its features.
a database.
LOOKING FOR MY PEER COUSINS Raj Boddu
Oracle Magazine has been of immense Oguntuase Busayo Afolabi rajasekharb@gmail.com
help to me because it keeps me abreast Oguntuase@gmail.com
of what is happening in the world of NO CHEMISTRY
Oracle Database features, skills, and I suggest including more articles for “Producing Parameterized Pages,” the
so on. I love reading the Peer-to-Peer newbies. I believe that they would Frameworks column in the July/August
column in your magazine, because there be both more enlightened and more issue (otn.oracle.com/oramag/oracle/
I get to read about my cousins in the encouraged if just a page or two could 07-jul/o47frame.html), deals with an
world of Oracle. But there are good be dedicated to beginners. excellent topic. However, it was hard
Oracle programmers and developers to follow because there was not even a
in Africa, and you are not really doing Kehinde Adedipe single diagram or snapshot illustrating
them justice if you are not coming down kennyadex83plus@yahoo.com the steps. It is a magazine article—not
to Africa to have a chat with them and a formula for a chemical process.
publishing them in that column. SEARCHING FOR SAMPLES
I am a regular reader of your maga- Ammar Sajdi
Anyasor Chigozie D. zine, and I have been working with the ammar.sajdi@realsoft-me.com
TaviaM@mtnnigeria.net sample code you publish. I really appre-
ciate that content. I request that you also
Peer-to-Peer candidates are active Oracle publish Oracle Database installation and
community members from all over the configuration content for new users.
world who distinguish themselves by con-
tributing to Oracle Technology Network, Adeghe I. John
send mail to the EDITOR
Send your opinions about what you read in Oracle
Oracle Magazine, Oracle discussion adebor2000@yahoo.com
Magazine, and suggestions for possible technical
forums, and/or organizations, sites, and articles, to opubedit_us@oracle.com.
publications that focus on Oracle technology. I am a regular reader of Oracle Magazine Or click on the Write the Editors link on our Web
Recent Peer-to-Peer columns have featured and a SQL programmer, and I must site, oracle.com/oraclemagazine.
Oracle ACEs (otn.oracle.com/community/ commend your effort especially on the Letters may be edited for length and clarity and
may be published in any medium. We consider
oracle_ace) and Oracle Fusion Middleware SQL scripts and code in the magazine. any communications we receive publishable.
Regional Directors (otn.oracle.com/ I want to make a plea that for Oracle

12 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_Readers.indd 12 7/17/07 11:17:42 AM


DMExpress is the Faster ETL!

44% Faster
than Informatica

67% Faster
than DataStage

5 hrs DMExpress is the high-speed ETL tool designed


to meet the challenges of data warehousing,
BI, and other mission-critical applications. When
2.8 hrs 3 hrs
processing large amounts of data, DMExpress
can save you many hours, even days. For a free
1 hr consult or proof of concept, call (201) 930-8200 or
Informatica DMExpress DataStage DMExpress visit www.syncsort.com /SpeedETL www.syncsort.com

Results are based on specific tests and may vary depending on environment. If you would like to verify DMExpress’s superiority in your current application, please contact us to arrange a free trial.
Syncsort® and DMExpress® are registered trademarks of Syncsort Incorporated. All third-party trademarks are the property of their respective owners.
f r o m t h e EDITOR

Innovation Matters
Oracle Database 11g reduces risk and speeds change in the enterprise.
aunched in July 2007, Oracle Database 11g continues Oracle Database 11g can help manage that growth. The new
the tradition of Oracle innovation. In addition to deliver- advanced compression option supports compression during
ing the secure data management that customers expect INSERT, UPDATE, and DELETE operations—which can also
from Oracle, Oracle Database 11g answers customer speed the performance of subsequent queries, as well as the
demands for both fast, reliable software that minimizes risk compression and deduplication of unstructured data.
and a platform to speed innovation. With features designed Beyond reducing disk space used via compression, today’s
to speed the testing, deployment, patching, and upgrading of information lifecycle management (ILM) initiatives seek to
enterprise infrastructure; provide more-efficient disk usage and store data in the most cost-effective locations, and database
information lifecycle management; and support more types of partitioning is an important part of ILM. New partitioning
data and larger data volumes with faster data access, Oracle options in Oracle Database 11g include partitioning by parent/
Database 11g is committed to making your enterprise innova- child references, interval partitioning, partitioning by virtual
tion move faster. columns, and more composite partition options. See Arup
This issue of Oracle Magazine takes a first look at key fea- Nanda’s “More Partitioning Choices” (page 73) for detailed
tures of Oracle Database 11g and how they support customer how-to information on partitioning in Oracle Database 11g.
innovation in the enterprise. Oracle Database 11g provides storage and access for both
relational and object data, including image, large text object,
REAL TESTING, REAL LIFECYCLE XML, DICOM, and geospatial files. New applications require
Moving to new database releases, moving to new hardware, and fast access to a variety of different object data, and Oracle
migrating to different operating systems all require extensive SecureFiles in Oracle Database 11g provides a new and faster
planning and testing. But building and executing truly repre- high-performance architecture for large object (LOB) storage.
sentative tests for these moves and migrations has traditionally Oracle SecureFiles also provides compression, transparent
been a complex, risk-intensive, and time-consuming process. encryption, and transparent deduplication, which reduce the
In Oracle Database 11g, Oracle Real Application Testing disk space required and improve the security of LOBs. See
reduces risk and makes it faster and easier to test systems, Jonathan Gennick’s “Faster, Safer, and Smaller LOBs” (page 77)
identify problems, and create solutions before and after data- for information on how to use Oracle SecureFiles.
base upgrades and hardware and operating system changes.
Oracle Real Application Testing includes the database replay CUSTOMER INNOVATION
feature, which lets you capture and replay a true production In “Manage Change with Oracle Database 11g” by David
workload, and SQL performance analyzer, which identifies SQL Baum (page 36), several Oracle customers talk about the
execution plan changes and performances regressions. improvements they expect to achieve by using key Oracle
Industry estimates indicate that enterprise databases will Database 11g features, including Oracle Real Application
triple in size every two years, but new compression features in Testing, automatic SQL tuning, automatic memory tuning,
hot patching, and Oracle SecureFiles, as well as enhancements
in Oracle Real Application Clusters and the automatic database
diagnostic monitor.
Oracle Magazine columnists Steven Feuerstein, Ari Kaplan,
DISCUSS Oracle Database 11g
forums.oracle.com/forums/category.jspa?categoryID=18
and Tom Kyte also discuss Oracle Database 11g features in this
DOWNLOAD Oracle Database 11g issue, and in the new Interview column, Rich Schwerin talks
otn.oracle.com/database about Oracle Database 11g with Oracle Senior Vice President
LISTEN to the Oracle Database 11g podcast of Server Technologies Andy Mendelsohn. (You can listen to the
otn.oracle.com/syndication/magcasts complete interview at otn.oracle.com/syndication/magcasts.)
READ more about And there’s a lot more Oracle Database 11g coverage coming
Oracle Database 11g up fast in future issues of Oracle Magazine, so stay tuned.
oracle.com/database

Oracle Database 11g: Top features for DBAs and developers


otn.oracle.com/11gdba
Tom Haunert, Editor in Chief
tom.haunert@oracle.com

14 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_EdNote_X.indd 14 7/17/07 10:54:49 AM


Untitled-3 1 7/19/07 12:07:51 PM
a t O r a c l e EVENTS
ORACLE USER
GROUPS
Quest Midwest Conference
September 6–7, Schaumburg, Illinois

Technology Events www.questdirect.org/questdirect/events


Midwest Oracle Users Group
Fall Conference
Conferences and sessions to help you stay on the cutting edge September 7, Chicago
www.moug.org
UKOUG PeopleSoft Financials
Digital ID World SIG Meeting
September 24–26, September 11, London
www.ukoug.org
San Francisco
Featuring more than 40 hours of East Tennessee Oracle Users
Group Meeting
presentations covering all aspects of identity
September 17, Oak Ridge, Tennessee
solutions—including deployments, identity- easttennessee.oracle.ioug.org
based technologies, standards, business
Australian Oracle User Group
processes, and Web services security— Applications Meeting
Digital ID World attracts thought leaders, September 19, Sydney, Australia
developers, and identity solution providers. www.ausoug.org.au
Learn more and sign up at conference UKOUG JD Edwards EnterpriseOne
.digitalidworld.com/2007. SIG Meeting
September 20, London
www.ukoug.org
Gartner Business Process Oracle Business Intelligence,
Management Summit Warehousing and Analytics Northeast Ohio Oracle Users
Group Meeting
September 17–19, Orlando, Florida Special Interest Group Summit September 21, Independence, Ohio
This business process management confer- October 2–3, Reston, Virginia www.neooug.org
ence covers building a business case, best Designed to accelerate the success of busi-
Ottawa Oracle User Group DBA/
practices, the role of change management, ness intelligence, warehousing, and analytics Developer Day
metrics and return on investment, modeling users, this first-ever summit provides a forum September 21, Ottawa, Canada
and methods, and business/IT alignment. Sign for sharing best practices, useful informa- www.oug-ottawa.org
up at www.gartner.com/it/page.jsp?id= tion, novel and innovative methods, and other New York City Metro Area Oracle
501307&tab=overview. issues. Sign up at www.OracleBIWA.org. Users Group Meeting
October 2, New York City
www.nyoug.org
AJAXWorld Conference & Expo Oracle Clinical User Group
September 24–26, Santa Clara, California 12th Annual Conference Australian Oracle User Group Meeting
October 3, Brisbane, Australia
Join more than 1,000 developers, architects, October 7–10, Atlanta, Georgia
www.ausoug.org.au
IT managers, and software professionals at The Oracle Clinical User Group (OCUG) is an
sessions covering offline Ajax, mobile Ajax, international group of users of Oracle Clinical Oracle User Group Scotland
Conference 2007
enterprise Ajax, Ajax security, desktop Ajax, software—a database system for capturing, October 4, Glasgow, Scotland
Ajax rich-internet-application GUIs, and more. storing, and processing clinical trial data—and www.ukoug.org
View the full agenda at www.ajaxworld.com. related applications. Learn about the group
Virginia Oracle Users Group
and register for the conference at www.ocug Fall Conference
Oracle Human Capital .webexone.com. October 4–5, Charlottesville, Virginia
Management Users Group www.voug.org
Conference Society for Information UKOUG App Server SIG Meeting
September 24–27, Las Vegas Management SIMposium 07 October 10, Midlands, England
Promising to be the largest Oracle Human October 7–10, Memphis, Tennessee www.ukoug.org
Capital Management (HCM) Users Group This conference for senior-level IT executives
meeting yet, this conference includes tracks and academic, business, and government IT eventsLOCATOR
for both Oracle E-Business Suite and Oracle’s thought leaders offers peer-to-peer exchange,
Oracle Events
ELIJAH MERCHÁN

PeopleSoft Enterprise users, special interest an enriching learning environment, access to oracle.com/events
group sessions, “Meet the Experts” sessions, practitioners at leading companies, and inno- Locate user groups
and hands-on labs. Learn more at www vations to leverage your business. Read more otn.oracle.com/collaboration/user_group
.ohug.org/index.php/general-information. at www.simnet.org.

16 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_Events.indd 16 7/17/07 11:03:11 AM


Oracle OpenWorld 2007 Special Section

Keynotes INNOVATION. INSPIRATION. INFORMATION.


Larry Ellison
CEO
Oracle
November 11–15, 2007 | Moscone Center | San Francisco
Oracle OpenWorld 2007, with more than 1,600 sessions, 500 exhibitions, and
Charles Phillips 41,000 attendees, promises to be even bigger and more information-packed
President than last year’s record-breaking conference. Showcasing the customers and
Oracle
partners whose innovation with Oracle translates to better business results,
Chuck Rozwat Oracle OpenWorld 2007 provides technologists and business leaders with the
Senior Vice President information—and inspiration—they need to drive innovation throughout their
Oracle
own companies.
Hector de J. Ruiz, PhD
Chairman of the Board Oracle OpenWorld 2007 Highlights
and CEO Innovation. Get inspired at Experience Innovation, a new Oracle OpenWorld extravaganza
AMD
sponsored by Intel that showcases how the innovations of today and tomorrow are changing the
Mark Hurd
Chair man of the Board, way we live, work, and play.
CEO, and President
HP Inspiration. Hear what industry thought leaders and featured keynote presenters have to say

Paul Otellini about the future of technology.


President and CEO Information. Choose from more than 1,600 technology, applications, and industry-specific
Intel
conference sessions. O Learn how Oracle uses leading development technologies to innovate
Thomas Kurian across its product lines at Oracle OpenWorld Develop. OAttend sessions just for Oracle’s JD
Senior Vice President Edwards customers. OGain insight at a special two-day program for Oracle’s Hyperion customers.
Oracle
Connection. Network with your colleagues before, during, and after the event with Oracle
John Wookey OpenWorld Connect. OCelebrate and mingle at the Welcome Reception, OTN Night, and
Senior Vice President,
Applications Development It’s a Wrap. O Party to the music of Billy Joel and Stevie Nicks with Mick Fleetwood at the
Oracle Appreciation Event.
Jonathan Schwartz
CEO and President Oracle thanks the following sponsors:
Sun Microsystems, Inc.
MARQUEE INNOVATION DIAMOND

Michael Dell
Chairman of the Board
Dell Inc.
PREMIER GRANDE ELITE PLATINUM

To learn more and to register go to oracle.com/openworld


Preregister for the Early Bird full conference: $1,950 (through Sept. 14th) | Onsite registration: $2,350

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 17

SO07_OOW_X.indd 17 7/20/07 10:58:03 AM


a t O r a c l e RESOURCES

What’s New at Oracle


The latest Webcasts, courses, and online content
NEW WEBCASTS upgrade process. Learn about features you Java and application server development,
Secure Enterprise Search—An A.T. Kearney can use to record production workloads, and discusses evolving customer requirements
Advantage then play them back in a test environment. for extreme scalability, reliability, and avail-
oracle.com/pls/ebn/live_viewer.main?p_ Oracle Database 11g: New Features for ability and how these can be addressed
direct=yes&p_shows_id=5591986 Administrators with an in-memory data grid such as
Find out why A.T. Kearney selected Oracle This five-day course gives participants Oracle Coherence.
Secure Enterprise Search as a core com- the opportunity to learn about the new
ponent and enabling technology within its change management features and other ORACLE NEWSLETTERS
knowledge management toolset, which key enhancements in Oracle Database Oracle Database Insider
allows its employees to quickly and securely 11g. Topic areas include managing change, oracle.com/newsletters
search the company’s global knowledge diagnosing and recovering from problems, Want to keep up with the latest develop-
repositories to rapidly assist clients. ensuring high availability, and improving ments in Oracle Database 11g? Subscribe
Driving Business Value from IT Investments scalability, performance, and security. to the monthly Oracle Database Insider
oracle.com/pls/ebn/live_viewer.main?p_ newsletter and stay on top of enhance-
direct=yes&p_shows_id=5588788 NEW PODCASTS ments and new features, articles on busi-
Sonny Singh, senior vice president, Oracle, The New SOA Standards: Web 2.0 in ness issues such as identity management
discusses the key questions driving IT the Enterprise and compliance, interviews with database
decision-making, how you can analyze and oracle.com/techcasts gurus, market news, and special offers.
improve the business impact of IT invest- Vince Casarez, vice president of develop-
ments, and what Oracle is doing to improve ment at Oracle, explains why many enter-
business results for its customers. prises are looking to add Web 2.0 services
Oracle Application Integration Architecture on top of their existing applications, and For Oracle product information, call the number for
oracle.com/pls/ebn/live_viewer.main?p_ how Oracle WebCenter, a key technology your region:
direct=yes&p_shows_id=5583522 in forthcoming Oracle Fusion Applications, Country Phone Number

Oracle executives Fred Studer, Charles provides infrastructure for that goal. U.S. and Canada .....................................1.800.367.8674
Australia ....................................................1800.735.467
Phillips, and Jose Lazares discuss Oracle The Latest Updates to Oracle’s Austria.......................................................0800.29.7626
Belgium ........................................................0800.73280
Application Integration Architecture and Applications Strategy Brazil .........................................................0800.901.985
how it fits into Oracle’s overall strategy. oracle.com/appcasts China.........................................................800.810.0161
Denmark.........................................................8088.1068
John Wookey, Oracle senior vice presi- Finland ......................................................0800.113.573
ORACLE UNIVERSITY dent, applications development, talks about France .......................................................0800.905.805
Germany.................................................0800.1.810.111
Oracle Database 11g course offerings new releases across all product lines, Greece.................................................00800.353.12020
Hong Kong......................................................3002.1246
oracle.com/education the path to Oracle Fusion, and what he is India ..........................................................1600.44.6725
(For all courses below, search keyword: 11g) hearing from customers around the world. Indonesia...........................................001.800.1.672.253
Ireland ........................................................1850.672253
Oracle Database 11g : New Features Overview The Value of Oracle’s Application Integration Italy ..............................................................8008.74720
This one-day seminar introduces par- Architecture to IT Managers Japan ........................................................0120.155.096
Malaysia ....................................................1800.80.1837
ticipants to the key new capabilities of oracle.com/appcasts Mexico...................................................01800.221.7321
The Netherlands .............................................0800.0827
Oracle Database 11g. Topic areas include Jose Lazares, vice president of Oracle’s New Zealand .............................................0508.555.215
new features for managing storage, Application Development organization, Norway...........................................................800.14411
Philippines........................................................811.5831
ensuring high availability, improving scal- talks about Oracle Application Integration Portugal.......................................................800.853.021
ability and performance, strengthening Architecture and how it helps provide a Singapore ................................................1800.6722.531
South Africa...............................................0800.994.225
security, and managing data warehouses. pathway to Oracle Fusion Applications. South Korea...............................................080.2194.114
Spain............................................................900.952900
Oracle Database 11g : Change Management The Solution to Spiraling Scalability Demands: Sweden ........................................................020.798798
Overview Seminar Extreme Transaction Processing (XTP) Switzerland................................................0800.55.2574
Taiwan.......................................................0800.672.253
This one-day course focuses on Oracle oracle.com/products/middleware/ Thailand ..............................................001800.441.0545
Database 11g innovations that enable you to ofmradio.html Turkey .................................................00800.353.90014
U.K. .........................................................0870.5.332200
better manage the database and application Steve Harris, vice president of Oracle

18 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_Resources.indd 18 7/17/07 11:24:25 AM


a t O r a c l e OTN BULLETIN BY JU STIN KESTELYN

Crash into Oracle Database 11g


New OTN series highlights top features of the new release.
hen a new major database for DBAs and Developers” is a crash the Oracle Fusion Middleware Regional
release hits, the experience course that no database professional Director program, with members of the
can be overwhelming—like remotely interested in this release can latter becoming Oracle ACE Directors.
trying to drink through a fire afford to miss. Explore the complete Consequently, it is now possible for
hose. Absorbing the typically massive topic list (and subscribe to the RSS feed) DBAs, database architects, and database
volume of documentation about new at otn.oracle.com/11gdba. developers to obtain director status,
features and functionality can be a full- joining the 40-plus Oracle Fusion
time job—and a crushing responsibility TO THE ENDS OF THE EARTH Middleware experts who already are
for a busy DBA or developer. They might be on islands at opposite honored with that distinction.
When Oracle Database 10g was ends of the world, but with the help of Learn more about the Oracle ACE
released, Oracle Technology Network community leaders, developers from the program and meet existing ACEs at
(OTN) partnered with Oracle ACE Arup Faroe Islands and Java, Indonesia, are otn.oracle.com/community/oracle_ace.
Nanda, Oracle Magazine’s DBA of the now in the middle of the OTN landscape.
Year at that time, to publish a series of Oracle employee and Oracle ACE THE BIG EVENTS
short, actionable how-to’s covering the Grant Ronald recently headed to the Finally, a single online resource is
best new features in that release from Faroe Islands, in the frigid waters available for the purpose of tracking
a grassroots point of view. (Nanda is a between Iceland and Norway, where he community-oriented events across the
senior DBA with Starwood Hotels.) The led a hands-on SOA/Java/Forms work- globe. Visit the new Developer Events
intention was to help readers get up to shop for the nation’s entire developer Calendar on OTN to explore upcom-
speed and proficient with new features community (numbering 33 Faroese)— ing workshops, conferences, and OTN
such as Automatic Storage Management, and set them up with OTN T-shirts Installfests as they’re scheduled. Point
Automatic Workload Repository, and while he was at it. your browser to otn.oracle.com/events
Oracle Data Pump in a relatively short Meanwhile, on the island of Java for dates and details. O
amount of time. Millions of readers (how appropriate), Oracle Fusion
did exactly that, and Nanda and OTN Middleware Regional Director Frans Justin Kestelyn (justin.kestelyn@oracle.com) is the
received a lot of recognition across the Thamura has turned his Java User editor in chief of Oracle Technology Network.
community for it. Group (JUG) Indonesia into one of the
With the release of Oracle Database top-50 Java developer communities in
11g, we are revisiting that goal. “Oracle the world. “Right now we’re digging in
Database 11g: Top Features for DBAs and learning more about Oracle TopLink OTN home
otn.oracle.com
and Developers” walks you through and its features,” he says. “We’re espe-
important new functionalities such as cially interested in the migration from OTN Headlines
otn.oracle.com/pub/news
Oracle Database 11g Database Replay, JBoss Hibernate to Oracle TopLink.”
SQL Plan Management, intelligent schema Follow Thamura’s Java community Free software downloads
otn.oracle.com/software
design, and many partitioning enhance- inspirations in his blog at www.jroller
Documentation
ments, using real-world scenarios as .com/page/fthamura. otn.oracle.com/documentation
examples. (According to Nanda, the Technology Centers
Database Replay feature alone—a major ORACLE ACES HAVE IT otn.oracle.com/tech
part of the Real Application Testing The Oracle ACE program—the formal Podcasts
functionality in this release—justifies an network of nonemployee evangelists otn.oracle.com/techcasts

upgrade to Oracle Database 11g.) sponsored by OTN—has grown by Technical articles


leaps and bounds since its inception otn.oracle.com/pub/articles
Unlike the previous series, most of
these installments are complemented by in 2005, having surpassed the 100- Blogs
blogs.oracle.com
screencasts that demonstrate precisely member mark in May 2007.
how the feature in question is used. This summer, the Oracle ACE Discussion forums
forums.oracle.com
“Oracle Database 11g: Top Features program was formally combined with

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 19

SO07_OTN.indd 19 7/17/07 11:22:37 AM


D I D Y O U KNOW
?
LATE IT PROJECTS LINKED TO LOWER
a t O r a c l e BRIEFS

ORACLE BUSINESS INTELLIGENCE STANDARD and user populations. With enterprise


PROFITS, POOR BUSINESS OUTCOMES EDITION ONE NOW AVAILABLE user security, organizations can now
A survey of 1,125 IT professionals worldwide ackaged and preconfigured for small use virtualization capabilities to manage
showed a clear link between company
profitability and timeliness of IT projects. In
P and medium businesses (SMBs)
and work groups, Oracle Business
database user identities and their highly
privileged roles across diverse identity
nearly half of companies surveyed, 25 percent Intelligence Standard Edition One—a stores without having to migrate or
or more of IT projects were delivered late— complete, integrated business intelli- synchronize the data. Oracle Database
and in 57 percent of companies surveyed, gence (BI) and data warehousing solu- 10g customers can pair Oracle Virtual
no more than half of IT initiatives produced tion—is now shipping. Directory with enterprise user security
a positive business outcome. But in firms Oracle Business Intelligence Standard to virtually provision database user
where 75 percent or more of IT initiatives in Edition One, a component of Oracle accounts, assign database roles, centrally
the past three years had a positive business Fusion Middleware, features all the core manage user authentication and autho-
outcome, improvement in project delivery BI capabilities SMBs need, including rization, and enable self-service features
speed was considerably higher than average. interactive dashboards; formatted report- such as password resets in existing cor-
A full 62 percent of respondents said their ing; ad hoc query and analysis; extract, porate directories.
companies would experience a substantial transform, and load (ETL) technology; “Given heightened security demands,
increase in profitability from faster delivery and Oracle Database 10g Standard organizations must implement compre-
of IT services and projects. Edition One. hensive identity and access strategies
Source: HP and the Economist Intelligence Unit “Oracle Business Intelligence that span database users and the access
www.hp.com/hpinfo/newsroom/press/2007/070605xa.html
Standard Edition One is the only end- rights they typically enjoy,” says Sally
IT COMPLEXITY PROVES RISKY, COSTLY to-end BI and data warehousing solution Hudson, research director, security
Each hour of application downtime costs that is based on category-leading tech- products and services, IDC. “The inte-
more than US$300,000, according to nology for every component, offering a gration of Oracle Virtual Directory with
33 percent of respondents to a March complete and compelling solution at an enterprise user security is a timely and
2007 survey of more than 300 senior IT attractive price,” says Paul Rodwick, vice important offering. The increased flex-
professionals at Fortune 1000 companies. president, Oracle Business Intelligence. ibility and greater choice helps solve a
Troubleshooting configuration errors “The software offers small and medium critical security need for many Oracle
with application servers, middleware, organizations a proper infrastructure Database customers today.”
and databases can take more than a day, that will serve their immediate BI needs
according to a third of respondents, and most yet easily scale and grow with their ORACLE DATABASE LITE 10g RELEASE 3
said that installation and configuration of needs over time.” NOW AVAILABLE
core application infrastructure assets is a Oracle Business Intelligence Standard Now shipping, Oracle Database Lite 10g
“major time sink.” Edition One offers customers the right Release 3 is a comprehensive solution
Source: mValent BI foundation to deliver complete, rel- for the rapid development and deploy-
www.mvalent.com/downloads/mvalent_survey_results_ evant, and timely information for better ment of applications for mobile and
2007.pdf
decision-making across the organization. embedded environments. It delivers
ORACLE LEADS DATABASE MARKET Developed with business user self- enhanced synchronization of occasion-
The market for relational database sufficiency in mind, the product features ally connected devices with Oracle
management systems grew by 14.3 percent business user interfaces that do not Database and support for a broader
from 2005 to 2006. Oracle leads in market require coding. range of platforms.
share (measured by revenues), at 44.4 Oracle Database Lite 10g is a highly
percent, and its 2006 revenues were US$7.3 ORACLE SIMPLIFIES USER MANAGEMENT IN scalable, mobile solution that enables
billion, up 14.7 percent over 2005. Other ORACLE DATABASE 10g applications to run even when discon-
racle has integrated the enterprise nected from the network, while peri-
database vendors’ market shares were
IBM, 21.2 percent; Microsoft, 18.6 percent; O user security feature of Oracle
Database 10g with Oracle Virtual
odically synchronizing to an Oracle
Database server. Composed of a mobile
Sybase, 3.2 percent; Teradata, 2.8 percent;
and all others, 9.9 percent. Directory to allow organizations to cen- server and a mobile relational database,
trally manage database user identities Oracle Database Lite 10g Release 3 helps
Source: Oracle and IDC
www.oracle.com/features/hp/oracle-number-one- through existing corporate directories. users reliably and securely exchange
database-idc.html Centralized database user manage- data with a corporate database; enables
ment helps address compliance and application, device, and user provision-
insider threat challenges, especially for ing; and provides centralized manage-
organizations with large-scale databases ment tools. Additionally, the latest

20 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_BRIEFS.indd 20 7/16/07 1:59:22 PM


release includes an automatic synchro- ORACLE’S DEMANTRA 7.1.1 NOW SHIPPING product design systems and interacts
nization capability that enables data to ow available, Demantra 7.1.1 with a wide range of enterprise applica-
be synchronized bidirectionally without
user intervention.
N expands on the industry-leading
demand management functionality that
tions. The combination of Agile and
Oracle will create an integrated, enter-
“The new enhancements in Oracle Oracle obtained through the acquisition prisewide PLM solution.
Database Lite 10g reflect Oracle’s of Demantra to deliver better forecasting “Profitable product innovation is criti-
dedication to offering mobile users an and demand management capabilities. cal to product-based industries, making
identical experience to their connected New capabilities include support for PLM one of the fastest-growing applica-
colleagues—when it comes to continu- Oracle Fusion Middleware, improved tion segments,” says Oracle President
ous data availability,” says Rex Wang, planner productivity, enhancements to Charles Phillips. “The addition of Agile,
Oracle’s vice president of embedded data loading and export, new demand which will serve as the foundation of
product marketing. analysis worksheets, and series and data our PLM offering, will further Oracle’s
The client database of Oracle security enhancements. This release strategy of delivering industry-specific
Database Lite 10g Release 3 supports also enables companies to model more- enterprise applications and allows us to
Windows, Windows CE, Windows precise statistical forecasting, analysis, offer yet another strategic application to
Mobile, Linux, and Symbian platforms. and collaboration scenarios without SAP customers.”
It also supports stored procedures for special training or IT support.
C++, C#/.NET, and Java. Demantra 7.1.1 is now part of the ORACLE INVESTS IN SOPHOI
Advanced Planning solution within racle has made a minority invest-
SPRING DEVELOPMENT KIT RELEASED
he new Oracle Development Kit for
Oracle E-Business Suite and Oracle’s JD
Edwards EnterpriseOne, which gives
O ment in Sophoi, a privately held
provider of enterprise intellectual prop-
T Spring is designed to simplify the
development, deployment, and manage-
companies the ability to accurately
predict demand, shape profitability for
erty management software. Oracle and
Sophoi will continue to partner to bring
ment of Spring-based enterprise Java their products, and proactively manage innovative end-to-end solutions to the
applications and to address demand complex global supply chains. This media and entertainment industry.
for integration between Oracle Fusion integration reduces setup, configuration, “Customers of Sophoi and Oracle
Middleware and the Spring framework. and ongoing maintenance costs because can benefit from a comprehensive
The Oracle Development Kit for Demantra shares the same demand and suite of mission-critical applications
Spring includes Spring Framework 2.0, master data as the Oracle Applications. for the media and entertainment
the latest version of Spring’s lightweight, “By integrating Demantra into industry by combining Oracle’s inte-
open source application development Oracle’s Advanced Planning applica- grated applications suite and Sophoi’s
framework; Oracle JDeveloper Extension tions, we are giving companies the tools iPLS [Intellectual Property Licensing
for Spring, which provides wizards and to better predict, shape, and respond to Suite] solution,” says Lars Wahlstrom,
full editor support for both Spring 1.x- demand in order to uphold the opera- Oracle’s group vice president of the
and 2.0-style definitions; and Oracle tional and strategic goals of their com- Communications, Media and Utilities
Developer Depot, a free, Spring-based panies,” says Jon Chorley, Oracle’s vice Global Industries Business Unit. O
developer productivity tool. It also president of product strategy.
includes prepackaged sample applica-
tions and tutorials and transaction ORACLE BUYS PRODUCT LIFECYCLE Oracle Business Intelligence
manager integration, which allows MANAGEMENT LEADER AGILE Standard Edition One
oracle.com/appserver/business-intelligence/
developers to leverage the lightweight racle has agreed to acquire Agile
programming model of Spring with the
high-performance transactional capabili-
O Software Corporation, a leading pro-
vider of product lifecycle management
standard-edition-one.html

Oracle Virtual Directory


oracle.com/goto/virtual-directory
ties of Oracle Application Server. (PLM) software solutions. Agile’s PLM Oracle Database Lite 10g Release 3
“The Oracle Development Kit for solutions help engineers, manufactur- otn.oracle.com/products/lite
Spring is a natural step in our efforts to ing and supply chain professionals, and Oracle Development Kit for Spring
simplify enterprise Java development,” business executives drive the product oracle.com/goto/spring

says Steven G. Harris, vice president, innovation and introduction process, Demantra
oracle.com/applications/scm/demantra
Java Platform Group, Oracle. “As more share product specifications and configu-
and more customers use Oracle’s Java rations, and collaborate effectively across Oracle and Agile
oracle.com/agile
development platform in conjunction the supply chain.
with the Spring framework, we see PLM is evolving into an enterprise- Sophoi
www.sophoi.com
increasingly innovative results.” wide discipline that spans multiple

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 21

SO07_BRIEFS.indd 21 7/16/07 1:59:22 PM


When businesses want real results in days, not months ...

they choose ImageNow.

“It took me twenty minutes to install ImageNow and get it up and running at our Manila office.
And expanding ImageNow is extremely easy.” That’s what Richard Cohen of Teletech says
about ImageNow. And with such a rapid rollout, Teletech realized a 32% cost reduction in
invoice processing in just one year. Talk about maximizing your investment. N The deep
feature functionality of ImageNow provides a direct and effortless connection between you,
your colleagues and the documents you need to simplify daily business activities across
your enterprise. N ImageNow’s patented integration method makes powerful document
management possible from any existing Oracle® business software application — faster,
easier, without programming hassle, without the high price tag.

Results sooner or later? Which will you choose?

ImageNow enterprise document management, imaging and workflow.

www.imagenow.com/oracle

© 2007 Perceptive Software, Inc. ImageNow is a registered trademark of Perceptive Software, Inc. All other product and company names may be trademarks or registered trademarks of their respective owners. ad_OracleProfMag_0708
a t O r a c l e INTERVIEW BY R IC H SCHWERI N

Change Assurance
Oracle Database 11g helps customers manage change.
ndy Mendelsohn, senior vice point in time can be years in the past, for managing very large databases,
president of Database Server which can be very useful for things often in a time-based fashion. It turns
Technologies at Oracle, sat like auditing. out that partitioning works perfectly
down with Oracle Magazine to Oracle Magazine: By some estimates, the for implementing an ILM strategy. You
talk about new technologies and inno- volume of corporate data is growing can basically have a set of tablespaces
vations in Oracle Database 11g. The fol- three times larger every two years, that are defined on different classes of
lowing is an excerpt from that interview. which dramatically increases storage storage, and then as the data ages out,
To download a podcast of the full you create a set of time-based
interview, visit otn.oracle.com/ partitions for your table. So,
syndication/magcasts. let’s say it’s the order table. As
Oracle Magazine: Most organiza- the orders start aging out, you
tions today are faced with a variety just implement partitioning
of regulatory compliance issues as by time stamp on the order,
well as security challenges. How and when the orders get more
does Oracle Database 11g address than a few months old, you
these issues? start moving them onto parti-
Mendelsohn: One of our new tions with lower-cost storage,
enhancements is that we’re and over time even lower-cost
encrypting large objects [LOBs] storage, until ultimately you
transparently in Oracle Database either drop them or archive
11g. We’re also doing encryption them completely.
at the whole tablespace level. Oracle Magazine: People are
So if you want to just go in and storing all kinds of things
encrypt everything, we make it in databases today that they
easy to do that. didn’t used to—documents,
We also have Oracle Audit images, multimedia. How does
Vault, which targets security and Oracle Database 11g address
compliance. Oracle Audit Vault this issue?
consolidates audit trails from dif- Mendelsohn: In Oracle Database
For Andy Mendelsohn, Senior Vice President of Database Server
ferent source databases into a Technologies at Oracle, the Real Application Testing feature in Oracle 11g, Oracle SecureFiles is a
central data warehouse, which Database 11g is the most exciting new technology. whole new implementation
makes it easier for auditors to of our LOB infrastructure,
understand the security-relevant costs. How does Oracle Database 11g and we rearchitected it for really high
operations in a company. address this issue? performance. The performance of the
Oracle Magazine: Tell us about the flash- Mendelsohn: Storage vendors have an Oracle Database 11g LOB implementa-
back data archive feature for compliance initiative called information lifecycle tion for just reading and writing LOBs
in Oracle Database 11g. management [ILM]. When you have in the database is up to five times faster.
Mendelsohn: Flashback data archive lets information that’s really active, you Oracle SecureFiles actually reads and
you go back in time indefinitely. With need the highest-performance storage writes documents and files in the data-
flashback data archive, you can set up out there. But, as the data becomes base faster than outside the database,
an archive on any table, and whenever more historical in nature, the high- which is a real eye-opener for custom-
any updates are made to a table, we performance storage isn’t needed. All ers. And the Oracle SecureFiles infra-
record those updates and we keep the the storage vendors now have differ- structure underlies all of our support for
old versions of every row that’s been ent levels of storage, at different price rich datatypes like spatial, multimedia,
BOB ADLER

updated. You can run queries as of a points. Oracle has a technology called and XML. We are very sensitive to the
point in time in the past, but now the partitioning that has been used mostly amount of storage these documents

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 23

SO07_Interview.indd 23 7/17/07 11:50:52 AM


INTERVIEW

“The big new area in Oracle Database 11g is our change assurance capabilities, where
we really have spent a lot of time to lower the risk of change.”
—Andy Mendelsohn, Senior Vice President of Database Server Technologies at Oracle

consume, and so we have full compres- that production system and move it into and security—at lower costs.
sion for Oracle SecureFiles, and we also my test environment and then run it as As far as lowering costs, a big focus
support deduplication. a regression test.” Today, doing some- for us has been ease of management.
Oracle Magazine: Could you tell us more thing like this is basically a development In Oracle Database 11g, we continue
about the new compression technology project. With Oracle Real Application strongly pushing in that direction. The
in Oracle Database 11g ? Testing, you can just point to a real big new area in Oracle Database 11g
Mendelsohn: In Oracle Database 11g, system, capture the workload, bring it is our change assurance capabilities,
we’ve improved our algorithms for com- over to a test environment, and replay it, where we really have spent a lot of
pression so they are enabled on every purely within the database tier. time to lower the risk of change. This is
update to even a single row of a table. The other [Oracle Real Application really the lifeblood of every enterprise:
Now you can do compression for any Testing] thing we’re doing is that you everybody knows they need to change
kind of application workload, not just can go to a production environment and to be more competitive, to grow their
the data warehouse. This will make just pull off the SQL statements. If you business, but there’s this opposite force
compression very interesting for people want to make sure that the performance that says, “Any change I make is going
who want to implement ILM, because as of individual SQL statements hasn’t to destabilize my IT environment.” It’s
the data ages out, you want to compress regressed, you can go to your production a real problem for customers, and we
that data to lower your storage costs environment, pull off the SQL statements, think we’ve done a great job in tackling
even further. bring them over to a test environment, that problem.
Oracle Magazine: How will Oracle help and then run them against both the old Oracle Magazine: What is the single
customers migrate to Oracle Database and the new version of the query opti- most exciting new technology in Oracle
11g and manage this change process? mizer. So between both of these features, Database 11g, from your perspective?
Mendelsohn: When we talk to customers, you can now have a lot more confidence Mendelsohn: What’s always most exciting
one of their big pain points is migra- that when you go live you’re going to get is when we move into a new area. The
tion, whether they’re migrating to a the quality, robustness, and performance Oracle Real Application Testing feature
new version of the database, a new you need out of the new release. is that one for me in Oracle Database
version of an operating system, or even Another new feature is SQL Plan 11g. It’s a whole new area. Customers
a new version of their own database- Change Control. One of the key things have no good solutions out there today
based internal applications. In Oracle people really would like to do when for dealing with creating test suites
Database 11g , we looked at the whole they move to a production environ- or doing online hot patching of their
lifecycle of what customers do when ment is keep the SQL plans unchanged. systems. It’s an area that’s dying for help
they do a migration, an upgrade, or So in Oracle Database 11g, SQL Plan from Oracle, and we have unique tech-
a change of any sort, and we have a Change Control lets you move to a nologies that are going to be exciting for
number of technologies to lower the new production environment. You can our customers to really lower their risk
cost and the risk of change. freeze the query execution plans there of change and help them really innovate
First, we’ve enhanced our Oracle and then periodically look at what the much more freely. O
Data Guard technology to make it really optimizer is recommending as better
easy to automate the creation of a test plans and move to these new plans in a Rich Schwerin is a product marketing manager
environment. As you run tests, the data controlled fashion. with Oracle technology marketing and a regular
in the test environment is no longer in Finally, with Oracle Database 11g, contributor to Oracle Magazine.
sync with the production environment, we’re rolling out a new capability called
but you can use Oracle Data Guard to hot patching, where you can actually
resync the test environment with the apply a bug fix to a production system
latest version of the production environ- online without any downtime.
ment in a very clever fashion. Oracle Magazine: How would you sum- LISTEN to the podcast
otn.oracle.com/syndication/magcasts
The next things we’ve added are two marize the benefits that all these new
major Oracle Real Application Testing technologies deliver? LEARN more about Oracle Database 11g
oracle.com/database
features. The first one lets you point at Mendelsohn: Well, the key goal for all cus-
DOWNLOAD Oracle Database 11g
a production system and say, “I want to tomers is better quality of service, higher otn.oracle.com/database
take a real production workload off of performance, better scalability, reliability,

24 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_Interview.indd 24 7/17/07 11:50:53 AM


8@]P]^[^VXRRXaRdXc\PV]XUXTS#  g

>^bW[WhS1caW\Saa>cbQ][SaeWbV7?O\R>`OQZS
5]`[]`SbVO\!$gSO`a7?O\R>`OQZSVOdSVSZ^SR]dS` Qcab][S`aQ`SObS^]aWbWdS
PcaW\Saa]cbQ][Sa>c`X]W\ba]ZcbW]\aVSZ^[WbWUObS`WaY`SRcQSQ]abaO\ROQQSZS`ObSU`]ebV
FSQO\VSZ^g]cb]]EWaWbcaObfffW_R^\V^^aPR[Tb]aSSV]e

–!&7SeZSbb?OQYO`R3SdSZ]^[S\b2][^O\g;?
c o m m u n i t y COMMITMENT BY A A RO N L A Z E N BY

SMART Project, Smarter Students


Oracle supports CARE’s education initiatives in impoverished Uttar Pradesh.
he state of Uttar Pradesh, CARE’s hard work in Uttar Pradesh a minimum of one hour of math and
in northern India, is a place earned the organization one of Oracle’s science instruction a day.
of extremes. With 167 million Commitment Grants in 2006. The Early efforts are already having an
citizens, the territory is the most US$1 million gift funded education impact. At a school in rural Pilibhit, the
populous of India’s states. Poverty is improvement efforts in the area, specifi- SMART curriculum has already trans-
endemic, with per capita income among cally the introduction of high-quality, formed the education experience of one
the lowest of all Indian states. Life proven teaching practices across the girl. Marked as a discipline problem and
expectancy—which at 58 years is 10 state. Working with a handful of model a slow learner, the eighth grader was
percent lower than the global left to her own devices as teach-
average—is on par with the ers chose to direct their limited
war-torn African nations of resources toward more-willing
Sudan and Eritrea. pupils. But a series of compe-
CARE, one of the world’s tency tests revealed that her
largest humanitarian organiza- behavior troubles stemmed from
tions, began its operations in struggles with basic math skills.
the Asian subcontinent nearly Now in a classroom with stu-
60 years ago, and while con- dents at the same skill level, she
ditions have improved since is a different student. Her math
1950—indeed, India hosts and language skills have both
one of the world’s fastest- improved, and many other chil-
growing economies—the dren now see her as an example.
situation in Uttar Pradesh has Such a success may seem
remained difficult. In addition like a drop in the bucket of mil-
to poverty and below-average lions of students, but CARE’s
life expectancy, education is impact on the project schools
also a challenge; for example, An Oracle Commitment Grant supports CARE’s efforts to improve education for has improved achievement in
only one in four girls can read impoverished residents of India’s Uttar Pradesh. core school subjects—paving the
in this populous state. CARE way for better living standards.
is working there to establish a compre- schools, CARE hosts a series of teacher And Oracle’s partnership with CARE
hensive education improvement cam- trainings and workshops, student and only promises to expand the good work.
paign in hopes of improving economic curriculum assessments, and community “Because of Oracle’s tremendous partner-
opportunity, promoting citizenship, and outreach in an effort to mobilize educa- ship with CARE, students will develop a
fostering positive change. tors, students, and parents to take inter- better understanding of certain academic
The results are undeniable. Between est in the quality of local schools. The concepts using computers and other
1997 and 2004, enrollment rates for girls stakeholders in these model schools can important tools, and teachers will have
in the target regions in Uttar Pradesh then share these lessons and promote the the necessary tools and instruction to
have increased by 40 percent. adoption of best practices in neighboring convey subject matter through appropri-
“CARE believes that education schools. Ultimately, the program will train ate learning materials,” Gayle says. O
plays an important role in our efforts 325 teachers to serve 13,000 students.
to achieve our vision of a world where The program kicked off with the Aaron Lazenby is a director with Oracle Publishing.
poverty has been overcome,” says Helene Science, Math and Relevant Technology
D. Gayle, president and CEO of CARE. (SMART) project. Its curriculum focuses
“Education gives people, especially on introducing core skills that can have Oracle’s Commitment
oracle.com/commitment
ANNE HESLOP

women and girls, the skills, knowledge, an immediate impact on students’ school
and confidence they need to lift them- performance. CARE works with teach- CARE
www.care.org
selves out of poverty.” ers to ensure that each student receives

26 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_Commitment.indd 26 7/17/07 10:56:54 AM


>[i]Zjc^kZghZ^hXdchiVcianZmeVcY^c\!
l]n^hi]ZgZhda^iiaZheVXZ^cbnYViVXZciZg4

CWT0<3>_cTa^]—_a^RTbb^aU^aWXVWTaST]bXchbTaeTab

<Pa`dTTB_^]b^a^U!&>aPR[T>_T]F^a[SBP]5aP]RXbR^
EXbXcdbPc1^^cW % #

fffP\SR^\[Tbb\^]Th

–!&0SeP]RTS<XRa^3TeXRTb8]R0[[aXVWcbaTbTaeTS0<3cWT0<30aa^f[^V^0<3>_cTa^]
P]SR^\QX]PcX^]bcWTaT^UPaTcaPST\PaZb^U0SeP]RTS<XRa^3TeXRTb8]R

9>1)03E2>A2&!$(&4g_P]SX]VD]XeTabT0S 3868C0;A4@)7XATb?35fXcWR^[^aPRRdaPcT_a^^UbWX_fXcW23
?D1=0<4)>aPR[T<PVPiX]T CA8<6DCC4A)'g '&$’5D;;?06403
AD=30C48BBD4) ;8E40A40B054CH)$Ua^\caX\’?4A542C1>D=3
<0C;3D4C>?D1)&!& 1;443) !$P[[bXSTb
c o m m u n i t y PARTNER NEWS
b o o k BEAT

Oracle Database
11g New Features
By Robert G. Freeman,
with Arup Nanda CISCO SOLUTIONS OPTIMIZE ORACLE support for a variety of operating systems
Oracle Press DEPLOYMENTS and Web servers, including Oracle
www.oraclepress.com
racle Certified Advantage Partner Enterprise Linux; Solaris; AIX; Windows;
ISBN: 0071496610

Learn how to take advantage of the latest


O Cisco Systems has released Cisco
Solutions for Oracle Deployments, a set
Macintosh OS X; and many versions of
Apache, Microsoft Internet Information
release of Oracle Database with Oracle of three tested, documented, and vali- Server, and Oracle HTTP Server.
Database 11g New Features. This completely dated solutions that together make up
rewritten guide from the author of Oracle
an end-to-end network architecture to INGRAM MICRO, TECH DATA EXTEND
Database 10 g New Features details the
new features and tools available in Oracle optimize Oracle Applications and Oracle ORACLE’S REACH TO SMBS
Fusion Middleware implementations. ore than 400 new value-added
Database 11g, including high-availability
features, security measures, and business
intelligence tools. Author Robert Freeman
Providing elevated application avail-
ability, performance, and security; lower
M resellers (VARs) have joined with
Oracle in the last year as a result of
discusses how to maximize the potential of
these capabilities, making the book an ideal
application complexity and cost; and Oracle’s distribution agreements with
resource for decision-makers and IT staff reduced deployment risk, these solu- Ingram Micro and Tech Data. With the
preparing for upgrades or migration. tions include best practices and deploy- expertise, resources, and broad customer
Freeman is an Oracle Certified Professional ment guidance for WAN optimization, base of these two IT distributors, Oracle
and the author of eight other Oracle books. application and Ethernet switching, fire- has expanded the community of solu-
He is an expert in UNIX and Oracle Real
Application Clusters and specializes in Oracle
wall access control, and storage switch- tion providers offering Oracle Database
backup and recovery and performance tuning ing technologies. and Oracle Fusion Middleware to small
for complex databases. Cisco, with the support of Oracle and medium businesses (SMBs).
The book includes contributions by Arup product teams, also continues to invest in Oracle has a dedicated team of
Nanda, a frequent Oracle Magazine author. testing and documenting of best-in-class specialists available through Ingram
network solutions for new Oracle releases Micro and Tech Data to provide their
RMAN Recipes for such as Oracle SOA Suite and Siebel reseller channels with technical support
Oracle Database 11g Customer Relationship Management and guidance throughout the SMB sales
By Darl Kuhn, Sam 8.0. This commitment will reduce risk cycle. More than 175,000 SMBs cur-
Alapati, and Arup Nanda and shorten deployment times for future rently use Oracle’s technology products.
Apress Oracle customer implementations. “Tech Data supports tens of thou-
www.apress.com sands of resellers nationwide, and we’ve
ISBN: 1590598512
ZEND CORE FOR ORACLE 2.0 RELEASED had tremendous success expanding
end Technologies and Oracle have Oracle’s reach in the SMB market,”
Your database is going down. Some or all of
your database files will be lost or damaged.
Are you ready? Do you know what to do?
Z released Zend Core for Oracle 2.0,
merging Zend Core’s production-quality
says Stacy Nethercoat, Tech Data’s vice
president of software product market-
It’s often said that the one true job of an PHP solution with native integration ing. “Our team of dedicated Oracle
Oracle Database DBA is to be able to recover
a database. In RMAN Recipes for Oracle
with Oracle Database and PHP support specialists have recruited many SMB
Database 11g, authors Darl Kuhn, Sam Alapati, in Oracle Application Server. Zend Core VARs, helping to expand the Oracle
and Arup Nanda provide a task-oriented provides a certified, high-performance PartnerNetwork.”
collection of ready-made and example-based PHP development and production envi- “Ingram Micro places great focus on
solutions to common (and some not-so- ronment based on best practices in con- helping the channel provide its customer
common) backup and recovery operations.
When the pressure’s on, DBAs don’t have
figuring and tuning PHP. This version base with the most up-to-date solutions
time for long discussions of theory. They need includes PHP 5.2.1, Oracle’s new OCI-8 that are designed for the SMB market,”
solutions, and they need them now. This book extension, and Oracle Instant Client. says Jodi Honore, vice president of
delivers, getting right to the point with quick, Zend Core works with Oracle9i vendor management at Ingram Micro.
easy-to-read, step-by-step solutions that DBAs Database and Oracle Database 10g and “Being able to offer Oracle products is
can implement with confidence.
Coauthors Kuhn, Alapati, and Nanda are
can be integrated with Oracle Database just another step in the right direction to
all experienced Oracle DBAs. Kuhn has more 10g client libraries. It enables interoper- providing our channel partners with new
than 18 years of experience; Alapati has been ability between PHP and Java (and other ways to generate business opportunities.”
working with databases since the 1980s; and popular technologies) through an Oracle
Nanda has been an Oracle DBA since 1993. JDeveloper PHP extension. FUJITSU FLEXFRAME FOR ORACLE APPLIES
Zend, an Oracle partner, supports GRID COMPUTING DYNAMICALLY
Zend Core for Oracle, which is certified racle Certified Advantage Partner
Look for Oracle books at oracle.com/
technology/books/10g_books.html by both Oracle and Zend. It includes O Fujitsu has announced FlexFrame

28 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_PARTNER.indd 28 7/17/07 11:56:26 AM


PARTNER SPOTLIGHT Partners Support Oracle Information Appliance Initiative
growing number of Oracle partners are supporting the so solutions can scale over time. The new Dell/EMC founda-
A Oracle Information Appliance Initiative with optimized
data warehousing solutions built on scalable, balanced,
tion consists of dual-processor, dual-core Dell PowerEdge
2950 servers running Linux, two Emulex or QLogic Host
high-performance hardware platforms. Examples include Bus Adapters, Brocade four-gigabyte switches, and one EMC
the team of Certified Advantage Partners Dell Inc. and CLARiiON CX-310 networked storage system.
EMC and Oracle Partner PANTA Systems. Other Oracle “The long-standing collaboration amongst EMC, Dell
partners involved in the Information Appliance Initiative and Oracle enables us to help reduce the risk customers
include HP, IBM, and Sun. face in developing a well-designed, scalable data warehouse
The Oracle Information Appliance Initiative has two solution,” says Chuck Hollis, vice president, Technology
levels: Oracle Information Appliance Foundations are vali- Alliances, EMC. “The Oracle-Dell-EMC Information
dated, balanced designs (software, hardware, storage, I/O, Appliance Foundation will help joint customers achieve
and networking) for customers who want flexibility and considerable cost and time savings.”
choice in a data warehousing platform. Oracle Information Oracle and PANTA Systems are offering the first pre-
Appliances are preinstalled and preconfigured data ware- configured data warehouse appliance under the Oracle
house products for customers who want simple and quick- Information Appliances banner: the Oracle Information
to-implement data warehouse solutions. Oracle software Appliance on PANTA Systems. This appliance provides
is preinstalled on a jointly developed Oracle Information customers with a preconfigured, turnkey grid of industry-
Appliance Foundation. standard Linux servers and storage modules with Oracle
The new Oracle Information Appliance Foundation on Database 10g and Oracle Real Application Clusters pre-
Dell Inc. and EMC is a reference configuration consisting installed and configured for a real-world data warehouse
of a database, server, and storage mix optimized for data environment. Built for data warehouses ranging from 3 to
warehouses with 1 terabyte of raw data. The modular com- 100 terabytes, the products are built on PANTA’s DM4000
ponents can be combined to support larger data warehouses family of appliances.

for Oracle, the first dynamic infra- PRIMERGY blade servers also provide an Archive uses a single engine for online
structure solution based on Oracle grid attractive software-licensing model. and long-term data retention of struc-
technology for application and database tured and unstructured data. O
services. Fujitsu FlexFrame for Oracle APPLIMATION AND SIERRA ATLANTIC PROVIDE
eliminates the permanent assignment of ENTERPRISE DATA MANAGEMENT
Oracle services to specific servers, and ierra Atlantic, a provider of busi-
instead uses all resources dynamically to
handle workloads.
S ness process–based integration and
enterprise application optimization,
Cisco Systems
www.cisco.com/go/oracle

Zend Core for Oracle


Under the FlexFrame architecture, all has teamed with Applimation, a maker www.zend.com
services software resides on the storage of enterprise data management solu- Ingram Micro
system and can be assigned to any tions, to provide a data management www.ingrammicro.com

server in the infrastructure—even non archiving solution for Oracle Process Tech Data
www.techdata.com
local servers—via NetBoot. In addition Manufacturing based on Applimation’s
to providing flexibility, this approach Informia Archive product. Applimation Fujitsu
us.fujitsu.com/computers
simplifies patches, updates, and other will extend Informia Archive’s data
Oracle Information Appliance
software lifecycle management tasks. archiving functionality to Oracle cus-
Initiative
The FlexFrame architecture is based tomers with Sierra Atlantic acting as its oracle.com/solutions/business_intelligence/
on an IP network with a cluster of implementation partner. oiai.html
oracle.com/solutions/business_intelligence/
Fujitsu PRIMERGY servers and flexible, The offering is aimed at custom- emc.html
integrated storage. This architecture ers that have experienced exponential oracle.com/solutions/business_intelligence/
panta.html
ensures that every Oracle-based service growth in transaction data. Informia
Applimation
can be run on any server at any time, Archive provides packaged templates www.applimation.com
so enterprises can consolidate IT land- for Oracle Process Manufacturing’s key
Sierra Atlantic
scapes and provide on-demand availabil- high-transaction modules and offers www.SierraAtlantic.com
ity of applications and services. Scalable archiving for customizations. Informia

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 29

SO07_PARTNER.indd 29 7/17/07 11:56:26 AM


c o m m u n i t y PEER-TO-PEER BY B LA IR C AMPBELL

Innovating and Unplugging


Three peers celebrate getting online and occasional escapes.
Lutz Hartmann development. Then, you must peerSPECS
Company: Fujitsu Consulting, a
How did you get started in IT? think in tiers, because Web devel- client-focused IT services provider
During university, I worked in opment involves the separation Job title/description:
Hamburg University’s statistics of layers—presentation, business, Consultant, specializing as either
an Oracle technical architect or a
department, dealing with large persistence. By using a component Java Platform, Enterprise Edition,
amounts of data. I was espe- model approach, it is much easier technical architect
cially interested in indexing to reuse, thus simplifying develop- Location: Quebec City, Canada

multilingual data for library ment and delivering Web applica- Length of time using Oracle
products: Six years
catalogs. When I started study- tions quickly.
Oracle ACE
ing, there were two machines Do you have a favorite vacation spot? otn.oracle.com/community/
available in our entire department. When I left the university, we Every summer weekend I go to oracle_ace

had installed a network, linked three scientific libraries to the my favorite campsite with my
international library network, and installed computing pools. family. I have no internet access, no phone, and plenty of time
How did you help bring the university up to speed in terms of its to spend with my wife and three children.
systems and connectivity? I orga-
nized a get-together with the peerSPECS Daniel Uehara
Company: sysdba database
department director, the library consulting GmbH, a network of What big changes in technology
staff, and technical staff from the Oracle experts have you witnessed in the course
Job title/description: Founder
university’s data center. We dis- and owner, offering Oracle
of your career? It’s amazing how
cussed possible options for linking training and premium consulting the Java IDEs have evolved over
and support services for Oracle
the department with the Web, and databases
time. I remember when I started
while there was money available for Location: Near Zurich, Switzerland programming Java and we had
the hardware, there were no funds Oracle credentials: Oracle a few IDEs, most of them just
for the necessary work. I suggested Certified Professional (Oracle9i nice look-and-feel text editors.
Database, Oracle Database 10g ),
we coordinate the installation with with eight years of experience using Now we have tools like Oracle
volunteers, and it was all done in Oracle products JDeveloper, which basically does everything we need, and for
two weeks during summer break. Oracle ACE the things we can’t do we just need to create an extension.
otn.oracle.com/community/
If you were going to the Space Station oracle_ace At EDS, we’ve been able to integrate Oracle JDeveloper with
for six months and could only take some of our standard tools from the project lifecycle to get a
one Oracle reference book, what would it be? K. Gopalakrishnan’s full software engineering environment.
Oracle Database 10g Real Application Clusters Handbook [Oracle What would you like to see Oracle, as a company, do more of?
Press, 2006]—it gives comprehensive insight. Oracle’s portfolio of products is getting bigger. It would be
helpful if we had a clearer mapping between the products
Eric Marcoux and types of services we can peerSPECS
What’s your favorite tool or tech- develop with them, and a path Company: Electronic Data Systems
(EDS), a provider of business
nique on the job? Since last year, of training, tutorials, and docu- and technology solutions to help
my favorite tools have been ments that would help us get clients worldwide improve business
performance
Oracle JDeveloper and its ready to apply a product to a
Job title/description: Manager
Oracle Application Development certain service domain. of the EDS Java Center of Expertise,
Framework [Oracle ADF], espe- What’s your favorite thing to do that overseeing a team of 140 Java
developers
cially Oracle ADF Faces. I can doesn’t involve work? Running is
Location: São Paulo, Brazil
now build and deliver simple my hobby. It’s when I have the
Length of time using Oracle
Web applications more quickly. opportunity to unplug from the products: Seven years
What advice do you have about how to get into Web and database network and relax from the stress Oracle ACE
development? My first advice would be to think differently, of globalization and being avail- otn.oracle.com/community/
oracle_ace
because Web development is not the same as client/server able on demand. O

30 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_PEER.indd 30 7/17/07 11:52:52 AM


DellDisasterRecov_v7ForPrep 6/28/07 2:10 PM Page 1

SPECIAL ADVERTISING SECTION

An Ounce
of Prevention A well-planned, strategic approach to disaster recovery has helped
Dell strengthen its infrastructure—and provided some valuable lessons
about keeping enterprise systems up and running.

t has become a truism in business that IT is long as 12 weeks to get things back up and

Dell IT’s comprehensive


disaster recovery plan
I a strategic asset that is vital to the operation
of companies. A few years ago, however,
Dell decided to take a deeper look at just what
running, and then worked with business people
to determine what that would mean to areas such
as sales, manufacturing, shipping, and service.
takes into account critical that meant. “When you multiplied that impact out across that
operations such as the To start, executives asked a fairly straight- time frame, needless to say, the lost-revenue
Enterprise Command Cen- forward question: What would it cost the business figure was huge,” says Debi Higdon, Dell’s Global
ter above, which provides if the company’s main data center were destroyed? Disaster Recovery test manager.
vital customer support. The Dell IT group determined that it could take as With that financial assessment in hand, it was

S1
DellDisasterRecov_v7ForPrep 6/28/07 2:10 PM Page 2

SPECIAL ADVERTISING SECTION

clear that Dell could benefit from an hard data, the IT group gathered input Strengthening the infrastructure
enterprise approach to disaster recov- from a range of sources, including mete- Armed with that understanding, Dell
ery. But not many companies had imple- orologists and the company’s insurance laid the cornerstone of its disaster
mented such an approach—disaster carrier—an especially valuable source recovery effort—a new 40,000-square-
recovery was typically addressed in of risk information. foot data center with some 5,000 servers
a fragmented, tactical manner. “There Next, the group conducted a careful to provide redundant backup to the
just wasn’t a good handbook to go by— analysis to identify the applications company’s main data center in Austin,
we had to write our own,” says Higdon. that would have the greatest impact on Texas. In both centers, Dell IT profes-
The group did just that, and worked the business in the event of a disaster, sionals looked at business continuity
out a comprehensive plan for using creating three classifications. Class 1 across several levels, including the site
standards-based technology in a rig- applications are those that need to be as a whole, computing platforms, appli-
orous, robust approach to protecting up and running in the event of a disaster cations, and data.
its strategic IT assets. within four hours—generally, things that For example, the centers make use
affect manufacturing, sales, and service. of Oracle® Real Application Clusters
Plans and priorities Class 2 applications need to be up within (Oracle RAC) technology, running on
After assessing the financial impact, 48 hours. And Class 3 applications are Dell™ PowerEdge™ servers that have a
the next step was to develop an under- to be back up based on “best effort.” number of high-availability features.
standing of where to focus disaster That classification helped the group With Oracle’s clustering technology, if
recovery initiatives. “We created a risk prioritize efforts and allocate invest- one system in a cluster fails or is taken
profile based on hard data, rather than ments appropriately in order to be able down for maintenance, the others can
guesswork,” says Higdon. To get that to recover the most crucial systems first. pick up its workload instantly. “About

Disaster Recovery: Rules of the Road


In creating and implementing its enterprise approach to disaster recovery, Dell’s IT group
developed 10 principles designed to help ensure a thorough, focused effort.

1. Articulate the need in financial terms. Doing so provides 6. Assume that everything is going to fail. Create business
a clear business case, helps ensure organizational buy-in, continuity plans based on the idea that every key piece
and provides a guidepost for investing in disaster recovery. of internal and external infrastructure may fail or become
unavailable for extended periods.
2. Use hard data to create a risk profile. Rather than simply
taking a best guess, work with insurers and other data 7. Consider an active-active data center strategy. A dis-
sources to determine the true nature of the risk—such as tributed environment that runs across data centers enables
fire, storms, etc.—for a particular operation. high availability and the use of load balancing as a constant
test of recoverability.
3. Identify critical resources. Conduct a rigorous analysis to
identify key applications that warrant redundancy, backup, 8. Recognize potential vendor weaknesses. Evaluate
and recovery attention, and categorize applications to help vendors’ disaster recovery capabilities, and include vendors
prioritize efforts. in disaster recovery testing to understand how their policies
and technologies might affect the enterprise.
4. Think beyond the data center. Factor in essential and rel-
evant business processes and infrastructure components 9. Keep disaster recovery capabilities up to date. Monitor
across the organization. documentation and establish strong procedures and pro-
cesses to make disaster recovery part of everyday activity.
5. Eliminate or mitigate single points of failure. Perform a
detailed single-point-of-failure analysis across the entire 10. Perform tests on a regular basis. Validate failover and
infrastructure—including seemingly minor components—to recovery capabilities to make sure things work as planned—
find areas where redundancy is lacking. perhaps on a quarterly basis.

S2
DellDisasterRecov_v7ForPrep 6/28/07 2:10 PM Page 3

SPECIAL ADVERTISING SECTION

processes to make sure that over time,


“We assume that everything
patches and upgrades are applied con-
sistently across the data centers so that
is going to fail. It might be
the two remain identical as the infra-
structure evolves. Otherwise, seemingly
systems, a network, phone
minor differences in the two centers
could delay and complicate failover
lines, roads leading to one
efforts in an actual emergency.
Maintaining that consistency is
of the data centers. And then
especially important as Dell moves to
an active-active configuration across
we think about what to do if
the two data centers. With this con-
figuration, systems operate in a fully
those things do fail.”
distributed production environment,
with each data center able to handle
—Mitchell McGovern, director, 75 percent of peak workloads and
Dell Global Operation Services 100 percent of normal workloads. For
example, Dell’s Quote Management
System runs in both data centers on
72 percent of the Oracle databases we two independent Oracle Database 10g
have in production are Oracle Database RAC clusters, using Oracle Streams
10g and Real Application Clusters,” technology. If there were a disaster,
says Logan McLeod, IT strategist for failover would be automatic and instan-
Dell. “They provide high availability and taneous—the problem would constitute
scalability, and they enable us to dynam- a loss of capacity, but not of data or
ically respond to ever-changing work- functionality. Thus, if one system han-
loads in our environment.” The data dling quotes becomes unavailable, the
centers also use Oracle Data Guard other simply carries on, and customers
software to manage standby databases, continue to get quotes without noticing
and Oracle Enterprise Manager 10g Grid any difference except possibly a minor For high availability, Dell’s data centers rely
Control, which provides a single point of degradation in response times. That on Dell PowerEdge servers running Oracle
management for 100 percent of Dell’s active-active configuration not only pro- Database 10g with Real Application Clusters.
global production databases. vides high levels of availability, it also
Mitchell McGovern, director of Dell’s allows Dell to balance loads across weaknesses,” says Higdon. “We spend
Global Operation Services, says that Dell centers to maintain high performance time testing with our vendors—for
paid close attention to rooting out single levels. What’s more, this load balancing example, we might simulate a disaster
points of failure in the infrastructure. is essentially testing the failover capa- here at Dell and include a couple of
“We did a detailed analysis across the bilities—all the time, as a part of day- vendors to see how an event here might
entire infrastructure, focusing on to-day operations. affect them. You don’t want to get in a
ensuring redundancy at all levels— Dell IT recognized that although the silo and forget about everything else
power, cooling, network, software, data centers are critical, they don’t that touches your operations.”
hardware,” says McGovern. “You may operate in a vacuum. The group took a McGovern says that the broad
have duplicate networks and systems, broad look at its infrastructure to identify search for weaknesses—internally and
but if the power fails, for example, and where business continuity depended externally—is the result of a guiding
you just have one generator that doesn’t on applications in other Dell facilities principle adopted by the IT group: “We
come on, it’s all for naught.” around the world, and took steps to assume that everything is going to fail.
The group also found that it needed to apply disaster recovery procedures It might be systems, a network, phone
pay close attention to processes as well in those areas. It also looked outside lines, roads leading to one of the data
as technologies. In particular, they estab- corporate boundaries. “We felt that it centers. And then we think about what
lished detailed change-management is important to look for potential vendor to do if those things do fail.”

S3
DellDisasterRecov_v7ForPrep 6/28/07 2:10 PM Page 4

SPECIAL ADVERTISING SECTION

Keeping disaster recovery current


Dell has completed its transformation
The Dell and Oracle Relationship
of its disaster recovery plans and pro-
cesses—but the effort will never be
entirely finished, says McGovern. Tech-
D ell and Oracle have a long collaborative relationship based in large part
on the similar long-term visions of both companies. Oracle’s Grid Computing
strategy focuses on delivering flexible, reliable database throughput; the dynamic
nologies, business needs, and security provisioning of database workloads on grids of industry-standard servers; and
threats all continue to evolve, and Dell’s the ability to easily add more capacity to grids. Dell’s Scalable Enterprise vision
disaster recovery policies and proce- complements that strategy with its focus on standardizing the core elements of
dures are designed to do the same. IT infrastructure to deliver superior value, and ultimately enabling customers to
For example, when a change is made simplify operations, improve utilization, and scale effectively.
to an application, database, or data With those complementary visions in mind, Dell and Oracle work together on
center, disaster recovery capabilities a number of fronts. For example, experts from both companies have collaborated
are updated as well. New applications to develop a number of pre-engineered, tested, and validated Intel-based Oracle
must be engineered for recoverability. database solutions on Red Hat Linux® and Microsoft® Windows Server® 2003.
Dell actively monitors and manages Dell and Oracle test and support the entire solution stack—servers, storage,
disaster recovery compliance, and switches, operating systems, and Oracle Database software—giving companies
disaster recovery documentation for a cost-effective solution to legacy data center technologies. In addition, Dell
each system has to be updated every Services and Oracle Consulting Services work together to provide fixed-fee and
90 days. custom services designed to accelerate implementation and help organizations
The company also maintains a strict make the best use of the technology.
policy that calls for all of its more than The two companies also have a firsthand view of the effectiveness of these
250 Class 1 applications to be tested technologies: Both use Dell and Oracle platforms in their own operations. Oracle
at least once a year. “That’s not nego- develops and tests much of its software on Dell PowerEdge servers and relies
tiable—it’s mandatory,” says Higdon. on more than 20,000 Dell Linux servers to power key elements of its Global IT
Dell has created a disaster recovery operations. Similarly, Dell entrusts several mission-critical business systems to
scorecard that lets the company keep PowerEdge servers running Oracle Database 10g—including not only its EMEA
close track of testing and documen- (Europe, Middle East, and Africa) order-management system, but also its North
tation status. The card is used by the American supply chain database.
IT group and the CIO, and is eventually
shared with the corporate audit function
and the audit committee of the board its insurance premiums go down, Resources
of directors. “You can see how serious because its carrier has recognized the
we are about this,” says Higdon. value of Dell’s disaster recovery efforts. Dell PowerEdge servers
The Dell disaster recovery initiative “This initiative shows how cost- www.dell.com/PowerEdge
has put the company in good position to effective, standards-based servers can Dell and Oracle Database 10g
ensure business continuity—and keep be used to support a strategic, enter- www.dell.com/oracle10g
supporting customers—in the event of prise approach to disaster recovery,” Oracle and Dell
a serious interruption at its data center. says McGovern. “Just as important, www.oracle.com/dell
“The goal is to do a complete failover it has enabled us to build disaster www.dell.com/oracle
to the disaster recovery site within four recovery into our culture. That’s key to
hours, and we’ve been hitting that mark. keeping disaster recovery in sync with
In our last test, we actually failed over the business. In today’s world, disaster
all the applications in scope in less than recovery is not a ‘nice to have’—it’s a
an hour,” says Higdon. And as an unex- ‘must have.’ And we’ve been able to
pected benefit, the company has seen make it a part of everyday life at Dell.”

July 2007. Printed in the U.S.A. Dell, the DELL logo, and PowerEdge are trademarks of Dell Inc. Oracle is a registered
trademark of Oracle Corporation. Linux is a registered trademark of Linus Torvalds. Microsoft and Windows Server are regis-
tered trademarks of Microsoft Corporation. Other trademarks and trade names may be used in this document to refer to either
the entities claiming the marks or their products. Dell disclaims any proprietary interest in the marks and names of others.
© 2007 Dell Inc. All rights reserved. Reproduction in any manner whatsoever without the written permission of Dell Inc. is
strictly forbidden. For more information, please contact Dell Inc.

S4
ew
NDatabase Vault
The only database
that prevents your IT staff
from seeing your data.

Without Oracle’s new Database Vault,


your staff can see:
Your financial results

Your customer list

Your employees’ salaries

Only Oracle has a Database Vault

oracle.com/security
or call 1.800.ORACLE.1

Copyright © 2007, Oracle. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.
BY DAV I D B AUM

MANAGE CHANGE WITH ORACLE


ith the recent launch of Oracle Database 11g, customers

are realizing a broad array of new capabilities in many

areas—grid computing, data security, high availability,

performance and scalability, and manageability. Especially impor-

tant to many are the new features that manage change faster,
NEW FEATURES thus helping to lower the risk and cost of implementing new

SPEED INNOVATION software and other system changes.

AND TRANSFORM “Change is a constant, which means IT depart-

ments are constantly upgrading servers, rolling out


THE ENTERPRISE.
upgrades, applying patches, and resolving problems,” says

Andy Mendelsohn, Oracle senior vice president, Database

Server Technologies. “Oracle Database 11g helps customers

manage these changes in a controlled manner—minimizing the

risk of new projects and the potential for error.”

Change assurance capabilities are among Oracle Database 11g’s

many new features that customers have had a chance to test-drive.

Since September 2006, hundreds of Oracle customers have partici-

pated in a comprehensive beta testing program for Oracle Database

11g. Their stories are as diverse as the companies they work for, yet

as IDC Research Vice President Carl Olofson points out, a common

chord resonates through them all: a desire to reduce the risk of

36 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_11g_FEAT.indd 36 7/17/07 10:10:27 AM


DATABASE 11g
RICHARD MERCHÁN

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 37

SO07_11g_FEAT.indd 37 7/17/07 10:10:27 AM


“With these new capabilities of Oracle Database 11g, we can record everything
that happens to the database during a particular period in the real world and
then replay it on a test system to see how it reacts.”
—Thomas Knauber, Architect
Postbank Systems AG

managing data and to enable their organizations to do bilities, such as database replay, which lets customers
more with less. simulate production environments, can help.
“Today’s DBAs face challenges on a scale never
before seen in the industry,” says Olofson. “On the one RISING COMFORT LEVEL
hand, they’re dealing with exploding databases, both These capabilities appealed to Qualcomm, a telecommu-
in numbers and in sizes. And at the same time, they’re nications equipment manufacturer based in San Diego.
increasingly expected to manage new complex datatypes Qualcomm pioneered a digital wireless technology that
that we’ve never seen in the database before.” works by converting analog information, such as speech,
One of the problems of coping with all these changes into digital information, which is then transmitted as a
is the time and effort it has taken in the past to prepare radio signal over a wireless network. The company now
for and execute them. But new Oracle Database 11g capa- has 400 mission-critical databases that depend on Oracle

Thomas Knauber, an architect for Postbank Systems AG, says that Oracle Database 11g offers real-world testing, which will be especially valuable when the
company needs to evaluate changes to databases that underlie critical applications.

38 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_11g_FEAT.indd 38 7/17/07 10:10:32 AM


technology. After beta testing the new management help improve database performance are database
capabilities of Oracle Database 11g, Qualcomm DBAs replay; automatic SQL tuning, which automatically
determined that several features, including database chooses the workload and tests, implements, and
replay, will make it easier to tune database applications retunes SQL profiles; and the SQL tuning set, which is
to improve performance. used to store the SQL workload.
“Right now our test environments might not give us “We can adapt database replay to most of our
the correct picture of what production will be,” says Shaik databases when we go from test to production,” says
Hidayatullah, staff DBA at Qualcomm. “Database replay
will allow us to be more comprehensive and systematic
and will also give us a more accurate test experience.” ORACLE DATABASE 11g FEATURES
Oracle Database 11g continues the effort to simplify Oracle Database 11g helps companies protect information,
and ultimately fully automate common DBA tasks. reduce complexity of operations, and adapt to change. Here are
Oracle has introduced more self-management utilities, just a few of the innovations and improvements.
along with advisors for partitioning, database repair, Oracle Real Application Testing. This new feature in Oracle
streams performance, and space management. Thomas Database 11g makes it easier to test systems before and
Knauber, an architect for Postbank Systems AG—the after database upgrades and hardware and operating system
IT service provider for Deutsche Postbank AG, in changes so you can more quickly identify and fix problems,
Bonn, Germany—says these enhancements will enable thus lowering costs. Oracle Real Application Testing includes
the DBA team to work smarter and not always be O Database replay, which lets you capture production

driven by incidents. “We don’t want to be in a constant workloads at the database level and replay them on your test
state of reacting to issues,” he says. “Clearly, Oracle system—so you can test the impact of system changes, includ-
sees the value in this outlook.” ing critical concurrency characteristics
For example, Knauber looks forward to a new feature O SQL performance analyzer, which identifies SQL execution

called snapshot standby, which will allow the DBAs to plan changes and performance regressions
temporarily convert physical standby databases to snap- Enhanced partitioning. These capabilities include partition-
shot standby databases for testing and maintenance. In ing by parent/child references; partitioning by virtual columns;
addition, the database replay facility will allow Postbank more composite partitioning choices; and interval partitioning,
Systems to capture production workloads at the database which automatically generates new partitions based on inter-
level and then play them back on a test system to fully vals, such as every day or every month.
gauge the impact of changes—including critical concur- Advanced compression. Oracle Database 11g supports
rency characteristics. Knauber says this type of real- data compression for update, insert, and delete operations
world testing will be especially valuable when they need commonly used in online transaction processing (OLTP) appli-
to evaluate changes to databases that underlie the bank’s cations. Oracle Database 11g table compression improves data-
critical applications. base performance with better use of memory for caching data
“We have a dedicated test network, but it has always and reduced I/O for table scans. With table compression, you
been difficult to simulate the cash dispenser workload,” can achieve two- to three-fold compression ratios with minimal
he says. “With these new capabilities of Oracle Database processing overhead.
11g, we can record everything that happens to the data- Flashback data archive. Part of the Oracle Total Recall
base during a particular period in the real world and option, this feature lets you query data in selected tables
then replay it on a test system to see how it reacts.” “as of” earlier times, which adds a time dimension to your
data for change tracking, information lifecycle management,
WORKING SMARTER auditing, and compliance. Flashback data archive stores
One of the features that appeals to the Qualcomm DBAs change data automatically to enable fast query access to old
is automatic memory tuning, which enables automatic, versions of the data.
unified tuning of both system global area (SGA) and Oracle SecureFiles. This feature lets you store large objects
program global area (PGA) memory buffers. “Before, such as images, large text objects, or advanced datatypes—
we used to look at each instance manually,” says Justin including XML, medical imaging, and geospatial raster
Ambrose, another staff DBA at Qualcomm. “Now, we can objects—inside the database. Performance is comparable to
set one or two global parameters, and everything will be file systems, and Oracle SecureFiles provides advanced func-
adjusted. Oracle automatically balances the memory allo- tionality including intelligent compression, transparent encryp-
BOB ADLER

cated to each group of nodes, depending on the load.” tion, and transparent deduplication.
Other features that Qualcomm DBAs expect will

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 39

SO07_11g_FEAT.indd 39 7/31/07 2:16:10 PM


“Automatic SQL tuning and automatic memory tuning will reduce the

Ambrose. “Additionally, automatic SQL tuning and automatic Qualcomm DBAs are interested in, since it will allow many
memory tuning will reduce the amount of time we spend on database patches to be applied with no downtime in both
tuning tasks by about 70 percent. The SQL tuning set will Oracle Real Application Clusters (Oracle RAC) and non–
look at the overall picture of all our SQL statements and give Oracle RAC environments. “Right now we need downtime to
us recommendations.” do a patch,” Ambrose says. “That can be eliminated totally
Online hot database patching is another feature that with Oracle Database 11g and the online patching facility.”

Innovate Faster with Oracle Database 11g

Ensure Security
and Compliance Manage All Your Information
Keep data secure and ensure Consolidate and integrate all your
regulatory compliance with enterprise information including
transparent data encryption, binary XML, RFID datatypes, DICOM
flashback data archive, Oracle medical images, 3-D spatial data, and
Database Vault, and Oracle other multimedia data into your
Audit Vault. business processes.

Make Changes Faster


Change with confidence and
Manage More Data
reduce the time it takes to
Manage your ever-growing
change your IT systems with
database storage needs
the realistic production
more easily with advanced
workload testing and diagnosis
partitioning and data
capabilities of Oracle Real
compression, and efficiently
Application Testing.
manage the lifecycle of
information inside
your database.

Performance and Scalability


Deliver optimal database
Maximize Availability
performance and scalability with
Manage unplanned downtime from
enhancements and optimizations,
server, storage, or site failure and
including query result caches, new
human error, perform online patch
Oracle SecureFiles LOB storage
updates and rolling upgrades, and
architecture, and OLAP cube-
get more performance out of
organized materialized views.
production systems using new
Oracle Data Guard features.

40 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_11g_FEAT.indd 40 7/17/07 10:10:47 AM


amount of time we spend on tuning tasks by about 70 percent.”
—Justin Ambrose, Staff DBA, Qualcomm

Qualcomm’s Hidayatullah
likes Oracle Database 11g’s
adaptive threshold capabili-
ties. Performance monitoring
is established with baselines,
which capture metric value
statistics and are automatically
computed over the system’s
moving window. The baseline
metric statistics are used to
determine alert thresholds,
and companies can use Oracle
Enterprise Manager to configure
adaptive thresholds for alerts.
Hidayatullah adds that these
settings will enable Qualcomm
to vary the expected perfor-
mance levels at certain times
of the day and week. “We can
set the parameters so that the
database automatically senses
the threshold,” he says. “It will
know what the expected load
should be and then adjust the
parameters accordingly.”
Vishu Krishnamurthy, Oracle’s
senior director of XML Database,
search, and information manage-
ment, believes that these auto-
mated management capabilities
are becoming increasingly impor-
tant, particularly as customers
use Oracle Database to store both
structured and unstructured data Justin Ambrose (left) and Shaik Hidayatulla, staff DBAs at Qualcomm, anticipate that Oracle Database 11g ’s management
ranging from office documents capabilities will save time, give DBAs a better picture of test results, and ultimately, make it easier to tune database
applications to improve performance.
and spreadsheets to medical
images and geographical data. “It makes good economic sense create a large-scale storage system for its Printrak Biometrics
to store, manipulate, and protect all types of information in Identification Solution.
a common repository,” he says. “Oracle Database 11g can According to Aris Prassinos, a database architect for the
manage all information in the enterprise, with robust security biometrics division of Motorola, the company selected Oracle
and information lifecycle management (ILM) capabilities.” for its ability to store large, complex biometric images such
as fingerprints, palm prints, facial and iris images, and sig-
DATATYPE CONVERGENCE natures in a secure, highly flexible way. Motorola uses Oracle
Motorola was most enthusiastic about Oracle Database 11g’s large objects (LOBs) to store these images within the data-
enhanced XML capabilities and more-robust support for base, along with Oracle XML Database (Oracle XML DB) to
BOB ADLER

unstructured data. The global wireless and broadband com- store diverse textual data.
munications provider implemented Oracle Database 10g to Prassinos believes that Oracle Database 11g will improve

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 41

SO07_11g_FEAT.indd 41 7/17/07 10:10:51 AM


“Since the [large objects] have been rearchitected for Oracle Database 11g with
Oracle SecureFiles, we have seen huge performance improvements.”
—Aris Prassinos, Database Architect, Biometrics Division, Motorola

performance significantly.
“90 percent of our data is
either images or XML data
stored in LOB format,” he
says. “Since the LOBs have
been rearchitected for Oracle
Database 11g with Oracle
SecureFiles, we have seen
huge performance improve-
ments. For smaller images
such as fingerprints, reading
and writing from the LOBs is
three times faster. For larger
images such as palm prints,
we’ve clocked it at seven
times faster using Oracle
Database 11g beta software.”
Oracle SecureFiles is
Oracle’s next-generation offer-
ing for storing LOBs such
as images—as well as large
text objects and advanced
datatypes such as XML,
medical images, and geospa-
tial raster objects—inside the General manageability enhancements such as Oracle RAC–aware automatic database diagnostic monitor will
database, with performance improve reliability and uptime. “With Oracle Database 11g we can apply its performance diagnostic and tuning
capabilities across all nodes of our Oracle RAC clusters,” says Aris Prassinos, Database Architect for Motorola.
comparable to file systems. This
speed and flexibility are essential for Motorola’s demand- tomers transform data centers from silos of isolated
ing justice and public-safety customers, as well as for resources to versatile, shared pools of servers and storage
disaster recovery efforts. Prassinos says general manage- capacity. Oracle Database 11g helps these organizations
ability enhancements such as Oracle RAC–aware auto- take full advantage of infrastructure grids by managing
matic database diagnostic monitor (ADDM) will improve changes to the database and the surrounding IT infra-
reliability and uptime for these customers. “We’re heavy structure, such as when they move their data from one
users of ADDM. With Oracle Database 11g we can apply hardware platform to another.
its performance diagnostic and tuning capabilities across “We enhanced all the key areas in grid computing,”
all the nodes of our Oracle RAC clusters,” he says. says Oracle’s Mendelsohn. “We improved automatic
Another advancement for Motorola in Oracle storage management to make software mirroring faster.
Database 11g is the way Oracle treats XML data as part of We enhanced Oracle RAC’s cache fusion protocol. One of
Motorola’s XML Index product. “Everything that Oracle the cool things we did was an enhancement with ADDM.
supports for SQL we can now do in XML and vice versa,” In Oracle Database 11g, ADDM can look for interconnect
Prassinos says. “Binary XML storage and enhanced issues or global I/O problems when it performs diagnos-
XML indexing will give us more options for storing and tics and tuning. That’s a very exciting improvement for
retrieving important data.” our administrators.”
RAFFI ALEXANDER

Fidelity National Information Services welcomes these


ENHANCING THE GRID PARADIGM enhancements. This leading provider of core financial
One of Oracle’s primary objectives with Oracle Database institution processing, card issuer, and transaction pro-
11g is to extend the benefits of grid computing, as cus- cessing services specializes in mortgage loan processing

42 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_11g_FEAT.indd 42 7/17/07 10:10:57 AM


and related information products. useful tools that can improve the
Nearly 50 percent of all U.S. resi- structure, layout, and query plan
dential mortgages are processed associated with our databases.”
using Fidelity software. In 2006, With millions of mortgage,
Fidelity converted an IBM DB2 title, and escrow documents
database to Oracle Database 10g stored as LOBs in its database,
and Oracle RAC. Managers valued Fidelity also favors Oracle
Oracle’s ability to eliminate single Database 11g because its Oracle
points of failure and improve SecureFiles feature can manage
capacity planning. Today, Fidelity structured and unstructured
uses the Oracle software to store information in a cohesive way—
50 million mortgage title docu- securely and with encryption
ments and associated metadata capabilities. “We have extremely
with a combination of XML data Mike Amble, Senior Vice President of Operations and demanding security issues,”
and PDF files. “We are heavily Engineering at Fidelity National Information Services, says Amble continues. “We need to
vested in Oracle as a product and that Oracle Database 11g ’s new internal encryption will maintain information about bank
enable the company to encrypt sensitive data transparently.
future direction,” says Fidelity’s accounts, mortgages, credit cards,
Mike Amble, senior vice president of operations and engi- and personal data like social security numbers in different
neering. “Our database is a very large component of our formats. Oracle’s new internal encryption mechanism in
overall operation.” 11g will enable Fidelity to encrypt sensitive data, includ-
Amble and his team have been ing LOBs, transparently.”
evaluating Oracle Database 11g,
which they plan to deploy later
SNAP SHOTS AND SO MUCH MORE . . .
this year. They are particularly Qualcomm www.cdmatech.com
The customers profiled here are
enthusiastic about the software’s Location: San Diego, California Industry: High technology discovering useful enhancements
high-availability capabilities and Annual revenue: US$1 billion Employees: 5,000–9,999 to Oracle’s flagship database
flashback data archive, which Oracle products and services: Oracle Database, environment, yet Mendelsohn
provide an easy, practical way to Oracle Real Application Clusters, Oracle E-Business points out that there are many
add a time dimension for change Suite, Oracle Enterprise Manager, Oracle Fusion more enhancements. “We’ve
Middleware
tracking, auditing, and compli- enhanced our data warehousing
ance. Fidelity has standardized Deutsche Postbank AG www.postbank.com and business intelligence [BI]
on an Oracle RAC environment, Location: Bonn, Germany Industry: Financial services capabilities on several fronts to
along with Oracle Automatic Annual revenue: €941 million Employees: 22,000 improve manageability and make
Storage Management, Oracle Data Oracle products and services: Oracle Database, advanced technologies such
Guard, recovery manager, and Oracle JDeveloper as online analytical processing
flashback technologies. These [OLAP] and data mining more
Motorola www.motorola.com
systems have been implemented Location: Schaumburg, Illinois Industry: High technology
accessible to mainstream users,”
according to Oracle Maximum Annual revenue: US$42.6 billion Employees: 69,000 he says. Oracle OLAP capabili-
Availability Architecture, with Oracle products and services: Oracle Database, ties are now fully integrated with
help from Oracle Consulting. Oracle Real Application Clusters, Oracle Data Guard, the Oracle Materialized Views
“For an operation of our size, Oracle XML DB, Oracle Automatic Storage Management, feature, and OLAP cubes can
any type of outage translates into Oracle Diagnostic Pack, Oracle Tuning Pack be automatically refreshed from
millions of dollars of loss in a relational data and transparently
Fidelity National Information Services
very short period of time,” says www.fidelityinfoservices.com/fnfis accessed using SQL.
Amble. “We need an environ- Location: Jacksonville, Florida Industry: Financial services “In addition, automatic data
ment that permits instantaneous Financial services US$9.4 billion Employees: 25,000 preparation at the SQL/Java API
backup, anchored by highly Oracle products and services: Oracle Database, level, an improved management
available systems in separate loca- Oracle Enterprise Manager Grid Control, Oracle console, and more predictive
Enterprise Manager Performance Pack, Oracle Recovery
CHARITY DEMEER

tions. Oracle RAC enables us to analytics have made data mining


Manager, Oracle Data Guard, Oracle Real Application
distribute data more effectively Clusters, Oracle Partitioning, Oracle E-Business Suite,
in Oracle Database 11g both
to improve response time, and including Human Capital Management and Financials easier to use and more power-
Oracle Database 11g has many ful,” Mendelsohn says. When it

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 43

SO07_11g_FEAT.indd 43 7/17/07 10:11:01 AM


comes to managing this advanced BI infrastructure, Oracle he says. Oracle Database 11g also includes new management
Enterprise Manager is fully “DW [data warehouse] aware,” interfaces in Oracle Enterprise Manager for encryption, Oracle
as Mendelsohn puts it, and includes data warehouse–specific Label Security, and enterprise user security. Other security
screens, parallelism, and partitioning. enhancements include case-sensitive passwords, default profile
password settings, and default audit settings.
MAKING IT ALL SECURE Mendelsohn says that the release of Oracle Database 11g
Vipin Samar, Oracle’s vice president of database security this year is apropos, because Oracle is celebrating its 30th
development, points to the comprehensive security and com- anniversary as one of the world’s leading technology providers.
pliance features and products associated with Oracle Database “It’s a time for celebration,” he says, “and it’s great to have such
11g such as the recently introduced Oracle Audit Vault, enthusiastic customers on board for the occasion.” O
enhancements to transparent data encryption, and improved
security tools. “While Oracle Database Vault protects the David Baum (david@dbaumcomm.com) is a freelance business writer based in
data inside the database from highly privileged users through Santa Barbara, California.
custom controls and flexible policies, Oracle Audit Vault
helps monitor the enterprise by consolidating audit data from
multiple enterprise databases—Oracle9i Database Release
2 and higher—into a centralized secure data warehouse,
READ about Oracle Database
enabling auditors to efficiently report, analyze, and raise alerts oracle.com/database
on suspicious user activity,” he says. DOWNLOAD Oracle Database
Data encryption continues to be a top priority for custom- otn.oracle.com/database
ers coping with personally identifiable information and privacy DISCUSS Oracle Database
regulations such as Peripheral Component Interconnect, Samar forums.oracle.com/forums/category.jspa?categoryID=18

says. “Oracle Database 11g provides significant new enhance- DISCOVER Oracle Database documentation
otn.oracle.com/documentation
ments to transparent data encryption with Oracle SecureFiles
(LOB encryption) and tablespace encryption, making it easier EXPLORE Oracle Database tutorials
otn.oracle.com/obe
to encrypt an entire application’s data or sensitive objects,”

,W
VQRWKRZPXFK
GDWD\RXKDYH


LW
VZKDW\RX
%XVLQHVV)RFXVHG 
NQRZ
:RUNORDGV
3DVW3UHVHQWDQG)XWXUH

3UREOHP,VRODWLRQ

&KDQJH,PSDFW$QDO\VLV

$FWLYLW\3URILOLQJ

3HUIRUPDQFH3ODQQLQJ

$YDLODEOHQRZZLWK2UDFOHFHUWLILHG
(0*&0DQDJHPHQW3OXJ,Q

%(=V\VWHPV ZZZEH]FRP DEXVLQHVVOHQVRQ,7


70

44 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_11g_FEAT.indd 44 7/17/07 10:11:06 AM


Special Advertising Section

ORACLE DATABASE 11g

Partner
Guide
Partners Are Lining Up to Help Customers Meet
Change with Confidence

THE FOLLOWING SECTION HIGHLIGHTS


key hardware, storage, and service partners
who are ready to help Oracle customers
manage change while reducing risk, lowering
cost, and improving performance.

PARTNER INDEX
HP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Fujitsu Siemens Computers . . . . . . . . . . . . . . . . . . . . . . . 47
Pillar Data Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
The Pythian Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Quest Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
TUSC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
NetApp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Autodesk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
AMD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

11g_Ads.indd 45 7/31/07 12:02:17 PM


Special Advertising Section

HP
HP and Oracle: Improving Business Outcomes

T he speed and unpredictability of business cycles


have pushed the limits of information technology (IT)
infrastructures at many enterprises. Organizations need to
with a total solution. “For customers who want to optimize
their business outcomes, HP and Oracle together offer the
products, services, and experience to accelerate business
become more adaptable, but often their information systems growth, mitigate risks, and lower costs, providing a solid
are slow to respond. At the same time, these enterprises return on IT investments,” explains Eller.
want to gain greater efficiency and effectiveness from their The companies have invested heavily in their joint
IT systems, lower the cost of computing, and optimize their solutions. In fact, HP and Oracle manage 13 competency
business outcomes. centers across the globe that provide proofs of concept;
HP has a tradition of helping customers profit from new IT design, configuration, and benchmarking assistance; thought
innovations. As enterprises all over the world discover that leadership; and training.
they need new levels of availability and integration—in real HP has been involved in the Oracle Database 11g beta
time—they are turning to HP. HP Integrity, HP ProLiant, and program for more than a year. As an Oracle database
HP BladeSystem servers offer the highest levels of service customer, HP gained insight into how the new release would
of any platform in their class. HP storage systems scale to help the company improve its business. At the same time, as
meet the most demanding customer workloads. HP software an Oracle partner participating in the beta program, HP lent
provides a leading management platform for the data cen- its perspective and expertise to Oracle’s development team
ter, plus tools such as HP LoadRunner and Quality Center to make the new database release even better.
software, to help customers optimize their environments. In For example, HP worked with Oracle to incorporate HP’s
other words, HP provides all of the components of an agile, industry-leading network-attached storage solution directly
high-performance, highly available data center, thus helping into the Oracle Direct network file system (Oracle Direct
customers achieve better business outcomes. NFS) The result? With Oracle Database 11g, customers
HP also has a long history of working with Oracle. And can realize scalable and available I/O performance on
Oracle Database 11g will be an integral part of HP’s cus- network-attached storage that was not previously possible.
tomer solutions. In addition, this combination of Oracle and HP technology
“Oracle Database 11g, with its low-cost maximum avail- can leverage existing storage area networks, providing
ability architecture, combined with HP’s software, servers, customers with investment protection while allowing
and storage, provides an opportunity for customers to take flexibility for growth with mitigated risk.
advantage of this next level of IT innovation and, in turn, achieve “We’re excited that Oracle has developed its [Oracle]
better business outcomes,” says Ron Eller, vice president and Direct NFS feature in Oracle Database 11g on HP Storage
general manager, enterprise solution alliances, at HP. products so that customers can choose simple, inexpensive
storage connectivity and provisioning for grid deployment,”
A TOTAL SOLUTION says Eller. “It’s just another example of the way Oracle
HP and Oracle share more than 100,000 customers, from and HP work together to provide customers with better
small and medium businesses to large enterprises. The overall answers.”
breadth and depth of this joint solution stack—including HP/ HP and Oracle share a common goal of improving their
Oracle reference architectures, applications, and operating customers’ business outcomes through IT. Because IT isn’t a
systems—allow these two partners to provide customers separate piece of the business—IT helps drive the business.

FOR MORE INFORMATION VISIT | www.hp.com/go/oracle

11g_Ads.indd 46 7/27/07 11:02:17 AM


Special Advertising Section

FUJITSU SIEMENS COMPUTERS


Oracle and Fujitsu Siemens Computers

“I t’s a fact that no one vendor offers the whole picture, so


partnerships are vital,” says Dr. Bernd Kosch, vice president
of strategic alliances within Fujitsu Siemens Computers. “The
Oracle Database 11g will deliver the highest level of
manageability, availability, performance, and security for cus-
tomers. In the jointly run Center of Excellence at the Oracle
key is that both companies bring unique contributions to a facility in Munich, Germany, Fujitsu Siemens Computers and
strategic partnership, giving joint customers a leading edge Oracle will evaluate and test Oracle Database 11g with Fujitsu
and business advantage.” Siemens Computers’s infrastructure solutions and storage
It is precisely these types of strategic partnerships that systems. Fujitsu Siemens Computers also plans to integrate
fuel growth and innovation. It’s also one of the many drivers Oracle Database 11g as soon as possible into its own product
behind why Oracle has had a strategic global partnership with and solution portfolio, and to promote its benefits to customers
the Fujitsu Group for decades —including Fujitsu Limited and and partners via the joint Oracle/Fujitsu Siemens Computers
Fujitsu Siemens Computers. ISV Migration Centers in Europe.
Oracle technology is a key component in the Fujitsu
Group’s range of servers running Linux, Windows, and Solaris CHECKS AND BALANCES
operating environments on both Intel and SPARC platforms. Ongoing performance testing and analysis will ensure that
The Fujitsu Group meets the needs of the world’s largest Oracle and Fujitsu Siemens Computers deliver on the top
and most-progressive users of information technology by performance-improvement features, including faster and
providing enterprise and e-business open systems server more-reliable direct connections to network file system storage
and storage solutions. In fact, Fujitsu Siemens Computers devices, faster upgrades, faster backup/restore for large files,
is the only company that supports three out of five strategic faster backup compression, and new security features, such
platforms—Linux, Windows, and Solaris running on UNIX/ as improved transparent data encryption to support tablespace
SPARC–based PRIMEPOWER, PRIMEQUEST, and Intel-based encryption and tighter integration with hardware security
PRIMERGY servers. modules for high-assurance masterkey protection. Also in the
works is increased password security with support for case-
A SYMBIOTIC RELATIONSHIP sensitive, multibyte passwords, plus strong password-hashing
Oracle recently named the Fujitsu Group a Global Alliance algorithms such as Secure Hash Algorithm (SHA-1) and salt.
Partner and assigned a dedicated Global Alliance Manager Additional features include secure-by-default configuration
in Europe who reports directly to Oracle’s headquarters settings supporting password policies and audit options,
in Redwood Shores. “We are now able to draw on direct and strong authentication support for database system
support from Oracle’s headquarters, which clearly improves administrator and database system operator connections.
the planning and implementation of joint activities,” Kosch Kosch anticipates great things to come. “Fujitsu and
explains. Within the Oracle PartnerNetwork, Fujitsu Siemens Fujitsu Siemens Computers are strategic to Oracle,” he
Computers is an Oracle Certified Advantage Partner. says. “We see significant sales opportunities for Oracle’s
“Together with Oracle we can guarantee our customers technology solutions running on Fujitsu Siemens Computers
enhanced application performance, unlimited scalability, platforms in general, including PRIMERGY, PRIMEPOWER,
fault tolerance, optimum security, and increased value from PRIMEQUEST, and BS2000, as well as especially the
products and services that are fully integrated and compatible FlexFrame for Oracle solution. We look forward to growing
with our technology,” says Kosch. our sales efforts to capitalize on this opportunity.”

FOR MORE INFORMATION VISIT | www.fujitsu-siemens.com/solutions/strategic_partners/oracle/index.html

11g_Ads.indd 47 7/27/07 11:02:18 AM


Special Advertising Section

PILLAR DATA SYSTEMS


Making Room for Automation

W hen it comes to business data, there’s no such thing


as too much of a good thing. There is, however, the
ongoing challenge of effectively managing and storing
director, global alliances. “Customers who migrate to
Oracle Database 11g on Pillar will experience a new era in
automation.”
all that data. And that’s where Pillar Data Systems and
Oracle come in. CONSOLIDATE ON PILLAR FOR MAXIMUM EFFICIENCY
Pillar provides Oracle Database customers with end-to- Pillar is working with Oracle to provide adapters for Oracle
end solutions for cost-effective data storage. From validating Enterprise Manager so that database administrators can
specific hardware and software configurations to providing manage storage based on Oracle Database 11g from a single
customers with tools for managing and consolidating multiple console. Database administrators can also establish quality-
storage tiers on a single platform, Pillar’s goal is to help of-service levels by using a policy-driven framework for
customers maximize data center performance while lowering automating storage requirements.
infrastructure costs. “There is a major shift in the way database administrators
In addition to providing Oracle Database 11g customers and IT professionals view storage today,” says Pillar’s
with higher levels of efficiency, automation, and quality of Veilleux. “Space is at a premium and power requirements are
service, Pillar addresses the growing customer concern of becoming an important issue. Companies can avoid significant
resources: power and physical space. In fact, Gartner predicts costs by purchasing a Pillar solution that consolidates SAN
that 50 percent of data centers will not have sufficient power [storage-area network] and NAS [network-attached storage]
or cooling capacity by 2008 to keep up with current demands systems onto a single platform and scales out to grow with
for high-density computing. your database applications.”
By consolidating multiple tiers of storage, customers
GET CONFIDENT WITH VALIDATED CONFIGURATIONS can achieve more than twice the efficiency for each IOPS
Pillar’s Oracle Validated Configurations will certify performed per watt consumed, he says. Pillar is also a member
architectures based on Oracle Database 11g to ensure of the Green Grid, a consortium of information technology
that servers, operating systems, and storage network companies and professionals seeking to improve energy
connectivity components all work together seamlessly, efficiency in data centers around the globe.
according to Mike Workman, Pillar’s CEO. Oracle Validated
Configurations also include documented best practices for MORE ABOUT PILLAR
standardization and deployment—saving time and expense Pillar Data Systems takes a sensible, customer-centric
and improving overall quality of service (QoS). “The result is approach to networked storage. We started with a simple
true IT automation and higher efficiency,” says Workman. yet powerful idea: Build a successful storage company
Pillar’s commitment to publishing new validated configura- by creating value that others had promised, but never
tions for Oracle Database 11g running on Oracle Enterprise produced. At Pillar, we’re on a mission to deliver the most
Linux will provide confidence to customers looking to expedite cost-effective, highly available networked storage solutions
early adoption of our joint technologies. on the market. We build reliable, flexible solutions that, for
“We see [Oracle] Database 11g as a natural progression the first time, seamlessly unite SAN with NAS and enable
in providing our joint customers with the right solutions multiple tiers of storage on a single platform. In the end, we
for their needs,” says Paul Veilleux, Pillar’s executive created an entirely new class of storage.

FOR MORE INFORMATION VISIT | www.pillardata.com

11g_Ads.indd 48 7/27/07 11:02:18 AM


Special Advertising Section

THE PYTHIAN GROUP


Your 11g Database Maestros

“W e’ve seen features in Oracle Database 11g that


are so compelling that many companies are going
to want to adopt them sooner rather than later,” says Paul
ORACLE DATABASE 11g EXPERTISE
One Pythian consulting engineer, Christo Kutrovsky, a Pythian
DBA team lead and Oracle Database 11g beta member,
Vallee, president of the Pythian Group. “And when they do, sees compelling features that customers are going to want
our DBA teams are ready to help.” right away. “I’m very, very excited about real application
Engineers from Pythian, an industry-leading outsourced testing,” says Kutrovsky. “It’s the ability to capture workloads
DBA services company, have spent over a year mastering on the production database and replay them on a different
Oracle Database 11g features as part of a select beta tester environment. That is very, very useful. Oracle is going to
group on the Oracle campus. backport this feature to [Oracle Database] 10g, so you can
The Pythian Group, founded in 1997, works with capture workloads in [Oracle Database] 10g and play them in
organizations such as the University of Pennsylvania and [Oracle Database] 11g. This might be the No. 1 feature that will
Forbes.com to blend its DBA expertise into the customer’s convince my clients to upgrade to [Oracle Database] 11g.”
existing database management team. “We can, of course, Kutrovsky sees other features that will entice his current
outsource the entire DBA function, and we do that for many clients to upgrade as well. “[Oracle] Database 11g allows you
customers,” says Vallee. “We’ve also spent 10 years fine- to take a standby database and put it to use as a reporting
tuning a service that blends our expertise with a customer’s database while changes are still being propagated in real time
existing DBA team to great advantage for customers.” from the production database. I already have a customer use
Pythian customers range in size from startups to medium case for this feature,” says Kutrovsky. “[Oracle] Database 11g
businesses to Fortune 500 members. also allows server-side data connection pooling. This is very
interesting for our clients who run many, many Web servers,
SCALE UP WHEN YOU NEED TO, DOWN WHEN YOU DON’T and they’re having issues with too many connections to the
“A big part of our success is that we do not lock our database,” he says. “Having a connection pool on the server
clients into long-term contracts,” says Vallee. “A company side will be extremely useful to them.”
can change how much work they flow to Pythian with
only 30 days notice.” This means Pythian customers can GET ORACLE DATABASE 11g FEATURES NOW
quickly change their contracts to add Pythian’s expertise for By being able to quickly scale up with help from Pythian’s
a major IT initiative, and then scale back when workloads expertise, customers that didn’t have the opportunity to
return to normal. “Even without long-term contracts, participate in the beta can quickly upgrade to Oracle Database
customers stick around,” says Vallee. “We still have many 11g to take advantage of compelling features. “If Oracle
customers from our early years that have stayed with us all customers want to inject skills into their operations in DBA
this time.” roles, such as feature implementation or developer support,
Another key to Pythian’s success is the level of they can blend Pythian resources into their DBA team and be
expertise it provides to clients. “We have deep roots up and running right out of the gate,” says Vallee.
in the Oracle community,” says Vallee. “Our engineers The Pythian Group is headquartered in Ottawa,
are very active in the Oracle users groups and the Canada, and performs most of its work from that location.
Oracle beta process, and we have one of the world’s top Pythian also maintains offices in Sydney, Australia, and
Oracle-focused blogs,” says Vallee. “When customers Hyderabad, India, to provide clients anywhere in the world
contract our services, they’re getting access to consultant- with 24/7 access to its broad range of database and system
quality engineers.” administration capabilities.

FOR MORE INFORMATION VISIT | www.pythian.com

11g_Ads.indd 49 7/27/07 11:02:19 AM


Special Advertising Section

QUEST SOFTWARE TUSC


Mastering the Art of The Oracle Database Experts
Database Management Since 1988

C omplexity is inherent in IT—and change, it seems, is


the only constant. To fully realize the value of their IT
“T heof change
amount of data continues to grow while the pace
accelerates,” says Rich Niemiec, TUSC CEO
investments and ensure the peak performance of critical and an Oracle Certified Master. “Oracle Database 11g meet
applications, organizations must adopt strategies and best these challenges by giving us a way to visualize and manage
practices that minimize the impact of change—on both the huge data loads and to meet change with confidence,” he says.
IT environments and the people who manage them. And that’s “We’re very excited to bring Oracle Database 11g advancements
where Quest Software, an Oracle Certified Partner, comes in. to our customers and to our own Oracle systems.”
As Oracle seeks to extend platform functionality in TUSC, Oracle’s Partner of the Year in 2002 and 2004, was an
Oracle Database 11g, Quest seeks to give IT professionals early and enthusiastic member of the Oracle Database 11g beta
additional tools to fully realize that extended functionality. program. It sees Oracle Database 11g as both a smooth next step
As Oracle seeks to optimize performance tuning and add and a new version with the power and manageability features
automation capabilities, Quest seeks to give IT professionals to handle the megadatabases of the future. “We brought almost
the knowledgebase and techniques for making the most of 20 years of deep Oracle experience to the beta program, so we
those capabilities. were able see where the improvements are in Oracle Database
It’s a synergistic relationship that helps both Oracle and 11g and how they work,” says Niemiec, who says his Oracle
Quest customers get a better return on their IT investments, Database 11g favorites include tuning and manageability
says Larry Humphries, Quest Software’s vice president of features such as invisible indexing and SQL Repair Advisor, and
product management. “Our understanding of the market and of memory advantages such as result cache.
customers’ needs is quite similar. Our [common] goal is to help As an Oracle Certified Advantage Partner (one of only a
customers get maximum price performance and productivity handful in the U.S.), TUSC provides expertise in the areas of
from their database platform and from their people.” Oracle E-Business Suite consulting, business intelligence/data
The new features in Oracle Database 11g are a good warehousing, custom development (Oracle Fusion Middleware,
case in point, adds Humphries, who sees them as address- Web services, service-oriented architecture), database services,
ing two key customer requirements: managing and the impact managed services for remote DBA and Oracle E-Business Suite
of change and improving automation. New features and en- support, software licensing, and training and mentoring.
hancements such as change impact analysis, performance TUSC sees clients not only as valued customers, but also
auditing, capacity management, and automated suggestions true partners, and its record of client satisfaction sets it apart
for testing and tuning will complement workflow features and as an industry leader. “Whether it’s a phone call for technical
best practices that Quest is infusing in its own tools, including advice, an executive planning meeting, or a cooperative effort
SharePlex for Oracle, Toad for Oracle, Space Manager with across the company, we support our clients with our entire
LiveReorg, Spotlight, and SQL Navigator. firm at their doorstep, even after the project is completed,”
When Oracle and Quest products are used together, says Niemiec.
says Humphries, “Not only does the database perform “We’ve done well over a hundred major upgrades for
more efficiently and with less risk, the people developing, Oracle technology and Oracle E-Business Suite customers,”
administering, and analyzing the data themselves perform adds Niemiec. “And with more than a year on the Oracle
more efficiently.” Database 11g beta, both in our own systems and in several
customer sites, we’re ready to help any organization get the
most out of Oracle Database 11g.”

FOR MORE INFORMATION VISIT | www.quest.com

FOR MORE INFORMATION VISIT | www.tusc.com

11g_Ads.indd 50 7/27/07 11:02:20 AM


Special Advertising Section

NETWORK APPLIANCE, INC.


Multiplying the Power of Oracle Database 11g

A key Oracle partner in the development of grid computing,


leading storage provider Network Appliance, Inc.,
(NetApp) provides solutions that significantly enhance the power
copying of production data. As a result, developers can complete
testing, updating, and patching far more quickly than before.
“When you have to copy and distribute a terabyte of data
of Oracle Database 11g to enable cost-efficient ILM, increase multiple times, the potential time and space savings that
DBA productivity, and shrink development cycle times. FlexClone enables is huge,” says Rogers.
“Since the advent of grid computing, NetApp and Ora-
cle have gone down the same path and shared the same GROWING THE GRID
mind-set,” says Patrick Rogers, vice president of solutions Many new features in Oracle Database 11g are designed to
marketing, Network Appliance, Inc. “Both companies are fo- further improve availability and performance of infrastructure
cused on developing innovative solutions that reduce IT cost grids. Leveraging FlexVol technology, NetApp provides Oracle
and complexity.” Database 11g with virtualization capabilities that allow dynamic
pooling of storage resources, enabling customers to add or
CLOSING THE ILM LOOP shrink storage and meet the dynamic needs of the enterprise.
With the launch of Oracle Database 11g, Oracle has signifi- “NetApp FlexVol technology allows customers to grow their
cantly expanded its commitment to content management. grid environment,” says Rogers. Oracle has done it; they use
Running on NetApp’s unified storage architecture, Oracle FlexVol to quickly provision and decommission systems and
Database 11g can deliver seamless information lifecycle rapidly repurpose assets.”
management (ILM).
Unlike many of its competitors, NetApp doesn’t have a siloed OPENING WINDOWS WITH DNFS
approach to storage. High-performance, low-cost, archival, NetApp was a key partner in the development of Oracle
and write-once-read-many (WORM) systems all run on a single Database 11g most notably in developing, testing and optimizing
architecture, making it far simpler to migrate data from one system direct NFS (DNFS) performance and resiliency.
to another. The result: Enhanced data protection for compliance DNFS, a new feature in Oracle Database 11g, not only makes
as well as reduced data management costs. “NetApp’s single it even simpler to run and manage a database and storage
architecture means that customers can leverage a single system over an IP network, it also improves performance and
platform to enable data security and compliance,” Rogers adds. scalability through automatic link aggregation. And for the
first time, companies running Oracle Database 11g Standard
BOOSTING DBA PRODUCTIVITY Edition can also run on Windows—a development that will
Oracle Database 11g includes a series of advances that speed enable more small and medium businesses to leverage the
development cycles and boost DBA productivity. NetApp builds benefits of Oracle Database.
on the momentum with SnapManager for Oracle, “application-
aware” software that detects and responds intelligently to the THE NEXT PHASE IN THE RELATIONSHIP
application on which it is running. The relationship between NetApp and Oracle goes deeper
SnapManager for Oracle automates key DBA tasks and than most partnerships. It spans technical integration, services
enables DBAs to perform functions that were previously lim- and support, and sales and marketing, as well as executive
ited to storage administrators, including storage provisioning, alignment. On Oracle E-Business Suite since 2001, NetApp is
backup and restore functions, and even creation of clones. also the standard storage platform for Oracle’s state-of-the-
Underlying SnapManager for Oracle is NetApp’s FlexClone art Austin Data Center. “Our shared goal is always to reduce
software, which dramatically speeds instant point-in-time IT cost and complexity for Oracle customers,” adds Rogers.

FOR MORE INFORMATION VISIT | www.netapp.com/partners/oracle/

11g_Ads.indd 51 7/27/07 11:02:21 AM


Special Advertising Section

AMD
AUTODESK Combining the Highest
Adding a New Dimension to Performance with Energy
Business Intelligence Efficiency for Unbeatable TCO

A pplications that use geospatial information—data that


can be referenced in either two or three dimensions—
aren’t just for design engineers anymore. Web-based
T oday, Oracle customers across the board are running
bigger data centers. In response, Oracle Database 11g
increases automation and introduces change-assurance
mapping services, GPS watches, and onboard vehicle features designed to improve IT performance and bring down
navigation systems have made consumer applications management costs. Advanced Micro Devices (AMD), an
that use geospatial data much more commonplace. And Oracle Certified Advantage Partner, is working with Oracle
now enterprises are exploring new ways to boost business to deliver industry-leading server performance while bringing
intelligence by integrating geospatial data into corporate down another source of cost in the data center: energy.
applications. For example, up-to-date electricity network “Power usage is becoming more important to customers
maps help power utilities respond faster to customer service today for both environmental and practical reasons,” says
calls and maintain their valuable infrastructure assets. Terri Hall, vice president of commercial systems marketing and
In fact, bringing powerful geospatial analysis to the alliances at AMD. Businesses today require highly available
corporate masses is a goal both Autodesk and Oracle share. and highly scalable applications—and that means more muscle
As an Oracle Certified Partner, Autodesk is working with Oracle in the data center. “Customers are using so much computing
to offer easy-to-use, affordable, and open solutions based on power now that they are sometimes literally in danger of running
Oracle Database 11g that enable customers in a variety of out of enough energy resources to power them.”
markets and industries to expand their use of geographic data AMD has made a point of seeking Oracle’s input to help
and realize new and valuable business insights. shape the direction of AMD development, says Hall. With
“Our flagship engineering GIS product, AutoCAD Map 3D, Oracle’s collaborative help, AMD continues to advance its
was Autodesk’s first product based on AutoCAD to support multicore processor technology to include features that maxi-
Oracle software and its geospatial components,” notes Lisa mize performance per watt. “Our dual-core and quad-core
Campbell, Autodesk vice president. “For more than six years, processors will provide Oracle Database 11g customers with
we have offered native support for each release of Oracle enterprise-class performance, but on a very power-efficient
with products like Autodesk MapGuide Enterprise and now platform,” say Hall.
Autodesk Topobase. Having seen the upcoming enhancements Providing benchmarking and validated configurations are
to Oracle Database 11g, I believe that this release will benefit two examples of the way in which AMD collaborates with
our customers by delivering faster applications and spatial tools Oracle to provide customers with market-ready solutions.
that speed decisions and lower operating costs significantly.” “Joint benchmarking gives customers proof of the
The recipient of Oracle’s 2007 Spatial Excellence performance advantage of running Oracle on AMD,” says Hall.
Partnership Award, Autodesk is already developing industry- “Validated configurations allow customers to buy complete,
specific solution suites that integrate Autodesk’s leading-edge pretested solutions, which is particularly nice for small and
geographic information systems (GIS) and computer-aided medium businesses.”
design (CAD) applications with Oracle’s spatially enabled Combined with AMD’s Direct Connect Architecture,
relational database technology. With the help of such power-efficient AMD Opteron™ processors will provide
integrated applications, even nontechnical users will soon be Oracle Database customers with an unmatched TCO in an
able to use sophisticated geospatial relationships to quickly x86 solution. AMD is well positioned to help customers get the
make informed business decisions. most out of Oracle’s grid computing solution, Hall says.

FOR MORE INFORMATION VISIT | www.autodesk.com


FOR MORE INFORMATION VISIT | www.amd.com

11g_Ads.indd 52 7/27/07 11:02:21 AM


OPEN and
SECURE
BY DAV ID A . KE L LY ompanies have always had a huge interest in
controlling who gets to see what informa-
PFIZER USES ORACLE SECURITY FEATURES tion or manage which data. The increased
TO OPEN THE DOOR TO PARTNERS AND security that results from controlling access
LOCK DOWN IDENTITY AND DATA. WILLIAM to systems and applications is a basic business value.
BARNES, PFIZER’S MANAGER OF IDENTITY In addition, automating access management increases
SERVICES, TALKS ABOUT THE SOLUTION. efficiency and reduces the resources required to manage
individual user access to applications or systems.
DAVE BRADLEY

With today’s greater demands for data security, organi-


zations have realized additional benefits from deploying

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 53

SO07_SecurityFEAT_X.indd 53 7/20/07 10:53:37 AM


access management, especially in areas
such as compliance and federation.
“With the advent of the Sarbanes-
Oxley Act [SOX] a few years ago, capabili-
ties like Web access management have
become almost the de facto technology
that you use to enforce some of the SOX
requirements, such as Section 404,” says
Wynn White, vice president, product
marketing, Oracle. “Access control and
identity management systems can enable
organizations to enforce access and
provide a detailed audit trail to show
auditors exactly what’s happening.”
Many organizations have also iden-
tified new value in federated access
management, which gives business part-
ners greater access to corporate systems
and applications.
Federated access management solutions Pfizer uses Oracle Access Manager and Oracle Virtual Directory for identity and access management.
can streamline processes and reduce risk “We’ve worked closely with Oracle to develop a solution that enables individual users to select the level
of authentication that’s right for the task,” says William Barnes, Pfizer’s Manager of Identity Services.
and security vulnerabilities. “The idea is
that if you have a trusted partner that
they’ve authenticated to, then you can rely on that authen- The company started by leveraging two Oracle products
tication to let them into your application without necessar- to build a unified—and centralized—portal for more-
ily storing all sorts of private data that might be breached,” efficient internal and external access.
explains Trent Henry, senior analyst, Burton Group. “We use Oracle Access Manager and the Oracle Virtual
In many cases, even organizations that have already Directory products for our identity and access manage-
deployed access management are taking a fresh look at ment infrastructure,” says William Barnes, manager of
its potential. identity services, Pfizer. “We’ve worked closely with
Oracle over the past two years to develop a solution that
THE EXPANDING ROLE OF ACCESS MANAGEMENT enables individual users to select the level of authentica-
Pharmaceutical giant Pfizer is a good example of a tion that’s right for the task they’re trying to do.”
company that’s expanding its use of access management That solution, a portal called logon.pfizer.com, enables
to meet an ever-broadening set of IT challenges and busi- a more-flexible authentication system for organizations
ness opportunities. The goal is to treat authentication and their partners. The solution allows end users to
as an infrastructure service, so that each application can determine what form of credential they would like to
require the proper form of authentication from users. use—from logon IDs and passwords to digital certificates
This structure is important or two-factor authentication options.
because the company’s pharmaceuti- As one example of how flexible
cal research and development efforts SNAP SHOT authentication can be, Pfizer is a
around developing and marketing member of the biopharmaceutical
new drugs entail both applica- Pfizer group Signatures and Authentication
tions that are low sensitivity, with a www.pfizer.com for Everyone (SAFE), an organization
Location: New York City
low risk of information disclosure that delivers electronic credentials for
Industry: Pharmaceutical
and loss of data integrity, and high business-to-business transactions. In
Employees: 100,000
sensitivity, with high requirements Oracle products: Oracle Database, Oracle
accessing the portal, an internal Pfizer
DAVE BRADLEY

for absolute data integrity and for Access Management, Oracle Identity user might use a standard logon ID/
ensuring that data not be disclosed Management password combination, and an exter-
to those who shouldn’t have access. nal partner might use a SAFE certifi-

54 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_SecurityFEAT_X.indd 54 7/20/07 10:53:47 AM


“Our authentication portal has multiple levels of trust associated with different levels of
authentication. We think that this is really important.”
—William Barnes, Manager of Identity Services, Pfizer

cate. Alternatively, a mobile user accessing the system biometric or fingerprint-type authentication options.
from a kiosk might use a secure ID one-time password- “Authentication is probably one of the hottest areas
type device such as RSA’s SecurID or the standardized, in technology today, so we’re not prescriptive on exactly
open source Open Authentication (OATH) secure token. what forms we will leverage,” says Pfizer’s Barnes. “But as
“The hope is that by allowing users to select new ones emerge, we see this as the single place where
what they want to use, it gives them the great- we can make them available.”
est control over the experience they intend Of course, another important aspect of access
to have,” explains Barnes. “One of the management for Pfizer is being able to manage
major business benefits of this approach is risk better by ensuring that the proper level
allowing people to use a credential they of authentication is required for specific
may already have.” applications. For example, some applications
According to Burton Group’s Henry, might have a low risk associated with access
having a centralized facility to enforce to their data, while others might require
and support access management policies very high data integrity.
throughout multiple applications is a fairly “Our authentication portal has multiple
popular approach. “The idea is that no levels of trust associated with different levels
matter what application a user is accessing, of authentication,” Barnes says. “We think that
the organization can rely on the same types this is really important. Going forward, it will
of authentication framework,” says Henry. “That allow application developers either to lower or
reduces the management burdens and helps to elimi- raise the bar required to get access to information and
nate potential mistakes that might occur.” protect the integrity of the data.”
Eventually, using this framework, Pfizer expects that
CENTRALIZING AUTHENTICATION it could leverage the use of national IDs, which might
With its centralized authentication service, Pfizer has be issued through the European Union or by individual
taken the authentication process out of each applica- countries. “As national and international identity providers
tion and put it in the hands of the end user. And in the emerge, we see this framework as giving us the ability to
future, Pfizer can immediately take advantage of any new link directly to them,” adds Barnes. “And we will continue
authentication methods that it wants to deploy, such as to work with Oracle to enhance the native capabilities of

Oracle Audit Vault and Oracle Database Vault


In addition to providing authentication “Oracle Audit Vault provides the ability to addressing regulatory compliance needs.
and identity management, organizations consolidate audit data from different data- It can also transparently enforce specific
must provide data security that addresses base sources into one secure and scalable operational policies or fine-grained security
growing privacy and regulatory consider- repository, and then view all the audit trail requirements as specified by the auditors.
ations. For example, compliance and audit- data, from all those sources, in one report,” “Oracle Database Vault helps companies
ing requirements have become a fact of explains Tammy Bednar, senior principal implement separation of duties—managers
life for most organizations. Beyond ensur- product manager, database security, Oracle. might not want even powerful administra-
ing that the proper regulatory or industry “Oracle Audit Vault provides a consolidated tors to be able to look at important financial
requirements are followed, organizations view of all audit operations, making it easier data, for example,” says Vipin Samar, vice
also need to collect and analyze audit to see the activities of your privileged users president, database security, Oracle. “With
data to keep track of the activities within across all your databases and raise alerts Oracle Database Vault, organizations can
their systems. And because audit data can on any suspicious activities.” increase the security level of an existing
be distributed across many systems and Securing the data in the database from application without changing the applica-
stored in many databases, securing it and highly privileged users, Oracle Database tion, which improves security throughout
ensuring that it hasn’t been tampered with Vault helps to ensure database security the enterprise and helps reduce risks posed
can be difficult. by protecting against insider threats and by insider threats.”

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 55

SO07_SecurityFEAT_X.indd 55 7/20/07 10:53:53 AM


“The idea is that no matter what application a user is accessing, the organization can
rely on the same types of authentication framework.”
—Trent Henry, Senior Analyst, Burton Group

Oracle Access Manager and Oracle Virtual Directory to provide “A lot of new requirements have come in since most orga-
the functionality of the logon.pfizer.com authentication portal.” nizations originally adopted access management,” Leach adds.
“From compliance and auditing requirements to federation
THE EVOLUTION OF ACCESS MANAGEMENT needs to stronger authentication requirements, now is the time
Access management has come a long way in the past few for organizations to reconsider their access management solu-
years. But as organizations struggle to meet new compliance tions and opportunities in a broader context.” O
and security requirements and to reach out to partners and
customers in a secure and manageable way, access manage- David A. Kelly (dkelly@upsideresearch.com) is a business, technology, and travel
ment seems poised to play an even greater role in the corpo- writer who lives in West Newton, Massachusetts.
rate IT infrastructure.
“Over the past few years, the adoption of federation tech-
nologies has become much more prevalent,” says Eric Leach,
senior group product manager, access management, Oracle.
“That means that organizations can use their baseline Web READ more about
access management deployments and layer on standards-based Oracle Identity Management
oracle.com/identity
federation products that can greatly simplify the integration of
business partners.” Oracle Audit Vault
oracle.com/goto/auditvault
For many companies, the need to interact efficiently with
more organizations—whether it’s suppliers, outsourcers, part- Oracle Database Vault
oracle.com/goto/databasevault
ners, customers, or someone else—will only increase. At the
Security Solutions from Oracle
same time, organizations need to increase their agility and oracle.com/security
keep pace with changing business environments.

Oracle Magazine Readers


Northeast U.S./Canada
David and Ann Schissler
+1.508.394.4026

Close Deals Six Times Larger Than Nonreaders!


Schissler@comcast.net

Mid-Atlantic/Southeast
Dawn Becker
+1.732.772.0160
dbeck71@optonline.com
JULY/AUGUST 2006 JU LY/AU GU ST 2005 ORAC LE. C OM/ORAC LEMAGAZIN E
ORACLE .COM/O R A C L E M A GA Z I N E

GREAT EXPECTATIONS
BIG TECHNOLOGY THAT GROWS WITH YOUR SMALL BUSINESS
Northwest/Central
Oracle Enterprise Manager
Brings Order to Your Grid
Tom Cometa
GROWING RETAIL
BUSINESSES /44
ID MANAGEMENT
+1.415.206.9855
OPENS DOORS /49
ARCHIVING
XML /73 Thomas.cometa@sbcglobal.net
IN THIS ISSUE: LINUX FOR DATA WAREHOUSES • PHP AND ORACLE XML DB • TUNING UNDO TABLESPACE

Southwest/LAD
Shaun Mehr
Internal Oracle research has found Oracle Magazine exists to drive Oracle +1.949.923.1660
shaun@sprocketmedia.com
that readers of Oracle Magazine are customers your way. Utilize our programs
EMEA/APAC
responsible for expenditures with Oracle and make our best customers your best Mark Makinney
+44 0 1273 774341
that are six times larger than customers customers. For detailed information on mark.makinney@oracle.com
who don’t read the magazine. These how your company will benefit from our Associate Publisher
readers spend a combined total of more print and interactive go-to-market programs, Kyle Walkenhorst
+1.323.340.8585
than US$11 billion annually on IT! contact your local representative. kyle@sprocketmedia.com

56 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_SecurityFEAT_X.indd 56 7/20/07 10:53:55 AM


Fastest
Growing Middleware

Oracle
Fusion Middleware

Hot-Pluggable. Comprehensive.

Business Process Management — SOA — Data Integration — Portal and Enterprise 2.0
J2EE — Content Management — Business Intelligence — Identity Management

oracle.com/goto/middleware
or call 1.800.ORACLE.1
Source: Gartner “Market Share: Application Integration, Middleware and Portal Software,”
Worldwide, 2005. Based on 2005 license revenue worldwide.

Copyright © 2007. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
THE POW Embedded Oracle databases drive

58 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_Embedded.indd 58 7/17/07 10:58:19 AM


BY ALAN JOCH

W ER WITHIN
technology at the edge of the enterprise.

or Riverbed Technology, choosing the right database Oracle’s strategy is to offer developers the broadest selection
for its network-acceleration appliances isn’t something of embeddable databases for the diverse range of applications
it takes lightly. The company’s Steelhead appliances out there.” In fact, Oracle offers four embedded database
help boost WAN speeds an average of 30 times for custom- choices. (See the “Choosing an Embedded Database” sidebar
ers running anywhere from hundreds to several thousands for more information.)
of nodes, and what Riverbed needs is a database that’s robust “Oracle offers a suite of embedded databases for network
and that can go the distance. To achieve the performance appliances, mobile devices, packaged applications, and other
gains it needs with the smallest technology footprint possible, uses,” says Noel Yuhanna, principal analyst with Forrester
Riverbed relies on Oracle Berkeley DB, a member of Oracle’s Research. “Customers can choose among any of those prod-
family of embeddable databases. ucts, with the additional advantage of having compatibility
Unlike traditional databases, embedded versions reside across the various databases.”
within software applications or hardware appliances like
Riverbed’s and don’t require day-to-day management by DBAs. PERFORMANCE DEMANDS
Instead, they work behind the scenes, often without end users Cisco Systems released the Cisco License Manager (CLM) at
even knowing they’re using the data management technology. the beginning of 2007. The CLM enables Cisco customers to
“Customers like our turnkey solution. They buy our appli- inventory and manage sometimes thousands of licenses for
ances because they don’t want to mess around with operating network devices running in their enterprises.
systems and figure how to get this piece of hardware to work “If a customer wants to upgrade any of the licenses, they
with that piece of software,” explains David Wu, Riverbed’s place an order online and enter an authorization key into the
vice president of software development. “Our customers aren’t CLM, and it automatically obtains the licenses and deploys
database experts, so it makes sense for us to bundle in an them to the network devices,” says Niraj Gopal, CLM product
embedded database that just tunes itself.” manager at Cisco. When customers download the CLM, the
product includes Oracle Berkeley DB Java Edition for manag-
NEW CHOICES ing licensing and authentication information for each device.
Embedded databases aren’t new—developers have relied on Before Cisco settled on Oracle Berkeley DB Java Edition,
them for decades. Many developers have built their own, the company considered several other databases, including
because their application requirements were so unique, and several commercial offerings and a homegrown solution. Cisco
commercial choices were inadequate. chose Berkeley DB Java Edition after pilot tests convinced
“Although custom development is very time-consuming developers that it could meet their top design goals—the
and expensive, it enables developers to build very specific database had to be scalable and portable and work within a
JUPITER IMAGES

capabilities,” says Rex Wang, vice president of embedded small resource footprint.
product marketing at Oracle. “We understand that devel- “[The database] had to run on powerful servers as well as
opers need technical flexibility and choice, so that’s why a single blade,” explains Shaw Li, Cisco software development

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 59

SO07_Embedded.indd 59 7/17/07 10:58:25 AM


“After an evaluation and a
prototype, we decided that the
scalability and portability of
Berkeley DB Java Edition fit the bill.”
—Shaw Li
Software Development Manager
Cisco Systems

manager. The scalability test bed networked dozens


of Windows PCs to simulate the traffic load of
10,000 devices.
“After an evaluation and a prototype, we decided
that the scalability and portability of Berkeley DB
Java Edition fit the bill,” says Li. In addition, Li says,
because Oracle Berkeley DB Java Edition is written
in Java, “it gives us great portability across different
operating systems.”

REAL-TIME SERVICE Cisco’s Niraj Gopal, Product Manager for Cisco License Manager (left), and Shaw Li, Software
Development Manager, find that Oracle Berkeley DB Java Edition gives them great portability across
Aspect Software uses both Oracle Database and Oracle different operating systems.
TimesTen In-Memory Database within its contact
center solutions for organizations to manage incoming data for years. It must be possible to retrieve detailed records
questions and service requests from customers. to service an individual call, as well as look at aggregated
“Traditionally, contact centers were measured by ‘handle information about the contact center’s overall performance.
time’—basically how long it takes to address each customer’s To help meet this challenge, Aspect relies on Oracle Database
call. The quicker being the better,” says Mike Sheridan, for its enterprise data mart and Oracle TimesTen for real-time
Aspect’s senior vice president of strategy and marketing. “But analytics about performance across multiple call centers.
now companies recognize that’s not the best performance mea- Oracle TimesTen also feeds a program that provides graphic
surement because it doesn’t speak to whether they satisfied visualizations of contact center performance to help managers
the customer or what the propensity is for that person to buy and supervisors monitor the environment.
more things from you in the future as a result of that call.” Aspect Software chose Oracle TimesTen because it performs
Contact centers are massive data generators that collect fast enough to serve real-time demands. “Traditional databases

CHOOSING AN EMBEDDED DATABASE


Hardware developers and ISVs have a range of cations systems that require advanced data full relational database, Oracle TimesTen sup-
Oracle high-performance, scalable embedded management capabilities and do not have ports SQL, Open Database Connectivity, and
databases to choose from. These include highly constrained memory and CPUs. Java DataBase Connectivity. It can run as a
Oracle Berkeley DB. The only nonrelational standalone database or as a cache to acceler-
Oracle Database Enterprise Edition, database in Oracle’s portfolio, Oracle Berkeley ate Oracle Database, and it often runs in tele-
Oracle Database Standard Edition, Oracle DB delivers very high performance for appli- communications systems and customer-facing
Database Standard Edition One, and cations that have static, predictable access applications requiring low latency.
Oracle Database Express Edition. These patterns. Top applications include networking Oracle Database Lite. This small-footprint
solutions provide advanced relational database equipment, storage appliances, and geospatial relational database is designed for PDAs,
capabilities in an embeddable package that mapping software. smartphones, and automobile telematics
requires no DBA and enables the embedding Oracle TimesTen In-Memory Database. units. Because it can synchronize with Oracle
application to automatically install and con- This relational database keeps data in Database, it allows mobile employees to use
figure it. Oracle Database is often embedded memory, so it delivers extremely fast response their devices in the field and later sync data
BOB ADLER

within medical equipment and telecommuni- times and high transaction throughput. As a with the main enterprise database server.

60 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_Embedded.indd 60 7/17/07 10:58:39 AM


“Oracle is clearly investing
in the Oracle TimesTen product
going forward.”
—Roger Sumner
Senior Vice President, Office of Technology
Aspect Software

haven’t been quick enough for us to get the visu-


alizations we needed in a timely fashion,” says
Roger Sumner, senior vice president in the Aspect
Software Office of Technology.
But speed wasn’t the company’s only consider-
ation. The database also needed to perform all of
the essential data organization tasks of traditional
information management systems, including rep-
licating data, sorting through it, and retrieving
information for reporting tools.
“We looked for a fully functional relational data- Roger Sumner, Senior Vice President, Aspect Software Office of Technology, says that traditional
databases haven’t been quick enough for his company to get the visualizations they needed
base that could be used in an embedded setting,” in a timely fashion.
Sumner says.
An added bonus is that as a long-time Oracle appliances, depending on the size of their WANs.
customer, Aspect now works with a single vendor for both “Our requirements for an embedded database are that it
Oracle Database and Oracle TimesTen. “If we’re looking for needs to be robust, scale efficiently, and be enterprise grade,”
consulting help, we can go to a single team,” Sumner says. Wu explains. “One of the top reasons we went with Berkeley
“And we see staying power. Oracle is clearly investing in the DB is its low resource consumption when it comes to memory,
Oracle TimesTen product going forward.” CPU, and disk usage. It has such lightweight requirements
that it doesn’t steal away important processing power.”
LIGHTWEIGHT IMPLEMENTATIONS Wu also appreciates the database’s “very clean” APIs, which
The Riverbed Central Management Console (CMC) configures were easy for developers to understand and which enabled
and manages Riverbed Technology’s Steelhead appliances and them to integrate the product into Riverbed’s existing technol-
embeds Oracle Berkeley DB to hold traffic and performance ogy framework in only a couple of weeks.
data about each device on a network. The information ranges Quick development time was critical because Wu and
from details about performance from five minutes ago to his staff were under a tight deadline to roll out the CMC. To
historical trend summaries that span months or years, says accomplish this goal, Riverbed tapped the Oracle technical
Riverbed’s Wu. Customers may install dozens or thousands of support staff to apply integration strategies that worked for
other customers to the CMC project. “Oracle support folks are
SNAP SHOTS top-notch, and it was very easy to get us up and running very
quickly,” Wu says. O
Riverbed Technology www.riverbed.com
Location: San Francisco Industry: Wide area data services Alan Joch (ajoch@worldpath.net) is a technology writer based in New England who
Employees: 450 Oracle products and services: Oracle Berkeley DB,
specializes in enterprise, Web, and high-performance-computing applications.
Oracle E-Business Suite

Cisco Systems www.cisco.com


Location: San Jose, California Industry: IT networking systems
Employees: 56,790 Oracle products and services: Oracle Berkeley DB READ more about Oracle Embedded Technology
oracle.com/technologies/embedded
Aspect Software www.aspect.com VISIT the Embedded Developer Center
ANDREA MANDEL

Location: Chelmsford, Massachusetts Industry: Software development otn.oracle.com/tech/embedded


Employees: 2,100 Oracle products and services: Oracle Database 10g,
DOWNLOAD embeddable technology
Oracle TimesTen In-Memory Database otn.oracle.com/software

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 61

SO07_Embedded.indd 61 7/17/07 10:58:57 AM


B: 8.25 in
T: 8 in
S: 7 in

B: 11.125 in
T: 10.875 in
S: 9.875 in
COMPANIES TRUST ORACLE
WITH THEIR MOST VITAL INFORMATION.
WHICH IS WHY ORACLE TRUSTS DELL.
Oracle depends on its Austin Data Center to be ready and available 24/7/365.

So Oracle turned to Dell to cluster and maintain 12,000 servers, hosting the

Oracle On Demand Applications their customers rely on. Because Dell

designs business solutions with one company in mind. Yours.

Read the whole story online


or call Dell to start your own. dell.com/oracle/oraclemag 1.877.485.DELL

Dell cannot be responsible for errors in typography or photography. Dell and the Dell logo are trademarks of Dell Inc. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other
trademarks and trade names may be used in this document to refer to either the entities claiming the marks and names or their products. Dell disclaims proprietary interest in the marks and names of
others. © 2007 Dell Inc. All rights reserved.

P86119_Oracle_V1_300Dmax.psd Dell_cmyk_3.ai

J. Siebert, M. Westman, M. Piro, M. Kohler, C. Joyce, C. Guzy Keyline Size Routing Signatures Notes Links
the Studio
Kuhn, B. Bannor B 8.25 in x 11.125 in Oracle P86119_Oracle_V1_
T 8 in x 10.875 in Creative Director: 279Dmax.psd (CMYK; 600
DDB CHICAGO INC. Client Brand Prepress Resize Page
Dell L 7 in x 9.875 in Art Director: ppi), Dell_cmyk_3.ai
DPCCB P86119
File Name Digital Artist Copywriter: Colors
”COMPANIES TRUST ORACLE…”
P86119_P86119ORr1_R1 B. Bannor Acct. Exec.: Cyan, Magenta,
Ad # P86119ORr1 Yellow, Black
Dell – Brand Folder Date Print Producer:
P86119_DPCCB_OracleQ2 7/18/07 11:45 AM Slug Font: Myriad Pro
Page, B: 8.25 in x 11.125 in, T: 8 in x 10.875 in, S: 7 in x 9.875 in, Print Project Mgr.:
Revision # 1 Fonts
4/C Printout @ 100% OK to Release Myriad Pro (Regular;
Publications: Oracle Magazine: issue 9/1/07; mat. due 7/13/07 OS X.4: InDesign CS2 Lead Client: OpenType), Meta Normal LF
cgk (Roman; Type 1), Meta Bold LF
Pre-Press: The Studio Acct. Service: (Roman; Type 1), Meta Medium
LF (Roman; Type 1)
d e v e l o p e r FRAMEWORKS BY STEVE MUENCH

Defining a Cascading List of Values


Setting up LOVs is easier than ever with Oracle JDeveloper 11g.
ost data-intensive applications Web Application [ADF Faces, ADF you’ll define a list of values for the
require users to select values Page Flow, ADF BC], and then click Deptno attribute in the EmpView view
from lists of choices. In many OK to create the application. object created above, using the DeptView
cases, the list of valid choices Next, let’s build our starter applica- view object as the source for the list of
for one field depends on the selection a tion (as in past Frameworks columns) by valid departments. Then you’ll build a
user makes in another field. For example, creating default business components for more complex list of values for the Mgr
in a global commerce application, a user the DEPT and EMP tables in the SCOTT (manager) attribute. This list will refer-
might first pick a country, leading the account. To do this, right-click the Model ence a new view object that queries a
application to display a list of products project in the Application Navigator and filtered list of employees who can serve
for sale in that particular country. select New. In the New Gallery dialog box as the current employee’s manager. For
The ability to simplify the creation that appears, select the ADF Business the sake of this exercise, let’s assume
of lists of values (LOVs) to support this Components category (in the Business that the list of available managers for a
kind of scenario has been one of the Tier grouping) and double-click the given employee will be the list of other
most common enhancement requests Business Components from Tables employees in the same department, along
for Oracle Application Development wizard. When the Initialize Business with any employee without a manager
Framework (Oracle ADF) 11g. In this Components Project dialog box appears, (such as the president).
column, I show how easy this task has click New to create a new application- To define this new view object, right-
become. In doing so, I take a first look at level database connection. In the Create click the Model project in the Application
the upcoming Oracle JDeveloper/Oracle Database Connection dialog box, enter Navigator and select New. Select the ADF
ADF 11g release and use it to build scott for the connection name, enter the Business Components category, and
LOVs, including a list with cascading appropriate username and password for double-click the View Object component
data dependencies. the SCOTT schema, and enter the host- to open the Create View Object wizard.
To follow along, download and name and instance ID (SID) to connect In the Name panel, change the name to
install the Oracle JDeveloper 11.1.1.0 to your database. Note that in Oracle ManagerListForDepartment and click Next.
Technology Preview release, available JDeveloper 11g, the default SID is now In the Entity Objects panel, select the
at otn.oracle.com/products/jdev/11. As XE. This default will work if you’re using Emp entity object from the Available
with all of my other Frameworks tutorial Oracle Database Express Edition, but list, click Add (the right-arrow button),
articles, you should also have an Oracle you’ll need to change this to the correct and click Next. In the Attributes panel,
Database instance available with access to SID (such as ORCL) if you’re using a dif- include the Empno and Ename attributes,
the default SCOTT schema. ferent Oracle Database edition. Click OK and click Next twice to get to the SQL
to create the database connection and OK Statement panel. In the Where field, add
SETTING UP THE MODEL again to start the Business Components the following WHERE clause: (DEPTNO =
Let’s start by creating a new application from Tables wizard. As you’ve done :CurrentDept OR MGR IS NULL) AND EMPNO
in Oracle JDeveloper. If you don’t have before, go through the wizard to define ! = :CurrentEmp. This clause will filter the
any other applications open, click the entity objects for the DEPT and EMP list of employees to produce the set you
New Application node that appears tables, DeptView and EmpView, updatable defined above. Click Next to get to the
in the Application Navigator. If you do view objects for each respective entity Bind Variables panel. In this panel, create
have other applications open, select object, and an application module named two new variables called CurrentDept and
New Application from the applica- HRModule. As before, don’t bother creating CurrentEmp (which are both referenced
tion selector list at the top of the any read-only view objects or a business in the WHERE clause) and set both vari-
Application Navigator. In either case, components diagram. ables to be of type Number. Now click
the Create Application dialog box will When defining a list of values in Finish to create the view object.
appear. Enter OraMagDemo in the New Oracle JDeveloper, you reference a view
Application field, and enter oramag object that provides the source of valid DEFINING THE LISTS OF VALUES
.lovdemo in the New Application Prefix choices for your list. In this example, Now that the basic model layer objects
field. For Application Template, select you’ll create two lists of values. First, are in place, the next step is to configure

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 63

SO07_Frameworks.indd 63 7/17/07 11:04:25 AM


FRAMEWORKS

the two lists of values. In Oracle ManagerListForDepartment1 for the


ADF 11g, you can configure a list selected view object.
of values as a declarative feature Because this view object has
of any view object attribute. By bind variables, you need to config-
defining the list of values at the ure how those bind values will get
model layer instead of within their values. To do so, make sure
the user interface (UI), you can the ManagerListForDepartment1
ensure that your UI will present a view accessor is selected and click
list of values correctly and consis- the Edit button. In the Edit View
tently, regardless of the particular Accessor dialog box, note that the
Oracle ADF–supported UI client bind variable names CurrentDept
technology you decide to use. and CurrentEmp appear in the Bind
In the Application Navigator, Parameter Values section. Check
begin by double-clicking the Row-level bind values exist
EmpView to open the view Figure 1: Testing view object with cascading lists of values check box and double-click the
object editor. Note that in Oracle Value column for the CurrentEmp
JDeveloper 11g, the business compo- box, click the Edit List UI Hints... bind variable in the table. You want to
nent editors appear as tabs within the button (near the top of the window) to assign the value of this bind variable
main editor area instead of in a modal open the List UI Hints dialog box. These to be the value of the Empno attribute
dialog box. Select the Attributes cat- settings provide information that defines in the current row, so enter the (case-
egory along the left edge of the editor how the list should appear within the sensitive) expression Empno in this cell.
page, and select the Deptno attribute in user interface. Note that the default Similarly, double-click the value column
the table that appears in the Attributes list type indicates a Choice List display for the CurrentDept bind variable, and
section near the top of the editor frame. style. You will use this default list type enter the expression Deptno to assign
Find the List of Values: Deptno section for this simple example, but if you click this bind variable’s value to the value of
header below, and click the green plus- the list, you’ll see the other types of list the Deptno attribute in the current row.
sign icon on the right side of the header controls you can use within your own Finally, click OK to close the Edit View
to create a list of values for the Deptno applications. In the Display Attributes Accessor dialog box and OK again to
attribute. When the List of Values dialog section, select the Dname attribute from close the View Accessors dialog box. In
box appears, click the green plus-sign the Available list and click the Add the List of Values dialog box, expand
icon in the List Data Source section to (right-arrow) button to add it to the ManagerListForDepartment1 in the List
add a datasource that will supply the list of selected attributes. This selection Data Source tree and select its Empno
list of valid choices for this attribute’s indicates that you want the user to see attribute. Then, click Edit UI Hints as
value. In the View Accessors dialog box the department name, rather than the before to configure Ename as the list’s
that appears, select the DeptView view department number, in the list. Finally, display attribute. Click OK to close the
object in the Available View Objects list click OK to close the List UI Hints List UI Hints dialog box and OK again to
on the left and click the Add Instance dialog box and OK again to close the close the List of Values dialog box.
(right-arrow) button to add a new List of Values dialog box.
view accessor named DeptView1 for the Next, let’s configure the list of values TESTING YOUR LISTS OF VALUES
selected view object. Then click OK. for the Mgr attribute. As before, select You can use the enhanced Oracle
Note that the newly added view acces- this attribute in the Attributes section of ADF 11g Oracle Business Component
sor datasource DeptView1 appears in the the view object editor for the EmpView Browser to immediately test the LOVs
List Data Source tree display in the List of object. Then click the green plus-sign you’ve just configured. To run the
Values dialog box. Expand it, and select icon in the List of Values: Mgr section application module in the Oracle
its Deptno attribute. Note that the List header. When the List of Values dialog Business Component Browser, right-
Return Values section updates to show box appears, click the green plus-sign click the HRModule component in the
how attributes in the list datasource will icon in the List Data Source section to Application Navigator and select Run.
be assigned to attributes in the base view add a new datasource that will supply After you click Connect in the dialog
object when the user makes a choice the list of valid choices for this attribute’s box that appears, the Oracle Business
from the list. You won’t need to modify value. In the View Accessors dialog box, Component Browser will appear.
this section for this example, but note select the ManagerListForDepartment Double-click the EmpView1 view object
that you could map additional return view object from the Available View instance to see its data. As shown in
value attributes in your application by Objects list on the left and click the Figure 1, both Mgr and Deptno appear
adding to this list. Add Instance (right-arrow) button to as lists. If you select the Mgr list, you’ll
Before leaving the List of Values dialog add a new view accessor named notice that the list includes the employ-

64 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_Frameworks.indd 64 7/17/07 11:04:26 AM


ees in the current department (excluding to enable you to expand or col- first step is to assign a unique name to
the current employee) and employees lapse the section contents. Below the identify the Deptno list on the page. To
such as KING who have no manager. Projects section of the Application do this, select the Common category in
When you navigate to different rows in Navigator is the Data Controls section. the Property Inspector, type the name
the result set, you can see the lists auto- Expand that section, and then expand DeptList in the Id field, and press Enter.
matically change to reflect the current HRModuleDataControl to reveal the The second step is to configure the Mgr
department for the current employee. If EmpView1 and DeptView1 data collec- list to refresh whenever the value of the
you change an employee’s department tions it contains. Drag the EmpView1 Deptno component changes. To perform
by choosing a different department name data collection, and drop it onto the this step, select the Mgr list in the visual
from the list, you’ll notice that when you center of the visual JSF page editor. From editor. Then select the Behavior category
select the Mgr list, the set of choices will the Create menu, select Forms -> ADF in the Property Inspector, type the same
automatically update to reflect the Form to create an editable form showing DeptList name into the PartialTriggers
new department. EmpView1 data. In the Edit Form Fields field, and press Enter.
When you’re done experimenting, dialog box that appears, note that the The online version of this column,
select File -> Exit to exit the Oracle Component To Use value for both the at otn.oracle.com/oramag/oracle/07-
Business Component Browser. Because Mgr and Deptno attributes is set to ADF sep/o57frame.html, concludes with a
the Oracle Business Component Browser Select One Choice. Oracle JDeveloper test of the sample application in your
has been reimplemented in the Oracle selects these UI component values by browser and a demonstration of the lists
JDeveloper 11g release with Oracle ADF default as a result of the List Type UI hint of values you created.
Swing, this example also serves as a quick you configured earlier when defining In this column I’ve shown how, by
illustration of how Oracle ADF Swing the list of values for those two attributes. using a few declarative settings, you
applications can make automatic use of Check the Include Navigation Controls can configure both simple and cascad-
model-defined LOVs. check box, and click OK to create the ing lists of values and use them within
form. Note that as expected, both the Web pages without writing any code.
USING LISTS OF VALUES IN Mgr and Deptno fields appear as lists. This example highlights the first in a
JAVASERVER FACES On a traditional Web page, when a series of new declarative features due
Now that you’ve configured and tested user makes a change (such as picking a in the Oracle JDeveloper/Oracle ADF
the LOVs on the EmpView view object, department from a list), those changes 11g release. In future columns, I’ll
let’s see how simple it is to use them in an don’t take effect until that person clicks explore many more. For more informa-
Ajax-enabled Web page using JavaServer a Submit button to send form results tion on Oracle JDeveloper/Oracle ADF
Faces (JSF). In the Application Navigator, to a server. However, the Oracle ADF 11g new features, see otn.oracle.com/
expand the ViewController project and Faces JSF components make it easy to products/jdev/11. O
its Web Content folder to display the build more-interactive Web pages. For
project’s Page Flows folder. Inside this example, you can enable the Deptno list Steve Muench is a consulting product manager for
folder, double-click the adfc-config node to automatically submit changes to the Oracle JDeveloper and an Oracle ACE. In his more than
to open the page flow diagram. Next, go server whenever the end user changes its 17 years at Oracle, he has developed and supported
to the Component palette and find the value, simply by setting its AutoSubmit Oracle tools and XML technologies and continues to
Activities section. In this section, drag property to true. To do this, select evangelize them. Muench coauthored the Oracle ADF
a View component and drop it onto View -> Property Inspector from the Developer’s Guide for Forms/4GL Developers (Oracle,
the page flow diagram. When the new Oracle JDeveloper main menu to show 2006), and wrote Building Oracle XML Applications
view appears on the diagram, rename the Property Inspector. Next, select the (O’Reilly Media, 2000). He shares tips and tricks on
the component Employees and press Deptno list in the visual editor. In the Oracle Technology Network (otn.oracle.com) and in his
Enter. To create the JSF page for this Property Inspector window, note that the Dive into ADF blog (radio.weblogs.com/0118231).
view, double-click the icon representing properties are grouped into categories
the new view. When the Create JSF JSP such as Common, Data, Appearance,
dialog box appears, click OK to create the Style, and Behavior. Click the Behavior
Employees.jspx page, using the default category, and set the AutoSubmit prop-
READ online-only column content
settings. The new Web page appears in erty to true. otn.oracle.com/oramag/oracle/07-sep/
the visual page designer. Because you configured the list of o57frame.html

The next step is to drop a data values for the Mgr attribute to depend READ more about Oracle JDeveloper
collection onto the page. First, take on the current value of the Deptno and Oracle ADF
otn.oracle.com/products/jdev
a look at the Application Navigator attribute, you need to perform two otn.oracle.com/products/adf/learnadf.html
and note that the frame is grouped additional declarative steps to force DOWNLOAD Oracle JDeveloper
into several sections, each contain- the Mgr list to immediately update to otn.oracle.com/products/jdev/11
otn.oracle.com/products/jdev
ing a titled heading bar and an arrow reflect a changed list of managers. The

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 65

SO07_Frameworks.indd 65 7/9/07 1:17:47 PM


‘07

Where
You Innovate
November 11–15, 2007 I Moscone Center, San Francisco

Oracle OpenWorld is where Oracle customers and partners come together


to innovate, collaborate, and connect. Plan now to attend the year’s biggest
technology and business conference, featuring hundreds of sessions, scores
of partners, Keynotes by industry leaders, and exclusive networking events.

Learn. Grow. Succeed. Innovate.

Oracle thanks the following sponsors:

MARQUEE INNOVATION DIAMOND PREMIER

GRANDE ELITE PLATINUM

Copyright © 2007, Oracle. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. 0702894

ORACLE CREATIVE PERSONNEL PRODUCTION NOTES APPROVALS DATE Released RD

1
File Name: 07002894_owsf07_ad_omag.eps Designer: Shin Lin Color: CMYK Designer:
Job No: 07002894 Art Director: Suemi Lam Fonts: Universe Family Art Director:
Description: OOW_Magazine_Ad Traffic: Edwin Morando Images: n/a Copywriter:
Trim: 8” W x 10.875” H Client: Jennifer Hamilton Other Special Instructions: Proofer
Finished: 8” W x 10.875” H Traffic:
Production:
Client:
Released by:
d e v e l o p e r BROWSER-BASED BY DAVI D PEAKE

Express Web 2.0


Create dynamic interfaces that minimize page refresh with Oracle Application Express.
he term Web 2.0 refers to a codeLISTING 1: Code for creating a tooltip structure, including image layout
second generation of Web-based
applications that emphasize <script src=”#WORKSPACE_IMAGES#aria.js” type=”text/javascript”></script>

online collaboration, participa- <table border=”0” cellspacing=”0” cellpadding=”0” id=”rollover”


tion, and interactivity. This includes style=”position:absolute;display:none;” summary=””>
social networking sites, wikis, and com-
<tr>
munication tools. <td valign=”middle” rowspan=”3”><img src=”#WORKSPACE_IMAGES#point.png” /></td>
For Web application developers, Web <td><img src=”#WORKSPACE_IMAGES#top1.png” width=”10” height=”11” alt=”” /></td>
2.0 is also synonymous with technolo- <td style=”background-image:url(#WORKSPACE_IMAGES#top2.png)”></td>
<td><img src=”#WORKSPACE_IMAGES#top3.png” width=”10” height=”11” alt=”” /></td>
gies that underpin modern, dynamic, </tr>
rich-client Web applications that mimic
personal computer applications and can <tr>
<td style=”background-image:url(#WORKSPACE_IMAGES#middle1.png)”>
improve the user experience in browser- <img src=”#WORKSPACE_IMAGES#middle1.png” width=”10” height=”1” /></td>
based applications. These technologies <td style=”background:#FFF;”><div id=”rollover_content”></div></td>
include Asynchronous JavaScript and <td style=”background-image:url(#WORKSPACE_IMAGES#middle2.png)”>
<img src=”#WORKSPACE_IMAGES#middle2.png” width=”10” height=”1” /></td>
XML (Ajax), partial page refresh (PPR), </tr>
Dynamic HTML (DHTML), Flash, and
JavaScript. They enable a Web page to <tr>
<td><img src=”#WORKSPACE_IMAGES#bottom1.png” width=”10” height=”11”></td>
request an update for some part of its <td style=”background-image:url(#WORKSPACE_IMAGES#bottom2.png)”></td>
content and to alter that part in the <td><img src=”#WORKSPACE_IMAGES#bottom3.png” width=”10” height=”11”></td>
browser, without needing to refresh the </tr>
</table>
whole page. These techniques are not
a replacement for underlying protocols
such as HTTP but an additional layer of butes, including animations. code snippets, go to otn.oracle.com/
abstraction on top of them. OTooltips enable page elements to products/database/application_express/
Oracle Application Express is include tooltips—using Ajax—that html/web2.0.html.
designed to help facilitate the creation are invoked when the mouse moves
of Web 2.0 applications. More specifi- over the item. STEP-BY-STEP INSTRUCTIONS FOR
cally, it is designed to take much of the OExpanding trees are based on hier- ADDING TOOLTIPS
complexity out of building scalable archical elements, such as a company’s The following steps demonstrate how
dynamic applications by providing a organizational structure, and with Ajax, to integrate Ajax-powered tooltips
declarative database-centric framework. they load only the initial hierarchy into an Oracle Application Express
Some Web 2.0 technologies, such and later populate nodes when they application. The o57browser.zip file, at
as PPR, Flash, and many JavaScript- are expanded. otn.oracle.com/oramag/oracle/07-sep,
enabled controls, are built into the latest ODetail frames use Ajax to enable the provides the SQL and the images used
release of Oracle Application Express. dynamic display of detail information to develop the tooltips in this column.
The following are some of the Web within a master report. Step 1. Download and unzip the Aria
2.0 features and capabilities of Oracle ODynamic menus use Ajax to provide employee lookup application from
Application Express: a context-sensitive list of actions to otn.oracle.com/products/database/
OPPR reporting is incorporated into the user. application_express/packaged_apps/
the report templates so that only the OCascading select lists narrow the packaged_apps.html, and install it in
report changes when the next set of choices available during the cascade your local Oracle Application Express
data is retrieved—no other page com- through subsequent select lists. instance or in the public instance at
ponents are refreshed. For more details on Web 2.0 features apex.oracle.com. Select Application
OFlash charting enables sophisticated in Oracle Application Express, includ- Builder -> Import -> Application, click
charting capabilities and display attri- ing sample applications and additional Browse, select the aria_people_search_

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 67

SO07_BrowserBase.indd 67 7/17/07 10:50:02 AM


BROWSER-BASED

installer-0.91.sql file from the down-


loaded application files, and click Next.
Step 2. Download, unzip, and install
the images and JavaScript file from
the o57browser.zip file. Select Shared
Components -> Files -> Images,
click Create, browse to an image file,
select the Aria application from the Figure 1: A tooltip over a name in a list of results

Application list, and click Upload.


Repeat the upload process for each
image. To install the aria.js file, select
Shared Components -> Files -> Static
Files, click Create, browse to the aria.js
file, select the Aria application from the
Application list, and click Upload.
Step 3. Add the code to create the tooltip
structure, including the image layout.
In the application builder and the Aria
application, click Page 0 to display the
page definition. In the Regions section,
click the Create (+) icon, and then click Figure 2: A tooltip over a name in a detail result
HTML (on two successive screens).
Enter a title, select No Template from onmouseover= your tooltips in action. Figure 1 shows
the Region Template list, select After ”ARIA_DETAIL(this, ’#PERSON_ID#’)” an example tooltip appearing over a
Header from the Display Point list, name in a list of results. Figure 2 shows
and click Next. Enter the HTML from For example, to create the tooltip an example tooltip appearing over a
Listing 1 as the region source, and click shown in Figure 1, in the application manager name in a detail result.
Create Region. builder, click Page 1, click Report (in
Step 4. Create an on-demand applica- the Regions section), click Column CONCLUSION
tion process named Person_Detail. Attributes, and click the icon (edit) Oracle Application Express is a very
Select Shared Components -> Logic -> next to the REVERSE_NAME column easy-to-use, rapid development tool
Application Processes, click Create, alias. Under Column Link, enter the optimized for building Web 2.0–enabled
enter Person_Detail in the Name field, JavaScript snippet in the Link Attributes applications. The underlying framework
select On Demand: Run this applica- field, and click Apply Changes. provides built-in declarative Web 2.0
tion process when requested by a To create the tooltip shown in Figure capabilities and several “hooks” and
page process from the Process Point 2, select Shared Components -> User APIs to enable developers to readily
list, and click Next. In the Process Text Interface -> Templates, and under the incorporate Web 2.0 functionality. O
field, enter aria_detail;, click Next, and Report Type, click Person_Detail. In
click Create Process. the Row Template 1 text field, replace David Peake (david.peake@oracle.com) is a principal
Step 5. Install the aria_detail procedure product manager in Oracle’s Server Technologies
(provided as part of the o57browser.zip <td valign=”top”> division. He has been with Oracle since 1993.
download for this column). Select SQL <a href=”f?p=&APP_ID.:2:&SESSION.::NO::
Workshop -> SQL Scripts -> Upload, PERSON_ID:#MGR_PERSON_ID#”>
click Browse, choose the aria_detail.sql #MANAGER_NAME#</a>
file, and click Upload. READ more about
Step 6. Create two application-level with Oracle Application Express
otn.oracle.com/apex
items named TEMP_ID and TEMP_
PAGE_ID, respectively. Select Shared <td valign=”top”> DOWNLOAD
Components -> Logic -> Application <a href=”f?p=&APP_ID.:2:&SESSION.::NO::
Oracle Application Express
otn.oracle.com/products/database/application_
Items. Click Create, enter the name for PERSON_ID:#MGR_PERSON_ID#” express/download.html
the item, and click Create. onmouseover=”ARIA_DETAIL( packaged applications
Step 7. Add the following JavaScript this,’#MGR_PERSON_ID#’)”> otn.oracle.com/products/database/application_
express/packaged_apps/packaged_apps.html
snippet to any element that should #MANAGER_NAME#</a>
display a person detail, where PERSON_ sample content for tooltips
otn.oracle.com/oramag/oracle/07-sep/o57browser.zip
ID is a valid employee ID: Finally, run the application to see

68 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_BrowserBase.indd 68 7/17/07 10:50:04 AM


Use
Add PL/SQL
PL/SQLDeveloper
Developer
at work...
to your business...

...and save time and money


to enjoy yourself

PL/SQL Developer is an Oracle development tool that gives you maximum productivity,
ease of use, and all the features you need.

Visit our website for additional details: www.allroundautomations.com/plsqldev


LLP3600 new:Oracle ad 1204A.qxd 6/28/07 9:03 AM Page 1

ORACLE
PRESS
YOUR DESTINATION FOR ORACLE EXPERTISE

Written by leading Oracle professionals, Oracle Press books offer the most definitive,
complete, and up-to-date coverage of Oracle products and technologies available.
We’ve been the premier source for Oracle information for more than a decade, and the
tradition continues with the release of Oracle Database 11g.

a a a
New for New for Covers
Oracle Oracle Oracle
Database Database Database
11g 11g 10g & 11g

Oracle Database 11g Oracle Database 11g Oracle Automatic Storage Management
New Features DBA Handbook Concepts & Configuration
Robert G. Freeman Bob Bryla and Kevin Loney Nitin Vengurlekar, Murali Vallath,
and Rich Long
Quickly find out about all the revolu- The bestselling, comprehensive guide
tionary new features available in Oracle to Oracle database administration has Learn how to implement and manage
Database 11g so you can plan for been fully revised and updated for the robust storage solutions with Oracle
upgrades or migrations. new release. Automatic Storage Management.

AVAILABLE NOVEMBER AVAILABLE NOVEMBER AVAILABLE NOVEMBER

O R I G I N A L • AU T H E N T I C
AVA I L A B L E S O O N E V E RY W H E R E B O O K S A R E S O L D .
Join the Oracle Press Community to be the first to hear about new O N LY F R O M O S B O R N E
Oracle Press releases and special offers at www.oraclepressbooks.com.
d e v e l o p e r PL/SQL PRACTICES BY STEVEN FEUERSTEI N

On the PL/SQL Function Result Cache


Best practices—and preparation—for PL/SQL in Oracle Database 11g
have been reading that Oracle is launching the table changes relatively infrequently, This RESULT_CACHE clause tells
the 11th release of its database. Very excit- perhaps once or twice an hour. As a Oracle Database that it should remem-
ing! But here’s the problem: I don’t think I’ll result, the application code repeatedly ber (store in a special in-memory
be able to use it for another two years. So retrieves from the block buffer cache result cache) each record retrieved for
why should I even care about the new PL/SQL what is mostly static data, enduring the a specific employee ID number. And
features of this future (for me) release? overhead of checking to see if the par- when a session executes this function
Ah, yes, the real world. Oracle ticular query has already been parsed, and passes in an employee ID that was
comes out with a new database release, finding the data in the buffer, and previously stored, the PL/SQL runtime
and by the time it does so, its develop- returning it. engine will not execute the function
ers are already focused on the next new The team needs to improve the body, which includes that query.
release. People like me start writing performance of querying data from the Instead, it will simply retrieve the
about, demonstrating, and even train- employees table. Currently, we use the record from the cache and return that
ing on the newer release. And then following function to return a row from data immediately. The result is much
there’s almost everybody else: still on the employees table: faster retrieval.
older releases, hoping and praying that In addition, by specifying RELIES_
someday maybe their management will FUNCTION one_employee (employee_id_in ON (employees), we inform Oracle
see fit to catch up. IN employees.employee_id%TYPE) Database that if any session commits
I feel your pain. RETURN employees%ROWTYPE changes to that table, any data in the
Having said that, I do think it makes IS result cache drawn from the table must
an awful lot of sense to learn now l_employee employees%ROWTYPE; be invalidated. The next call to the one_
about what Oracle Database 11g will BEGIN employee function would then have to
have to offer you and your company in SELECT * execute the query and retrieve the data
the future. The reason is very simple: INTO l_employee fresh from the table.
once you see what is going to be avail- FROM employees Because the cache is a part of the
able in Oracle Database 11g, you will WHERE employee_id = employee_id_in; System Global Area (SGA), its contents
probably change the way you write are available to all sessions connected
your code now! RETURN l_employee; to the instance. Furthermore, Oracle
I would say that the single most EXCEPTION Database will apply its “least recently
important new PL/SQL feature in Oracle WHEN NO_DATA_FOUND used algorithm” to the cache, to ensure
Database 11g is the PL/SQL function THEN that the most recently accessed data will
result cache. Quite a mouthful, but then /* Return an empty record. */ be preserved in the cache.
it is quite a feature. RETURN l_employee; Prior to Oracle Database 11g, a
I offer in this answer a quick over- END one_employee; similar kind of caching was possible
view of this feature, and I conclude with package-level collections, but this
by discussing how knowing about this In Oracle Database 11g, however, cache is session-specific and located
feature should affect the way you write we can add a line to the header of this in the Process Global Area (PGA).
PL/SQL programs for earlier Oracle function as follows: This means that if I have 1,000 differ-
Database releases. ent sessions running the application, I
Suppose I am on a team that is FUNCTION one_employee (employee_id_in could use up an enormous amount of
building a human resources applica- IN employees.employee_id%TYPE) memory in addition to that consumed
tion. The employees table is one of RETURN employees%ROWTYPE by the SGA.
the key structures, holding all the RESULT_CACHE RELIES_ON (employees) The PL/SQL function result cache
data for all the employees. Hundreds IS minimizes the amount of memory
of users execute numerous programs l_employee employees%ROWTYPE; needed to cache and share this data
in the application that read from this BEGIN across all sessions. This low memory
...

table—and read from it very often. Yet profile, plus the automatic purge of

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 71

SO07_PLSQL.indd 71 7/17/07 12:22:36 PM


PL/SQL PRACTICES

cached results whenever changes are not very scalable. statement and either put the RESULT_
committed, makes this feature of Oracle O The packaged collection approach CACHE hint inside that query (that’s
Database 11g very practical for optimiz- consumed additional PGA memory, but right, this feature is available natively
ing performance in PL/SQL applications. the Oracle Database 11g function result within SQL as well as for functions) or
cache did not. construct the function, put the query
ANALYZE PERFORMANCE AND PGA And then, of course, there are the inside it, find each of the applicable
MEMORY IMPACT other key advantages of the function queries, and replace the query with the
To test the improvement in perfor- result cache: automatic invalidation of function call.
mance and the impact on PGA memory cache contents when a dependent table Certainly both of these approaches
over repeated queries of the data, I put is changed, the fact that the cache is are eminently doable, but they are also
together a set of scripts, available at shared across sessions, and the applica- very unlikely to happen. IT managers
otn.oracle.com/oramag/oracle/07-sep/ tion of the least recently used algorithm are loathe to go into existing, working
o57plsql.zip, that compares three to the memory in the cache. production code and upset the applecart
different ways to retrieve a row of by making lots of changes.
employee data: SO WHY SHOULD YOU CARE NOW? If, conversely, you start right now, in
1. Execute the query repeatedly “All right,” you may be saying to your- Oracle9i Database or Oracle Database
2. Cache all the rows of the employees self, “It’s cool. Super cool. But I still can’t 10g, to place your queries inside func-
table in a packaged collection and then use it for two years or more, so what tions, you will almost instantly be able
retrieve the data from that cache good does that do me now?” to upgrade your code to use this fan-
3. Use the PL/SQL function result cache You may not be able to use the tastic new feature when you upgrade to
to avoid repetitive querying PL/SQL function result cache yet, Oracle Database 11g.
To try this out yourself, unzip the but you can write your code now so And, best of all, the application code
o57plsql.zip file and run the 11g_ that when you eventually upgrade to that calls the function will not have to
emplu.tst script. It should take about Oracle Database 11g, you will be able be changed at all! Your manager will be
five or six seconds to complete, and to quickly and easily use this cache in very impressed.
then you should see results like this: your application code. And that is why you should learn
In other words, you can and should about the new features of Oracle
PGA before tests are run: prepare now for this future feature. Database 11g. Today. O
session PGA: 910860 bytes How do you do that? By placing
all your queries (at least those against Steven Feuerstein (steven.feuerstein@quest.com) is
Execute query each time tables that change infrequently but Quest Software’s PL/SQL evangelist. He has published
Elapsed: 4.5 seconds. are queried often) inside functions, so 10 books on Oracle’s programming language, including
session PGA: 910860 bytes that you can easily add the RESULT_ Oracle PL/SQL Programming and Oracle PL/SQL Best
CACHE clause. Practices (O’Reilly Media). Feuerstein’s self-appointed
Cache table in PGA memory Think about it: today you prob- mission in life these days is to improve the quality and
Elapsed: .11 seconds. ably don’t do that. Instead, whenever quantity of PL/SQL code testing.
session PGA: 1041932 bytes you need data from the database, you
write the required query, right there in
Oracle Database 11g result cache the application logic you are writing
Elapsed: .27 seconds. (whether that logic resides in the back
session PGA: 1041932 bytes end—other PL/SQL programs—or the READ more about
front end—languages such as Java). PL/SQL function result cache
Here are my conclusions from this And that same query (or some minor otn.oracle.com/oramag/oracle/07-sep/
o57asktom.html
admittedly incomplete analysis: variation on it) will likely appear in otn.oracle.com/documentation
O The Oracle Database 11g PL/SQL func- multiple places in your application READ more
tion result cache is, indeed, much faster code. Why not? It is so easy to write Best Practice PL/SQL
than repetitive querying. In this test, it those SQL statements; that’s one of the otn.oracle.com/pub/columns/plsql

was over an order of magnitude faster. beauties of PL/SQL. But that ease of use PL/SQL Practices
O A packaged collection cache is even
otn.oracle.com/oramag/oracle/plsql
in executing SQL inside PL/SQL makes
faster, most likely because the PL/SQL us all take SQL for granted, and when DOWNLOAD
runtime engine can access the data you upgrade to Oracle Database 11g, Oracle Database 11g
otn.oracle.com/database
from PGA memory rather than SGA you will pay the price.
test scripts for comparing row
memory. Unfortunately, this also means If after upgrading, you want to take retrieval speed
that the consumption of memory advantage of RESULT_CACHE, you otn.oracle.com/oramag/oracle/07-sep/o57plsql.zip
occurs on a per-session basis, which is will have to find every affected SQL

72 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_PLSQL.indd 72 7/17/07 12:22:37 PM


t e c h n o l o g y PARTITIONING BY A RU P N A N DA

More Partitioning Choices


Learn when and how to use new partitioning schemes in Oracle Database 11g.
he July/August 2006 issue of hold the transactions resulting from the ing. So instead of adding a res_date
Oracle Magazine included an reservations. The table, called TRANS, column to the TRANS table and specify-
article I wrote on the various types looks like this: ing the partitioning clause, as you did for
of database partitioning and how RES in Listing 1, you can specify a simple
to choose a partitioning strategy to meet TRANS_ID NUMBER PARTITION BY REFERENCE clause in
your specific requirements. In Oracle RES_ID NUMBER Oracle Database 11g, as shown in Listing
Database 11g, the partitioning schemes TRANS_DATE DATE 2. You must pass the foreign key con-
have been greatly expanded to offer more AMT NUMBER straint name as an argument that tells
functionality, including the how the references are estab-
ability to define new com- lished. For instance, in this
posite partitioning, choose case, you are creating refer-
a partition interval, specify ential partitions on TRANS,
a foreign key to inherit the referencing the foreign key
partitioning key of its parent as FK_TRANS_01, which
table, and partition on points to the parent table
virtual columns. RES. The TRANS table will
inherit the partitioning
REFERENTIAL PARTITIONING strategy of the RES table,
Consider a hypothetical even though the partition-
company, Acme Hotels, for ing column is not present
which you are building a in TRANS. Referential
hotel reservation system. partitioning essentially
One core table, named instructs Oracle Database to
RES, stores the reservation equipartition the child table
information. Here are the (TRANS, in this example) in
columns of the RES table: exactly the same way as the
parent table (RES).
RES_ID NUMBER You can see how the
RES_DATE DATE There can be many transactions for referential partitioning has been set up,
HOTEL_ID NUMBER(3) a specific reservation, and each record by querying the USER_PART_TABLES
GUEST_ID NUMBER is uniquely identified by a trans_id. dictionary view, as shown in Listing 3.
Because TRANS is a child table of RES, The partitioning_type column shows
The res_id, res_date, hotel_id, and there is a foreign key on the TRANS.res_ the type of partitioning scheme; in
guest_id columns refer to a unique ID id column, pointing to the RES table. Listing 3, the type is REFERENCE, and
number for the reservation, the date for Because the TRANS table has the same the ref_ptn_constraint_name column
which the reservation was made, the archival requirements as the RES table, shows the foreign key constraint name,
unique ID of the hotel for which the you want to partition it in exactly the FK_TRANS_01, when the partition
reservation was made, and the unique same way—range-partition on res_date, type is REFERENCE.
identifier of the guest who made the with one partition per quarter. To check the boundaries of the
reservation, respectively. Because most But there is a problem: the TRANS partitions, query the USER_TAB_
users query on the res_date column and table does not have a res_date column, PARTITIONS dictionary view, as shown
it is also used to identify records for par- so how can you partition on a column in Listing 4. Note that the boundaries of
titioning, you decide to range-partition that does not exist? the partitions of the TRANS child table,
the table on that column with a partition Enter Oracle Database 11g. shown in the HIGH_VALUE column,
TIM WEBB

per quarter, as shown in Listing 1. Oracle Database 11g provides a very are all null. This indicates that the
Next, you want to create a table to useful new feature: referential partition- boundaries are the same as those of the

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 73

SO07_PARTITIONING.indd 73 7/17/07 12:33:36 PM


PARTITIONING

partitions of the RES parent table and codeLISTING 1: Creation of RES table
are not independently defined.
create table res (
With referential partitioning, you can res_id number primary key not null,
partition any child table in the same way res_date date,
hotel_id number(3),
as its parent to improve performance
guest_id number
and meet archival requirements, even )
though the partition key column is not partition by range (res_date) (
partition p1 values less than (to_date(‘01/01/2007’,’mm/dd/yyyy’)),
present in any of the child tables.
partition p2 values less than (to_date(‘04/01/2007’,’mm/dd/yyyy’)),
Suppose you purge the RES table by partition p3 values less than (to_date(‘07/01/2007’,’mm/dd/yyyy’)),
dropping partitions. All the child tables partition p4 values less than (to_date(‘10/01/2007’,’mm/dd/yyyy’)),
partition pm values less than (maxvalue)
are consequently purged as well, auto-
);
matically. When you add a partition to
the parent, a corresponding partition is
added to the child table, automatically. codeLISTING 2: Creating TRANS table, using reference partitioning
Similarly, when you split the PM parti- create table trans (
tion of the RES table to carve out a new trans_id number not null,
partition, the PM partition of the TRANS res_id number not null,
trans_date date not null,
table is also split into two partitions, at amt number,
exactly the same point. Here is how you constraint fk_trans_01
can split the PM partition of the RES foreign key (res_id)
references res
table at the value 401: )
partition by reference
alter table res (fk_trans_01);

split partition pm
at (401) codeLISTING 3: Checking for foreign key in reference partitioning
into (partition p4, partition pm);
SQL> select table_name, partitioning_type, ref_ptn_constraint_name
2 from user_part_tables
Now if you query the partitions of 3 where table_name in (‘RES’, ’TRANS’);
the TRANS table, the child, you see
TABLE_NAME PARTITIONING_TYPE REF_PTN_CONSTRAINT_NAME
–––––––––––––––––––––– –––––––––––––––––––––––––––––––––––– –––––––––––––––––––––––––––––––––––––––––––––––––––
select partition_name RES RANGE
from user_tab_partitions TRANS REFERENCE FK_TRANS_01
where table_name = ‘TRANS’;

PARTITION_NAME locally partitioned indexes, their cor- INTERVAL PARTITIONING


––––––––––––––––––––––––––––– responding partitions would have been What happens when an incoming record
P1 split as well. When you drop or split in an INSERT statement has a value
P2 partitions on the parent, the operations in the partitioning key column, for
P3 are performed on the corresponding which no partitions have been defined?
P4 partitions on the child. If the parent has The INSERT will fail. However, if you
SYS_P45 multiple referentially partitioned child have defined a default partition by, for
tables, the operations are performed example, using the MAXVALUE clause
Note the new partition, SYS_P45, automatically on all of them. Referential in a range-partition scheme (as shown in
which was created when the PM parti- partitioning enables you to define an Listing 1) or the DEFAULT partition for
tion was split. (The SYS_P45 name appropriate partitioning strategy for the a list-partitioned table, the INSERT will
comes from a sequence number prefixed parent table while leaving the details out not fail but the new record will go into
by SYS_P.) You may want to change its for the child tables. This not only sim- the default partition, which defeats the
name to be consistent with the naming plifies the administration of partitioned purpose of partitioning. So you have to
of the PM partition in RES. To rename it, objects significantly but also allows equi- ensure that you have a partition avail-
use the following SQL: partitioning even when it is not desirable able for all possible records coming into
to include the partition key columns the table; you have to carefully identify
alter table trans rename partition in the child table—or even possible to all possible values and then create parti-
SYS_P45 to PM; include them, such as with prepack- tions for all of them before the actual
aged applications where adding an extra data arrives. For instance, suppose that
Note that if the child table had any column in a table is not allowed. the RES table is partitioned on the res_

74 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_PARTITIONING.indd 74 7/17/07 12:33:37 PM


id column with partitions defined on codeLISTING 4: Checking partitions of tables
value ranges 1–100, 101–200, and 201–
SQL> select table_name, partition_name, high_value
300, so that you have defined partitions 2 from user_tab_partitions
up to res_id = 300. You can monitor the 3 where table_name in (‘RES’, ’TRANS’);
maximum res_id column value, and just
TABLE_NAME PARTITION_NAME HIGH_VALUE
before it approaches 300, you can create ––––––––––––––––––––––––––––––––––––– –––––––––––––––––––––––––––––– ––––––––––––––––––––––––––––––
a new p4 partition for values 301–400. RES P1 TO_DATE(‘ 2007-01-01 00:00:00’, ‘SYYYY-M
This task may be easier said than M-DD HH24:MI:SS’, ‘NLS_CALENDAR=GREGORIA
RES P2 TO_DATE(‘ 2007-04-01 00:00:00’, ‘SYYYY-M
done. If you forget to add the partition, M-DD HH24:MI:SS’, ‘NLS_CALENDAR=GREGORIA
the new record with res_id = 301 will RES P3 TO_DATE(‘ 2007-07-01 00:00:00’, ‘SYYYY-M
either fail to insert or go into the default M-DD HH24:MI:SS’, ‘NLS_CALENDAR=GREGORIA
RES P4 TO_DATE(‘ 2007-10-01 00:00:00’, ‘SYYYY-M
partition, if you have defined one. M-DD HH24:MI:SS’, ‘NLS_CALENDAR=GREGORIA
Wouldn’t it be great if the partitions were RES PM MAXVALUE
somehow created automatically? TRANS P1
TRANS P2
Oracle Database 11g can do exactly TRANS P3
that: create partitions automatically as TRANS P4
needed without your intervention. To TRANS PM

accomplish this, implement an interval


partitioning method, as follows: codeLISTING 5: Checking partitions generated in interval partitioning
SQL> select partition_position, partition_name, high_value
create table res ( 2 from user_tab_partitions
res_id number not null, 3 where table_name = ‘RES’
res_date date, 4 order by 1;

hotel_id number(3), PARTITION_POSITION PARTITION_NAME HIGH_VALUE


guest_id number ––––––––––––––––––––––––––––––––––––– –––––––––––––––––––––––––––––– ––––––––––––––––––––––––––––––
) 1 P1 101
2 SYS_P82 1001
partition by range (res_id)
interval (100) store in (users) The result of the same query after inserting res_id = 301:
(
PARTITION_POSITION PARTITION_NAME HIGH_VALUE
partition p1 values less than (101) ––––––––––––––––––––––––––––––––––––– –––––––––––––––––––––––––––––– ––––––––––––––––––––––––––––––
); 1 P1 101
2 SYS_P83 401
3 SYS_P82 1001
This script creates a partition named
p1 for records in which the value of
the res_id column is 1–100. When partition SYS_P82 is split in two, as alter table res truncate partition
records with a res_id value of less shown in the output at the bottom half for (901);
than 101 are inserted, they go into the of Listing 5.
p1 partition, but when a new record You may want to address partitions You can use the FOR (value) syntax
shows up with a res_id value equal to by name, such as when you are truncat- in any direct partition access SQL state-
or greater than 101, Oracle Database ing a specific partition. Given that the ment for any kind of partitioned table,
11g creates a new partition for it with a partition names are generated at runtime not only for interval-partitioned tables.
system-generated name. For instance, and you don’t know them in advance, In interval partitioning, the first par-
suppose you insert a record that has a how can you address the specific parti- tition you specify in the table creation
res_id value of 901, as follows: tion of the table? For instance, suppose script is created in the default tablespace
you want to truncate the partition that of the user but the subsequent partitions
insert into res values (901,sysdate,1,1); contains the value 901 as the res_id are created in the default tablespace of
but you don’t know the name of the the database, not that of the user. Even
Now check the partitions defined on partition. One way to find the parti- if you change the attributes of the table
the table by executing the query shown tion name is to query the USER_TAB_ to change the default tablespace, the
in Listing 5. Note how the partition PARTITIONS data dictionary view, new partitions still go into the default
SYS_P82 was created automatically to as shown in Listings 4 and 5, but an tablespace of the database. To force them
hold the new 901 value, which was not easier way is to use the expanded parti- to go to different tablespaces, you have
within the boundary value of the P1 par- tion access syntax in Oracle Database to specify an additional clause at table
tition. At this time, if you insert another 11g. You can truncate that partition by creation time. To specify the RESDATA1
record with a res_id value of 301, the issuing the following SQL: and RESDATA2 tablespaces as the loca-

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 75

SO07_PARTITIONING.indd 75 7/9/07 1:22:14 PM


PARTITIONING

tions for all new partitions, include the codeLISTING 6: Range-range composite subpartitioning
STORE IN clause after the INTERVAL
create table res (
clause, as follows: res_id number not null,
res_date date,
interval (100) store in (resdata1,resdata2) hotel_id number(3),
guest_id number
)
Now the new partitions will be partition by range (res_date)
spread over these two tablespaces in a interval (numtoyminterval(1,’MONTH’)) store in (example)
subpartition by range (hotel_id)
round-robin manner. subpartition template
You can also use a time stamp as the (
partitioning interval. This comes in handy subpartition s1 values less than (101),
subpartition s2 values less than (201),
for creating a table containing date ranges subpartition s3 values less than (301),
and a partition for each month of records. subpartition s4 values less than (401),
To accomplish that, write the INTERVAL subpartition sm values less than (maxvalue)
)
clause as follows: (
partition p1 values less than (to_date(‘01-FEB-2007’,’DD-MON-YYYY’))
interval (numtoyminterval(1, ’MONTH’)) );

EXPANDED COMPOSITE PARTITIONING tions on res_date and then create a range on partitioning with new virtual columns
In my earlier partitioning article, I showed subpartition on the hotel_id column, available in Oracle Database 11g.
another important feature: composite par- as shown in Listing 6. Note that I have
titioning. A composite partition is a parti- deliberately chosen an interval scheme CONCLUSION
tion further broken up into subpartitions. for the partitioning. I could have chosen Partitioning is a powerful feature in
Up through Oracle Database 10g Release explicit partition names and high values modern database design that enables
2, you could divide only range partitions as well, but I wanted to show how you easier database administration with no
into hash or list subpartitions. Although can use interval partitioning to ease change in logical design. In most cases, it
this was adequate for most partition- maintenance. I could instead have chosen helps accomplish the seemingly contra-
ing, some situations could really benefit to reverse the order of partitioning—I dictory objectives of fine-grained storage,
from a range subpartition. For instance, could have partitioned on hotel_id and backup, archival, and retrieval—all
consider the example of the hotel res- then subpartitioned on res_date. To find with no application changes. In Oracle
ervations table (RES) you saw earlier. the subpartitions created, you can select Database 11g, the partitioning option is
Suppose the hotel ID shows the type of from the USER_TAB_SUBPARTITIONS further enhanced with the introduction
hotel: values 1–100 are for 5-star hotels, data dictionary view, as follows: of referential and interval partitioning,
values 101–200 indicate 4-star hotels, extended composite partitioning, and
and so on. Because a comparative revenue SQL> select partition_name, partitioning on virtual columns to offer a
analysis is usually done within the same 2 subpartition_name compelling reason to include partitioning
star rating, users tend to select the data 3 from user_tab_subpartitions in your physical database design. O
for a specific range of hotel IDs, such as 4 where table_name = ‘RES’;
1–100 only. Therefore, it makes a lot of Arup Nanda (arup@proligence.com) has been an
sense to range-partition the RES table on PARTITION_NAME SUBPARTITION_NAME Oracle DBA for more than 12 years, handling all
the hotel_id column. However, users also ––––––––––––––––––––––––––––– ––––––––––––––––––––––––––––––––––––––– aspects of database administration, from performance
tend to select the most recent data and P1 P1_SM tuning to security and disaster recovery. He was Oracle
you may want to store the older data on P1 P1_S4 Magazine’s DBA of the Year in 2003.
cheaper disks to save storage costs. So a P1 P1_S3
perfectly valid competing argument may P1 P1_S2
be to range-partition the table on the P1 P1_S1
res_date column. Both are attractive alter- SYS_P106 SYS_SUBP105 READ online-only article content
otn.oracle.com/oramag/oracle/07-sep/
natives—which one should you choose? SYS_P106 SYS_SUBP104 o57partition.html
Why not both? In Oracle Database SYS_P106 SYS_SUBP103
READ more about partitioning
11g, you can create—in addition to SYS_P106 SYS_SUBP102 otn.oracle.com/documentation
already available range-hash and range- SYS_P106 SYS_SUBP101 “Partition Decisions”
list composite partitioning—the follow- otn.oracle.com/oramag/oracle/06-sep/
o56partition.html
ing: range-range, list-range, list-hash, The online version of this article, at
and list-list composite partitioning. In otn.oracle.com/oramag/oracle/07-sep/ DOWNLOAD Oracle Database 11g
otn.oracle.com/database
this example, you can create range parti- o57partition.html, includes information

76 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_PARTITIONING.indd 76 7/17/07 12:33:38 PM


t e c h n o l o g y STORAGE BY JON ATH AN GENNI CK

Faster, Safer, and Smaller LOBs


Oracle SecureFiles provides increased performance, better security, and reduced disk usage.
any organizations today face content. This article describes how to set user explicitly specifies otherwise. You
the challenge of an explosion up and configure Oracle SecureFiles and should be aware of which db_securefile
in the amount of unstruc- how to migrate sample content for this setting is in effect for your database.
tured, often file-based data digital asset management system.
that must be managed in conjunction CREATING TABLESPACES
with the more-structured data typically CONFIGURING YOUR INSTANCE Any tablespaces you plan to use with
associated with relational databases. After installing Oracle Database 11g and Oracle SecureFiles need to be configured
Banking applications store check before using Oracle SecureFiles, check for automatic segment space management
images for cleared checks, (ASSM). The key here is to
healthcare applications specify SEGMENT SPACE
store digital images from MANAGEMENT AUTO
X-rays and CAT scans, when creating your LOB
geospatial systems store tablespaces. The following
satellite imagery, enterprise creates the ARTICLE_LOBS
resource planning systems tablespace for this article:
store invoice images, and
the list goes on. CREATE TABLESPACE
Oracle Database 11g article_lobs
makes significant strides DATAFILE ‘H:\APP\
in addressing the problem JONATHAN\ORADATA\ORCL\
of unstructured data, by ARTICLE_LOBS.DBF’
introducing a completely SIZE 5M
new storage infrastructure EXTENT MANAGEMENT LOCAL
for data that today is often SEGMENT SPACE
left in file systems. This MANAGEMENT AUTO;
new infrastructure is called
Oracle SecureFiles, and If you are following
it is a complete, drop-in along with this article’s
replacement of Oracle’s previous large- the setting of the new Oracle Database example, be sure to give yourself adequate
object (LOB) infrastructure (now called 11g db_securefile initialization param- quota on the ARTICLE_LOBS tablespace.
BasicFiles). Every facet of the Oracle eter. The default setting is You’ll also need to adjust the datafile path
SecureFiles LOB architecture, from disk to something appropriate for your system.
format to network protocol to redo and db_securefile = permitted
undo algorithms, has been rethought SETTING UP FOR ENCRYPTION
and reimplemented to This setting makes BasicFiles, not Oracle SecureFiles provides optional
OImprove performance SecureFiles, the default storage approach transparent data encryption of LOBs.
OImprove security for any new LOB columns you create Transparent data encryption protects
OReduce disk usage while enabling you to explicitly specify LOB data from unauthorized users who
Suppose you’re migrating digital SecureFiles when needed. (BasicFiles is might somehow gain access to a datafile.
assets from databases and file systems also the LOB architecture in previous This encryption is completely transpar-
and developing a more-complete digital database releases.) Other settings give ent to end users and applications.
asset management system such as one you various options for forcing the use If you plan to use encryption with
a magazine publisher might use. Your of one or the other storage type. For Oracle SecureFiles, you’ll need to create
system must manage article drafts example, you can set db_securefile = a transparent data encryption wallet to
JOSEF GAST

and the workflow involved in writing, force to ensure that all LOBs are created hold the encryption key. First, create
editing, revising, and publishing that as SecureFiles even when the creating a directory to contain the wallet. You

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 77

SO07_Gennick_X.indd 77 7/20/07 10:56:11 AM


STORAGE

can place that directory underneath codeLISTING 1: Creating an Oracle SecureFiles LOB
$ORACLE_HOME. For example
CREATE TABLE article_draft_redef (
article_id NUMBER,
mkdir H:\app\Jonathan\product\11.1.0\ article_stage VARCHAR(10),
db_1\wallet article_content BLOB,

CONSTRAINT article_stage_check_b
Next, add an ENCRYPTION_ CHECK (article_stage IN (
WALLET_LOCATION setting to your ‘1st Draft’, ‘Edit Pass’, ‘2nd Draft’,
‘Copyedit’, ‘Review’, ‘Final’)),
sqlnet.ora file. You’ll find sqlnet.ora
in $ORACLE_HOME/network/admin. CONSTRAINT article_draft_pk_b
Following is the setting corresponding PRIMARY KEY (article_id)
)
to the directory just created: LOB (article_content) STORE AS SECUREFILE
article_content (
ENCRYPTION_WALLET_LOCATION= TABLESPACE article_lobs
RETENTION MIN 3600
(SOURCE=(METHOD=FILE)(METHOD_DATA= KEEP_DUPLICATES NOCOMPRESS DECRYPT
(DIRECTORY= H:\app\Jonathan\product\ CACHE READS);
11.1.0\db_1\wallet)))
that at least one hour (60 minutes x 60 table named article_draft that I will be
Be certain to include the seconds/minute = 3,600) of undo data migrating. The logical column structure
ENCRYPTION_WALLET_LOCATION is retained for the LOB column. This of article_draft is exactly the same as
setting in sqlnet.ora as one long line. ability to specify a minimum retention that of article_draft_redef.
And again, if you are following along time is helpful for running your data- The article_draft table contains exist-
with this article’s example, you’ll need to base in flashback mode. The default is ing LOB data stored with BasicFiles.
adjust the wallet directory to something RETENTION AUTO, which retains only I’ll assume that that data is in use by
appropriate for your own system. enough undo to satisfy consistent read running applications and that I want
Finally, set an encryption key: requests while a transaction is in prog- to migrate that data from BasicFiles
ress. You can also specify a maximum to SecureFiles. The article_draft_redef
ALTER SYSTEM SET ENCRYPTION KEY retention in bytes or no retention at all. table, with its SecureFiles LOB column,
AUTHENTICATED BY “My secret key”; See the Oracle SQL Reference for details represents the destination of the
on the syntax for retention. article_draft table data. (Bonus! There is
With this setting, your Oracle KEEP_DUPLICATES, even a real article for you to read in the
Database instance will generate an NOCOMPRESS, and DECRYPT explic- example data.)
encryption key and place it in the itly disable deduplication, compression,
wallet. The wallet is then protected by and encryption. I’ll come back to these PLANNING A MIGRATION
the password “My secret key.” options later in the article. In real life, Because Oracle SecureFiles represents a
you would likely enable one or more of completely new way of writing LOB data
CREATING SECUREFILE LOBS them from the beginning. to the database, the only way to migrate
Creating an Oracle SecureFiles LOB CACHE READS causes LOB data to LOB data from BasicFiles to SecureFiles
can be as simple as specifying STORE be placed into the buffer cache during is essentially to rewrite the data by re-
AS SECUREFILE in the LOB storage read operations but not during write creating or redefining the tables contain-
clause of a CREATE TABLE or ALTER operations. You gain improved read per- ing BasicFiles columns. If you can afford
TABLE statement. (Be sure to assign formance here at the price of potentially to take your data offline, you can simply
your SecureFiles LOBs to appropriate, crowding other data out of the buffer select data from your old table and
ASSM-enabled tablespaces.) Listing 1 cache. NOCACHE specifies the default insert it into the new one. Begin with a
creates the article_draft_redef table, behavior, which is never to bring a statement such as
with a single, SecureFiles LOB column LOB’s data into the buffer cache.
named article_content. Data for that I’ve created the article_draft_redef INSERT INTO article_draft_redef
LOB is assigned to the ARTICLE_LOBS table in Listing 1 to migrate a table that SELECT article_id,
tablespace (created earlier in this uses the older BasicFiles to the newer article_stage,
article). Each row in the table contains a SecureFiles storage method. To follow article_content
magazine article at a specific stage in the along with the migration, download the FROM article_draft;
writing/editing/revising cycle. o57securefiles.zip file referenced under
Listing 1 shows some of the options “nextSTEPS” at the end of this article, Follow this INSERT with a DROP
available when creating a new LOB. unzip that file, and follow the instruc- and a RENAME to make the new table
RETENTION MIN 3600 ensures tions in readme.txt to create the original take the place of the old one:

78 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_Gennick.indd 78 7/17/07 12:29:37 PM


DROP TABLE article_draft; codeLISTING 2: Migrating by online redefinition
DECLARE
RENAME article_draft_redef error_counter PLS_INTEGER;
TO article_draft; BEGIN

--Begin the redefinition process


There’s really no need to take your DBMS_REDEFINITION.START_REDEF_TABLE (
data offline, though. Instead, consider ‘gennick’, ’article_draft’, ’article_draft_redef’,
‘article_id, article_stage, article_content’);
using the online table redefinition
feature introduced in Oracle9i Database --Finish the redefinition process
Release 1. Listing 2 shows a PL/SQL DBMS_REDEFINITION.FINISH_REDEF_TABLE (
‘gennick’, ’article_draft’, ’article_draft_redef’);
block that migrates the article_draft
table to the structure indicated by the END;
article_draft_redef table. Online table
definition is very easy to do, and it
makes the migration transparent to
codeLISTING 3: Checking space used by a LOB
users and applications, because the DECLARE
seg_blocks NUMBER;
table being migrated remains available seg_bytes NUMBER;
the entire time.
If your LOB table happens to be used_blocks NUMBER;
used_bytes NUMBER;
partitioned, another approach to con-
sider is partition exchange. You can expired_blocks NUMBER;
specify LOB storage on a per- expired_bytes NUMBER;
partition basis, giving you the option unexpired_blocks NUMBER;
of migrating one partition at a time unexpired_bytes NUMBER;
from BasicFiles to SecureFiles. Use the
BEGIN
URL under “nextSTEPS” to go to Arup DBMS_SPACE.SPACE_USAGE (
Nanda’s article on partitioning features, ‘GENNICK’, ‘ARTICLE_CONTENT’, ‘LOB’
“Partition Decisions,” where you will , seg_blocks, seg_bytes, used_blocks, used_bytes
, expired_blocks, expired_bytes, unexpired_blocks, unexpired_bytes);
find an example showing how partition
exchange is done. DBMS_OUTPUT.PUT_LINE (‘Bytes used = ‘ || to_char(used_bytes));
Be sure you have enough tablespace END;
and disk space set aside to support
whatever migration method you
choose. For the online redefinition SELECT segment_subtype Users each perceive that they have their
approach, you’ll need enough space FROM user_segments own copy of deduplicated data, even
for two complete copies of your data WHERE segment_name=’ARTICLE_CONTENT’; though that is not really the case.
to coexist. Partition exchange requires In a real-life migration, it would
only enough disk space to hold two The result you want to see is likely make sense to deduplicate during,
copies of whichever partition you are SECUREFILE, which indicates not after, the migration process. For
exchanging. Bear in mind that one SecureFiles storage. If you see ASSM, example purposes, though, it’s nice to
downside of partition exchange is that you’re still set for BasicFiles storage. be able to see that removal of dupli-
the partition being swapped needs to cates is actually occurring. Run the
be briefly taken offline. In the end, ENABLING DEDUPLICATION code in Listing 3 to see how many
you’ll have to weigh the different Having migrated to Oracle SecureFiles, bytes are in use by the LOB segment.
approaches and their trade-offs and you can choose to enable deduplication, (Be sure to change the first parameter
choose the approach that works best in an Oracle SecureFiles feature whereby of the procedure call to a valid schema
your own situation. the database server stores only one name on your system.) On my system,
copy of a given LOB in a given column the result is
CONFIRMING MIGRATION within the same partition. Two or more
You can confirm the SecureFiles status users can independently store the same Bytes used = 450560
of a given LOB column by checking data in a LOB column—storing the
that column’s segment subtype. For same article draft twice, for example— To deduplicate the data in the
example, execute the following to and the database keeps track of that article_content column in the
confirm that article_content is now a duplication, storing only one copy of article_draft table, issue the following
SecureFiles LOB: the data. Deduplication is transparent. ALTER TABLE statement:

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 79

SO07_Gennick.indd 79 7/11/07 1:04:39 PM


STORAGE

ALTER TABLE article_draft and remaining incoming data for the of immediately without making any
MODIFY LOB(article_content) new LOB is written to disk. changes to your LOB-using applications:
(DEDUPLICATE LOB); ODeduplication

ENABLING COMPRESSION OCompression

Existing LOBs in the article_content Compression encodes the data in a LOB to OEncryption

column will be scanned, and any current reduce the number of bytes required to Preliminary testing also shows signifi-
duplicates will be detected and elimi- store that LOB. Compression is transpar- cant increases in performance through
nated. Any new LOB values written to ent and reduces the amount of storage use of Oracle SecureFiles. Oracle’s in-
the column will be checked against exist- needed for your LOB data, giving you house testing shows a 200 to 900 percent
ing values to prevent future duplication. more benefit from each dollar your orga- increase in write performance, depend-
Now, run the code in Listing 3 again, nization spends on disk storage systems. ing on LOB size and whether existing
and you can see the effects of the dedu- Compression requires additional CPU segment space is being reused. Early-
plication. The number of bytes used by cycles, so be sure that compression is adopter clients have reported 300 to 700
the segment should be reduced. On my worthwhile before enabling it on a LOB percent increases in performance of key
system, I see the following, lower usage: column. For example, image data, such application functions.
as PNG files and JPEG files, is often com- Because Oracle SecureFiles is com-
Bytes used = 376832 pressed as part of the encoding scheme pletely backward-compatible with
used. Further compression of image BasicFiles, even to the point of using
The number of bytes used in the LOB files may be a waste of CPU cycles. But the same datatype names, you can begin
segment has dropped because document text-based data such as XML and word- to take advantage of everything Oracle
#6 is a duplicate of an article stored in a processing documents tends to compress SecureFiles has to offer, almost from the
different row. Because of deduplication, a great deal, making the trade-off of CPU moment you upgrade to Oracle Database
that article is not stored twice. Instead, a time for more disk space very worthwhile. 11g. You do need to rewrite your LOB
pointer is stored to the LOB in that other To enable compression on the sample data in the database, but you can do that
row. When you read the contents of the SecureFiles LOB column, issue the fol- while keeping the data online, and the
LOB for document #6, that pointer is lowing ALTER TABLE statement: change is completely transparent to both
dereferenced for you in a completely users and applications.
transparent manner. ALTER TABLE article_draft Oracle SecureFiles is a gift. Drop it in.
Duplicate detection is based on MODIFY LOB(article_content) Take immediate advantage of improved
checksums computed with the SHA1 (COMPRESS HIGH); performance, save money on disk
cryptographic hash algorithm. When you storage, and secure your data from those
write a new LOB into a LOB segment, a This statement activates a high level who would do you harm. O
checksum is computed over the first n of compression on the column data.
bytes of that new LOB. If that checksum You can specify MEDIUM to trade away Jonathan Gennick (www.gennick.com) is an
doesn’t match that for any existing LOB some of that compression for reduced experienced Oracle professional and member of
in the segment, the new LOB is written CPU cycles. There is currently no LOW the Oak Table Network. He wrote the best-selling
to the database. Checksums are saved for compression option, but that keyword is SQL Pocket Guide and the Oracle SQL*Plus Pocket
each LOB, for future deduplication. reserved for future implementation. Reference, both from O’Reilly Media.
When the checksum for a newly If you rerun the code in Listing 3,
incoming LOB matches an existing you should see that even less space is
checksum, there is the strong possibil- now used by the LOB segment. I get the
ity that the two LOBs are identical. The following result: READ online-only article content
otn.oracle.com/oramag/oracle/07-sep/
database instance will begin doing a o57securefiles.html
byte-by-byte comparison of the incoming Bytes used = 90112 READ more about
LOB data with the possible duplicate that partition exchange
“Partition Decisions”
is already stored. That possible duplicate The online version of this article, at otn.oracle.com/oramag/oracle/06-sep/
is referred to as the primary LOB. The otn.oracle.com/oramag/oracle/07-sep/ o56partition.html
comparison process reads the primary o57securefiles.html, includes infor- Oracle SecureFiles
LOB, but no new data is written, so long mation on compression benefits and Oracle Database 11g Large Object’s Developer’s Guide
otn.oracle.com/documentation
as the LOB data continues to match. instructions for enabling encryption
If the LOBs compare as equal, only a with Oracle SecureFiles. DOWNLOAD
sample code for this article
pointer to the primary LOB is written. otn.oracle.com/oramag/oracle/07-sep/
If the comparison fails, data from the REAP THE BENEFITS! o57securefiles.zip

primary LOB up to that point is used to Oracle SecureFiles offers three compel- Oracle Database 11g
otn.oracle.com/products/database
construct the first part of the new LOB, ling features you can take advantage

80 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_Gennick.indd 80 7/17/07 12:29:38 PM


t e c h n o l o g y SQL DEVELOPER BY SUE HARPER

Moving to an Oracle Database


Use Oracle Migration Workbench to migrate third-party schema objects to an Oracle database.

oes your business have a col- third-party databases: Connection. For a SQL Server connec-
lection of different databases OThe MySQL JDBC driver, version 5.04, tion, click the SQLServer tab and com-
in house? Do you want an easy is available at http://dev.mysql.com/ plete the following:
way to review all the data in downloads/connector/j/5.0.html. OConnection name, such as

these various databases by using one tool OMicrosoft SQL Server requires the jTDS SQLServer2005_mwb
and then, in some cases, to consolidate driver, available at http://jtds.sourceforge OUsername and password
the databases by migrating objects and .net. The download for version 1.2 is OHostname of the machine where the
data to an Oracle database? This column available at http://sourceforge.net/project/ SQL Server database resides
introduces the new Oracle Migration showfiles.php?group_id=33291. O Port

Workbench, a powerful extension to OMicrosoft Access does not require Now click Retrieve database to
Oracle SQL Developer that enables you an additional driver, because it uses a populate the list of available SQL Server
to access data in Oracle and third-party JDBC/ODBC bridge. databases. For this column, I am using
databases and migrate third-party Northwind, a sample database provided
databases—including the schema objects, SETTING UP JDBC DRIVERS with SQL Server.
triggers, and stored procedures—to an Once you have downloaded the JDBC Finally, click Test, to ensure that
Oracle9i Database or Oracle Database drivers you need, expand the driver you can connect successfully, and then
10g. Third-party databases currently sup- binary JAR file, typically a separate JAR click Connect to save the connection,
ported include Microsoft SQL Server, file inside the downloaded archive file: close the dialog box, and connect to the
Microsoft Access, and MySQL. O For MySQL, the mysql-connector- selected SQL Server database.
This column shows you how to set java-5.0.4.tar.gz (or .zip) download
up your environment and then, using includes a binary driver JAR file called BROWSING YOUR DATA
a Microsoft SQL Server database as an mysql-connector-java-5.0.4-bin.jar. When you open a database connection
example, how to browse and migrate OFor SQL Server, the jtds-1.2-dist.zip in Oracle SQL Developer, a SQL work-
database objects and data from SQL file includes a file called jtds-1.2.jar. sheet opens to enable you to write basic
Server to an Oracle database. Ensure that your third-party database queries and commands. Expand the SQL
is up and running, and start up Oracle Server connection you have created, and
CONFIGURING THE ENVIRONMENT SQL Developer. From the main menu, navigate to the Tables node under dbo.
Before you migrate your third-party select Tools -> Preferences…, expand You can select and drag any table onto
database objects, you need to configure the Database node, select Third Party the SQL worksheet, and the action will
your Oracle SQL Developer and Oracle JDBC Drivers, and click Add Entry.… create a SELECT statement. Press F9 to
Migration Workbench environment to Then browse to and select the JAR file execute the query.
work with your third-party database(s). mentioned above, and click OK. If you have multiple queries you
Oracle Migration Workbench is available want to execute, press F5. As with any
in Oracle SQL Developer as of Release CREATING DATABASE CONNECTIONS other Oracle database connection, you
1.2.0.29.98. You can download Oracle Before you can work with a database can sort the returned data by clicking
SQL Developer at otn.oracle.com/ in Oracle SQL Developer, you need to the column headings.
products/database/sql_developer. create a database connection. Create To view the definition of a table
Oracle SQL Developer uses Java a connection for any third-party data- such as Customers in the Connections
DataBase Connectivity (JDBC) to base you plan to browse or migrate Navigator, click the table. Note that the
connect to databases, so in addition to from and a connection for any Oracle tabs displayed are slightly different from
installing Oracle SQL Developer, you database you plan to browse or migrate those available when the connection is to
need to install and set up the JDBC database objects to. an Oracle database. Also note that when
drivers for the third-party database to To create a database connec- Oracle SQL Developer is connected to
which you want to connect. The fol- tion in Oracle SQL Developer, click an Oracle database, the context menus
lowing includes download requirements the Connections tab, right-click the offer many Data Definition Language
and location information for supported Connections node, and select New (DDL) commands or utilities; the context

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 81

SO07_SQL_DEV.indd 81 7/20/07 10:59:32 AM


SQL DEVELOPER

menus for third-party databases are


focused on browsing and migration.

SETTING UP A REPOSITORY
Oracle Migration Workbench uses an
Oracle database schema as a migration
repository to store the metadata it col-
lects and transforms for the migration
process. You need to set up a migration
repository only once, regardless of how
many migrations you perform. The
repository consists of 37 tables, with Figure 1: Creating a repository
associated primary keys and indexes,
eight views, triggers, and PL/SQL code.
Although this is not required, Oracle
recommends that you configure a dedi-
cated database schema for the repository.
The user who creates and owns the
repository must be granted various
system privileges and roles. Listing 1
creates a user named migration and
grants the necessary privileges.
Once you have created this user,
you’ll need to create a new database
connection, such as Migration_Repos,
for this user in the same way you did
before. However, for this user you are
creating the connection for an Oracle
database. After you have entered the
necessary information, click Connect
to save the connection and close the
dialog box. From the main menu, select
Migration -> Repository Management
-> Create Repository (as shown in Figure 2: Captured and converted models
Figure 1). Select the connection for
your new repository, and click Create. 5. Copy any data from the source data- connection to the Oracle database for
An Installing Repository dialog box will base to the new database, if required the new data. The wizard determines
appear, showing the progress. When the Quick Migration. Oracle SQL Developer whether you have an available repository,
process completes, close the dialog box. also provides a Quick Migration feature. and if there is none, it creates one during
Two additional windows open below This wizard-driven approach migrates the migration process. (You can also elect
the Connections Navigator, displaying schemas and data to an Oracle database to save or delete the repository once the
captured and converted models. and supports least privilege migration, migration is complete.) Click Verify to
which means that users can migrate connect to the third-party and Oracle
MIGRATION source database objects for which they databases and verify that the schema in
The migration process comprises a few have access to the target database without the Oracle database has been granted the
separate activities. Once you have con- the DBA privilege. The Quick Migration necessary privileges. With verification
nected to the database you want to wizard completes the migration process complete, click Migrate to complete the
migrate and have built the migration without user intervention. quick migration.
repository, the process is as follows: To invoke the Quick Migration option, Manual Migration. Using manual migra-
1. Capture the source database select Migration -> Quick Migrate from tion, you have much more control over
2. Convert the captured database the main menu. The wizard provides a the process and can select individual
3. Generate DDL for the new Oracle single dialog box that requires you to tables or schema objects to migrate. You
schema objects select the source connection, which is the can also make updates at various stages of
4. Run the generated DDL script to connection to the third-party database, the migration process, such as renaming
create the new user and objects and the target connection, which is the the schema and dropping or renaming

82 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_SQL_DEV.indd 82 7/17/07 12:26:11 PM


tables after they have been captured and
before they are converted to the Oracle
model. Let’s take them one at a time:
Step 1. Capture the source database. Right-
click the source database connection
node (SQL Server2005_mwb in this
example) in the Connections Navigator,
and select Capture Microsoft SQL
Server. A progress dialog box showing
you the capture process appears. Once
it is complete, click Close. After the
source has been captured, the metadata
definitions are stored in the Migration
Repository and are ready to be converted.
The captured definitions are available in
the Captured Objects window. Expand
the new node, \\sourcehostname:port\
Northwind (Microsoft SQL Server),
and browse the output. You can make
any modifications, such as renaming
tables, at this point.
Figure 3: Run script as system
Step 2. Convert the captured database.
Once you are satisfied with it, right- codeLISTING 1: Creating the migration user
click the newly captured model,
CREATE USER migration IDENTIFIED BY migration
\\sourcehostname:port\Northwind DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp;
(Microsoft SQL Server), and select
Convert to Oracle Model. A data map GRANT CONNECT, RESOURCE, CREATE VIEW, CREATE PUBLIC SYNONYM
TO migration WITH ADMIN OPTION;
appears for you to accept or modify. For
this exercise, click Apply to accept the GRANT ALTER ANY ROLE, ALTER ANY SEQUENCE, ALTER ANY TABLE, ALTER TABLESPACE, ALTER ANY
mappings offered. A progress dialog box TRIGGER, COMMENT ANY TABLE, CREATE ANY SEQUENCE, CREATE ANY TABLE,CREATE ANY TRIGGER,
CREATE ROLE, CREATE TABLESPACE, CREATE USER, DROP ANY SEQUENCE, DROP ANY TABLE, DROP ANY
appears; click Close when the process TRIGGER, DROP TABLESPACE, DROP USER, DROP ANY ROLE, GRANT ANY ROLE, INSERT ANY TABLE,
completes. Figure 2 illustrates the status SELECT ANY TABLE, UPDATE ANY TABLE
thus far. Both Captured Models and TO migration;
Converted Models reflect the metadata
stored in the Migration Repository. Figure 3, and press F5 to run the script. CONCLUSION
Step 3. Generate DDL for the new Oracle Once the script is complete, create Oracle Migration Workbench supports
schema objects. At this stage, you can a new database connection, such the migration of Microsoft Access,
elect to generate the DDL for individual as ConvertedSQLServer_mwb, in the Microsoft SQL Server, and MySQL data-
objects or categories of objects. To gen- Connections Navigator to browse and base schemas to Oracle Database. It also
erate all the converted objects, right- review the newly migrated objects. reduces the risks involved in migration
click the high-level converted model, Step 5. Copy the data from the source and reduces migration time by automat-
Converted: \\hostname:port\ database to the new database, if required. ing a large portion of the process. O
Northwind (Microsoft SQL Server), The last phase of the migration process is
and click Generate. to copy any data you have in the source Sue Harper (sue.harper@oracle.com) is an Oracle
Step 4. Run the script to create the new database to the target database. From the senior principal product manager based in London.
user and schema objects. When the DDL main menu, select Migration -> Migrate
generation is complete, the DDL script Data. In the dialog box, select the Source
opens in the SQL worksheet. Note that Connection, the Target Connection,
the opening commands create a new data- and the Converted Model (in this LEARN more about Oracle
base user and grant the new user privi- example, Converted: \\hostname:port\ Migration Workbench
otn.oracle.com/products/database/sql_developer
leges. This means that you need to run Northwind (Microsoft SQL Server)),
DOWNLOAD Oracle SQL Developer
the script as a user who has these privi- and click OK. You can now browse, edit, otn.oracle.com/software/products/sql
leges, such as SYSTEM. At the top right and work with your new objects and data DISCUSS Oracle Migration Workbench
side of the SQL worksheet, select the user as you would with any other schema in forums.oracle.com/forums/forum.jspa?forumID=1
you want to run the script, as shown in your Oracle database.

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 83

SO07_SQL_DEV.indd 83 7/9/07 12:52:17 PM


54% of Profit Readers
Make Buying Decisions Based on Third-Party Ads
They See in the Magazine!

As a Profit reader, you know we’re all about the business


of technology. From small and medium businesses, Oracle
Fusion, vertical market developments in BI, and analysis by
Oracle executives and industry luminaries, Profit illuminates
the business impact of technology through customer features,
executive interviews, and business strategy articles.

Executive managers, line-of-business VPs/managers, and IT VPs/managers and


consultants read Profit for the same reasons you do:

• 84% say reading Profit helps them make better strategic decisions
• 81% go online to read more about products and services they see in Profit
• 79% consider Profit a must-read
• 75% say reading Profit shows them Oracle understands the challenges
they face
• 66% say Profit provides information they can’t find in other magazines
• 54% say they make buying decisions based on third-party ads in the
magazine

If your company’s products or services are purchased by executive managers,


line-of-business VPs/managers, and IT VPs/managers and consultants running
Oracle applications, you need to promote your products or services in Profit.

PROFIT…our name says it all!


For detailed information on how your company will benefit from our print
and interactive go-to-market programs, contact your representative below.

Northeast U.S./Canada Mid-Atlantic/Southeast Northwest/Central


David and Ann Schissler Dawn Becker Tom Cometa
+1.508.394.4026 +1.732.772.0160 +1.510.339.2427
schissler@comcast.net dbeck71@optonline.com thomas.cometa@sbcglobal.net

Southwest/LAD EMEA/APAC Associate Publisher


Shaun Mehr Mark Makinney Kyle Walkenhorst
+1.949.923.1660 +44 0 1273 774341 +1.323.340.8585
shaun@sprocketmedia.com mark.makinney@oracle.com kyle@sprocketmedia.com

07002768_Profit_House_Full_Ad_ƒ.1 1 6/26/07 8:20:39 AM


t e c h n o l o g y ASK TOM BY TO M KYTE

On Oracle Database 11g


Our technologist takes a look at the server results and PL/SQL function caches.
ver the next few months, I’ll be I view this feature as being analo- 9 from t
looking at new features coming gous to a just-in-time materialized 10 group by owner, object_type
out with the latest release view. In Oracle8i Database Release 1, 11 order by owner, object_type )
of Oracle Database, Oracle Oracle introduced the concept of mate- 12 loop
Database 11g. There are so many to rialized views, whereby DBAs could 13 -- do_something
choose from that it was hard to pick a create a summary table, much as they 14 null;
few to start with. So I’ve been talking might create an index, and the database 15 end loop;
with Bryn Llewellyn, the PL/SQL optimizer would recognize that this 16 end;
product manager, and he filled me in summary table existed and, when pos- 17 /
on a couple of great new SQL and sible, use it to respond to queries rather Procedure created.
PL/SQL features. than query and process the detailed
information stored in the base tables. Now I execute this process three
CACHE IT This method of operation works well times, noting the time it takes to
Oracle Database 11g raises the bar but is rather static, much like an index- execute each invocation:
on data caching. In the past, Oracle ing scheme. The Oracle Database 11g
Database cached database blocks. It server results cache, however, is in SQL> set timing on
could cache these blocks in various effect creating and maintaining material-
places, such as the default pool, a keep ized views on the fly, using a cache. The SQL> exec my_function
buffer pool, or a recycle buffer pool. server result cache (a just-in-time mate- PL/SQL procedure successfully completed.
But it always cached blocks of data—the rialized view) is populated as needed Elapsed: 00:00:01.54
building blocks used to build result sets. without DBA intervention.
Starting with Oracle Database By way of example, I’ll copy the SQL> exec my_function
11g, the database can also now cache ALL_OBJECTS table into a table: PL/SQL procedure successfully completed.
result sets! If you have a query that is Elapsed: 00:00:00.10
executed over and over again against SQL> create table t
slowly or never-changing data, you will 2 as SQL> exec my_function
find the new server results cache to be 3 select * PL/SQL procedure successfully completed.
of great interest. This is a feature from 4 from all_objects; Elapsed: 00:00:00.11
which virtually every application can Table created.
and will benefit. SQL> set timing off
In a nutshell, the concept is this: Now I’ll create a small function that
when you run a query, Oracle Database executes a report—a query against this Note that the first execution took
11g will first see if the results of that table. To clearly demonstrate the dif- a significant amount of time, about
query have already been computed and ference in performance of this query, 1.5 seconds, due to the physical I/O
cached by some session or user, and if I’ll do nothing inside the loop (where required to read the data from disk
so, it will retrieve the answer from the I would normally be printing the rows into the conventional buffer cache. The
server result cache instead of gathering and performing some computation): second and third executions took much
all of the database blocks and com- less time, about 0.1 second, because
puting the answer all over again from SQL> create or replace procedure the blocks needed to answer the query
scratch. The first execution of the query 2 my_function were found in the cache, not on disk.
will take as long as usual (because it is 3 as Compare what happens if I add a
computing the result), but subsequent 4 begin “cache the results” hint to the query:
executions will appear to be instan- 5 for x in
taneous, because the answer is being 6 (select owner, SQL> create or replace procedure
returned immediately—instead of being 7 object_type, 2 my_function
computed and then returned. 8 count(*) cnt 3 as

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 85

SO07_AskTom.indd 85 7/17/07 10:45:54 AM


ASK TOM

4 begin —I observe the following behavior: two functions, identical except in name
5 for x in and compiler parameter options. They
6 (select /*+ result_cache */ SQL> set timing on will both access the previously created
7 owner, table T:
8 object_type, SQL> exec my_function
9 count(*) cnt PL/SQL procedure successfully completed. SQL> create or replace
10 from t Elapsed: 00:00:00.10 2 function not_cached
11 group by owner, object_type 3 ( p_owner in varchar2 )
12 order by owner, object_type ) SQL> exec my_function 4 return number
13 loop PL/SQL procedure successfully completed. 5 as
14 -- do_something Elapsed: 00:00:00.00 6 l_cnt number;
15 null; 7 begin
16 end loop; SQL> exec my_function 8 select count(*)
17 end; PL/SQL procedure successfully completed. 9 into l_cnt
18 / Elapsed: 00:00:00.01 10 from t
Procedure created. 11 where owner = p_owner;
SQL> set timing off 12 dbms_lock.sleep(1);
SQL> set timing on 13 return l_cnt;
Note that the first execution after 14 end;
SQL> exec my_function the UPDATE went back up to about 0.1 15 /
PL/SQL procedure successfully completed. second of execution time because it had Function created.
Elapsed: 00:00:00.10 to build the new answer. The subse-
quent executions benefit from this work SQL> create or replace
SQL> exec my_function and appear instantaneous. 2 function cached
PL/SQL procedure successfully completed. I’m sure that if you sit back and 3 ( p_owner in varchar2 )
Elapsed: 00:00:00.00 ponder your own applications, you 4 return number
will be able to think of more than one 5 result_cache
SQL> exec my_function place where the server results cache 6 relies_on(T)
PL/SQL procedure successfully completed. feature will come in handy. It provides 7 as
Elapsed: 00:00:00.01 many of the benefits of some material- 8 l_cnt number;
ized views, but without the setup and 9 begin
SQL> set timing off administrative overhead associated 10 select count(*)
with them. 11 into l_cnt
Note how the first execution took 12 from t
about 0.1 second, because the answer BUT WAIT—THERE’S MORE. . . . 13 where owner = p_owner;
was assembled for the first execution, As they say on late night television, 14 dbms_lock.sleep(1);
but that the subsequent executions were “If you thought that was really good, 15 return l_cnt;
blindingly fast—sometimes so fast that wait till you see this!” Oracle Database 16 end;
they appear instantaneous. 11g has a new PL/SQL function results 17 /
The nice thing about this is that the cache as well. Whereas the aforemen- Function created.
cache is invalidated and refreshed by tioned server results cache is about
the database—and the process is com- caching SQL result sets, this extension The only difference in the functions
pletely transparent to the application. of the server results cache feature caches besides the names are the compiler
The application need not worry about the results of PL/SQL function and pro- parameters RESULT_CACHE and
“stale” or invalid results. For example, cedure calls. RELIES_ON. The RESULT_CACHE
if I update a single row, thus changing In the past, if you called a PL/SQL directive tells Oracle Database that you
the results— function 1,000 times and each func- would like the answers from this func-
tion call consumed 1 second, the 1,000 tion to be saved, so that if someone
SQL> update t calls would take 1,000 seconds. With invokes this function again with the
2 set owner = lower(owner) this new function results cache feature, same inputs, the code should not
3 where rownum = 1; depending on the inputs to the func- actually be executed but, rather, that
1 row updated. tion and whether the data underlying person should just receive the already
the function changes, 1,000 function known answer. The RELIES_ON clause
SQL> commit; calls could take about 1 second, total. A tells the database when to invalidate
Commit complete. small example will be useful: I’ll create this function result cache value—in

86 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_AskTom.indd 86 7/17/07 10:45:54 AM


this case, if the table T is modified If you have a query that is executed over and over
(which would change the answer from
my cached function, hence I need it to again against slowly or never-changing data, you
be re-executed). Note that for effect, will find the new server results cache to be of
I’ve put a 1-second sleep in both func-
tions and that that sleep call will make great interest.
it painfully obvious when the func-
tion is actually invoked and when the As you can see, the first execution ‘SYS’ ) );
results are reused. takes a little more than a second, just 29339
I start by calling the conventional like the noncached versions, but the PL/SQL procedure successfully completed.
(not_cached) function three times with subsequent ones run at light speed, Elapsed: 00:00:01.21
timing on: simply because the cached function is,
in fact, not being executed. If I modify SQL> exec dbms_output.put_line( cached(
SQL> exec dbms_output.put_line( not_ the table this function relies on or ‘SYS’ ) );
cached( ‘SCOTT’ ) ); change the inputs I use, I can see that 29339
6 the database does the right thing: PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed. Elapsed: 00:00:00.01
Elapsed: 00:00:01.93 SQL> update t set owner = initcap(owner)
where rownum = 1; Note that the first execution takes a
SQL> exec dbms_output.put_line( not_ 1 row updated. relatively long time (to build the result
cached( ‘SCOTT’ ) ); cache), a subsequent execution is fast,
6 SQL> commit; and calling the function with a different
PL/SQL procedure successfully completed. Commit complete. username does not invalidate or throw
Elapsed: 00:00:01.29 away other cached results:
SQL> exec dbms_output.put_line( cached(
SQL> exec dbms_output.put_line( not_ ‘SCOTT’ ) ); SQL> exec dbms_output.put_line( cached(
cached( ‘SCOTT’ ) ); 6 ‘SCOTT’ ) );
6 PL/SQL procedure successfully completed. 6
PL/SQL procedure successfully completed. Elapsed: 00:00:01.25 PL/SQL procedure successfully completed.
Elapsed: 00:00:01.07 Elapsed: 00:00:00.00
This first execution of the cached
As you can see, each invocation function takes more than a second, Function calls that use SCOTT as
takes at least one second—the work because it must refresh the result cache, the input will remain fast until the
done by the function plus the SQL but subsequent executions benefit from cache must be invalidated or until it
it executes take a little more than a this cached result: runs out of room and must make way
second. Now I try out the cached for other elements.
version of this function: SQL> exec dbms_output.put_line( cached( Again, this is a feature that can be
‘SCOTT’ ) ); implemented without massive rearchi-
SQL> exec dbms_output.put_line( cached( 6 tecting of your applications—in fact,
‘SCOTT’ ) ); PL/SQL procedure successfully completed. without rearchitecting at all. The com-
6 Elapsed: 00:00:00.01 piler parameter RESULT_CACHE can
PL/SQL procedure successfully completed. activate this feature, and any client that
Elapsed: 00:00:01.09 SQL> exec dbms_output.put_line( cached( invokes the function will benefit. For
‘SCOTT’ ) ); example, informal tests with Oracle
SQL> exec dbms_output.put_line( cached( 6 Application Express show an approxi-
‘SCOTT’ ) ); PL/SQL procedure successfully completed. mately 15 percent decrease in runtime
6 Elapsed: 00:00:00.01 in a standard benchmark harness—your
PL/SQL procedure successfully completed. mileage may vary, of course!
Elapsed: 00:00:00.01 And just to show that the PL/SQL
function results cache understands WHEN OTHERS THEN NULL REDUX
SQL> exec dbms_output.put_line( cached( that different inputs result in different In the July/August 2007 issue of Oracle
‘SCOTT’ ) ); outputs, I can call the cached function Magazine (at otn.oracle.com/oramag/
6 with a different username: oracle/07-jul/o47asktom.html), I wrote
PL/SQL procedure successfully completed. about a certain PL/SQL programming
Elapsed: 00:00:00.01 SQL> exec dbms_output.put_line( cached( construct, the WHEN OTHERS

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 87

SO07_AskTom.indd 87 7/9/07 1:02:03 PM


ASK TOM

exception handler. I wrote 14 end; lines—to immediately go to and add a


There’s a programming construct, 15 / simple RAISE to see where this hidden
WHEN OTHERS, in PL/SQL that I wish Procedure created. error is coming from. Job done.
weren’t there.
Well, I knew Oracle could never It’s as simple as can be. Nothing IT’S THE LITTLE THINGS. . . .
really remove this language feature—but should go wrong, but in case it does, I’ll There’s a saying that goes, “It’s the little
Oracle certainly has made it safer. Just log the error by using a utility routine things in life that really make a differ-
to reiterate why I wish this program- I’ve developed. That’ll write a nice ence.” So I’ll close with a little thing
ming construct did not exist, I’ll quote error message somewhere (hopefully!), that will make your coding life a bit
myself again: but whoever invokes this routine will easier and the PL/SQL language a bit
But the problem I see is that far too have no idea that an exception that was more complete:
many people use the WHEN OTHERS not expected—and that could not be
clause without following it by a RAISE or fixed—happened. (I see code like this SQL> create sequence this_is_nice;
RAISE_APPLICATION_ERROR call. That time after time after time.) Now when Sequence created.
effectively hides the error. In reality, the someone calls this routine,
error happened, but it was not handled in SQL> declare
any meaningful way; it was just ignored— SQL> exec maintain_t( rpad( ‘x’, 4001, 2 n number;
silently. The invoker of your code has no ‘x’ ) ); 3 begin
idea that something went horribly wrong PL/SQL procedure successfully completed. 4 n := this_is_nice.nextval;
and that your code failed, and he or she 5 dbms_output.put_line( n );
typically thinks that everything was, in it sure looks successful, but it wasn’t: 6 end;
fact, successful. 7 /
Many times—many more times than SQL> select * from t; 1
I can recall or count—“quirky” behavior no rows selected PL/SQL procedure successfully completed.
in a PL/SQL program unit is found to be
caused by the improper use of a WHEN This is where confusion comes in: Compare that to what would have
OTHERS clause—one that is not fol- people get on the phone; they write happened in Oracle Database 10g and
lowed by RAISE. The error was hidden, e-mails; they say “Oracle Database is prior releases. In Oracle Database 11g,
error handling was effectively disabled, broken; the transaction succeeds, but there’s no more selecting a sequence
and the outcome is typically logically the data is wrong.” In fact, the problem FROM DUAL. PL/SQL is that much
corrupt data (the application did not do is the hidden error. Now, to find these more complete.
its job) or the wrong answer. errors in Oracle Database 11g, I will
Now, in Oracle Database 11g, I can simply ask people to perform the follow- Tom Kyte has worked for Oracle since 1993. He is a
easily find the offending bits of code. ing operation on their code first: vice president in the Oracle Public Sector group and
When I suspect that an exception is the author of Expert Oracle Database Architecture:
being raised and hidden in this fashion, SQL> alter procedure maintain_t compile 9i and 10g Programming Techniques and Solutions
I’ll be able to verify my hunch rapidly. 2 PLSQL_Warnings = ‘enable:all’ (Apress, 2005) and Effective Oracle by Design (Oracle
Consider this innocuous procedure: 3 reuse settings Press, 2003), among others.
4 /
SQL> create table t( x varchar2(4000) );
Table created. SP2-0805: Procedure altered with
compilation warnings
ASK Tom
SQL> create or replace Oracle Vice President Tom Kyte answers your most
2 procedure maintain_t SQL> show errors procedure maintain_t difficult technology questions. Highlights from that
forum appear in this column.
3 ( p_str in varchar2 ) Errors for PROCEDURE MAINTAIN_T: asktom.oracle.com
4 as READ more about
5 begin LINE/COL ERROR Oracle Database 11g
6 insert into t -----------––––– ––––––––––––––––––––––––––––––––––––––– otn.oracle.com/products/database

7 ( x ) values 9/8 PLW-06009: procedure READ more Tom


Expert Oracle Database Architecture: 9i and 10g
8 ( p_str ); “MAINTAIN_T” OTHERS handler Programming Techniques and Solutions
9 exception does not end in RAISE or amazon.com/exec/obidos/tg/detail/-/
1590595300/
10 when others RAISE_APPLICATION_ERROR
11 then DOWNLOAD
12 -- call some log_error() routine And instantly you’ll have a list of Oracle Database 11g
otn.oracle.com/technology/software
13 null; applications—and the source code

88 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_AskTom.indd 88 7/17/07 10:45:56 AM


Do you belong
in the Oracle community ?

Join UKOUG to:


Network with over
9,000 members
Participate and learn at more
than 120 events per year
Save with a free place at our
annual conference

UKOUG Conference 2007 3-6 December


International Convention Centre, Birmingham UK

The largest independent user


group conference in EMEA
Over 350 leading edge
presentations
Three day exhibition with
over 100 exhibitors

www.ukoug.org
Hyperion JD Edwards Oracle PeopleSoft Stellent Siebel
Oracle PartnerNetwork Certified Advantage Partner Index
The partners featured in this index have recently reached or renewed their status of Certified Advantage Partner in the Oracle PartnerNetwork.
COMPANY NAME URL COMPANY NAME URL
Global Canada
Accenture www.accenture.com Allstream Inc. www.allstream.com
Advanced Micro Devices, Inc. www.amd.com Castek www.castek.com
Apple www.apple.com CGI Group, Inc. www.cgi.com
BearingPoint www.bearingpoint.com TietoEnator Canada Inc. www.tietoenator.com
Capgemini www.capgemini.com Europe
Cisco www.cisco.com Actebis Peacock GmbH www.actebispeacock.de
Computer Sciences Corporation www.csc.com ACURE A/S www.acure.dk
Dell Inc. www.dell.com Afina Sistemas Informaticos www.afina.es
Deloitte www.deloitte.com Alcatel www.alcatel.com
EDS www.eds.com Alcatel CIT www.alcatel.fr
EMC www.emc.com Anelia SAS www.anelia.fr
Fujitsu Group www.fujitsu.com Application Lynx www.applicationlynx.co.uk
HP www.hp.com Ares www.ares.fr
IBM / IBM Global Business Services www.ibm.com Asseco Poland S.A. www.asseco.pl
Infosys www.infosys.com Atos Origin IT Services UK www.atosorigin.com
Ingram Micro www.ingrammicro.com Atos Origin Nederland BV www.atosorigin.com
Insight www.insight.com B3iT Management AB www.b3it.se
Intel www.intel.com Basilica Computing Limited www.basilica.co.uk
Microsoft www.microsoft.com Bell Microproducts Limited www.bellmicro.eu
Network Appliance, Inc. www.netapp.com Borlas IBC www.borlas.ru
Satyam www.satyam.com Capgemini Telecom Media und Networks GmbH www.de.cgey.com
Sun Microsystems www.sun.com CBOSS www.cboss.ru
Tata Consultancy Services www.tcs.com Cedar Consulting Ltd. www.cedarconsulting.co.uk
TechData www.techdata.com CGI Group INC www.cgi.com
Wipro www.wipro.com Ciber UK www.ciber.com
Africa Cnsys www.cnsys.bg
2Cana Solutions (Pty) Ltd. www.2cana.co.za ComArch S.A. www.comarch.pl
Computer Warehouse Nigeria www.cwlgroup.com CompelSolve Ltd. www.compel.co.uk
Corporate Software www.corporate.ma CompIT Technologies www.compit-t.com.by
De Chazal Du Mee Consulting (DCDM) www.dcdm.biz Computacenter AG & Co. OHG www.computacenter.de
EOH Consulting Services (Pty) Ltd. www.eoh.co.za ComputerLand S.A. www.computerland.pl
Implementation Factory (Pty) Ltd. www.ifactory.co.za Comverse www.comverse.com
Integrated Tertiary Software (Pty) Ltd. www.its.co.za Consit A/S www.consit.dk
New Dawn Technologies www.ndt.co.za Convergys EMEA Ltd. www.convergys.com
Omnidata www.omnidata.co.ma Cozum Bilgisayar www.cozumbil.com.tr
or@dist www.oradist.com.tn CSC France www.csc.com
RPC DATA LIMITED www.rpcdata.com CROC Incorporated www.croc.ru
State Informatics Ltd. (SIL) sil.intnet.mu Cronos NV www.cronos.be
VESL www.vesltech.com Cronos Ibérica, S.A. www.cronosiberica.es
Waymark Infotech (Pty) Ltd. www.waymark.co.za CSC www.csc.com
Asia Pacific CSG Systems (Silicon Iberia) www.csgsystems.com
Acumen Alliance Investments www.acumen.com.au Deutsche Post ITSolutions GmbH www.dp-itsolutions.de
Alcatel Australia Limited www.alcatel.com.au Developing World Systems Ltd. www.dwsonline.co.uk
ASG (Asia Pacific) Pty Ltd. www.asggroup.com.au DIGORA www.digora.com
Application Hosting Services Co., Ltd. www.a-host.co.th DISTRILOGIE (France) www.distrilogie.com
Attain IT Pty Ltd. www.attainit.com.au DBConcepts Daten - und Informationsverarbeitungsges.m.b.H. www.dbconcepts.at
Automated Systems (HK) Ltd. www.asl.com.hk Diligenta Limited www.Diligenta.co.uk
Beijing Futong Dong Fang Technology Co. Ltd. www.futong.com.cn DNS Hungary Ltd. www.dns-hungary.hu
China National Software & Service Company Limited www.css.com.cn Ecletic Group Ltd. www.eclectic.co.uk
DataHeaven Co., Ltd. www.dataheaven.co.kr Edenbrook Limited www.edenbrook.co.uk
Dataone Asia (Thailand) Co. Ltd. www.diasia.co.th Engineering Ingegneria Informatica S.p.A. www.eng.it
Daesang Information Technology Co., Ltd. www.daesangit.com Everis Spain S.L. www.everis.com
Digital China (China) Limited www.digitalchina.com.cn Explorer (UK) Limited www.explorer.uk.com
DMS Software Technologies (Pvt.) Ltd. www.dmsswt.com Experteam Consulting www.experteam.com.tr
ECS International Trading (Shanghai) Co., Ltd. www.ecschina.com Fadata www.fadata.bg
Electronic Data Systems (India) Pvt Ltd. www.eds.com FORS Development Center www.fdc.ru
FPT Information System www.fis.com.vn Fujitsu Services Limited www.uk.fujitsu.com
FPT Software Solutions www.fss.com.vn Fujitsu Siemens Computers Ltd. www.fujitsu-siemens.com
Fujian Fujitsu Communication Software Co., Ltd. www.ffcs.cn Getronics PinkRoccade www.getronicspinkroccade.nl
Fusion5 Limited www.fusion5.co.nz Global Services Aarhus & Copenhagen A/S www.maerskdata.dk
GTL Limited www.gtllimited.com Groupe LGS France www.lgsrecrut.com
FPT Corporation www.fpt.com.vn GWI Unternehmensgruppe www.gwi-ag.com
HAND Enterprise Solutions Co., Ltd. www.hand-china.com Horizon Clarity Technology Ltd. www.claritytechnology.co.uk
HPT Vietnam Corporation www.hptvietnam.com Hunkler GmbH & Co. KG www.hunkler.biz
Huadi Computer Group Co., Ltd. www.huadi.com.cn I-Teco www.i-teco.ru
Huawei Technologies Co., Ltd. www.huawei.com/cn i-flex solutions bv www.iflexsolutions.com
iCE Consulting Co Ltd. www.iceconsulting.co.th Inatech Solutions Ltd. www.inatech.com
i-flex Solutions Limited www.iflexsolutions.com INDRA Sistemas S.A. www.indra.es
Jigsaw Services Pty Ltd. www.jigsawservices.com.au Industrial and Financial Systems, IFS AB www.ifsworld.com
LG CNS Co., Ltd. www.lgcns.com Ineum Consulting www.ineum.fr
L&S Information Technology Co. Ltd. www.lnsit.co.kr Infor Global Solutions GmbH www.infor.de
IT&C Co., Ltd. www.itnc.co.kr Informacines Technologijos www.it.lt
KPMG Consulting Co Ltd. www.kpmg.com.tw Informatica El Cortes Ingles www.ieci.es
KOLON I’Networks Corp. www.kdc.kolon.co.kr Information Technologies Company www.it.ru
NCS Pte. Ltd. www.ncs.com.sg Intec Billing Ireland www.intecbilling.com
Nucleus Software Exports Ltd. www.nucleussoftware.com Intec Telecom Systems www.intec-telecom-systems.com
Ora-Tech System Pvt. Ltd. www.ora-tech.com Intel Solution Services UK www.intel.com
OED Technology Sdn Bhd www.patimas.com Inter Access B.V. www.interaccess.nl
Propia Co., Ltd. www.propia.co.kr IT Alise www.it-alise.com
Pythis www.pythis.com IT-eye www.it-eye.nl
Red Hat Asia Pacific www.redhat.com KNAPP Systemintegration GmbH www.knapp.com
Red Rock Consulting www.redrock.net.au KPMG Consulting www.kpmg.be
Sam Yung Holdings IT Business Division www.syhds.com Kurt Salmon Associates www.kurtsalmon.com
Samsung SDS www.sds.samsung.co.kr Leaves www.leaves.ru
Shanghai New Century High Tecnology Services Ltd. www.shsnc.com LGS France www.lgs.com
Shen Yang Neusoft Co., Ltd. www.neusoft.com LogicaCMG www.logicacmg.nl
Sierra Atlantic Pte Ltd. www. sierraatlantic.com LogicaCMG www.Logicacmg.com
Sonata Information Technology www.sonata-infotech.com LOGIX www.logix.fr
Sysage Technology Co., Ltd. www.sysage.com.tw Mdtvision www.mdtvision.com
System Access Pte Limited www.systemaccess.com Memorex Telex/EDS www.memorex.ie
Systex Corporation Taiwan www.systex.com.tw Micros-Fidelio GmbH www.micros-fidelio.org
Systex Information (H.K.) Ltd. www.systex.com.hk Montora www.montora.com
Taiji Computer Corporation www.taiji.com.cn Morse Group Ltd. www.morse.com
Tata Infotech Ltd. www.tatainfotech.com Mphasis Ltd. www.mphasis.com
TechAccess Pakistan (Pvt.) Ltd. www.techaccesspak.com Msg Systems ag www.msg-systems.com
Tietoenator Software Technologies Pvt Ltd. www.tietoenator.in Network Centric Solutions Limited www.ncsltd.com
Wezoomtek Corporation www.wezoomtek.com Noetix www.noetix.com

90 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_CAPindex.indd 90 7/11/07 12:54:17 PM


CERTIFIEDadvantage partner index
COMPANY NAME URL COMPANY NAME URL
Nokia Corporation www.nokia.com Senior Serviços em Tecnologia de Informática Ltda. www.senior.com.br
Ordina www.ordina.nl Servicios, Tecnologia y Organizacion S.A. de C.V. (STO) www.stoconsulting.com
Oficina de Cooperación Universitaria www.ocu.es Sinergy Solutions, S.A. de C.V. www.sinergysolutions.com.mx
Open Technologies www.ot.ru Snoop Consulting S.R.L. www.snoopconsulting.com
Opitz Consulting GmbH www.opitz-consulting.de Soft Bolivar S.A. www.softbolivar.com
Patech Solutions Limited www.patech-solutions.com Softcomex Informática Ltda. www.softcomex.com.br
PC-Ware Information Technologies AG www.pc-ware.de Solusoft www.solusoft.com
Peak Systems Support Ltd. www.peaksystems.co.uk Sonda del Peru S.A. www.sonda.com
PDV-Systeme Erfurt Gesellschaft für Systemtechnik mbH www.pdv.de SQL Technology S.A. www.sqltech.cl
Peak Systems Support Ltd. www.peaksystems.uk.com Sunrising Desenvolvimento de Sistemas www.sunrising.com.br
Peter-Service www.billing.ru Sysdesign Consultoria Em Informatica Limitada www.sysdesign.com.br
Prodatis Consulting AG www.prodatis.com Tilsor S.A. www.tilsor.com.uy
QAS Ltd. www.qas.com TSnet S.A. www.tsnetglobal.com
Quantix Ltd. www.quantix-uk.com Unimix Tecnologia Ltda. www.unimix.com.br
RDTEX www.rdtex.ru Unisys www.unisys.com
Rila Solutions www.rila.com YKP Consultoria e Sistemas Ltda. www.ykp.com.br
RTC Real-Time Center AG www.rtc.ch Middle East
S.C. RomSoft S.R.L. www.romsoft.info Bahwan Cybertek LLC www.bahwancybertek.com
SCC PLC www.scc.com Computer and Communications Systems www. ccs.com.jo
Sddc www.sddc.fr Computer Information Systems www.cis.com.lb
SIV AG www.siv.de Computer and Engineering Bureau CEB www.ceb.com.jo
SIVECO Romania S.A. www.siveco.ro Districom www.cis.com.lb
Service & Systems Solutions www.northgate-is.com Emirates Computers Est www.emiratescomputers.co.ae
Softek Storage Solutions www.softek.com Giza Systems www.gizasystems.com
Softman S.A. www.softman.pl Global Technology Services LLC www.gtsuae.com
Software Design & Management AG www.sdm.de Hyperlink www.hyperlink-me.com
Sogeti Espana www.sogeti.biz Integrated Data Solutions www.idscomp.com
Sopra Group www.sopragroup.com International Turnkey Systems (ITS) www.its.ws
Symatrix Limited www.symatrix.co.uk Intracom Jordan www.intracom.jo
TEAM GmbH www.team-pb.de Mannai Trading Company Limited www.mannaicorp.com
Teamsolve www.teamsolve.co.uk Mercator www.mercator.co.ae
Tech Data Midrange GmbH www.tdmidrange.de
Macro Software Systems LLC www.macro-soft.com
Technologica www.tlogica.com
Mindscape www.mindscapeit.com
Technology Reply Srl www.reply.it
Raya Gulf LLC www.rayaholding.com
Temenos www.temenos.com
Royah www.royah.com
Teta S.A www.teta.com.pl
United States
TietoEnator Corporation www.tetioenator.com
170 Systems, Inc. www.170systems.com
TimeStamp - Sistema de Informação www.timestamp.pt
Abaris, Inc. www.abaris-inc.com
T-Systems International GmbH www.t-systems.com
Actuate Corporation www.actuate.com
Unisys France www.unisys.com
Apex IT, Inc. www.Apexit.com
Up to Data, Professional Services GMBH www.uptodata.de
Applications Software Technology Corp. www.astcorporation.com
Vector Software SRL www.vectorsoftware.ro
Applied Biosystems www.sqllims.com
Version 1 Software www.version1.com
Applimation, Inc. www.applimation.com
Whitehouse Consultants Ltd. www.whitehouse-consult.com
Avnet www.avnet.com
WM-data Danmark A/S www.wmdata.com
BMC Software, Inc. www.bmc.com
Latin America
Business & Decision www.businessdecision.com
Abaco Tecnologia de Informacao Ltda. www.abaco.com.br
Business & Technology Resource Group Inc. www.btrgroup.com
Acao Informatica Brasil Ltda. www.acao.com.br
CedarCrestone www.cedarcrestone.com
Advanced Database & IT Sistemas de Informação S.A. www.advancedit.com.br
CherryRoad Technologies www.cherryroad.com
Aporte Gestao Empresarial e Tecnologia da Informacao Ltda. www.aporte.com
CIBER www.ciber.com/ces/oracle
Apply Solutions www.applysolutions.com.br
Cognizant Technology Solutions www.cognizant.com
Asistir Ltda. www.asistir.com
COLLEGIS INC www.collegis.com
Atel S.A. (Quanam Uruguay) www.quanam.com
CSS International www.cssus.com
B2BR Business to Business Informatica do Brasil www.b2br.com.br
DAZ Systems www.dazsi.com
Bertini Comércio e Serviços de Informática Ltda. www.bertini.com.br
Eastern Software Corporation www.easternsoftware.com
BGH, S.A. www.bgh.com.ar
Fidelity Information Services www.fidelityinfoservices.com/FNFIS
BusinessMind S.A. www.businessmind.com.ec
GNC Consulting, Inc. www.gnc-consulting.com
Casa de Software S.A. www.casasoft.com.br
GNUCO, LLC dba Emerging Solutions www.emergenow.com
Compusoluciones y Asociados, S.A. de C.V. www.compusoluciones.com
Hyperion Solutions www.hyperion.com
CFP3 Consultoria e Tecnologia www.commitconsultores.com.br
IAE Solutions, LLC www.iaesolutions.com
CONSULT SOFT S.A. www.consult-soft.com
IMPAC Services www.impacservices.com
CTIS Tecnologia S.A. www.ctis.com.br
Datastar Argentina S.A. www.datastar.com.ar INRANGE Consulting Corporation www.inrangeconsulting.com
Datavision Digital, S.A. De C.V. www.datavision.com.mx INTELLIGROUP INC www.intelligroup.com
Datum www.datum.com KBACE Technologies, Inc. www.kbace.com
Discover Technology Informatica Ltda. www.discover.com.br Kronos Inc. www.kronos.com
e-Builders & Consulting Group S. A. C. www.ebuilders.com.pe Lucidity Consulting Group LP www.luciditycg.com
Elucid Solutions S.A. www.elucid.com.br MAXIMUS Inc. www.maximus.com
Enorey International www.quanam.com MSS Technologies, Inc. www.msstech.com
EN-SOF Consultoria e Informática Ltda. www.en-sof.com.br Mythics www.mythics.com
E-Partner Comercial e Serviços de Informática Ltda. www.epartnerbr.com.br NaviSite, Inc. www.navisite.com
ERP Soluciones S.A. de C.V. www.erpsol.com.mx Noetix Corporation www.noetix.com
Eserv Expert Services Del Ecuador S.A. www.eserv-andina.com Novell, Inc. www.novell.com
Excelsis S.A.C.I.G www.excelsis.com.py Optimum Solutions Group, LLC www.optimumsolutions.com
FYC Soluciones Integrales, C.A. www.fyccorp.com OSI Consulting, Inc. www.osius.com
Grupo Quanam www.quanam.com Perot Systems Corporation www.perotsystems.com
Illuminat Ltd. www.illuminatnm.com Princeton Softech www.princetonsoftech.com
In Motion Servicios S.A. www.inmotion.cl Protege Software Services, Inc. www.protege.com
Ingenieria Condor S.A. DE C.V. www.i-condor.com Red Hat, Inc. www.redhat.com
Innovat S.A. www.itexperts.com.ec Solbourne Computer Inc. www.solbourne.com
Intec Telecom Systems do Brasil Ltda. www.intec-telecom-system.com Solution Beacon, LLC www.solutionbeacon.com
JFM Informática Ltda. www.jfm.com.br SYSTIME www.systime.net
Kruger Corporation S.A. www.kruger.com.ec TietoEnator Majiq, Inc. www.tietoenator.com
MATERA Systems Informatica Ltda. www.matera.com TITAN Technology Partners www.ttpartners.com
MPL Corporate Software S.A. www.mpl.com.br TUSC www.tusc.com
Netix Distribuidores de Tecnologia, C.A. www.netixcorp.com Unisys Corporation www.unisys.com
Nexsys www.nexsysla.com USinternetworking, Inc. www.usi.net
Officer Distribuidora www.officer.com.br Waters Corporation www.waters.com
Politec Ltda. www.politec.com.br Wave Consulting Group www.wavecg.com
Preteco www.preteco.com Whitbread Technology Partners, Inc. www.whitbreadtech.com
Procwork CRM www.procwork.com.br Xcelicor, Inc. www.xcelicor.com
Recours Informatica Consultoria e Assessoria Ltda. www.recours.com.br Zanett Commercial Solutions, Inc. www.whitbreadtech.com

Partners able to demonstrate superior product knowledge, competence, and a commitment to doing business with Oracle qualify for the Oracle PartnerNetwork (OPN) Certified Advantage Partner level. These partners receive the
highest level of service, training, benefits, and resources from Oracle to support them in delivering quality to customers. For more information on partners, please visit the OPN Solutions Catalog at solutions.oracle.com.

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 91

SO07_CAPindex.indd 91 7/17/07 12:19:17 PM


c o m m e n t IN THE FIELD BY ARI KAPLAN

What’s New in Oracle Database 11g


The latest version of the database has great new features for everyone.
racle Database 11g, the biggest that audit trail once it’s in the lockbox. a lot of space and expense.
release of Oracle’s flagship People can view it, but no one can Even managing large amounts of
database in several years, was change it or delete it. ordinary data can be a chore. The new
launched recently. I’m impressed This functionality prevents prob- partition advisor can suggest how best
that Oracle invests so much effort in lems, whether deliberate or acciden- to manage large amounts of data, such
each new version of the database, and tal, caused by insiders. Oracle Audit as census data by state. It can also
the effort shows. The database has con- Vault is implemented using encryp- physically create partitions. You still have
sistently been the technology market tion techniques, and those who try to control over what it does—specifying
leader, often by many years, and this tamper with it leave telltale signs of how long to keep data, for example.
new version continues that tradition. their attempts. Enterprises that need
Full disclosure: The Independent to comply with regulatory audit pro- QUERY RESULT CACHE
Oracle Users Group (IOUG) has been a cedures—and which don’t?—will love Another neat feature is query result
significant part of the beta program for Oracle Audit Vault. I can’t wait. cache, which is what it sounds like:
Oracle Database 11g. IOUG members Oracle Database 11g will cache the results
have been working with Oracle on fea- HOT PATCHING of queries in memory, where they act like
tures and testing, and many members Another feature that DBAs will really tables. Multiple users can see these results
have installed beta versions of the appreciate is hot patching, which allows without repeating the same query. For
release and run real applications against you to apply updates and bug fixes common and frequently used queries,
it—and there’s a lot to like in Oracle to the database without bringing the this can save system effort and improve
Database 11g. You’ve probably heard system down. Previously, you would performance. You can configure how
about some of the major features, and I have to stop production by halting work much space to allocate to query result
want to tell you about some of my favor- entirely—or do an intricate and expen- cache and how long to retain results.
ite features of this new release. sive dance of transferring to another These are just a few of the new fea-
system and back—to do any patching. tures I looked at in Oracle Database 11g.
ORACLE AUDIT VAULT It’s no surprise that administrators were Oracle consistently comes out with new,
One feature I love in Oracle Database reluctant to do this, and praiseworthy useful, and—for some business issues—
11g is called Oracle Audit Vault, and dedication to uptime sometimes meant mandatory technology. The company’s
if you’re not using it now in Oracle9i not applying critical patch updates. Hot commitment to its database product is
Database or Oracle Database 10g, maybe patching resolves such dilemmas: you impressive. This one will be fun. O
you should be. What’s so special about can run your patches, including secu-
Oracle Audit Vault? It makes Oracle the rity fixes, without affecting production. Ari Kaplan (ari_kaplan@ioug.org) is president of the
only database to enable you to be truly Gotta love that. Independent Oracle Users Group (IOUG) and a senior
security-process compliant. Another new feature I like in Oracle consultant at Datalink. He founded Expand Beyond
From my experience as a DBA, I Database 11g is the ability to store Corporation, a leader in mobile IT software. He has
know—and you probably do, too—that data in compressed format—called been involved in Oracle technology since 1992.
DBAs who are skilled enough can view advanced table compression. Suppose
and change data if they really want to. you’re storing a lot of long documents.
They can then alter the audit trail—wipe Keeping them in compressed format
away their footprints—to make sure no can save up to two-thirds of the usual
one can find out what they’ve done. It’s space necessary. Naturally the amount READ more about
Oracle Database 11g
always been a problem, and now it’s also of space you can save depends on the oracle.com/database
a major compliance issue. kind of information you’re storing: this Oracle Database 11g in Ask Tom
Oracle Audit Vault changes that sce- compression won’t help much with data otn.oracle.com/oramag/oracle/07-sep/
o57asktom.html
nario considerably. The audit trail goes that’s already compressed, for example.
into a one-way “lockbox.” No one, not But if you have large uncompressed DOWNLOAD Oracle Database 11g
otn.oracle.com/database
even a highly skilled DBA, can alter data elements, this feature will save you

92 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_InTheField.indd 92 7/17/07 12:18:21 PM


c o m m e n t ALL SECURE BY M A RY A N N DAVI DSO N

Automating Security
Papa’s got a brand-new bag (of tools).
racle is celebrating its 30th automate its security assessments, and ought to document best security prac-
anniversary this year. Some the quality assurance teams use them to tice, make it easy to install its products
of us old-timers have been keep ahead of the ethical hackers. that way by default, and provide a tool
busy wallowing in nostalgia We’ve also licensed tools from third- to automate the security checks.
by cataloging remembrances of how party vendors. You can’t test security
Oracle has changed over these 30 years. into a product, but even a really good SECURING GOOD TIMES
There’s sometimes a tendency to think developer can benefit from tools that One thing that hasn’t changed in 30
that old times were better, but even automate finding security-related years is that people who work in IT are
those with Luddite inclinations can defects. Some of these tools do static always doing at least four things at once,
agree with my mother when she says, analysis: tracing through source code to and being able to automate three of them
“Without change, there is no growth.” find how an input at X (that is not cor- will not only make us all more secure
(I used to joke that working at Oracle rectly handled, for example) could lead but will also make better use of a scarce
was like the weather in San Francisco: to an actual exploit at point Y later in resource (time!). So I look forward to
if you aren’t 100 percent thrilled at the code. We also use automated tools to the “good new days” when there are lots
any given moment, wait half an hour, test Web interfaces—in both our devel- of automated security tools in the mar-
because it will change.) opment and production environments— ketplace that meet the needs of vendors
There are a great many things that for common security vulnerabilities. No large and small as well as those of Jane
are actually better now than in the one tool does it all. Just as for building or Joe Developer building a custom
“good old days.” One of these has been a house, you need hammers, saws, and application for Mom-and-Pop.com.
the growth in tools that help people screwdrivers as well as a good design Another thing hasn’t changed in 30
do security-related things more easily. and excellent workers. years: we can all use more time. O
Security automation can help everyone It took us a long time to find good
from developers trying to get their prod- tools, train people to use them, and roll Mary Ann Davidson is the chief security officer at
ucts out the door securely (by finding them out. We have helped our vendors Oracle, responsible for secure development practice,
defects in software that could lead to make their tools more robust (nobody security evaluations, and assessments. She represents
security vulnerabilities) to custom- could scan 50 million lines of code daily Oracle on the board of directors of the Information
ers trying to ensure that their security when we started looking at tools), which Technology Information Security Analysis Center (IT-
posture remains strong from day to day helps not only Oracle but also others in ISAC) and the Defense Science Board and is on the
despite frequent configuration changes. the industry. We all need the equivalent editorial review board of SC Magazine.
Figure that most systems are larger and of spell-checkers for code to find where
more complex than they used to be, and we have misspelled security, so to speak.
you realize why security automation I am pleased that Oracle is helping push
is the wave of the future even if it was the envelope for security automation LEARN more about
needed yesterday. higher and broader for everyone. Oracle security solutions
oracle.com/security/security-solutions.html
Security automation is also important
AUTOMATING SECURITY NOW in secure configuration. Most people Oracle Software Security Assurance
oracle.com/security/software-security-assurance.html
Oracle has some homegrown tools we don’t have the time or expertise to set,
Critical Patch Updates and
use to help find and root out common say, 82 configuration parameters by Security Alerts
secure-coding errors. Some of these hand (on 37 instances), much less do otn.oracle.com/deploy/security/alerts.htm
have been developed by Oracle’s ethical it every day to ensure that they didn’t READ more Davidson
hacking team, whose technical acumen leave a cyberdoor wide open. Being able blogs.oracle.com/maryanndavidson

is exceeded only by its sense of humor to automate those “Am I secure?” checks DISCUSS
in naming the tools. (SQL*Splat is a is like having a night watchman (who Oracle Identity Management
forums.oracle.com/forums/forum.jspa?forumID=47
tool for finding SQL injections, and never needs to sleep) checking every
Bit*Rotter is a protocol fuzzer.) The door and window every quarter hour in Security
forums.oracle.com/forums/forum.jspa?forumID=51
ethical hacking team uses these tools to perpetuity. Ideally, every software vendor

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 07 93

S007_DAVIDSON.indd 93 7/17/07 10:52:58 AM


Receive Free Product Information
from Our Advertisers
adINDEX

Contact vendors below for additional information about products or services advertised in this issue.
ADVERTISER WEB SITE PAGE
Allround Automations www.allroundautomations.com 69

AMD www.amd.com 27, 52

Autodesk www.autodesk.com 52

BEZ www.bez.com 44

BI Consulting Group www.biconsultinggroup.com 9, 11

Citrix www.citrix.com 10

Conquest Software www.sqldetective.com 2, 3

Dell Inc. www.dell.com 31-34, 62

EMC www.emc.com 4

Fujitsu Group www.fujitsu.com IFC -1, 47

HP www.hp.com 25, 46

ImageNow www.imagenow.com 22

McGraw-Hill/Osborne www.oraclepressbooks.com 70

Network Appliance www.netapp.com 51. OBC

Pillar Data Systems www.pillar.com 8, 48

The Pythian Group www.pythian.com 49

Tusc www.tusc.com 50

Quest www.quest.com 7, 50

Syncsort www.syncsort.com 13

USi www.USi.com 15

Web addresses are provided as a service. Oracle Magazine is not responsible for errors or Web address changes.
Oracle Publishing allows sharing of our mailing list with selected third parties. If at any time you would like to be removed from this mailing list,
please contact our customer service department at +1.847.763.9635 or send an e-mail to oracle@halldata.com.

ADVERTISING CLOSE DATES FOR 2007 ISSUES


ISSUE CLOSE DATE
November/December 2007 August 29, 2007

Oracle Magazine (ISSN 1065-3171) is published bimonthly with a free subscription price by: Oracle, 500 Oracle Parkway, MS OPL-3C, Redwood City, CA
94065-1600. Periodicals Postage Paid at Redwood City, CA, and additional mailing offices. CPC Sales Agreement #1518151 • POSTMASTER: Send address
changes to: Oracle Magazine, P.O. Box 1263, Skokie, IL 60076-8263.

94 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_ADindex.indd 94 7/17/07 12:20:34 PM


Oracle Database

Get Better Results


“35% increase in performance and
reduced costs by several million
with Oracle and AMD”

With The World’s #1 Database

oracle.com/database
or call 1.800.ORACLE.1

Copyright © 2007. Oracle is a registered trademark of Oracle Corporation and/or its affi liates. Other names may be trademarks of their respective owners.
c o m m e n t ANALYST’S CORNER BY DAVI D BAUM

Secure Data for Every Business Need


New needs for compliance mean tighter access control.
racle Magazine spoke with Trent around the database. On top of that, standpoint, it’s easy to put in place.
Henry of Burton Group about Oracle Audit Vault can be used to ensure Oracle Magazine: Do these strategies
data protection, compliance, that your layered protections are operat- work for external users as well?
encryption, and access control. ing as you expect them to operate. Henry: Encryption works well within
Oracle Magazine: What changes in today’s Oracle Magazine: What else can organiza- an enterprise setting. However, by the
business climate are motivating organiza- tions do to protect data from those who time the information is viewed through
tions to adopt stronger database security? shouldn’t have access to it? a Web portal, it may be decrypted. So
Henry: One of the guiding factors is a Henry: Label security lets you describe at that level you may need some type of
realization that they need to control what information as having a particular prop- application-level encryption, in associa-
insiders, such as system administrators, erty or label. It can be used in a wide tion with Web access control.
can and can’t do. Until recently, these range of situations—everything from clas- Oracle Magazine: How does encryption
folks had system-level privileges to see sifying an employee record to protecting work with identity management?
any data, mainly for the sake of conve- national security information. Companies Henry: It’s tied to identity management,
nience. Today, federal regulators require categorize data in a certain way and apply but one challenge with Web access
public companies to constrain what priv- the appropriate label to identify it. After control is that you might be talking
ileged users can see, such as the financial that, the information is always treated about a broader audience than just
data within a general ledger. Companies the same way, in terms of who can see internal employees. For example, with
can do this explicitly, using fine-grained that data or when people can see it. The an extranet portal or e-commerce portal,
authorizations, access control, or encryp- database explicitly enforces controls over instead of thousands of employees, there
tion, as well as after the fact, with data- that information based on that label. might be millions of users. So there’s an
base audits and monitoring tools. Oracle Magazine: How does encryption fit issue of scale to consider. There’s also an
Oracle Magazine: What are the guiding into this access-control picture? issue of the types of authenticators that
principles behind access control? Henry: Encryption is used to prevent may be convenient to deploy. Within
Henry: The important thing is to ensure people from seeing certain data. It can the enterprise, you might use one-time
that trusted employees obey policies be applied to a subset of the database, password tokens or smart cards to
governing their respective roles, because the whole database, or even the disk authenticate users, but this can be cost-
regulators and auditors are asking hard hosting the database (sometimes called prohibitive when it comes to strengthen-
questions about how carefully companies media-level encryption). The encryption ing authentication for consumers. O
control the activities of these personnel— can take place outside of the database,
whether you trust them or not. DBAs within the application layer. Different David Baum (david@dbaumcomm.com) is a freelance
may dislike the controls that are put in levels of encryption protect against dif- business writer based in Santa Barbara, California.
place, but many times these controls are ferent types of threats. Media encryp-
Burton Group (www.burtongroup.com) provides
in response to an external requirement. tion prevents unauthorized users from
vendor-independent research and advisory services
Oracle Magazine: How difficult is it to accessing a lost or stolen disk but won’t
focused on enterprise IT infrastructure technologies.
establish these controls? prevent inside users from viewing data.
Henry: In smaller organizations, seg- Protecting against insiders requires a dif-
regation of duties can be difficult to ferent level of encryption. For example,
achieve, because you might have only you might encrypt social security READ more about
one administrator. That’s when auditing numbers in a customer database yet Oracle Security
oracle.com/security
and monitoring make a lot of sense. At still allow support reps to view phone
Burton Group, we advocate a layered numbers and addresses. You could Oracle Audit Vault
oracle.com/goto/auditvault
approach to protection. It begins with do this with Oracle Transparent Data
Oracle Label Security
access control in the database. For Encryption, which provides columnar oracle.com/database/label-security.html
example, Oracle Database 11g enables encryption within the database. This Oracle Transparent Data Encryption
you to isolate certain parts of the data- utility doesn’t require a third-party tool, otn.oracle.com/deploy/security/database-security/
transparent-data-encryption
base or to implement perimeter control so from a configuration and management

96 SEPTEMBER/OCTOBER 20 07 ORACLE.COM/ORACLEMAGAZINE

SO07_Analyst.indd 96 7/17/07 10:22:45 AM


Sometimes
what’s slowing
you down is obvious.
Usually, it’s harder to pinpoint.
Amazing what you can accomplish once you have
the information you need.
When the source of a database-driven application slowdown isn’t immediately
obvious, try a tool that can get you up to speed. One that pinpoints database
bottlenecks and calculates application wait time at each step. Confio lets you
unravel slowdowns at the database level with no installed agents. And solving
problems where they exist costs a tenth of working around it by adding new
server CPU’s. Now that’s a vision that can take you places.

A smarter solution makes everyone look brilliant.

Download your FREE trial of Confio Ignite™ at www.confio.com.

Confio_FullPg_OracleAD.indd 1 7/23/07 5:10:12 PM

Вам также может понравиться