Sunteți pe pagina 1din 108

SEPTEMBER/OCTOBER 2006

O R A C L E . C O M/O R A C L E M A GA Z I N E
, ('&( !' %'&%&%) ('&(' ('&( ##" 

 %%&'%'%!%&#%'%!%&# ('&( !'"'"'''&"#'%#("'%& 
 &"'#"&(&"'&#(!"'!+'%!%&'(&#*+'%$%'&#%'%#*"$(%$#&&#( )# ''%'&#''%!%#*"%& "&"&""
'"# #+%%&%) "'  "'  ## "'  "& "'  "& ## '"(! '"(! "&%'%!%&#%%&'%'%!%&# "'  #%$#%'#"#%'&&(&%&"'"'
''&"#'%#("'%&
#! ) " "'%& &+&'!
*)"#%&&+&'!
   !    ! !

        
  
              ! 
            
!   # 


     
" 
         !
       !    
     !    
   !  !  !
   


2006 Embarcadero Technologies, Inc. All rights reserved.

'
Number of ngernails you will bite down
to nothingness today because you cant
manage your companys multiple database
platforms with a single, standardized solution.

answer
Embarcadero Technologies makes Enterprise Data
Management a possibility by offering you one
centralized solution to manage all of your databases.
Our expertise in optimizing Oracle, SQL Server,
DB2, Sybase and MySQL databases makes managing
critical enterprise databases a lot less nerve racking.
Deliver the service levels your business expects
while cost effectively managing your growing data
infrastructure. Even enterprise-scale implementations
are standardized and simplied. Give your ngers a
break; discover how the most sophisticated solution
is also the simplest. See how one gets it done.

Call 415.834.3131 or visit www.embarcadero.com

Oracle OpenWorld San Francisco


October 23-26, 2006
Booth #2210
CONTENTS VOLU M E XX, I SSUE 5

F EATUR ES
CONTENT
AT YOUR FINGERTIPS

Most business data is unstructured


content, and handling it
SECURITY INSIDE effectively is a big concern
for firms that need to
Companies face severe database
manage millions of
security issues. They need to allow
documents, images,
a broader range of access, but
spreadsheets, and e-mails.
still protect vital information from
See how Oracle content
external and, increasingly, internal
management solutions
threats. Find out how Oracle can
Cover: Getty Images/Design Staff improve productivity and compliance.
help your organization protect its
David Baum
mission-critical data and improve /58
accountability and efficiency.
David A. Kelly
/40
REFINING
THE WHEEL
Inaccurate records and data ORACLE MAGAZINE
discrepancies do more than AT TWENTY
As Oracle Magazine
create organizational and ORACLES
celebrates its 20th
customer frustration. They BIGGEST
anniversary, Publisher CUSTOMER
can hurt productivity and ultimately the
Jeff Spicer looks back at EVENT YET
bottom line. Now data hubs are giving
the technologies
companies a single point of truth when
and people that
/21
they need critical information.
shaped the
Alan Joch
/48 magazine.

DE PAR T M E NTS
/15
From Our Readers / 11
Readers tell us what they think.
From the Editor / 13
22 AT OR AC LE
Events / 22 OTN Community Bulletin / 28
Secure on the inside Learn whats happening with Oracles most
Find out about upcoming
Tom Haunert dynamic online community.
conferences and training.
Oracle Resources / 27 Oracle News Briefs / 31
Heres your guide to Oracles Oracle News / 33
broadband, education, and Oracle Berkeley DB Java Edition 3.0 brings
online offerings, plus whats speed and ease-of-use enhancements to the
new at Oracle. embeddable, open source database line.

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 3


83 TEC HNOLOGY
PAR TITIONING
Partition Decisions / 83
Understand your partition choices, and choose the best
partition and key for your data. Arup Nanda

34 CH A NNEL S
Partner News / 34
S EAR C H
Secure Search Returns Best Results / 87
Oracle Secure Enterprise Search provides the right
SYSTIME, AppWorx, Perceptive Software, intranet search. Ron Hardman
BIAS, CISCO, Innowave Technology, Sierra
Atlantic, SkillNet, Ikan, Wipro Infotech AS K TOM
Book Beat / 34 On ROWNUM and Limiting Results / 93
Peer-to-Peer / 37 Our technologist explains how ROWNUM works and how to
Jaromir Nemec, Bruno Vroman, make it work for you. Tom Kyte
Jeffrey Hunter
Cutting Edge / 39 INS IDE OC P
Wireless Skype, cooler servers, and more- Become a Master / 97
effective advertisements Step up from Oracle Certified Professional to Oracle
Certified Master. Aradhana Puri

65
98
D EVEL O PER

R ES OUR C ES
I ND U STRY STA ND A RD
Oracle Certified Partner Index / 98
Getting Rich with Ajax / 65
Build rich internet applications with Asynchronous Advertisers Index / 100
JavaScript and XML. Rich Schwerin

F RA MEWO RKS
Harnessing the Active Data Model / 69
Going beyond basic data access with custom service
103 C OMMENT

IN THE FIELD
methods Steve Muench
Storage Made Simpler / 103
Storage virtualization can simplify
O D P.NET
database applications. Ari Kaplan
Debugging PL/SQL from .NET / 71
Debug PL/SQL in Microsoft Visual Studio with Oracle
ANALY S T S C OR NER
Developer Tools.
Mark A. Williams Managing Information Overload / 104
Enterprise content management improves
compliance efforts and the bottom line.
B RO WSER-B A SED
David Baum
Express Lockdown / 75
Lock down your Oracle Application Express applications.
Raj Mattamal

PL / SQ L PRA CTI CES


On Generics and Traces / 79
Best practices for string procedures and tracing
Steven Feuerstein

4 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
When information
comes together,
everybody feels
much better.

Information lives at El Camino Hospital. A leading California medical facility, El Camino Hospital received the highest ranking
in a recent patient survey. But they never rest in their mission to use information technology to help them improve patient
care. So they turned to EMC to build a flexible information infrastructure that reduces costs and provides fast, reliable
information to doctors and nurses. So everybody feels much better. Talk to EMC or your EMC Velocity2 Partner
about EMC solutions that start simple and stay simple.

Read the El Camino Hospital profile at www.EMC.com/ElCamino or call 866-796-6369 to learn more.

EMC 2, EMC, and where information lives are registered trademarks of EMC Corporation. Copyright 2005, 2006 EMC Corporation. All rights reserved.
ED ITORIA L

Editor in Chief Tom Haunert tom.haunert@oracle.com


Senior Managing Editor Caroline Kvitka caroline.kvitka@oracle.com
Features Editor Kay Keppler kay.keppler@oracle.com
Contributing Editor and Writer Blair Campbell
Editor in Chief, OTN Justin Kestelyn justin.kestelyn@oracle.com
Technology Advisors Tom Kyte, Christopher Beck
Contributing Writers Marta Bright, Liz Campbell, Ed DeJesus, Jeff Erickson, Andre Kvitka,
Aaron Lazenby, Fred Sandsmark, Rich Schwerin

D ES IGN
Senior Creative Director Susan Olsen
Design Director Richard Merchn

PUBLISH ING
Publisher Jeff Spicer jeff.spicer@oracle.com

A DV ERTISING SA LES
Associate Publisher Kyle Walkenhorst kyle@sprocketmedia.com +1.323.658.6250, Ext. 201
West & Central U.S., Technology Tom Cometa thomas.cometa@sbcglobal.net +1.415.206.9855
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
Southeast U.S., Technology & Consumer Doug Lewis doug@jordangareth.com +1.770.333.1281
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

PROD UCTION & OPERATIONS


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

ED ITORIA L BOA R D
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

S U B S C R I P T I O N INF ORMAT ION R ES OURCES


Subscriptions are complimentary for qualified individuals who complete the subscription card found in each Oracle Products
issue or online at oracle.com/oraclemagazine. For change of address, mail in label with the new address to +1.800.367.8674 (U.S./Canada)
Oracle Magazine, P.O. Box 1263, Skokie, IL 60076-8263. Oracle Services
+1.888.283.0591
MAG A Z I N E C U STOME R SE RVICE Oracle Press Books
oracle@halldata.com, fax +1.847.763.9638, phone +1.847.763.9635 Lee Ann Bezazian
leeann_bezazian@mcgraw-hill.com
P R I VACY
Printed by Brown Printing
Oracle Publishing allows sharing of our mailing list with selected third parties. If you prefer that your mailing Prepress by Tulip Graphics
address or e-mail address not be included in this program, contact Customer Service at oracle@halldata.com.

Copyright 2006, Oracle All Rights Reserved. No part of this publication may be reprinted or otherwise
reproduced without permission from the editors. ORACLE MAGAZINE IS PROVIDED ON AN AS IS BASIS.
ORACLE EXPRESSLY DISCLAIMS ALL WARRANTIES, WHETHER EXPRESS OR IMPLIED. IN NO EVENT
SHALL ORACLE BE LIABLE FOR ANY DAMAGES OF ANY KIND ARISING FROM YOUR USE OF OR RELIANCE
ON ANY INFORMATION PROVIDED HEREIN.

Oracle, JD Edwards, and PeopleSoft are registered trademarks of Oracle Corporation and/or its affiliates. Other
names may be trademarks of their respective owners. For a full listing of Oracle trademarks and registered
trademarks, consult Oracles Web site at oracle.com or send a request to trademar_us@oracle.com. All other
product and service names mentioned may be trademarks of their respective owners.

6 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
SPECIAL ADVERTISING SECTION

The Data Center


Opens Up
A growing number of organizations are using
the Fujitsu Groups innovative PRIMEQUEST serverswith their
open, mainframe-class performance and reliabilityto transform
enterprise computing operations

S1
SPECIAL ADVERTISING SECTION

B
usinesses today operate in a changing pilots for some very large applications, the achieving high performance, says Judson
and unpredictable landscapeand IT performance exceeds expectations and Althoff, vice president of Platform Alliances
departments have had to scramble delivers the performance results EDS and at Oracle, which uses PRIMEQUEST servers
to keep up. In response, they often add more our clients expect. for quality assurance testing and support
and more servers that must be managed and purposes. For example, customers can build
coordinated. They also rely on expensive and Cost-effective, mission-critical enterprise grids on Oracle 10g using PRIME-
complex mainframes to ensure high avail- The PRIMEQUEST family of servers is QUEST servers running Windows or Linux,
ability and keep vital data flowing to the opening a new era in the effort to align which gives them high quality of service,
business. And they frequently have to modify enterprise computing and the needs of the fast performance, high reliability, scalability
systems to support new business initiatives business, says Richard McCormack, senior on demand, and easier management.
or fluctuations in workloadsno easy task vice president of Marketing at Fujitsu The open, industry-standard approach
when dealing with a varied array of systems. Computer Systems Corporation. In fact, he also brings agility to IT. Toyota Motor Corpo-
The result, overall, has been growing com- explains, the PRIMEQUEST family is part of a ration believes that it is important not to be
plexity, costs, and difficulty in delivering the larger vision: TRIOLEthe Fujitsu Groups locked into proprietary systems. Increased
agility needed by the business. process for creating industrialized IT infra- flexibility of a system and choice of open
To help IT departments meet those structures and services. Servers, storage, and products are key factors because Toyota is
challenges, the Fujitsu Group launched a all other hardware components are inte- continuously expanding its global business.
groundbreaking new line of servers in 2005. grated with automation and virtualization Under this strategy, Toyota selected the
Based on Intel Itanium 2 processors, the
PRIMEQUEST family of servers brings The combination of Oracle and Fujitsu Group PRIMEQUEST servers
industry-standard computing to high-end
data center operations. That represents lets companies operate cost-effectively by taking advantage
a big change, because with PRIMEQUEST
servers, companies have new options for of industry-standard solutions while achieving high performance.
addressing todays pressing enterprise com-
puting challenges, says Akira Kabemoto, Judson Althoff, vice president, Platform Alliances, Oracle
senior vice president of the Server System
Unit at Fujitsu Limited. They can bring the software in the process. Virtualization sepa- Fujitsu Groups open, industry-standard sys-
benefits of open computing to the data rates business applications and data from tem with Linux for development purposes.
center, and at the same time streamline dedicated IT resources, and pools resources PRIMEQUEST servers couple openness
systems management and maintain the for flexible and efficient usage. Automation and flexibility with power, making them
reliability and scalability needed for enter- provides infrastructures that adjust auto- suitable for some of the most demanding
prise computing. matically to changes in operations and the mission-critical applications traditionally
Since the initial release of PRIMEQUEST environment through self-monitoring and self- handled by mainframes. In terms of per-
servers, dozens of organizations have been rectifying technologies. These core technol- formance, for example, PRIMEQUEST
putting them to work and exploring ways ogies bring enhanced agility, efficiency, and servers and Oracle were used to set a
to move beyond the traditional mainframe- continuity to the business, McCormack says. world record in the two-tier SAP Sales
based approach to the data center. For PRIMEQUEST servers, with their use of and Distribution (SD) Standard Application
example, EDS, the Plano, Texas-based global Intel processors and the Linux and Microsoft Benchmark for the fastest performance on
technology services company, is incorporat- Windows Server 2003 operating systems, Linux. PRIMEQUEST servers also achieved
ing Fujitsu Group computing platforms allow companies to enjoy the cost advan- a world record for servers up to 32 cores
including PRIMEQUESTinto its solutions tages of industry-standard technology, take in the Standard Performance Evaluation
for enterprise customers. As we continue advantage of the Intel ecosystem of tech- Corporation (SPEC) Java Business Bench-
to deploy our modernization strategy, we nology and application vendors, and leverage mark 2005 (SPECjbb2005), with perfor-
are using the Fujitsu Groups PRIMEQUEST Windows and Linux skills in the data center. mance of 322,719 business operations per
Intel Itanium-based servers as our certified The combination of Oracle and Fujitsu second*indicating that PRIMEQUEST can
platform for re-hosting applications, says Group PRIMEQUEST servers lets companies provide a high-performance platform for
Ray Cline, vice president of Infrastructure operate cost-effectively by taking advantage implementing service-oriented software
Portfolio Development at EDS. Based on of industry-standard solutions while architectures for business applications.

*Certification Number 2006023 The two-tier SAP SD Standard Application Benchmark performed on April 18, 2006, by Fujitsu Siemens Computers, was certified on May 11, 2006, with the following data: Number of benchmark users & comp.: 5,000 SAP SD Benchmark users.
Average dialog response time: 1.97 seconds. Throughput: Fully processed order line items/hour: 501,000. Dialog steps/hour: 1,503,000. SAPS: 25,050. Average DB request time (dia/upd): 0.014 sec / 0.036 sec. CPU utilization of central server: 99%. Operating system central server:
Novell SuSE Linux. Enterprise Server 9 RDBMS: Oracle9i Database. SAP ECC Release 5.0. Configuration: Central server: Fujitsu PRIMEQUEST 480, 32 processors / 32 cores / 32 threads, Intel Itanium 2, 1.6 GHz, 32 KB L1 cache, 256 KB L2 cache, 9 MB L3 cache, 256 GB main memory.

S2
SPECIAL ADVERTISING SECTION

Continuity, efficiency, PRIMEQUESTs System


System board #1 #2 #3 #4
Mirror function allows
and agility for the business
memory modules and
The PRIMEQUEST family incorporates a Memory crossbar interconnects to
redundancy
number of technologies designed to ensure CPU operate in duplex mode.
Synchronous The system duplicates all
the reliability needed for mission-critical operation
CPU instructions and
systems. For example, PRIMEQUEST servers
Internal chipset processes both sets of
use System Mirror technology that allows circuit redundancy
instructions in a fully
memory modules and crossbar interconnects synchronized mode,
Synchronous enabling it to detect
to operate in duplex mode and isolates operation
faults in peripherals by
faulty components without stopping the
Crossbar redundancy
comparing tasks across
system. This System Mirrora first for both mirrors.
servers based on the Intel Itanium archi-
tectureduplicates all CPU instructions and
handles both sets of instructions in a fully configurations, making it easier to optimize problems develop into a fatal fault.
synchronized mode, detecting faults in the use of system resources. This flexibility Overall, the standard features of
peripherals by identifying inconsistencies also improves system availability, reduces PRIMEQUEST servers provide a 99.99 per-
across both sets. Because this fault proof- maintenance downtime, and shortens the cent system availability rateand that can
ing is performed at the hardware level, time it takes to recover from a failed sys- be increased to five nines when they are
the operating system and applications are tem board by 90 percent compared with run in clusters of two or more servers.
not affected and can operate continuously. conventional servers.
In addition, there is no delay needed to Finally, PRIMEQUEST delivers reliability Tailored for consolidation
isolate a fault or to allow for system fail- and streamlines administration with built-in Drawing on that power and flexibility,
over. The result is fewer faults and a level management boards that support autono- the Fujitsu Group has optimized the
of downtime that is half that of conven- mous operation and the consolidated man- PRIMEQUEST family to support server
tional server systems. agement of the entire PRIMEQUEST system, consolidationan increasingly important
PRIMEQUEST servers also have a Flexible including hardware, software, and partitions. trend in the data center as companies
I/O (FIO) feature that allows on-demand With a PC and Web browser, administrators work to streamline and rationalize frag-
redirection of I/O resources to specific can use the management boards to perform mented IT landscapes.
processing resources. In traditional servers, a wide range of activities, including server A growing number of organizations have
I/O units and system boards are bundled, configuration, usage monitoring, fault mon- been using PRIMEQUEST for such efforts.
which means that when application or load itoring, partitioning, server management, For example, the Shibaura Institute of Tech-
requirements fluctuate, the system boards power control and scheduling, and con- nology in Japan is using PRIMEQUEST to
cannot always use the full potential of figuration monitoring. The management enable consolidation and meet its need to
the available I/O units, leading to wasted boards also give users a predictive moni- support mission-critical systems. The insti-
resources. With PRIMEQUEST, the Fujitsu toring function that constantly tracks tutewhich is known for advanced robotics
Group has enabled flexible combinations the status of the system to automatically studiesserves some 8,000 students and
of system and I/O units that can constantly identify and isolate any components that staff with its systems, and it has been
match changing system loads and partition show signs of problemsbefore those expanding the computer-based services it
provides to them. The institutes systems
not only support the library and adminis-
Change to spare SB
With Flexible I/O, trative education-management processes,
PRIMEQUEST enables
SB SB SB SB Spare SB SB SB SB SB SB
but also provide everything from automatic
#0 #1 #2 #3
SB
#4 #0 #1 #2 #3 #4
flexible combinations
of system boards attendance-tracking using IC cards to class
and I/O units. This information, which students can see on
lets I/O units match monitors around the institute, via a portal,
system loads and
or by using their mobile phones.
Reboot changing partition
Flexible I/O switch Flexible I/O switch configurations to Such services increased the amount
fully optimize of data that must be managed, and the
resource use. institute increased its number of servers
IOU IOU IOU IOU IOU IOU IOU IOU
#0 #1 #2 #3 #0 #1 #2 #3 to handle the workload. As a result, it
Partition A Partition B Partition A Partition B was concerned about systems going

S3
SPECIAL ADVERTISING SECTION

down during admissions periods, final onto one PRIMEQUEST system, helping
tests, and other busy times of the year. In to cut system-management costs while
addition, the institute has several depart- increasing capacity and reliability.
Resources ments, which meant having to maintain Individual PRIMEQUEST servers can be
PRIMEQUEST servers multiple systems. expanded to include up to 64 processor
www.fujitsu.com/primequest The Shibaura Institute addressed these cores in a single cabinet. New resources can
www.fujitsu-siemens.com/primequest issues by consolidating several databases be brought online without disrupting previ-
www.computers.us.fujitsu.com/primequest onto Oracle 10g running on PRIMEQUEST ously configured resources. PRIMEQUEST
servers, and moving applications to blade servers can also be run in clusters using the
TRIOLE servers. As a result, maintenance is stream- Fujitsu Groups PRIMECLUSTER technology,
www.fujitsu.com/triole lined, and system engineers can focus on a high-availability environment that sup-
www.fujitsu-siemens.com/triole new projects rather than routine tasks. The ports Oracle Database 10g including Oracle
www.computers.us.fujitsu.com/triole institute plans to expand the services it pro- Real Application Clusters.
vides to students, and PRIMEQUEST offers The servers also bring ease of manage-
Oracle and Fujitsu the scalability the institute needs for such ment and flexibility to consolidation efforts,
uc.fujitsu.com/oracle effortsas well as the reliability required with robust partitioning capabilities that let
www.fujitsu-siemens.com/oracle for its consolidated, mission-critical systems. companies configure a large number of iso-
us.fujitsu.com/computers/oracle We know the Fujitsu Groups reliability lated partitions, with each partition running
solutions.oracle.com Enter Fujitsu because we had used a Fujitsu Group main- its own operating system and applications. In
frame, says Tatsuro Yamazaki, director effect, each partition is a fully independent
of the Center for Science Information at server within the system, which means
Shibaura Institute of Technology. We chose companies can run Linux and Windows
PRIMEQUEST because it is as robust as simultaneously on the same machine. Whats
mainframe-class computers, and we can more, with PRIMEQUESTs separation of I/O
expect it to provide stable operations. resources and system boards, additional I/O
PRIMEQUEST supports consolidation with resources can be added without affecting
the ability to easily scale up and scale out processor and memory configurations. That
cost-effectively. Sungae Hospital in Korea, flexibility lets companies scale up and scale
for example, is consolidating 14 servers out applications within the server, and easily
rearrange disks and peripherals connected to
each partition.
Overall, PRIMEQUEST servers are designed
to provide power and cost-effectiveness
both today and tomorrow. To that end, the
Fujitsu Group works with key partners
including Intel and Oracleto ensure that
PRIMEQUEST development continues to
meet the needs of enterprise computing.
PRIMEQUEST and the TRIOLE process
are designed to help companies transform
and streamline their data centers, says
Dr. Bernd Kosch, vice president of Alliances
at Fujitsu Siemens Computers. We will
continue to explore new ways to reduce IT
operating costs while enhancing the data
centers ability to support business-critical
Japans Shibaura Institute of Technology has used PRIMEQUEST servers to consolidate computing and adapt to the ever-changing
mission-critical applications and provide reliable service to some 8,000 students and staff. needs of the business.

2006 Fujitsu Limited. Fujitsu, PRIMECLUSTER, PRIMEQUEST, and TRIOLE are either trademarks or registered trademarks of Fujitsu Limited in Japan and/or other countries. Intel and Itanium are registered trademarks of Intel Corporation or its
subsidiaries in the United States and other countries. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. All other trademarks and product names are the property of their respective owners.

S4
f r o m o u r READERS

Your corrections, your opinions, and your requests:


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

NEW PRODUCT NEWS? UTL_RECOMP IN ORACLE9i Visit oracle.com/technology/oramag/


Im a regular reader of Oracle Magazine, Steven Feuerstein says in his On oracle/asktom for a list of Toms Oracle
and Id like to recommend that you Confusion and Recompilation column Magazine columns dating back to
include a section that provides infor- (oracle.com/technology/oramag/ January/February 2001. For even more
mation on new Oracle products like oracle/06-may/o36plsql.html) that the Tom, visit asktom.oracle.com to view his
Oracle TimesTen. UTL_RECOMP package does not exist question-and-answer archive and to learn
in Oracle9i Database. Maybe it is not more about the books he has written.
Alberto Rico documented, but it exists. It has saved
albrico@colomsat.net.co me a lot of time recompiling objects GETTING OLDER
without worrying about dependencies. Is there a way to peruse older issues of
BEGIN AT THE BEGINNING Oracle Magazine online?
As a regular reader of Oracle Magazine, Carlos Mainez Martinez
I request that you include introductory c.mainez@hotelbeds.com Hamid Sunny
articles for Oracle beginners on topics hamid_l_k@hotmail.com
such as installation, programming, and INTERVIEWS, PLEASE
creating a database. Im currently working as an Oracle Issues of Oracle Magazine dating back
application software engineer and am to July/August 2003 are available online.
Mohammad Jaffer a regular reader of Oracle Magazine. I Please visit oracle.com/oramag and click
mohammad_jaffer2004@yahoo.com would like to see an interview section the Read past issues link.
where readers can get to know more
UP THE FREQUENCY about senior Oracle developers, includ- CORRECTION
I read Oracle Magazine regularly and ing how they got started working on Raj Mattamals Browser-Based column,
enjoy it very much. In fact, I would Oracle, their biggest hassles while Single-Step Deployment, in the July/
prefer if it were published monthly. working on different projects, how they August 2006 issue of Oracle Magazine
Two months seems too long to wait for overcame those problems, their sug- contains steps that are not appli-
the next issue. gestions for best practices, and tips for cable in the production release of Oracle
junior developers to move up. Application Express 2.2. Please see the
Abdurrahman Sahin online version of the column at oracle
abdurrahman.sahin@argela.com.tr Imran Javeed .com/technology/oramag/oracle/06-jul/
imj31@yahoo.co.in o46browser.html for the current steps.
ABOUT ADVERTISING The Editors
It was a pleasant experience for me to ASKING ABOUT ASK TOM
read a recent issue of Oracle Magazine. On Transaction Isolation Levels
send mail to the EDITOR
However, you published too many by Tom Kyte was a really good
Send your opinions about what you read in Oracle
advertisements. In the future, please column (Oracle Magazine, November/ Magazine, and suggestions for possible technical
keep the ads to a minimum and December 2005). articles, to opubedit_us@oracle.com.
emphasize more good articles and Is an index of Oracle Magazine Ask Or click on the Write the Editors link on our Web
newbie information. Tom columns available? site, oracle.com/oraclemagazine.
Letters may be edited for length and clarity and
may be published in any medium. We consider
Rahul Baharwal Mette Stephansen any communications we receive publishable.
rbaharwal@yahoo.com mst@pfa.dk

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 11


Something BIG is Coming for Toad Users
2006 Quest Software, Inc. All rights reserved. Quest and Quest Software are trademarks or registered trademarks of Quest Software.
All other brand or product names are trademarks or registered trademarks of their respective holders. 07/2006/TOAD-teaser-OOW_Q32006
It's almost here...

www.quest.com/bignews, or stop by Booth #1214 in


Moscone South at Oracle OpenWorld, San Francisco.
Be the first to hear the news sign up at
What in the world could it be?
f r o m t h e EDITOR

Secure on the Inside


Identify and protect against the security threat inside the enterprise.
hen I was a student I worked for several different of-duties problems, such as DBAs being able to do much more
retail stores. While security was important at each with a repository than they should be able to. One of the key
of these stores, one particular store initially surprised concerns is integrity of the information and making sure that it
me with its security focus, until I realized it had cor- cant get changed in an unauthorized way, says Henry.
rectly identified the most serious security threat. A new Oracle security productOracle Database Vault
This store was part of a large national discount chain, and addresses these types of internal security concerns by providing
what first struck me about the stores security was that it didnt control over who can access data, when, and where, protecting
seem to have any. There was no merchandize or inventory the data from malicious actions and simple mistakes. Oracle
control technology, and shoplifters couldtoo easily in my Database Vault also reports who is accessing what and when,
opinionwalk items out the unprotected front door. and controls data access by highly privileged database users.
After working there for just a few weeks, I discovered that
the company was actually very committed to security, just SCRUTINY BRINGS SECURITY
not to security focused on the outside theft of shoplifters. The Compliance audit concern has driven initiatives to create com-
company focused its security efforts on the inside threat. pliant processes and access controls. But the possibility of an
This retail company used professional auditors posing as audit and the audit itself do not prevent malicious activity or
shoppers to determine whether employees were properly fol- even simple mistakes. Some audits, of retail stores, income
lowing a very simple process for accurately ringing up merchan- tax returns, and corporate compliance, will uncover problems
dize, creating and providing receipts, properly handling money, because mistakesintentional and accidentalhappen (unless
and correctly handling inventory. they are prevented by a product like Oracle Database Vault).
As a result of these audits, several employees that I had When a compliance audit turns up a significant problem,
worked with were caught stealing and charged with theft. The unlike a simple retail store audit scenario looking at whether a
first prosecution that I witnessed was followed by another a few cashier properly handles receipts and money, the compliance
weeks later, and another a few weeks after that. All employees audit may be only the beginning of an investigation into both
knew that the company did these audits, and all employees company compliance and the peopleincluding more highly
knew about a prosecution as soon as it happened. The fact that privileged usersinvolved.
there were multiple prosecutions over an extended period sur- An audit that uncovers significant problems will certainly
prised meperhaps the audits and prosecutions were prevent- have repercussions, perhaps even including job terminations
ing some theft, but they were most definitely not stopping it. and legal prosecutions, but it will also identify the internal
security weakness. And unlike the retail store that canor
ORACLE DATABASE VAULT mustsimply continue to audit the same cashier process, com-
Concern about corporate compliance audits is a driving force in panies will need to respond to and resolve the security issue,
information technology. In the Security Inside article on page and that solution will immediately improve the internal secu-
40, David A. Kelly talks with Trent Henry, senior analyst, Burton rity of the enterprise.
Group, about compliance. What weve seen at a lot of compa- Whether an audit finds or does not find problems, however,
nies is that when auditors come in, they find that privilege isnt it draws attention to internal security and the threat within the
separated among multiple users or that there are separation- enterprise, and that can only make the enterprise more secure.

ITS HERE
Oracle OpenWorld is here. Ill be at the show October 2226,
meeting with authors, editorial board members, and partners;
READ more about
Oracle Security recording podcasts; talking to customers; getting ideas for future
oracle.com/security articles; and more. If you see me there, please say hello, and tell
OTN Database Vault me what youd like to read in Oracle Magazine.
oracle.com/database/database-vault.html

Oracle OpenWorld 2006 Tom Haunert, Editor in Chief


oracle.com/openworld tom.haunert@oracle.com

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 13


i Demand More...
innovation.

USi. Strategic. Experienced.


The most experienced, successful Application Service Provider in
the marketplace, USi is also the largest independent provider for
managed and professional services for the complete Oracle
Application Lifecycle. USi understands enterprises demand more
performance, reliability and functionality from their applications. At
USi, we know better than anyone how to deliver on these demands.

Trust USi for your Enterprise Resource Planning and eBusiness


needs. Scores of organizations in the Fortune 1000 already do.

Demand USi.

Enterprise Applications Supported Services


Oracle Applications Application Outsourcing
Oracle Database Remote Application Management
Oracle Middleware HR Business Process Outsourcing
Oracle Enterprise Management Professional Services
PeopleSoft Enterprise Custom Hosting & Development
Siebel ISV Enablement
Ariba Information Security/Risk Management

800.809.3003
sales@usi.net
www.usi.net
ORACLE MAGAZINE
AT TWENTY
Observant readersor more accurately, those readers who focus on details in Oracle
Magazine that have nothing to do with the magazines technical content and everything to
do with the magazine itselfhave no doubt noticed that the spine of Oracle Magazine this
year carries the volume number XX. That does, in fact, mean that Oracle Magazine is now 20
years old, an event that carries some significance in the magazine world when one considers
that nearly 60 percent of all magazines fail before reaching their first anniversary.* So happy
anniversary, Oracle Magazine! And heres to 20 more information-filled years.

BY JEFF S PIC ER

From Newsletter to Magazine cation, focusing much of its content on how Oracle customers
Oracle Magazine didnt emerge from a used Oracle technology in their own businesses. Much of
smoke-filled marketing meeting, fully that content was industry focused, demonstrating Oracle
formed and ready to serve readers, but Corporations knowledge in a variety of verticals. In addition,
rather evolved in 1987 from a quarterly the magazine added new departments and cat-
company newsletter to a brief, 12-page egories for DBAs and developers.
printed magazine that contained Oracle Oracle Magazine also began to carry pro-
product and company news. Those first files of industry executives, such as HPs John
magazines, published twice yearly, con- Young, Sun Microsystems Scott McNealy, and
tained short customer profiles, Oracle company news, infor- Amdahls Jack Lewis, giving these leaders a
mation about Oracle partners, and product updates. Tom Hogan, chance to share their thoughts about tech-
Oracle Magazines
The magazine evolved quickly in those early yearsmuch first editor nology and its impact on business with the
as Oracle Corporation itself. In the late 1980s and early 1990s, growing audience of Oracle Magazine.
Oracle had become well known as an enterprise database and During this period, as the magazine began publishing quar-
tools company; the magazine noted this reputation by dubbing terly, the staff changed and grew, with the first editor, Tom
itself as the SQL Database Journal for several years. However, Hogan, passing the baton to editors Jon Bell and Julie Gibbs.
as the companys products and services rapidly expanded Other editors included Leslie Steere and managing editor Kim
moving beyond databases and development tools to include Austin, as well as editor/writer Don Tyler, who had been with
enterprise applications and industry-specific toolsthe maga- the magazine since its inception. Julia McVeigh also joined the
zine dropped the tagline and called itself staff. The magazine added profession-
simply Oracle Magazine. als to handle design, production, and
circulation, and for the first time ever, it
Focus on Customers was audited by a professional circulation
Oracle Magazine continued to change management firm.
alongside Oracle itself, and by the early
1990s the magazine bore little resemblance The Impact of the Internet
to issues just a few years prior. The maga- Although it had been in existence for
zine grew in size, readership, and sophisti- nearly 30 years, the internet was finally
* A Bumper Crop, Samir Husni, April 1, 2004, Folio:

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 15


poised in the mid presence. Eventually, OMI would merge
1990s to have enormous with OTN, a union that remains today.
impact on business, commerce,
and communication. Audience Segmentation
Technology companies, such as By the late 1990s, Oracle Corporations
Oracle, were rapidly developing technologies products and services had become
and products that would take advantage of wide-ranging and diverse. Although still
the unique reach and opportunities offered widely known for its flagship database,
by the internet. Oracle Corporation blazed the company was no longer known as
trails with Web development products, just a database company. Oracle Magazine
a Web server, and the first database with evolved alongside the company once again, introducing new
built-in internet functionality. magazine sections for developers, system administrators, and
The internet and Web made their mark Julie Gibbs, business professionals. Eventually, Oracle Magazine would spin
former editor
on Oracle Magazine as well. The magazine and publisher off much of the business and application content into a sepa-
responded to the internet craze with thought- rate sister publication, Profit: The Business of Technology.
ful articles and guides to the new technologies. In addition to Oracle Magazine had almost reached its current form with a
stories devoted to the rise and impact of the internet, Oracle collection of columnists, technical articles, customer profiles,
Magazine created a mascot of sorts named the Web Master, event information, and partner guides. During this period, the
whose mission was to patrol cyberspace, making it a safer place staff evolved as Kelli Wiseth, Patty Waddington, Blair Campbell,
for companies to do business. Claire Breen, Carol Tady, and I joined the editorial team.
By 1996, Oracle Magazine was going electronic, with the first
electronic version produced as a CD-ROM with a clever library Putting Forth Personalities
interface. Subsequent versions appeared online and the maga- From book authors to user group leaders
zines online presence was dubbed Oracle Magazine Interactive, and third-party consultants, Oracle has
or OMI. OMI was an elementary predecessor never lacked its share of gurus and per-
of sorts to todays Oracle Technology Network sonalities, and over the years, Oracle
(OTN), with additional technical content Magazine provided many of those vision-
beyond what appeared in the print publica- aries and technologists with a platform
tion, online forums for readers to share and for communicating to the broader Oracle
exchange information, and code tips from community. As the millennium came to
Leslie Steere, Oracle professionals. Editors Marsha Bazley and a close, Oracle Magazine began featuring
former editorial
director and editor Margaret Lindquist joined the Oracle Magazine even more Oracle community members, and in some cases
staff to manage the additional content and Web embarked on projects to help these specialists to expand their

ORACLE MAGAZINE
TODAY
Jennifer Hamilton,
Sales and
Production Director

Tom Haunert,
Editor in Chief

Jeff Spicer, Publisher

Caroline Kvitka, Richard Merchan,


Senior Managing Editor Design Director
Blair Campbell, Susan Olsen,
Contributing Editor Senior Creative Director

16 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
reach beyond the magazine itself. grow and evolve, so has Oracle Magazine. The
First and foremost was columnist Tom Kyte, who began magazine continues to hold a unique position
working with the magazine in 2000. Kyte, with Oracles public in the world of magazines, reflecting both the
sector organization, started consulting with the magazine to interests and needs of its readers and the pri-
evaluate weekly code tip submissions for the magazines Web orities of Oracle Corporation.
site. An online Q&A forum soon followed and Ask Tom Today, each issue of Oracle Magazine Julia McVeigh,
was born. The popularity of Ask Tom was instantaneous, reaches nearly 1 million readers* with a broad former publisher
and Kyte began receiving hundreds of questions each week. A mix of technical content for developers, admin- and production
more usable online interface was required, istrators, and DBAs; customer profiles; partner manager
so Kyte quickly rebuilt the Ask Tom Web site and vendor news; Oracle company news; event information;
using Oracle Application Express. Other col- and opinion columns. The magazine is truly a portal to the
umnists, including Cameron ORourke and world of Oracle.
Steven Feuerstein, soon followed with online As with all worthwhile endeavors of Oracle Magazines
community sites of their own, promoting scope, there are many thoughtful, dedicated people behind
information exchange between users and Margaret Lindquist, the scenes, planning, editing, and producing each issue of the
former online editor
offering expert advice and commentary. magazine. You can learn more about these people, as well as
In addition, Oracle Magazine began its tradi- past staff members, on our Web site.
tion of inviting Independent Oracle Users Group presidents And finally, thank you to the readers of Oracle Magazine, par-
to use the magazine as a forum: presidents Rich Niemiec, ticularly those who provide feedback about the content of the
Kimberly Floss, and Ari Kaplan authored regular columns magazine. The magazine is only worthwhile if it serves the needs
about database management, tuning, wireless, and other tech- of our readers, so please let us know what those needs are. O
nical topics. Oracle Magazine also began the annual practice of
honoring visionaries in the Oracle community with the Oracle Jeff Spicer (jeff.spicer@oracle.com) is the publisher of Oracle Magazine. He was
Magazine Editors Choice Awards. editor in chief from July 2000 to January 2006.
With its increased focus on solid tech- * Erdos & Morgan readership survey, September 2005

nical how-tos, Oracle Magazine required


an increasingly tech-savvy staff, and
during this period Tom Haunert, Justin
Kestelyn, Kay Keppler, and Caroline LEARN more about
Kvitka joined the editorial team. Oracle Magazines past and present staff
oracle.com/oraclemagazine/20/people.html

Portal to the World of Oracle The history of Oracle Corporation


oracle.com/oraclemagazine/20/history.html
As Oracle Corporation has continued to

Kay Keppler,
Features Editor

Jennifer Armstrong, Justin Kestelyn, Editor in Chief,


Circulation Director Oracle Technology Network
Lia Guimaraes,
Department Coordinator
ALLISON LEVENSON

Ron Sellers, Senior Graphic Designer


Allison Levenson, Graphic Designer
Kyle Walkenhorst,
Associate Publisher

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 17


DOCUMENT
FAX EMAIL PRINT
STR SOFTWARE, celebrating their 20th anniversary, follows the
commitment of product excellence and customer focus required
to reach this longevity, particularly in the software industry.

STR SOFTWARE also congratulates Oracle Magazine, one of


the worlds most read magazines, for 20 years of timely industry
news, supportive resources and valuable articles.

Gold standard document delivery with over 1000 sold


DELIVERY
FAX EMAIL PRINT
Looking For...
Batch Delivery?
Delivery Confirmation?
XML Publisher Output?
Any Document, Format, or Volume?

YES, WE CAN.

800.897.7097

Hear Us Speak At
Oracle OpenWorld
www.strsoftware.com
NFORM
RESULT SMOREI
MATION BETTER

TIO NB ETT
ULTSMO REINFOR
TIONBE TTERRES

RE INF OR MA
SMOREI NFORMA

Oracle OpenWorld Special Section


BETTER RESULT

RE SU LTS MO
REINFOR MATION RESUL
TTERRES ULTSMO MATION BETTER

NB ETT ER
NFORMA TIONBE ULTSMO REINFOR

R
RESULT SMOREI TIONBE TTERRES

INF OR MA TIO
MATION BETTER SMOREI NFORMA

E
ULTSMO REINFOR BETTER RESULT

RE
TTERRES MATION

T
ER RE SU LTS MO
SMOREI NFORMA TIONBE ULTSMO REINFOR
BETTER RESULT TIONBE TTERRES

T
REINFOR MATION SMOREI NFORMA

TIO NB ETT
BETTER RESULT

E
TTERRES ULTSMO REINFOR MATION

RE INF OR MA
NFORMA TIONBE TERRES ULTSMO

B
BETTER RESULT SMOREI FORMAT IONBET

SU LTS MO
REINFOR MATION MOREIN
BETTERR ESULTS

N
ULTSMO

NB ETT ER RE
TIONBE TTERRES REINFOR MATION
SMOREI NFORMA TTERRES ULTSMO

O
BETTER RESULT NFORMA TIONBE

INF OR MA TIO

I
REINFOR MATION RESULT SMOREI
TTERRES ULTSMO MATION BETTER

T
SU LTS MO RE
NFORMA TIONBE ULTSMO REINFOR
RESULT SMOREI TIONBE TTERRES

A
NB ETT ER RE
MATION BETTER SMOREI NFORMA
ULTSMO REINFOR BETTER RESULT

OR MA TIO
TIONBE TTERRES REINFOR MATION

M
SMOREI NFORMA TTERRES ULTSMO

LTS MO RE INF
BETTER RESULT NFORMA TIONBE

R
REINFOR MATION RESULT SMOREI

RE SU
ULTSMO BETTER

O
TIONBE TTERRES REINFOR MATION

TIONB ETT ER
NFORMA ULTSMO

F
RESULT SMOREI IONBET TERRES
MATION BETTER MOREIN FORMAT

RE INFORMA
ULTSMO REINFOR BETTERR ESULTS

SMORE IN
TIONBE TTERRES REINFOR MATION

RR ES UL TS MO
SMOREI NFORMA TTERRES ULTSMO
BETTER RESULT NFORMA TIONBE

AT ION BE TTE
RESULT SMOREI
MATION BETTER
ULTSMO REINFOR
TIONBE TTERRES
SMOREI NFORMA
BETTER RESULT ETTERRE SULT
REINFOR MATION INFORM ATIONB

RE SU LTS M
RRESUL TSMORE
RMATIO NBETTE

TIO NB ETT ER
SULTSM OREINFO

R
ATIONB ETTERRE
TSMORE INFORM

RE INF OR MA

O
NBETTE RRESUL NBETTE RRESU
OREINFO RMATIO OREINFO RMATIO

ES UL TS MO
ETTERRE SULTSM ETTERRE SULTSM

M
INFORM ATIONB INFORM ATIONB

TIO NB ETT ERR


RRESUL TSMORE RRESUL TSMORE

S
RMATIO NBETTE RMATIO NBETTE

RE INF OR MA

T
OREINFO OREINFO
ETTERRE SULTSM ETTERRE SULTSM

L
ATIONB INFORM ATIONB
TSMORE INFORM

RE SU LTS MO
NBETTE RRESUL RRESUL TSMORE

U
OREINFO RMATIO RMATIO NBETTE

TIO NB ETT ER
ETTERRE SULTSM SULTSM OREINFO

S
INFORM ATIONB ATIONB ETTERRE
TSMORE INFORM

RE INF OR MA

E
RRESUL TSMORE NBETTE RRESUL
RMATIO NBETTE OREINFO RMATIO

R
RE SU LTS MO
SULTSM OREINFO ETTERRE SULTSM
ATIONB ETTERRE INFORM ATIONB

NB ETT ER
TSMORE INFORM

R
NBETTE RRESUL RRESUL TSMORE
RMATIO NBETTE

INF OR MA TIO

E
OREINFO RMATIO SULTSM OREINFO
ETTERRE SULTSM

T
ETTERRE

RE
ATIONB INFORM ATIONB
TSMORE INFORM

ER RE SU LTS MO
TSMORE

T
NBETTE RRESUL NBETTE RRESUL
OREINFO RMATIO OREINFO RMATIO

E
MA TIO NB ETT
ETTERRE SULTSM ETTERRE SULTSM
INFORM ATIONB INFORM ATIONB

B
RRESUL TSMORE RRESUL TSMORE

MO RE INF OR
RMATIO NBETTE RMATIO NBETTE
SULTSM OREINFO

N
SULTSM OREINFO

ETT ER RE SU LTS
ATIONB ETTERRE ATIONB ETTERRE
TSMORE INFORM TSMORE INFORM

O
NBETTE RRESUL NBETTE RRESUL

MA TIO NB

I
OREINFO RMATIO OREINFO RMATIO

MO RE INF OR
ETTERRE SULTSM

T
ETTERRE SULTSM
EINFORM ATIONB INFORM ATIONB

A
RR ES UL TS
TSMORE
RMATIO NBETTE RRESUL
SULTSM OREINFO

M
ATIONB ETTERRE
TSMORE INFORM

R
NBETTE RRESUL TTERRES ULTS
OREINFO RMATIO NFORMA TIONBE

RE SU LTS M
RESULT SMOREI
MATION BETTER

TIO NB ETT ER
ULTSMO REINFOR
TIONBE TTERRES
SMOREI NFORMA

RE INF OR MA
BETTER RESULT RRESUL TSMO
REINFOR MATION RMATIO NBETTE

RE SU LTS MO
TTERRES ULTSMO SULTSM OREINFO
NFORMA TIONBE ATIONB ETTERRE

TIO NB ETT ER
RESULT SMOREI TSMORE INFORM
REINFOR MATION BETTER RMATIO NBETTE RRESUL
TTERRES ULTSMO
MA
MO RE INF OR
SULTSM OREINFO
NFORMA TIONBE ATIONB ETTERRE
RESULT SMOREI TSMORE INFORM

RE SU LTS
MATION BETTER NBETTE RRESUL

TIO NB ETT ER
ULTSMO REINFOR OREINFO RMATIO
TIONBE TTERRES ETTERRE SULTSM
SMOREI NFORMA INFORM ATIONB

RE INF OR MA
RESULT TSMORE
MATION BETTER NBETTE RRESUL

RE SU LTS MO
ULTSMO REINFOR OREINFO RMATIO
TIONBE TTERRES ETTERRE SULTSM
SMOREI NFORMA INFORM ATIONB

TIO NB ETT ER
BETTER RESULT RRESUL TSMORE
REINFOR MATION RMATIO NBETTE

RE INF OR MA
TTERRES ULTSMO SULTSM OREINFO
NFORMA TIONBE ATIONB ETTERRE

RE SU LTS MO
RESULT SMOREI TSMORE INFORM
MATION BETTER NBETTE RRESUL

NB ETT ER
ULTSMO REINFOR OREINFO RMATIO
TIONBE TTERRES ETTERRE SULTSM

INF OR MA TIO
SMOREI NFORMA INFORM ATIONB
BETTER RESULT RRESUL TSMORE

RE
MATION NBETTE

RE SU LTS MO
ULTSMO REINFOR OREINFO RMATIO
TIONBE TTERRES ATIONB ETTERRE
SULTSM
SMOREI NFORMA

TIO NB ETT ER
BETTER RESULT TSMORE INFORM
REINFOR MATION NBETTE RRESUL
OREINFO RMATIO

RE INF OR MA
TTERRES ULTSMO ETTERRE SULTSM
NFORMA TIONBE INFORM ATIONB

RR ES UL TS MO
RRESUL TSMORE
RMATIO NBETTE
SULTSM OREINFO
ATIONB ETTERRE

Scheduled Keynote Presenters


Monday, October 23
Charles Phillips
MORE INFORMATION. MORE INSPIRATION. MORE RESULTS.
President
Oracle October 2226, 2006 | Moscone Center | San Francisco
Oracle OpenWorld 2006 promises to be the biggest Oracle event everwith
Hector de J. Ruiz
Chairman of the Board more than 40,000 attendees, 1,400 sessions, and nearly 500 exhibitors.
and CEO Featuring informative workshops, keynote presentations, and practical training
AMD
for all solutions in the Oracle portfolio, Oracle OpenWorld is the premier event for
Michael Dell
Chairman of the Board the Oracle community. Get hands-on instruction from Oracle experts. Get access
Dell Inc. to hundreds of Oracle partners. Get connected to your peers and build your
business network. Get better results from your enterprise technology.
Tuesday, October 24 Oracle OpenWorld 2006 Highlights
John Wookey Technology-specific presentations: Whether you run Oracle Fusion Middleware, Oracles
Senior Vice President
Applications Siebel CRM, Oracles PeopleSoft HRMS, or Oracle Retail applications, Oracle OpenWorld has
Oracle sessions, training, demos, and presentations for all your Oracle solutions.
Oracle OpenWorld X-Treme: Join us for an intense program designed for database
Mark Hurd
CEO and President administrators and implementers. Attend X-Treme hands-on labs designed by Oracles
HP development team to gain in-depth technical insight into Oracle products.
Develop: Get the latest information on Oracles use of leading development technologies
John Chambers Java, .NET, XML, service-oriented architecture, scripting, and moreat this three-day
President and CEO program for developers.
Cisco Systems Special JD Edwards Program: Attend conference sessions designed specifically for JD
Edwards World and JD Edwards EnterpriseOne customers.
Appreciation Event: The legendary Sir Elton John will entertain attendees at the biggest party in
Wednesday, October 25 Oracle OpenWorld history.
Chuck Rozwat Exhibition Halls: Visit two exhibition halls, featuring 450 of Oracles leading partners, more than
Senior Vice President 400 Oracle demos, and the Secured Enterprise Pavilion.
Oracle
MARQUEE DIAMOND

Jonathan Schwartz
President and CEO
Sun Microsystems, Inc.
PREMIER ELITE GRANDE

Larry Ellison
CEO
Oracle PLATINUM INNOVATION

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


Preregister for the Full Conference: US$2,050 (August 19 through October 20) | Onsite registration: $2,250
Register by August 18 and save an additional US$200.

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 21


a t O r a c l e EVENTS

ORACLE USERS
GROUPS
Deutsche ORACLE-Anwendergruppe

Technology Events Regionaltreffen (regional meetings)


September 12, Hamburg, Jena, and
Munich, Germany
Conferences and training to help you stay on the cutting edge www.doag.org
Oracle Clinical User Group 11th
Annual Conference
Oracle OpenWorld September 1720, Vancouver, British
October 2226 Columbia, Canada
www.ocug.webexone.com
San Francisco, California
Connect with the people, products, East Tennessee Oracle Users
and trends at the forefront of business Group Meeting
and information technology at more September 18, Oak Ridge, Tennessee
than 1,400 sessions covering all Oracle easttennessee.oracle.ioug.org
applications, technology, industries, and Utah Oracle Users Group
solution areas. Visit two exhibition halls Fall Conference
hosting more than 450 Oracle partners, September 19, Salt Lake City, Utah
and take in more than 400 live demos at www.utoug.org
the Oracle DEMOgrounds. And dont miss Ottawa Oracle User Group DBA/
Sir Elton John at this years appreciation Developer Day
event. Visit oracle.com/openworld. September 22, Ottawa, Canada
www.oug-ottawa.org
Ohio Oracle Users Group
Quest Webinars integration practices, the SIMposium gives Quarterly Meeting
Online, September and October CIOs, CTOs, and other senior IT executives October 10, Columbus, Ohio
Quest International Users Group is partnering access to leading companies and innovations. www.ooug.org
with several vendorsincluding Bottomline Learn more at simposium2006.simnet.org. Rio Grande Do Sul Oracle Users
Technologies, SYSTIME, Quadrant Software, Group Meeting
Cetova, RapidDecision, and Cforiaon a free South African Oracle User Group October 10, Porto Alegre, Brazil
Webinar series to help customers learn how to 2006 Conference www.guors.com.br
maximize software value. Get details at September 2527, Sun City, South Africa Kansas City Oracle Users Group
www.questdirect.org/questdirect/events. This eighth annual conference and product Training Day, Featuring Tom Kyte
October 11, Overland Park, Kansas
showcase incorporates PeopleSoft, JD
www.kcoug.org
Digital ID World 2006 Edwards, Siebel, and Retek. Get details at
September 1113, Santa Clara, California www.saoug.co.za/conference/2006. AADOUG Southeastern Michigan Oracle
Professionals Technology Conference
Themed Managing the Decentralization October 17, Ann Arbor, Michigan
of Identity, this user-centric conference Gartner Symposium/ITxpo 2006 www.doug-mi.org
showcases the industrys best practices and October 813, Orlando, Florida
Dallas Oracle Users Group Meeting
provides networking opportunities. Register at Join more than 2,000 other attendees for October 19, Las Colinas, Texas
conference.digitalidworld.com/2006. speakers, programs, networking opportunities, www.doug.org
analyst roundtables, and tutorials on major
Greater Cincinnati Oracle User Group
SAP TechEd U.S. issues and trends. Sign up at www.gartner Quarterly Meeting
September 1215, Las Vegas, Nevada .com/it/sym/2006_/sym16/sym16_home.jsp. October 25, Cincinnati, Ohio
SAP TechEd offers hands-on workshops and www.gcoug.org
in-depth lectures on SAPs latest development World of Health IT Conference Indiana Oracle Users Group Meeting
and modeling tools and more than 800 hours & Exhibition October 26, Indianapolis, Indiana
of technical and business process training. October 1013, Geneva, Switzerland www.inoug.org
Learn more at www.sapteched.com/usa. Designed by and for the healthcare IT commu-
nity in Europe, the Middle East, and Africa
eventsLOCATOR
Society for Information buyers, vendors, technology users, providers,
Oracle Events
Management SIMposium 2006
ELIJAH MERCHN

and healthcare regulatorsthis conference oracle.com/events


September 1720, Dallas, Texas bridges the gap between public policy and the Locate user groups by using OTN
Designed for and by CIOs to encourage peer- realities of day-to-day implementation. Get oracle.com/technology/collaboration/
user_group
to-peer exchange on technology and business information at www.worldofhealthit.org.

22 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
Special Advertising Section

True Gridhow fearless


innovation forges the way
in new computing frontiers
HP and AMD deliver superior the clincher: True grid computing can deliver performance
that rivals the fastest mainframes, with resilience no
industry-leading performance, mainframe can matchall using affordable, standards-
based servers and storage.
reliability, and affordability
HP and Oracle are collaborating to provide true grid
to support evolving Oracle grid computing solutions to businesses around the world.
computing environments. Together, we are leveraging the world-renowned
performance and reliability of HP ProLiant servers
You know the old saying: you can get it fast, good, and incorporating innovative AMD Opteron processors, in
cheappick one. In todays demanding business world, conjunction with Oracle Grid technologies, including
however, IT professionals dont have that choice. Oracle Database 10g and Oracle Real Application
Management expects everything yesterday, at lower cost Clusters (Oracle RAC). As a result, companies can use
than the day before that, and with higher quality than grid computing to achieve minimal business disruption,
ever. So what can you do? Its as though you need some and rapid return on investment. Whats more, when the
magical system that provides mainframe performance grid is built with AMD Opteron processor-based
and reliability at the price of a commodity PC. HP ProLiant servers, enterprises can maximize the
performance, quality, and economy of their grid
Well, there is no magical system. But there is grid computing.
environmentstoday and as they evolve for the future.
Grid computing pools IT resources into a virtualized
environment that can be carved up and served on-the-fly
to support rapidly changing business demands. Heres

Marquee Sponsor of this years Oracle OpenWorld.


Special Advertising Section

AMD Opteron processor-based The HP BladeSystem is particularly well suited to grid


environments, delivering a range of performance and
HP ProLiant serversthe ideal form factors, including higher processing density, with
scalability up to 192 processors in a 42U rack. Combined,
foundation for grid computing the HP BladeSystem and HP ProLiant server blades are
The ideal server platform for grid computing is one that
part of a wired-once, consolidated infrastructure comprised
offers high performance, extensive scalability, and
of servers, storage, power, and network resources. These
affordability. On all counts, its hard to beat HP ProLiant
modular resources can be easily provisioned or re-purposed
servers with AMD Opteron processors.

The HP ProLiant BL25p For one thing, HP ProLiant servers are proven. Over
HP ProLiant servers
server blade 10 million units have shipped to dateover 3.3 million
built on AMD Opteron
more than the nearest competitor.3 In fact, HP ProLiant
processors
held the top market share position in the x86 server
HP ProLiant DL585 server
market for nearly nine years.4 Clearly, customers
recognize quality and value when they see it. ProLiant CPU Form Max.
model Capacity Factor Memory
From ultra-dense server blades to a complete line of
affordable rack and tower servers, the HP ProLiant DL145 2 1U 16GB
platform continues to set the standard for reliability and DL385 2 2U 32GB
The HP ProLiant BL25p
value. And HP continues to work closely with AMD to
two-processor server blade, DL585 4 4U 128GB
engineered for enterprise handle greater workloads with increased value and
performance and scalability, flexibility for scale-out database applications. In addition, BL25p 2 96* 32GB
now features single-core and HP systems management software works seamlessly with BL35p 2 196* 16GB
dual-core AMD Opteron 200 Oracle software to simplify grid administration and optimize
series processors, SAN storage BL45p 4 96* 64GB
performance. For example, HP OpenView Operations is
capability, and 4GB NICs *indicates number of processors in a 42U rack
integrated with Oracle Enterprise Manager 10g Grid
standard. The BL25p server
blade also shares the same Control, providing a broad range of management
infrastructure components as all capabilities all based on a common view of management
to support changing business requirements. And with
other p-Class server blades. data. Its no wonder that Technology Business Report (TBR)
management built in to every component, server blades can
found HP customers to consistently rate manageability as
identify the location of all resources connected to the
a strength of HP ProLiant servers.5
intelligent infrastructure and facilitate advanced monitoring,
HP offers a full line of AMD Opteron processor-based control, and change.
HP ProLiant DL servers that are flexible and easy to
With their outstanding scalability and extensive memory
manage, making them ideal for multi-server deployments
capacity, AMD Opteron processor-based HP ProLiant
in rack and cluster configurations. In addition, the
servers and server blades offer ideal flexibility, performance,
modular HP BladeSystem with HP ProLiant BL server
and economy for a wide range of Oracle environments.
blades provides the ultimate in integrated, high-performance
capabilities for grid environments, with the AMD Opteron
processor providing power management capabilities to 3
Source: HP internal shipment reporting and IDCs. Worldwide Quarterly
keep infrastructure costs under control. As shown in the Server Tracker, May 2005.

TPC-H benchmark cited above, HP ProLiant server blades


4
IDC Worldwide Quarterly Server Tracker, May 2005, combining
historical HP and Compaq results before the merger.
built on AMD Opteron processors and running Linux
can achieve record-setting performance results.
5
TBR Corporate IT Buying Behavior & Customer Satisfaction Study:
Intel-Based Servers; First Quarter 2005, May 3, 2005.
Special Advertising Section

The choice of platform for this environment is critical.


Servers must scale with virtually no limit and be able
to support large database implementations. They must
deliver the performance to meet enterprise-wide
business demands. They must fit into the data center
environment in terms of power usage and cooling
requirements. And they must be affordable as well as
easy to manage.

HP and AMD set


Oracle 10g with HP ProLiant servers built on AMD Opteron
processors not only meets these requirements, but exceeds
them. In fact, two recent TPC-H benchmarks placed HP
the standard for ProLiant at the top of the 300GB clustered performance
category. These benchmarks were performed using a cluster
grid performance of eight HP ProLiant BL25p server blades, each configured
with AMD Opteron processors and running Red Hat
Getting the most from a grid computing environment
Enterprise Linux ES 4 with Oracle Database 10g Real
depends largely on infrastructure components. One of
Application Clusters.
the fundamental design concepts of commercial grid
computing is using large numbers of industry-standard The first benchmark, conducted using the Single-Core
servers. This allows consolidation of multi-tier applications AMD Opteron processor Model 252 (2.6GHz),
onto a centrally managed environment employing performed at 13,284.2 QphH and $34.20/QphH in the
resource sharing, and deploying a highly available 300GB clustered category. A second benchmark, conducted
scale-out database. using the Dual-Core AMD Opteron processor Model
252 (2.4GHz), performed at 18,725.92 QphH and
$27.97/QphHdemonstrating the scalability of this
Table 1 unique processor with a 41% performance gain and
TPC-H 300GB benchmark results with 18% cost saving from single-core to dual-core.1
HP ProLiant BL25p 8p Cluster with (See Table 1.)
Oracle 10g Real Application Clusters
This watershed benchmark establishes the following:
The HP ProLiant BL25p server blade is number one in
performance in the clustered 300GB category, beating
IBM eServer 325 with a configuration that is 48% less
HP ProLiant BL25p server blade expensive. (IBM eServer 325 @ 13194QphH and
$65.44/QppH @ 300GB).2
TPC-H 1 Single-Core AMD Opteron 1Dual-Core AMD Opteron Delta First use of server blades in an Oracle database
Metrics processor Model 252 processor Model 280 cluster benchmark.
(2.6GHz/1MB) per (2.4GHz/1MB) per
BL25p (8 total) BL25p (8 total)

Composite 13284.20 18725.92 +41%


QphH 1
TPC: Results valid as of November 17, 2005. Complete results
can be found at www.tpc.org.
Price/QphH $34.20 $27.97 18%
2
Source: Transaction Processing Performance Council (TPC), www.tpc.org
Special Advertising Section

AMD Direct
AMD Opteron processors With AMD Opteron processors, you have the ideal
platform to drive high-performance, scalable compute
Connect Architecture driving increased performance processing for virtually any size Oracle grid application.
AMD Direct Connect
Architecture provides an and scalability
innovative approach to The highly efficient design of AMD Opteron processors Get it allspeed, quality, and price
system design that further is central to enabling industry-leading performance and Grid computing offers IT organizations tremendous
adds to the capabilities scalability in HP ProLiant servers. Single-core and dual-core opportunities to manage rapidly changing and growing
you can achieve with HP AMD Opteron processors with Direct Connect Architecture business demands with speed, reliability, and economy.
ProLiant servers in grid integrate key system elements, including AMD64 technology, Working with Oracle, HP and AMD offer the technologies
applications by reducing integrated DDR DRAM memory controller, HyperTransport to capture these opportunities and deliver long-term
bottlenecks that can value that meets todays IT requirements.
technology, AMD PowerNow! technology, and more.
compromise performance.
With Direct Connect AMD64 is the innovative technology that allows you to run your According to Oracle, the formula for grid computing
Architecture, memory is existing 32-bit applications and operating systems at peak includes standardizing on affordable, modular servers
directly connected to the performance, while providing a migration path that is 64-bit and storage, consolidating servers and storage with
CPU optimizing memory capable. So, you can maintain a single architecture across
Oracle Database 10g and Real Application Clusters, and
32- and 64-bit environments.
performance, I/O is directly automating day-to-day management tasks with Oracle
connected to the CPU for The integrated DDR DRAM memory controller changes the way Enterprise Manager 10g Grid Control. With HP ProLiant
more balanced throughput the processor accesses main memory, resulting in increased servers built on AMD Opteron processors, combined
and I/O, and CPUs are bandwidth, reduced memory latencies, and increased processor
with the HP management software that is well integrated
connected directly to CPUs performance. Available memory bandwidth scales with the
with Oracle software, you have the perfect ingredients for
allowing for more linear number of processors to ensure continued high performance as
you scale out your grid environment. true grid computing that delivers:
symmetrical multiprocessing.
HyperTransport technology-invented at AMD with contributions Performance and scalability needed to process
from industry partners-is a high-speed, low latency, point-to- rapidly increasing quantities of data
point link designed to increase the communication speed between Reliability required to run mission-critical
integrated circuits up to 48 times faster than some existing enterprise applications
technologies. HyperTransport technology helps reduce the number
of buses in a system, which can reduce system bottlenecks and Lower total cost of ownership to focus more dollars on
enable todays faster microprocessors to use system memory more adding business value and increasing profitability
efficiently in high-end multiprocessor systems.

AMD PowerNow! technology with Optimized Power Management As of November 17, 2005
(OPMA) provides performance-on-demand by dynamically Source: Transaction Processing Performance Council (TPC), www.tpc.org
adjusting performance based on CPU utilizationhelping the HP Bladesystem ProLiant BL25p cluster (8 CPUs) with Oracle Database 10g Release 2
systems in a computer grid to run at optimum performance and with Oracle Real Application Clusters, 13,284.2/QphH @ 300GB, $34.20/QphH
power levels, while reducing electricity costs and maximizing @ 300GB, available 10/31/05. HP BladeSystem ProLiant BL25p cluster (8 DC CPUs)
with Oracle Database 10g with Oracle Real Application Clusters (8 Nodes/8 CPUs/
IT budget dollars. 16 Cores/16 Threads)
18,725.9 QphH @ 300GB, $27.97/QphH @ 300GB, available 11/11/05.
IBM eServer 325 cluster (16 CPUs) with IBM DB2,

Find out how HP and AMD can bring true grid computing 13,194.9 QphH @ 300GB, $65.44/QphH @ 300GB, available 11/08/03.

for Oracle to your enterprise. Visit www.hp.com/go/oracle. 2005 Hewlett-Packard Development Company, L.P. The information contained
herein is subject to change without notice. The only warranties for HP products and
services are set forth in the express warranty statements accompanying such products
and services. Nothing herein should be construed as constituting an additional
warranty. HP shall not be liable for technical or editorial errors or omissions
contained herein.

AMD, Opteron, HyperTransport, and PowerNow! are trademarks of Advanced


Micro Devices, Inc. Oracle is a registered U.S. trademark of Oracle Corporation,
Redwood City, California. Linux is a U.S. registered trademark of Linus Torvalds.
a t O r a c l e RESOURCES

Whats New at Oracle


The latest courses, online articles, offers, and more
ORACLE WEBCASTS tion include higher productivity, billing rates, Tune in to learn about the new relation-
Oracle OpenWorld and recognition such as salary increases ship between Oracle and Google, why
oracle.com/openworld and job promotions. companies want search in their enterprise
Stay on top of the action in San Francisco Satisfaction Guaranteed applications, and the benefits for Oracle
with Oracle OpenWorld online. Listen to education.oracle.com Applications customers.
keynotes by Oracle executives Larry Ellison, Oracle University is now offering a 100%
Charles Phillips, and many others. Student Satisfaction Program, in which ORACLE EXECUTIVE BLOGS
Oracle Fusion for the Supply Chain students can retake a class if they are not oracle.com/corporate/executive/blog
oracle.com/broadband/showiseminar completely satisfied with it. Get insight on new Oracle products, ser-
.html?4801419 Oracle Applications Certified vices, and strategies straight from Oracle
Learn how Oracle Fusion supports business Professional Program executives. A number of Oracle executives
processes, improves strategy, and delivers education.oracle.com/certification have entered the blogging world, including
best-in-class supply chain software. For years Oracle Database professionals Jesper Andersen, senior vice president
Oracle and .NET: Integrated for Easy have enjoyed the prestige and benefits of of Application Strategy; Jacob Christfort,
Application Development the Oracle Certified Professional program. vice president of Server Technologies;
oracle.com/broadband/showiseminar Now the advantages of being certified Mary Ann Davidson, chief security officer;
.html?3953377 are available to Oracle E-Business Suite and Christophe Job, vice president of
Speed development and integration of 11i applications professionals. Initially, Application Development Tools.
Microsoft .NET applications with Oracle. certification is available in the areas of
Experience the Power of Oracle on Windows financials, supply chain management, and
oracle.com/broadband/showiseminar applications technologies.
.html?4763607 Oracle Enterprise Manager 10g Release 2 For Oracle product information, call the number for
Oracle Database, Oracle Fusion Hands-On Training your region:
Middleware, and Oracle Applications education.oracle.com Country Phone Number
U.S. and Canada .....................................1.800.367.8674
enable fast deployment of Oracle-based (Search keywords: Oracle Enterprise Manager)
Australia ....................................................1800.735.467
applications on Windows and tight integra- Oracle University is offering a five-day Austria.......................................................0800.29.7626
Belgium ........................................................0800.73280
tion of Microsoft .NET applications and instructor-led training course on Oracle Brazil .........................................................0800.901.985
Microsoft Office products into your broader Enterprise Manager 10g Grid Control China.........................................................800.810.0161
Denmark.........................................................8088.1068
IT infrastructure. Release 2. Topics include installation and Finland ......................................................0800.113.573
France .......................................................0800.905.805
Oracle Secure Backup configuration best practices, managing and Germany.................................................0800.1.810.111
oracle.com/broadband/showiseminar reporting against Oracle and non-Oracle Greece.................................................00800.353.12020
Hong Kong......................................................3002.1246
.html?4740074 targets, and monitoring and managing India ..........................................................1600.44.6725
Learn how Oracle Secure Backup provides service-level performance. Indonesia...........................................001.800.1.672.253
Ireland ........................................................1850.672253
fast and secure tape backup for the entire Italy ..............................................................8008.74720
Japan ........................................................0120.155.096
Oracle environment. ORACLE APPCASTS Malaysia ....................................................1800.80.1837
Oracles Fusion User Experience Is a Key Mexico...................................................01800.221.7321
The Netherlands .............................................0800.0827
ORACLE UNIVERSITY Ingredient to Customers Success New Zealand .............................................0508.555.215
Oracle Database 10g Administrator streaming.oracle.com/ebn/podcasts/ Norway...........................................................800.14411
Philippines........................................................811.5831
Certified Master applications/4774325.mp3 Portugal.......................................................800.853.021
Singapore ................................................1800.6722.531
education.oracle.com/certification Hear how user experience and user- South Africa...............................................0800.994.225
Oracle is now offering an Oracle Database centered design are key in delivering South Korea...............................................080.2194.114
Spain............................................................900.952900
10g Administrator Certified Master cre- quality experiences for Oracle customers. Sweden ........................................................020.798798
dential. The Oracle Certified Master exam Oracle Integrates E-Business Suite with Google Switzerland................................................0800.55.2574
Taiwan.......................................................0800.672.253
requires the ability to master and demon- Search Appliance Thailand ..............................................001800.441.0545
Turkey .................................................00800.353.90014
strate complex DBA tasks in a lab-testing streaming.oracle.com/ebn/podcasts/ U.K. .........................................................0870.5.332200
environment. Reported benefits of certifica- applications/4774323.mp3

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 27


a t O r a c l e RESOURCES BY JU STIN KESTELYN

OTN Community Bulletin


Upcoming audit? Get prepared via Project Lockdown.

DATABASE SECURITY BEST PRACTICES such as auditing, are useful for contain- business drivers and technical underpin-
IN A BOX ing internal threats (which are your nings equally well.
Has there ever been a better time to most likely risks, in fact) as well. (Of Sample post: Analyzing Microsofts
educate yourself about best practices course, Oracle Database Vault, the new Approach to Provisioning
for maintaining database security? If option to Oracle Database 10g Release blogs.oracle.com/identitycorner
the recent stories in the media about 2 Enterprise Edition, is potentially your OChristopher Jones, Christopher

information security breaches havent best solution for preventing malicious Jones on OPAL. The Oracle-PHP-
motivated you to do so, perhaps the superusers from accessing applications Apache-Linux (OPAL) stack gives LAMP
shadow of an impending security audit or performing tasks outside their autho- (Linux-Apache-MySQL-Perl/PHP/
will. (If neither is motivating you, rized responsibilities.) Python/Primate) a run for its money,
then you have even bigger challenges.) Get your own lockdown project and Jones is consistently adept at
Fortunately, OTNs new Project started at oracle.com/technology/pub/ explaining why.
Lockdown technical article series has articles/project_lockdown. Sample post: Getting Oracle
arrived to serve this purpose. Connection Errors Faster in PHP
Project Lockdown, published in THE RISING STARS OF BLOGS.ORACLE.COM blogs.oracle.com/opal
partnership with Oracle ACE Arup Its been three or four months since OMatt Wright, Matt Wrights Blog.

Nandathe author behind the Oracle blogs.oracle.com launched, and the This blog is simply overflowing with
Database 10g: Top Features for DBAs response has been awesomeat the useful information about developing and
seriestakes a unique and actionable time of this writing, there have been deploying Business Process Execution
approach. If you had a single day to more than half a million page views Language (BPEL)based business flows.
secure your Oracle Database using (collectively). The blog launch has Sample post: Sharing XML Schemas
out-of-the-box featuresor more motivated scores of Oracle employees across BPEL Processes
realistically, a single week, month, to take advantage of this new platform blogs.oracle.com/matt
or quarterwhat would be on your to more easily communicate and inter- With blogs.oracle.com, these and
action item checklist? In Project act with Oracle users, resulting in an other talented Oracle employee and
Lockdown, Nanda provides the incredibly content-rich environment for nonemployee bloggers have the oppor-
answers, not to mention the checklist newcomers and experts alike. tunity to forge a new trusted relation-
PDFs themselves. Many new employee blogging ship with their respective communities.
Just by way of example, Phase 1 stars have risen at blogs.oracle.com. Score one for corporate blogging.
(duration of one day) includes simple Here are just a few, along with the Read more Oracle blogs for DBAs
but detailed instructions for remov- names of their blogs: and developers at blogs.oracle.com.
ing default passwords, configuring OSteven Chan, Oracle E-Business

Oracle binary permissions, securing Suite Technology. This is perhaps Justin Kestelyn, OTN Editor in Chief
the Listener (a popular hacker target), the best of the bunch. The volume of justin.kestelyn@oracle.com
and trimming back sweeping privileges information here for Oracle E-Business
such as DROP ANY TABLE. For those of Suite users is simply incredible, not to New Tech Articles, Columns,
you committed to an extended project mention straight from the technology & Notes
over the course of a quarter, Phase 4 team behind the suite. O FOR DEVELOPERS:
offers guidance for creating a Virtual Sample post: In-Depth: Demilitarized oracle.com/technology/pub/articles/
Private Database, implementing trans- Zones and the E-Business Suite tech_dev.html
parent data encryption, creating secure blogs.oracle.com/schan Build an Online Reporting Application
backups, and more. ONishant Kaushik, the Identity Using Oracle XML Publisher
A key point is that although many Corner. Identity management is a hot by Mark Rittman
of these best practices are designed to technology, and Kaushik does an excel- Oracle ACE Mark Rittman explains how
foil external attacks, several of them, lent job demystifying itexplaining to create an online reporting environ-

28 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
MOST POPULAR*
Content on OTN
For DBAs/Sysadmins:

ment using XML Publisher technology, O FOR DBAS/SYSADMINS: 1. Installing Oracle Database 10g on Linux x86, by
step by step. oracle.com/technology/pub/articles/ John Smiley
oracle.com/technology/pub/articles/rittman- tech_dba.html 2. Oracle Database 10g: Top 20 Features for DBAs
xmlpub.html Project Lockdown: Database Security (series), by Arup Nanda
Hello Ajax! How to Do the Ajax Thing Best Practices 3. Build Your Own RAC Cluster on Linux and FireWire,
with Oracle JDeveloper by Arup Nanda by Jeffrey Hunter
by Frank Nimphius Learn a practical, phased approach to 4. Project Guide for Oracle RAC Implementation, by
Oracle ACE Frank Nimphius provides a securing your database infrastructure Christopher Haskins
quick-start introduction to Asynchronous using built-in Oracle Database security
5. Oracle Database 10g Express Edition: Not Just for
JavaScript and XML (Ajax) by creating a featuresover one day, week, month, Learners, by Lewis Cunningham
simple Hello World application. and quarter.
oracle.com/technology/pub/articles/nimphius- oracle.com/technology/pub/articles/project_ For Developers:
ajax.html lockdown
1. A Hype-Free Introduction to Ajax, by Chris Schalk
A Hype-Free Introduction to Ajax Project Guide for Oracle RAC
by Chris Schalk Implementation 2. Ruby on Rails on Oracle: A Simple Tutorial, by
Get an overview of the core fundamen- by Christopher Haskins Richard Monson-Haefel
tals of Ajax (as well as its relationship Get a step-by-step guide for defining, 3. SOA Best Practices: The BPEL Cookbook, by
to JavaServer Faces) from Oracle ACE designing, and delivering a successful various authors
Chris Schalk, without the usual hype. Oracle Real Application Clusters (Oracle 4. Installing PHP and the Oracle 10g Instant Client for
oracle.com/technology/pub/articles/ RAC) project in your organization. Linux and Windows, by Christopher Jones
schalk-ajax.html oracle.com/technology/pub/articles/haskins- 5. Hello Ajax! How to Do the Ajax Thing with Oracle
Ruby on Rails on Oracle: A Simple Tutorial rac-project-guide.html JDeveloper, by Frank Nimphius
by Richard Monson-Haefel
Learn the basics of Ruby on Railsthe New OTN TechCasts (Podcasts) *For the two-month period ending May 31, 2006

dynamic framework thats taking the All OTN TechCasts (podcasts) are available at
Web development community by oracle.com/techcasts
stormwith Oracle on the back end. The Developers Guide to Oracle Fusion
oracle.com/technology/pub/articles/haefel- Middleware and Microsoft Office OTN home
oracle-ruby.html Oracle Fusion Middleware Product oracle.com/technology

Grails on Oracle for Java Developers Strategy Director Frank Knifsend chats OTN headlines
oracle.com/technology/pub/news
by Tug Grall with Peter Lubbers, author of the
Learn how to quickly build a Grails Oracle Application Server Developers Free software downloads
oracle.com/technology/software
application on Oracle Database 10g Guide for Microsoft Office Interoperability,
Documentation
Express Edition, and then deploy it to 10g Release 3, about the various ways oracle.com/technology/documentation
Oracle Application Server 10g. developers can integrate Oracle Fusion
Technology and Developer
oracle.com/technology/pub/articles/grall- Middleware functionality with Microsoft Centers
grails.html Office functionality and the technologies oracle.com/technology/tech
Adding Google-like Search Operators to that make it possible. Podcasts
Simple Search Boxes SOA Best Practices Roundtable Series oracle.com/techcasts

by Nick Bollweg In this multipart Oracle TechCast series, Technical articles


oracle.com/technology/pub/articles
Give your users instant access to your hear directly from Oracle customers
most important information. From the who have successfully deployed service- Blogs
blogs.oracle.com
Oracle+PHP Cookbook. oriented architectures (SOAs) at their
Discussion forums
oracle.com/technology/pub/articles/oracle_ organizationsand about all the atten- forums.oracle.com
php_cookbook/bollweg-google.html dant pitfalls and opportunities. O

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 29


Altova MapForce 2006 The premier data integration and Web services implementation tool.

Give your data


direction
Link up with MapForce 2006,
and exchange data with ease

Spied in MapForce 2006 Release 3:


O Integration with Microsoft Visual Studio .NET and Eclipse
O Easy modification of EDI transaction sets and messages

O More versatility for user defined data processing

functions
O Numerous usability enhancements

Altova MapForce 2006, the award-winning


data integration and Web services implementation
tool, makes it easy to convert between XML,
database, flat file, and EDI formats and to map
data to WSDL operations. Simply drag connecting
lines from information sources to targets and drop
in data processing functions. MapForce converts
content on-the-fly and also auto-generates integration
code in XSLT 1.0/2.0, XQuery, Java, C++, or C# for
royalty free use in your data management and
Web services applications. Get connected!
Download MapForce 2006 today: www.altova.com

MapForce is also available as part of


the acclaimed Altova XML Suite.
D I D Y O U KNOW
? a t O r a c l e BRIEFS

ORACLE HOLDS MARKET SHARE LEAD DEPLOY LINUX FASTER WITH ORACLE platform for Oracle Fusion Applications,
Two independent analyst companies recently VALIDATED CONFIGURATIONS Oracle Fusion Middleware will help
published 2005 market share figures for ustomers looking to deploy Oracle customers move more easily to Oracle
relational database management systems
(RDBMSs). Both showed Oracle on top by
C solutions on Linux can turn to
the Oracle Validated Configurations
Fusion Applications. Retailers will
benefit from the ability to integrate mul-
a wide margin. Gartners research showed
program for pretested, validated, and tiple systems in a secure manner and
that Oracle had a 48.6 percent share of the
supported architectures, including soft- adjust their processes and policies to
market, followed by IBM, with 22 percent, and
ware, hardware, storage, and networking react to market changes.
Microsoft, with 15 percent, based on revenue
from licenses, updates, subscriptions and components. Available for download Choice is paramount for retail-
hosting, technical support, and maintenance. from Oracle Technology Network, the ers, says Duncan Angove, senior vice
IDC, which bases its revenue numbers on configurations help speed deployment president and general manager, Oracle
licenses, maintenance, and subscriptions, and reduce expensive testing, enabling Retail. Oracles retail customers have
showed that Oracle held a 44.6 percent customers to achieve shorter time to a significant need to integrate their
share, followed by IBM, at 21.4 percent, and market and lowered infrastructure costs diverse IT environments. Certifying
Microsoft, at 16.8 percent. while helping improve performance, Oracle Retail solutions with Oracle
Sources: Gartner and IDC scalability, and reliability. Fusion Middleware is a key milestone
www.gartner.com/press_releases/asset_152619_11.html
www.idc.com/getdoc.jsp?containerId=prUS20180306 Oracle Validated Configurations are in meeting current customer needs
a result of the companys real-world and providing a path to Oracle Fusion
SOA ON THE RISE; FLEXIBILITY SEEN testing environment and provide docu- Applications.
AS BENEFIT mented best practices, including details
Businesses and governments worldwide expect on what to deploy, how to deploy, and ORACLE IMPROVES ENTERPRISE SINGLE
to increase the percentage of applications run the most-robust hardware and soft- SIGN-ON IN ORACLE IDENTITY MANAGEMENT
on service-oriented architectures (SOAs) by ware combinations. As a result, Oracle racle has enhanced its best-in-class
an average of 20 percent over the next three
years, according to consulting and outsourcing
Validated Configurations can lead to
faster problem resolution and reduced
O family of identity management
offerings with enterprise single-sign-on
firm Capgemini. The top reasons for using SOA
support costs. capabilities, which increase user con-
are innovation, compliance, and the speed of
The Oracle Validated Configurations venience, improve security, reduce the
change. The top benefits from using SOA were
seen as business flexibility, lower software process enables Oracle to act as a trusted number of help desk calls and associ-
integration costs, and better alignment of IT advisor and work with customers and ated costs, and assist in compliance
and business goals. The biggest obstacles to partners to define and share best prac- with password policies. Single-sign-on
using SOA are lack of understanding, difficulty tices for secure, reliable, and efficient support, which was previously avail-
in justifying ROI, and shortage of needed skills. Linux production deployments, says able for Web-based applications, is now
Source: Capgemini Monica Kumar, director of product also available for client/server, custom,
www.capgemini.com/m/en/n/pdf_Organizations_look_to
_Service-Oriented_Architecture_for_transformation_and_
marketing, Oracle. and host-based mainframe applications.
innovation__says_Capgemini_survey.pdf Oracle Enterprise Single Sign-On Suite
ORACLE RETAIL MERCHANDISING includes five distinct components.
MIDDLEWARE MARKET GROWING; ORACLE SYSTEM CERTIFIED WITH ORACLE Oracle Enterprise Single Sign-On
GROWING FASTEST FUSION MIDDLEWARE Logon Manager allows individuals to
Worldwide application integration and racle has certified Oracle Retail securely use a single login credential
middleware software revenues totaled US$8.5
billion in 2005, up 7.1 percent over 2004,
O Merchandising Planning and
Optimization applications with Oracle
for all desktop, client/server, and legacy
applications. Oracle Enterprise Single
according to Gartner. At 8.7 percent, Oracles
Fusion Middleware 10g. The certifica- Sign-On Password Reset enables strong
market share of the middleware market
tion enables retail customers to protect, password management for Microsoft
was third, after IBM (37.2 percent) and BEA
Systems (14.5 percent) and ahead of Microsoft
extend, and evolve their investments in Windows through secure, flexible, self-
(4.7 percent). Oracles market share grew the Oracle Applications using Oracles service interfaces. Oracle Enterprise
most, rising 39.6 percent from 2004 to 2005; standards-based middleware products. Single Sign-On Authentication Manager
IBMs market share rose 6.7 percent, BEAs 6.0 The certification makes it easier for allows organizations to use a combina-
percent, and Microsofts 13.4 percent. organizations to integrate their Oracle tion of tokens, smart cards, biometrics,
Source: Gartner Retail applications with other pack- and passwords for strong authentica-
www.gartner.com/press_releases/asset_153343_11.html
aged and custom applications by using tion throughout the enterprise. Oracle
a service-oriented architecture (SOA). Enterprise Single Sign-On Provisioning
Additionally, as the underlying SOA Gateway enables organizations to

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 31


BRIEFS

directly distribute single login cre- ORACLES PEOPLESOFT ENTERPRISE program will continue this effort, by
dentials to Oracle Enterprise Single RELEASE 9 DELIVERED providing ongoing enhancements to the
Sign-On Logon Manager, based on racle has delivered the first product current Oracle Applications beyond the
provisioning instructions from Oracle
Identity Manager. The final component,
O of PeopleSoft Enterprise Release
9PeopleSoft Enterprise Learning
delivery of Oracle Fusion Applications.

Oracle Enterprise Single Sign-On Kiosk Management. Other product families ORACLE ACQUIRES DEMANTRA, PORTAL
Manager, allows users to securely access of PeopleSoft Enterprise Release 9 are SOFTWARE, AND TELEPHONY@WORK
enterprise applications even at multiuser scheduled for delivery throughout the racle recently acquired Demantra, a
kiosks and distributed workstations.
Oracle Enterprise Single Sign-On will
remainder of the calendar year.
PeopleSoft Enterprise Release 9
O leading global provider of demand
management, sales and operations plan-
be available in the second half of 2006. leverages Oracles Fusion Middleware ning, and trade promotions management
Oracle Enterprise Single Sign-On Suite and delivers Oracle Fusion capabilities solutions. The acquisition will enable
is US$60 per user. Oracle Enterprise to PeopleSoft Enterprise customers. It Oracle to provide customers with a
Single Sign-On Password Reset is avail- includes enhanced Web services func- comprehensive solution for the extended
able separately for US$7 per user. tionality, Oracle BPEL Process Manager, enterprise that enhances demand vis-
Oracle Business Activity Monitoring, and ibility with powerful analytics for
OPEN SOURCE EDITION OF ORACLE Oracle XML Publisher. This release is more-accurate demand-driven planning,
TOPLINK UNVEILED the culmination of a year-long project forecasting, and modeling.
opLink Essentials, the first compliant to integrate core components of the Oracle has also purchased Portal
T implementation of the Java Persistence
API (JPA), is now available. Oracle,
Oracle Fusion Middleware family with
PeopleSoft applications, says Doris
Software, a leading global provider
of billing and revenue management
along with Sun Microsystems, was the Wong, general manager of PeopleSoft solutions for the communications and
Enterprise JavaBeans 3.0 (EJB) specifica- Enterprise applications. Using Release media industry. Portal offers a billing
tion colead and delivered the JPAan 9, customers can deploy portable and and revenue management solution with
API for creating, removing, and querying flexible business processes across hetero- a modern, object-oriented architecture
across lightweight Java objectsas part of geneous IT environments and applica- built on Oracle technology that can
the specification. The official open source tions, resulting in less complexity, lower bill and manage all communications
reference implementation for the Java costs, and less maintenance time. services, including wireline, wireless,
Platform, Enterprise Edition 5 Software PeopleSoft Enterprise Release 9 also broadband, cable, Voice over IP, Internet
Development Kit (SDK), TopLink includes many enhancements across Protocol Television, music, and video.
Essentials is also available from Oracle as its product families that improve busi- Oracle has also acquired a provider
a standalone implementation. ness processes and industry capabilities of IP-based contact center technology,
The new JPA is the standard for and address customer requirements. Telephony@Work, to further extend its
object-relational persistence introduced For example, the release includes new On Demand and customer relationship
in the EJB specification, which provides capabilities for managing compliance management offerings. O
a simplified approach to mappings and requirements, plus new talent man-
application use of persistent entities agement features such as integration
with capabilities suitable for mission- of applications and systems that store
Oracle Validated Configurations
critical enterprise applications. The JPA human resources data for a single oracle.com/technology/tech/linux/
can also be used for Java persistence enterprisewide system. validated-configurations

outside of EJB 3.0. TopLink Essentials With a continued focus on improv- Oracle Retail
oracle.com/industries/retail
integrates easily with third-party frame- ing customers overall ownership
works, such as Spring, helping provide experience, PeopleSoft Enterprise Oracle Identity Management
oracle.com/products/middleware/
developers with the flexibility to use the Release 9 improves upon the imple- identity-management/identity-management.html
development environment and tools of mentation, use, and support of Oracle TopLink Essentials
their choice. Applications. Release 9 contains hun- oracle.com/technology/products/ias/toplink/jpa
The contribution of TopLink dreds of modifications that simplify PeopleSoft Enterprise Release 9
Essentials to the Java Enterprise and improve the user experience in oracle.com/applications/peoplesoft-
enterprise.html
Edition 5 SDK is consistent with our addition to easing deployment and the
efforts to raise the state of the art integration of systems with PeopleSoft Oracle and Demantra
oracle.com/demantra
within the developer community and Enterprise applications.
Oracle and Portal Software
provide developers with technology This release supports Oracles efforts oracle.com/portalsoftware
that makes their jobs easier, says to enable its customers to maximize the Oracle and Telephony@Work
Steven G. Harris, vice president, Oracle value of their application investments. oracle.com/telephonyatwork
Fusion Middleware. Oracles new Applications Unlimited

32 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
a t O r a c l e ORACLE NEWS BY JEFF ERI CKSO N

Faster, Easier Embedded Databases


Oracle unveils Berkeley DB Java Edition 3.0 with speed and ease-of-use improvements.
hen Oracle acquired to run on a wide variety of platforms,
Sleepycat Software in and when they prefer Java for its ease of
February 2006, some ques- development, says Wang.
tioned whether Oracle would Berkeley DB Java Edition 3.0 includes
maintain the Berkeley DB line of embed- a range of improvements. Oracle has
dable, open source databases. With improved support of complex object
the release of Oracle Berkeley DB Java models with a new direct persistence
Edition 3.0, Oracle has put those ques- layer that adds a built-in Plain Old Java
tions to restand given Java application Objectstyle object storage model. The
developers some useful enhancements. upgrade provides support for complex
The release makes speed improve- object models without compromises
ments and ease-of-use enhancements in performance. This helps developers
that developers have been asking for, avoid development, runtime, and admin-
and it does it in step with Sleepycats istrative overhead associated with storing
preacquisition road map, says Rex Java objects in relational databases with
Wang, Oracles vice president of embed- object-relational mapping solutions.
ded systems, formerly of Sleepycat. Oracle also added a new deferred-
It shows that Oracle is committed to write database mode, which enables
Rex Wang, Vice President of Embedded Systems
Berkeley DB and embeddable databases. at Oracle
pure in-memory operation and gives
Oracle Berkeley DB Java Edition, developers greater flexibility in prior-
Oracle Berkeley DB, and Oracle Berkeley IDC, by the year 2012, there will be 17 itizing database performance. The
DB XML are open source, embeddable billion devices connected to the internet. deferred-write mode is ideal for situ-
databases that provide developers with Most of these will be at the edge or ations involving temporary databases,
fast, reliable, local persistence with little outside the data center, and with that batch updates, or other instances where
or no administration. Oracle Berkeley many devices, theyd better be auto- database speed is critical.
DB is the most widely used open source nomic and self-managing, says Wang.
database in the world, with deployments They need an embedded database like AVAILABILITY AND PRICING
estimated at more than 200 million. Oracle Berkeley DB. Oracle Berkeley DB Java Edition Release
Berkeley DB is targeted at developers Many new software services are also 3.0 is generally available under a dual
building applications that need blazing appearing. Web services are an obvious license. A no-cost open source license
performance but do not require the full example, says Wang, but also telecom- permits redistribution if the application
analytical power of SQL, says Wang. If munications, voice and data services, using Oracle Berkeley DB Java Edition is
your data access patterns are predictable, and hosted, on-demand services. These open source. In addition, a commercial
look at Oracle Berkeley DB. It executes services run in lights-out, always-on license is available for redistribution of
in the address space of the applica- environments with no human admin- proprietary applications. O
tion, has a small footprint, and operates istration, and they frequently have
without human administration. extreme performance and scalability
requirements. Again, an embedded data- READ more about Oracle Berkeley
DATA AT THE EDGE base like Oracle Berkeley DB is ideal. DB Java Edition
Oracles interest in embedded databases www.sleepycat.com/products/bdbje.html

is driven by market trends. As more- ORACLE BERKELEY DB JAVA EDITION LEARN about Oracles complete line
powerful devices proliferate and as Oracle Berkeley DB Java Edition is of embedded databases
oracle.com/database/embedded.html
networks become faster, more data is a high-performance, transactional
moving from the core data center out to storage engine written entirely in Java. DOWNLOAD Oracle Berkeley DB
BOB ADLER

Java Edition
the edge of the network, where it can Developers use the Java Edition of dev.sleepycat.com
be accessed more quickly. According to Berkeley DB when they want portability

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 33


c h a n n e l s PARTNER NEWS
b o o k BEAT

Enterprise Grid
Computing with Oracle
By Brajesh Goyal and ONE-STOP SUPPORT NOW INCLUDES SAP R/3 processes, enhancing the functionality of
Shilpa Lawande
n coordination with SYSTIME, an Oracle Concurrent Manager. AppWorx
Oracle Press
www.oraclepress.com
ISBN: 0-07-226280-X
I Oracle Certified Advantage Partner,
Oracle now provides support and
was already validated with Oracles
PeopleSoft Enterprise applications.
maintenance for SAP R/3 applications Perceptive Software, developer
Ready to take full advantage of the agility, through Oracles One-Stop Support of ImageNow document manage-
reliability, and cost savings of grid computing?
Enterprise Grid Computing with Oracle provides
program. Oracle will also establish a ment software, has had its product
a road map for implementing Oracle enterprise dedicated solution support center for integration validated with Oracle E-
grid technology. providers that support SAP R/3 applica- Business Suite, Oracles JD Edwards
Coauthored by Brajesh Goyal, former principal tions running on Oracle databases. EnterpriseOne, PeopleSoft Enterprise
product manager for Grid Computing at Oracle, The One-Stop Support program Student Administration, and PeopleSoft
and Shilpa Lawand, former principal developer
at Oracle, the book discusses the technologies
provides qualified independent software Enterprise Financial Management
and practical methods involved in moving vendor (ISV) partners with support Solutions product suites. The validated
toward the grid model at every layer of the IT infrastructure and special access to integration establishes a link between
stackstorage, servers, databases, middleware, Oracle engineering resources. In the documents stored in ImageNow and
and applications. Youll find out how to grid- past, the program provided seam- records in the enterprise applications.
enable existing IT infrastructures, reduce islands
of computing resources, and share IT resources
less support for ISV applications and
across the enterprise. the Oracle technology they run on; ORACLE PARTNERNETWORK UPGRADES
Topics include building and managing a data now, ISVs will also be able to support SOLUTIONS CATALOG
center based on the Enterprise Grid Alliance SAP R/3 applications that coexist with he new Oracle PartnerNetwork
reference model; lowering total cost of ownership
and improving responsiveness and flexibility
Oracle-based applications.
Ninety-four percent of R/3 custom-
T Solutions Catalog launches in
October 2006, giving customers and
at various layers of the IT stack; and sharing
storage capabilities systemwide using storage ers have not upgraded to new SAP ver- prospects an enhanced and faster way
virtualization and provisioning. sions, and the vast majority of those to connect with Oracles more than
companies run Oracle as well, explains 17,500 partners. Powered by Oracle
The Relational Oracle President Charles Phillips. Fusion Middleware, including Oracle
Database Dictionary There are also many customers who Application Server 10g and Oracle
By C.J. Date have purchased mySAP licenses but Portal, the new catalog better serves
OReilly Media
www.oreilly.com
havent yet installed them. With the Oracles growing community of partners
ISBN: 0-596-52798-5 help of SYSTIME, were focused on and provides an improved experience
ensuring that these customers have a for users seeking a solution.
Looking for a quick superior ownership experience around Now available in 13 languages, the
database reference guide? all of their applications. catalog can help customers shorten IT
This pocket-size dictionary defines nearly
600 terms and concepts used with relational
procurement cycles by instantly locat-
databases, including Oracle. ORACLE PARTNERS VALIDATE INTEGRATIONS ing partner solutions or services that
racle has validated many partners meet their needs. Extensive new search
As more and more people turn to databases
for both large systems and small Web-based
applications, misunderstandings arise about the
O integrationsand many more
validations are in progress. Validation
functionality allows searches by solu-
tion type, product, hardware platform,
precise meaning of database-related terms, such
as foreign key, join, instantiation, table, and view.
acknowledges that the software has been operating system, expanded geographic
These misunderstandings can affect the design, thoroughly tested to enable seamless specifications, and more. Companies can
programming, and use of database systems. integration and optimal performance also locate partners who have solution
The Relational Database Dictionary provides with Oracle products. Many partners integrationsbetween the partner prod-
a single, compact source where designers, provide validated integrations with more ucts and Oracles applicationsvalidated
programmers, database administrators, and
students of relational database systems can find a
than one Oracle application product by Oracle, as well as partners using
glossary of precise definitions. line. Two partners of note: leading technologies including service-
Author C.J. Date is a founder of relational AppWorx, an Oracle Certified Partner oriented architecture and grid.
database theory. At IBM, he developed the and a provider of business process auto- Oracle Partners can simply and
relational model based on E.F. Codds initial mation software, has had its AppWorx securely publish their solution profiles
definition, was a DB2 designer, and wrote An
Introduction to Database Systems.
Version 7 validated with Oracle E- and manage leads, all within the same
Business Suite 11i Release 10. AppWorx portal interface. Straightforward, unique
Browse for Oracle books at oracle.com/ offers a single interface to monitor and URLs now make it easy to find partner
technology/books/10g_books.html. manage enterprisewide asynchronous solutions via Web search engines.

34 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
PARTNER SPOTLIGHT System Integrators Embrace Oracle BPEL Process Manager
usiness Process Execution Language (BPEL) is simplify- Innowave Technology used Oracle BPEL Process Manager
B ing process integration and saving companies money
by providing a standard for assembling discrete services
to integrate Data Select Systems COBOL-based CLCS III
application with an Oracle database. Data Selects CLCS
into an end-to-end process. Below are five Oracle System III systems service 40 percent of U.S. construction loans.
Integrator partners that are building solutions using Oracle Seamlessly extracting and loading COBOL data into an
BPEL Process Manager, Oracles infrastructure for creating, Oracle database without altering the CLCS III system was
deploying, and managing business processes: critical for the companys continued success.
BIAS used Oracle BPEL Process Manager to integrate Sierra Atlantic provides engineering change order (ECO)
systems between the Corrections Corporation of America management for new and modified products in the form of
(CCA) and the Hamilton County Jail System in Tennessee. adaptable, preconfigured business workflows. Built using
CCAs system is used for booking and processing more than Oracle BPEL Process Manager, the companys solution
200 inmates per day, and CCA plans to use the BPEL inte- can handle a range of ECOs, from routine documentation
gration with other systems in the coming years. changes to end-of-year product phase-outs.
CISCO, Inc., used Oracle BPEL Process Manager to create SkillNets StoreHub solution, created with Oracle BPEL
a way for Farmers Mutual Hail, a provider of crop insurance Process Manager, addresses common retail challenges such
in 15 midwestern states, to allow its agents and policyhold- as stockout. In order to offer customer retention options, the
ers to access policy information online with a self-registra- process must be streamlined in the context of a Substitute-
tion process. Manual processes, modeled using Oracle BPEL Delay-Leave framework. StoreHub orchestrates the stockout
Process Manager human workflow, take over only if the self- business process across point of sale, inventory, catalog, and
registration process determines its necessary. customer relationship management in near real time.

IKAN ADDS MODELING CAPABILITY TO intelligence environments, and business and optimizes data structures and access
ORACLE SQL DEVELOPER processes. It supports online transaction algorithms accordingly, resulting in fast
kan, an Oracle Certified Partner, has processing, data marts, and data ware- response time and throughput. O
I released CWD4ALL for Oracle SQL
Developer, a modeling, mapping, and
houses for online analytical processing.
It bridges ODBC and JDBC to enable
diagramming tool that complies with direct catalog capturing. SYSTIME
the Common Warehouse Metamodel www.systime.net

(CWM). Oracle SQL Developer is WIPRO INFOTECH AND ORACLE DELIVER Oracle Validated Integrations
oracle.com/partnerships
Oracles graphical tool for creating and REAL-TIME STOCK EXCHANGE SURVEILLANCE
browsing database objects; CWD4ALL ipro Infotech and Oracle have AppWorx
for Oracle SQL Developer gives Oracle
SQL Developer full entity-attribute-
W implemented the first phase of a
new market surveillance system for the
www.appworx.com

Perceptive Software
www.imagenow.com
relationship modeling facilities. Bombay Stock Exchange (BSE). Called
Oracle PartnerNetwork
CWD4ALL for Oracle SQL Developer the BSE Online Surveillance System- Solutions Catalog
provides relational and physical integrated (BOSS-i), the new system solutions.oracle.com
mapping and diagramming of Oracle monitors trading data in the exchanges BIAS
databases, with full data definition lan- derivatives and equities (cash) markets. www.biascorp.com
guage generation. CWD4ALL for Oracle BOSS-i monitors all major exchange CISCO
SQL Developer also allows exporting parameters in real time, looking for www.ciscoinc.com

to Oracle Analytical Workspaces, and suspicious activity. Using rules-based Innowave Technology
www.innowavetech.com
supports forward- and reverse-engineer- advanced analytics, its alert-generation
ing capabilities to and from Oracle8i engine notifies a surveillance console Sierra Atlantic
www.sierraatlantic.com
Database, Oracle9i Database, and when such activity is detected. Real-time
SkillNet
Oracle Database 10g from within Oracle monitoring of the exchanges more than www.skillnetinc.com
SQL Developer. 5 million daily transactions, as well as
CWD4ALL for Oracle SQL Developer
CWD4ALL for Oracle SQL Developer management of generated data, are made www.cwd4all.com
simplifies and accelerates the complex possible through Oracle TimesTen In-
Wipro Infotech
aspects of analyzing, designing, and Memory Database, a memory-optimized www.wipro.in
implementing data models, business database that manages data in memory

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 35


c h a n n e l s PEER-TO-PEER BY B LA IR CAMPBELL

By the Book
Three peers extol the pleasures of reading, both on the job and off.
Jaromir Nemec That kind of problem can easily be peerSPECS
Company: Capgemini, a global
If you could change a feature of missed in the developing/testing consulting, technology, and
Oracle Database, what would it be? environment because of small outsourcing firm

The SQL profile is a very data volume and loadand when Job Title/Description:
Senior Oracle DBA, providing help
exciting feature. Id appreciate the application moves to produc- and advice to project teams and
the ability to define the profile tion, people are disappointed by developerswith a preference
for avoiding problems over
on a predicate level that could poor response time. Having a look solving them
be reused in all statements upriver at the way developers Location: Brussels, Belgium
using this predicate. work and providing sound advice Length of Time Using Oracle
Tell us about the paper you can save us a lot of annoyance later. Products: 13 years
wrote and presented at the U.K. Oracle User Whats your favorite thing to do
Group Exhibition & Conference 2005 titled Are Your Statistics Bad outside of work? Reading scientific periodicals, novels, and
Enough? You can tell pretty quickly whether your statistics are comics. Some of my favorites are Hermann Hesses Narcissus
stale or fresh, but its difficult to decide if theyre appropriate and Goldmund; Douglas Hofstadters Gdel, Escher, Bach; Art
or misleading. In my presentation, I proposed a method that Spiegelmans Maus; and Jacques Tardis comic books about
makes it possible to measure the quality of database statistics. World War I.
Its based on the access and filter predicates used in statements
accessing the data. Simply put, its like a JUnit test for DBAs. Jeffrey Hunter
If you were going to the space station Whats your favorite tool or tech-
for six months, which Oracle reference peerSPECS nique on the job? Using Oracle
books would you take? I personally Company: T-Mobile, an extended SQL trace data for
international cell phone and
like books by Jonathan Lewis wireless service provider
application system and SQL
he wrote Cost-Based Oracle Job Title/Description: tuning. Its not just a tool
Fundamentals [Apress, 2005] and Freelance database consultant, for performance tuningits
responsible for enterprise
Practical Oracle8i [Addison-Wesley, integration solutions and the unmatched as a tool for under-
2001]. Apart from a lot of useful design of the data warehouse standing the internals of how
technical details, they offer guidance Location: Vienna, Austria the Oracle kernel works.
on how to think while working Length of Time Using Oracle Which new features of Oracle Database
Products: 15 years
with Oracle Database. 10g are you finding most valuable? The new Oracle Automatic
Storage Management feature has made it incredibly easy for
Bruno Vroman us to provision and manage storage with both single-instance
How did you get started in IT? I studied mathematics at university and Oracle Real Application peerSPECS
and was fond of pure math, like algebra and logic. Then I Clusters deployments. Company: The DBA Zone, a
took my first IT course and thought: This is applied logic! What advice do you have about provider of remote managed
database administration services
This is what I want to do! I immediately switched my focus getting into Web and database
Job Title/Description: Senior
to applied mathematics. development? Download the latest DBA, responsible for designing
You mention that youd rather avoid problems than solve them. Tell version of Oracle JDeveloper 10g and implementing highly available
database solutions; ensuring
us more about that philosophy. When and get Oracle JDeveloper 10g database availability; and
something goes wrong with appli- Handbook [Oracle Press, 2004]. application, system, and SQL tuning
Location: Butler, Pennsylvania
cation performance, its often due Oracle JDeveloper 10g provides a
Oracle Credentials: Oracle-
to bad practicefor example, unique development environment certified DBA (Oracle7, Oracle8,
requiring the scanning of GBs of capable of using Oracle-specific Oracle8i, Oracle9i ) with 12 years of
experience using Oracle products
data for a simple query, when frameworksOracle Application
a slightly different approach Development Framework, for
oracle.com/technology/community/
would produce the same results exampleas well as non-Oracle oracle_ace
at a fraction of the workload. specific frameworks. O

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 37


c h a n n e l s CUTTING EDGE

Calling, Chilling, and Campaigning


Wireless Skype, cooler servers, and more-effective ads

Skype Anytime, Anywhere Measuring Memorable


Skype is changing the world of commu- Advertisements
nications by allowing users to talk from
Do you have a favorite television commer-
PC to PC for free using internet telephony.
cial, yet you have no idea what product
Skypes limitationuntil nowhas been that
is being advertised? While many advertis-
users needed to be near a PC with an internet
ing campaigns are memorable, some fail
connection. NETGEAR is taking Skype to the next
because viewers dont retain information
level with the Skype WiFi Phone, which leverages
about the product or company. Most busi-
wireless internet networks to allow users to make free
nesses face the enormous and potentially
calls to other Skype users anywhere in the world, anytime
costly issue of deciding how to advertise
there is Wi-Fi access, without a PC. The phones display shows
their product effectively. A company called
all of a users contacts who are currently online. And like other
NeuroFocus has
Skype phones, NETGEARs phone lets users make calls to ordi-
a solution that
nary phones for just pennies a minute. NETGEAR is making
measures the
true mobile wireless internet telephony a reality, especially as
effectiveness of all
cities such as San Francisco move to Wi-Fienable the entire
types of advertis-
city at no cost to end users. Who needs a cellular phone?
ing, including
online, TV, radio,
and print. A team
Cool It of neurophysiolo-
Walk into any server room and youll feel the heatand gists and psycho-
every new generation of processors generates even more. metrics scientists
Engineers must find cooling fans that are both small use quantitative indicators of attention,
enough to fit inside smaller server chassis and powerful emotional engagement, and memory
enough to dissipate increasing amounts of heat. HP engi- calculated from each millisecond of neu-
neers have turned to model jet planes for inspiration. The rological data recorded by high-density
company is using electric-ducted fans (EDFs), originally arrays composed of millions of sensors as
developed to power radio-controlled jets, to cool its next test subjects are shown advertisements.
generation of servers. Essentially propellers in a box, the This measurement is used to determine
fans produce enough air pressure to cool even the hottest which aspects of the message contrib-
of servers. In EDFs, the blades are placed inside a tube, or ute most and least to its overall effect.
duct. Shorter than typical propeller blades, these blades The solution offers potential benefits for
spin faster and create more thrust. The duct reduces noise advertising and public relations agencies,
and prevents air vortexes from forming around the tips of corporate marketing departments, political
the bladeswhich saps the thrust produced by traditional campaign offices, and design firms. O
propellers. Since servers dont
need thrust, the blades
have been redesigned to
produce pressure. The
NETGEAR Skype WiFi Phone
fan blades force air into a www.netgear.com/products/details/SPH101.php
servers chassis, so that a
HP Electric-Ducted Fans
certain volume of air per www.hp.com/hpinfo/newsroom/press_
minute flows past the kits/2006/blades/products.html

heat sinks, carrying heat NeuroFocus


www.neurofocus.com
away through convection.

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 39


SECURITY

40 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
INSIDE ORACLE DATABASE VAULT SECURES THE INSIDE OF THE ENTERPRISE.
BY DAV ID A. KELLY

reating a data security strategy that fits


your business is more than simply ensur-
ing that basic access controls are defined
or proper firewalls are in place. Having a compre-
hensive security plan means going beyond traditional
security approaches to find flexible solutions that
can help reduce internal and external risks, improve
accountability, and enable organizations to do busi-
ness more efficiently.
For example, running a profitable TV production and
GETTY IMAGES/IMAGE EFFECTS BY DESIGN STAFF

broadcast company requires more than simply broad-


casting half-hour shows and half-minute commercials

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 41


it means enabling secure access to a wide
range of critical corporate data for both
internal and external users. One company
that has done this successfully is Artear, one
of Latin Americas leading television produc-
ers and broadcasters. Artear used Oracle
Label Security to move the management of
security out of the application and into the
database while they were migrating from an
AS/400 to a clustered Linux environment.
Using Oracle Label Security eliminated
the internally developed security efforts and
reduced the amount of investment required
to develop and manage the security aspects
of Artears key business applications, while
enabling flexible and fast access for a wide
range of users. Because much of the data is
sensitive and we have to provide a wide level
of access, we needed the flexibility to control
who views the data, says Graciela Mucci,
CIO, Artear.
Access has become an issue for many
companies. Businesses have optimized their
supply chains and use customer relationship
management software to manage relation-
Using Oracle Label Security eliminated Artears internally developed security efforts and reduced the amount of
ships with their clients. In doing so, systems investment required to develop and manage the security aspects of the companys key business applications,
have become much closer to each other and while enabling flexible and fast access for a wide range of users, says Graciela Mucci, Artears CIO.
much closer to the end users, writes Ron
Ben-Natan in Implementing Database Security one example of how organizations are meeting these new
and Auditing (Digital Press, 2005). Sure, we use firewalls security requirements.
to secure our networks and we dont connect databases Oracle is helping companies formulate a strategic approach
directly to the Internet, but databases are much more to todays data security issues by extending its products in
exposed than they used to be. Ten years ago the database was multiple ways. With new solutions like Oracle Database Vault,
accessed by applications that were only available to internal Transparent Data Encryption, Oracle Secure Backup, and
employees. Now it is (indirectly through the application) Oracle Identity Management, Oracle makes it possible for
accessed by anyone who has access to the Web site (i.e., organizations to ensure that their data is protected and that
everyone in the world). they can meet security, compliance, and risk management
challenges efficiently and cost-effectively.
GUARDING AGAINST THREATS Extending the protection around the database is criti-
In fact, for most organizations, traditional security approaches cal. When youre looking at some of the major compliance
authentication, authorization, and access controlsare drivers like Gramm-Leach-Bliley for customer information
just the starting point. But with increased or Sarbanes-Oxley for the integrity of financials, then the
security and privacy pressures ranging databases become incredibly important systems of record for
from ever-more-sophisticated internal the types of information that auditors look closely at. Thats
and external attacks to increased why enhancing the security tools and protection mechanisms
regulations such as HIPAA around the database makes sense, says Trent Henry, senior
and Sarbanes-Oxley, orga- analyst, Burton Group.
nizations need to move What weve seen at a lot of companies is that when audi-
beyond the traditional tors come in, they find that privilege isnt separated among
authentication, multiple users or that there are separation-of-duties problems,
authorization, and such as DBAs being able to do much more with a repository
access approaches. than they should be able to, Henry says. One of the key con-
Artears use of cerns is integrity of the information and making sure that it
Oracle Label cant get changed in an unauthorized way.
Security is just In response to those types of internal threats, Oracle
Oracle Label Security allowed us to apply these access controls where it matters most:
the centralized database on a scalable Oracle RAC system.
Graciela Mucci, CIO, Artear

extended its security capabilities with the release of access for individuals only to the specific data they need to do
Oracle Database Vault, which gives organizations the mecha- their jobs. This is something new to the industry.
nisms to restrict access to super and privileged users with Oracle Database Vault helps organizations manage aspects
database realms. A database realm allows an organization of regulatory compliance. Weve been spending a lot of our
to define a protection zone around a specific application, time with companies whose external auditors have raised
part of an application, or a set of data. Access to this zone the issue of data security from a financial reporting integrity
is protected from power users, such as those with the DBA issue, says Jay Thompson, a managing director at Protiviti, a
role. Additionally, Database Vault multifactor authorization leading international provider of independent internal audit
can block access based on factors such as time of day (for and business and technology risk consulting services.
example, only between 9 a.m. and 5 p.m.), IP address limita- Some companies will find that using [Oracle] Database
tions (so that someone cant log in remotely), or other con- Vault is a very simple way for them to restrict access selectively
siderations. Rules can be associated with dozens of database to data, and theyll be able to address a significant security risk
commands, enabling strict control over their usage. issue theyre facing by limiting access to sensitive information,
Oracle Database Vault allows you to control the super he adds.
and privileged user access, says Wynn White, senior direc-
tor, security and identity marketing, Oracle. By using Oracle PROTECTING FROM INTERNAL THREATS
Database Vault, you have more-granular access control mecha- Today, reducing risk and meeting auditing requirements means
nisms to specific data sets, as well as the ability to restrict being able to protect against not only traditional external

SOLVING THE AUDIT ISSUE


Todays organizations must not only comply with service-level agreements and have appropriate asking for an audit warehouse that centralizes
a wide range of regulatory requirements but also levels of security, says Gary. What they find is, the audit silos into a secure repository where you
prove their compliance through audits. While oftentimes the great culprit to achieving those can do analysis and reporting on the consoli-
some databases and other products provide things is changes made internally by their own dated audit data.
auditing capabilities, ensuring their accuracy is people. While you want to monitor for external Oracle Audit Vault gives organizations a secure
tougher than simply turning them on. hacking, many of the security problems our repository for enterprise audit databasically an
Theres an increasing need for companies customers are having result from unauthorized audit warehouse or a way to collect and ensure
to put systems in place that can monitor every- changes to configuration settings or something the security of auditing information from both
thing thats going on in a database system so else in the software stack. Oracle and non-Oracle systemsand provides
an organization can validate that the activities insight into who did what to which data when,
are approved, identify exceptional activities that ENTER ORACLE AUDIT VAULT including privileged users who have direct access
may need to be investigated further, and have Compliance regulations have changed the way to the database.
a trusted record of activities on their systems, databases are secured and audited. Audit trails Understanding who accessed, altered,
says Cliff Pollan, CEO at Lumigent, an Oracle contain a wealth of valuable information, and updated, deleted, or merely viewed sensitive
partner that provides audit applications that can auditors are placing a great deal of focus on the data is an essential component to satisfying
help organizations analyze audit data from both audit logs. The first thing that auditors ask for compliance requirements and protecting data,
Oracle and non-Oracle database systems. when they come in for a compliance audit is to says Brinson. Oracle Audit Vault provides the
Auditing information can also be used to see your audit logs, says Jack Brinson, principal capability to detect, monitor, alert, and report
enable organizations to react when some change product manager (database security), Oracle the history of privileged user changes, schema
has occurredmalicious or notto a database, Audit Vault. modifications, and even data-level access. By
according to Ted Gary, product manager at Customers in every industry are being asked consolidating and centralizing all the information
Tripwire, an independent software vendor whose to turn on auditing to track activity for compli- that is captured across different systems, com-
Tripwire Enterprise 5.5 supports change auditing ance and internal security requirements, Brinson panies can do audit reporting from this reposi-
for Oracle databases. says. One of the major challenges is the audit tory, making the data meaningful.
Our customers are trying to deliver services logs are distributed in multiple silos across the Oracle Audit Vault is in beta testing and is
that comply with regulations and that meet enterprise. For many years, customers have been scheduled for release in late 2006.

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 43


threats but new internal threats as wellsomething that most ties will be a fundamental requirement to stay in the data-
organizations are just starting to take seriously. base market.
I think that many companies have a handle on the exter-
nal security threats and have good tools and processes for FLEXIBLE SECURITY
dealing with them. More recently, were finding that there are While restricting internal access to corporate data through
a lot of potential internal threats, so the challenge for organi- technologies such as Oracle Database Vault is important, cre-
zations is how to go about focusing on solving those internal ating flexible security architectures that can enable organiza-
data security threats without overdoing it and restricting busi- tions to do more than they could previously is often equally
ness, says Thompson. important. Artear manages this balance by using Oracle Label
Oracle Database Vault is a good example of a preven- Security to enable highly flexible but extremely secure inter-
tive control that Oracle essentially leads the market with, nal and external access to critical sales, billing, and business
Thompson continues. Going forward, I believe these capabili- systems and data.

O R AC L E D ATA B A S E S E C U R I T Y
Oracle Database security features help ensure
regulatory compliance, protect from insider
threat, promote information consolidation
and sharing, and protect sensitive Oracle Audit Vault
information on media. Administrators can consolidate and protect
audit information, enabling centralized
analysis and reporting on audit data.

Fine-Grained Auditing
DBAs specify the
conditions necessary to Oracle Identity Management
generate an audit Sysadmins manage the lifecycle of user
record. identities within and beyond the firewall.
Strong authentication lowers risk of
security breaches. With Oracle Identity
Management, DBAs manage database
users and authorizations in one
central place.

Oracle Secure Backup


Data-to-tape encryption
protects against the misuse of
sensitive information if backup
tapes are lost or stolen.

000000000010111000000000
010101100000000001010111
000000000000010100000000
001100000000000000110001
000000000001111
001111000000000
Transparent Data Encryption 010111100000000000101111
0101 00000000101111
Protect information without change to 0000000
0000001100100000000
00001100100000000
000010000000000001011010
001011010 Oracle Database Vault
the application by transparently 0000000000
0000011100000000
00011100000000 Managers control access to data and
encrypting data and decrypting it 0010010000
0000000000011010
00000000011010 applications, even among administrators,
when it is read back to the user. 000000000011001000000000
HIGHLY
001011000000000000000100 protecting against insider threat from
000000000100100100000000 malicious intent, negligence, or oversight.
Oracle Label Security SENSITIVE The Command Rules and Realms features
Control access to critical business data add rules and protection zones
using data classification and FIDENTIAL through which users access the restricted
label-based access control. information. Multifactor authorization
enforces how, when, and where
applications can be accessed by verifying
Virtual Private Database IP address, authentication method, and
Customized security policies support time of day.
security when standard object-level
privileges and database roles dont
meet application security
requirements.
STEVE LYONS

44 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE

SO06_Security.indd 44 7/18/06 10:22:59 AM


The grid infrastructure allows us to save ORACLE SOFTWARE SECURITY ASSURANCE:
on hardware and software investments STRONG FROM THE GROUND UP
while offering a higher level of service that A complete security strategy starts well before deployment of a new
application or database. In fact, it starts before an organization purchases
avoids business losses. a database. Weve taken a lot of measures to ensure the security of our
Graciela Mucci, CIO, Artear products and enable fast response to vulnerabilities, says Darius Wiles,
senior manager, security alerts, Oracle. For example, weve adopted
practices internally, including training developers on the types of attack
mechanisms used by hackers, security code reviews, and using internal
and external teams to try and break into products before theyre shipped.
Instead of maintaining security policies in our applica- Were doing a lot to make Oracle products stronger and even more secure.
tions and database, Oracle Label Security allowed us to apply The Oracle Software Security Assurance process helps ensure that
these access controls where it matters most: the centralized security is designed and built into products and provides a consistent
database on a scalable Oracle RAC [Real Application Clusters] way to apply patches and critical fixes. It covers everything from product
system, says Artears Mucci. Instead of having to change our definition and development to continuous assurance, guaranteeing that
application logic each time we add a new TV channel, we are security considerations are given high priority.
able to use Oracle Label Security to quickly and easily change In the product definition stage, developers use security standards,
or create access policies. For example, we are now able to add tools, software libraries, and formal secure coding standards. These func-
new TV channels much more rapidly than ever before. tions and libraries are developed by experts; many of them are subjected
All of Artears applications run on a single grid infrastruc- to third-party testing and independent certification. Critical security func-
ture, where the company has dynamic flexibility to reassign tionality is consolidated into core modules and services that are used by
capacity on demand among the applications, to better dis- development teams to ensure uniformity and security across Oracle prod-
tribute loads or skirt hardware malfunctions. Mucci explains: ucts. Members of a Security Steering Committee review and coordinate
The grid infrastructure allows us to save on hardware and efforts, helping to cross-pollinate security technology across divisions.
software investments while offering a higher level of service Oracles development processes incorporate security into functional
that avoids business losses from downed environments or specification, design, implementation, and testing of products. In the
fragmented infrastructure that is unable to react to business specification phase, security plans must be incorporated for the design to
capacity needs. be approved. The design phase aims to reduce the vulnerability of a pro-
duction system to attack, including restricting user privileges, removing
REDUCING RISK unneeded functionality, and closing off nonessential modes of access to
In addition to improving security management, eliminating the system, such as unused default user accounts or network ports. This
internally developed security efforts, reducing investment configuration effort helps ensure that products are secure out of the box.
costs, and freeing up development resources and shorten- Secure development tools include security-oriented regression testing
ing project lifecycles, the move to Oracle Label Security has as part of Oracles quality assurance process, and testing with specialized
helped to reduce risk. We are able to rely upon the strong, security vulnerability analysis tools in the product development phase.
well-tested security infrastructure that Oracle Label Security Oracle also uses ethical hacking to find product defects that could
provides and avoid depending upon our programmers for cre- allow a user to bypass security mechanisms. Both internal and external
ating and modifying the security infrastructure each time we teams do product assessments on Oracle products before their release.
add a new station or role, which would be very susceptible to Finally, security depends on ongoing assurance. A good example of
errors, says Mucci. Instead we can rapidly and confidently this process is Oracles critical patch update scheme. In the past, Oracle
deploy profiles that have been previously created. Oracle Label issued security fixes on a one-off basis as needed. While this addressed
Security gives us security and confidence. the need to correct potential security threats, many organizations asked
Artear has a four-node cluster running Oracle Database 10g for a regular, planned patching cycle to allow testing and roll-out to be
and Oracle RAC on IBM Blade HS20 with Novell SUSE Linux scheduled in advance. As a result, Oracle now offers customers a Critical
Enterprise Server for its production site and has a similar two- Patch Update capability as part of Software Security Assurance.
node development/test cluster. It also uses Novell eDirectory With Critical Patch Update, fixes are bundled into a single unit so that
as the LDAP solution; Oracle Label Security provides the flex- every quarter theres only one thing for customers to test and apply to
ibility for keeping information securely separated. their systems, says Wiles. The patches are cumulative, meaning each
Artear has used Oracle Label Security to help build a con- patch includes the contents of previous patches. This allows customers
solidated application environment for its mission-critical appli- to skip an updatefor example, because theyre at financial year-end
cations, including a Film Library Rights Management system; and dont wish to patch their systemsand simply pick up the next
a Video Tape Library; broadcasting and cable sales manage- patch, which will include everything they need. The whole scheme is
ment applications (for five broadcast stations) that manage designed to maximize flexibility and make it easier for customers to apply
program scheduling, inventory, revenue management, and security fixes to their systems.

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 45


managing new employees
and changing employee
roles if someone is promoted
more; a billing system for financial or transferred. A critical benefit
management that integrates with SAP; and a is also the systems ability to react
data warehouse. instantaneously and remove or revoke
Many of the applications are used by employees of the security privileges when an individual leaves
different stations as well as by advertisers, who are pro- the company.
vided direct access to their own information. Because
much of the data is sensitive and the wide level of THE BIG PICTURE
access we need to provide, we need the flexibility to While security, risk management, regulatory compliance, and
control who views the data, says Mucci. Artear pro- auditing have taken on increasing importance for almost all
vides services to other members of Grupo Clarin com- organizations, Oracle has been steadily increasing its enterprise
panies (its sister companies), so it needs to segregate access to security footprint and capabilities, which span solution areas
data not only by advertiser but also by company and role. such as identity management, encryption, and audit.
Artears Oracle Label Securitybased The Oracle database will be an
solution allows the company to define increasingly important component of
the policies without depending on which SNAP SHOT the security infrastructure, says Paul
database or platform it is developing on. Artear Needham, director, database security
For example, the same assignment of roles www.artear.com.ar product management, at Oracle. Our
and functions is used for Oracle and Lotus Location: Buenos Aires, Argentina strategy has really been about moving
Notes. In addition, the combination of Industry: High technology from manual processes to automated pro-
Oracle Label Security and Novells eDirec- Employees (Grupo Clarin): 8,000 cesses for all types of security technolo-
Oracle products: Oracle Database 10g
tory gives Artear a single point of admin- gies. As we move forward, were building
Release 2, Oracle Label Security, Oracle Real
istration and delegation for all aspects of Application Clusters
in more automation and transparency, just
managing users, an important feature for as we did in Oracle Database 10g Release

Come join the leading edge!!


Oracle US and Oracle Canada are currently accepting resumes for the following areas:

Technology Consultants Please send resume to: We offer a 401k-retirement plan,


Architects for Oracle 10g RAC, narecruitconsult-ats_us@ which includes matching as
VLDB/DW (10TB+), Integration/ oracle.com well as a separate program to
BPEL, Oracle Fusion Middleware/ purchase our company stock at
J2EE, Application DBA, BI/Portal Applications Consultants a discount. Dependent Care and
Dashboard, Advanced Reporting/ CRM, Enterprise Management, Healthcare Reimbursement as
Discoverer, Full DW Lifecycle/ HRMS/HCM, Supply Chain, EAM, well as Tuition Reimbursement
OWB, Security & Enterprise Leasing, Property Management, are also part of our generous
Architects. Field Services, & Logistics. package.
And, those who have previous Please send resume to: Please e-mail a Word document
experience implementing Oracle narecruitconsult-udoff_us@ version of your resume with full
Database, Oracle Middleware, oracle.com contact information (including
Oracle Applications, PeopleSoft, name, address, telephone num-
Oracle Corporation offers a
JD Edwards, Oblix, Protected bers and e-mail address) to the
full package of benets to our
Enterprise, J2EE, Data Mining, e-mail addresses listed above.
full-time salaried employees
TimesTen, ProtLogic, Retek,
including medical, optical, and
360Commerce, or other
life insurance.
applicable technologies.

Copyright 2006, Oracle. All rights reserved. Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its afliates. Other names may be trademarks of their
respective owners.

46 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
The challenge for organizations is how to go about focusing on solving those internal
data security threats without overdoing it and restricting business.
Jay Thompson, Managing Director, Protiviti

2 with Oracle Transparent Data Encryption and its ability to be considered across the organization, says Oracles White.
help customers address critical business requirements quickly. Security has evolved from a technology to a business issue,
The same process is happening with Oracle Database with applicability to all organizations across all industries
Vault, a product that addresses many of the key business con- which makes it more important than ever before. By delivering
cerns that organizations face today: regulatory compliance, a broader footprint of security technologies, Oracle ensures the
separation of duty, strong internal controls, and concerns protection of an organizations information assets. O
around database consolidation security as well as report-
ing. Customers want to be able to keep their power users David A. Kelly (dkelly@upsideresearch.com) is a business, technology, and travel
and super users (or DBAs) from accessing application data, writer who lives in West Newton, Massachusetts.
and Oracle Database Vault enables organizations to do that,
explains Needham.

STRATEGIC VISION
READ about information security
But it doesnt stop there. A strategic data security vision oracle.com/solutions/security
includes a much broader landscape than ever beforeespe-
LEARN about secure development processes
cially with the increased threat of internal attacks, theft, or oracle.com/solutions/security/secure-development-processes.html
simple mistakes, and the necessity of meeting new regulatory DISCOVER Oracle Database Security
compliance and auditing requirements. oracle.com/database/db-security.html

IT and data security is no longer a specialized niche within DOWNLOAD Oracle Database 10g
the IT organization as it used to be, but something that has to otn.oracle.com/software/products/ias

After all, you certainly deserve it. And with Transcender, reaching new certification heights is
guaranteed 100%. In fact, with our industry leading approach to certification exam preparation,
theres no telling what you can achieve. Visit www.transcender.com or call 1-866-639-8765.
2006 Kaplan IT, Inc. All rights reserved. TRANSCENDER Kaplan IT, Inc. All rights reserved.

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 47


Refining

>
the Whe l
>

>
BY A L A N JOCH

>
Oracle Data Hubs centralize and synchronize
the truth of your enterprise.

>
ts a classic courtroom drama. Actor Jack Nicholson, playing the besieged Col.
Jessep in the movie A Few Good Men, is directed by Tom Cruises Lt. Kaffee to tell
the truth. From the witness stand, Jessep glowers at Kaffee and snaps, You cant
handle the truth!
Obviously, Jessep wasnt talking to a business executive. Businesspeople not only can
handle the truth, its something they thrive on. Its the incomplete, duplicate, fuzzy, and
slippery facts that pass as corporate truth that drive executives crazy.
For years, companies of all sizes and industries have been challenged to find ways
to create a single source of truth about their customers and products, often with little
success. That challenge has now been made easier because of Oracles expanding
family of data hub technologies. Data hubs provide a central place where companies
can store customer and product information thats been standardized, enriched, dedu-
plicated, and made available to any enterprise resource planning (ERP), customer
BOB ADLER

relationship management, engineering, or other production system that needs the infor-
mation. Gone are the frustrations of inaccurate records and not knowing if Jennifer

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 49


[The data hub] is really about improving the efficiency of the overall corporation. We
believe this is the right infrastructure to have in place.
Jeff Valine, Director of IT Applications and Project Management, IHOP

Jones and J. Jones are different clients or one


and the same.
For example, IHOP, the iconic, nearly 50-
year-old family restaurant chain, began a com-
prehensive effort in 2003 to replace manual
business processes and knock down depart-
mental data silos. Each department had its
own view of who our customers were, says Jeff
Valine, director of IT applications and project
management for the Glendale, California,
company. These views ranged from restaurant
guests to the nearly 400 franchisees that operate
more than 1,200 IHOP restaurants in North
America. If you asked three departments for a
list of customers, you would literally get three
different lists.
Businesses find that data discrepancies do
more than spawn frustration, they also hurt cus-
tomer service. If companies have information
stored in multiple places, they cant coordinate
activities intelligently, says Bill Swanton, vice
president of research for AMR Research, in
Boston, Massachusetts. The last thing you want
is to have a salesman pitch a new product to a
customer who has just finished making an irate
service call.

REDUCING ERRORS, DUPLICATIONS


For IHOP, just as bad as the departmental data
discrepancies were the inefficiencies and errors IHOPs Jeff Valine says when franchisee information was stored in a desktop database and then
that cropped up when the companys franchise moved to paper, there was a lot of duplication and chance for input errors. With Oracle Customer
development and legal departments stepped Data Hub, the data flows from one department to another without any paper being generated,
reducing inefficiencies, he says.
candidates through the franchise qualification
process. Business development people main- program in Java using Oracle Application Server. Once youve
tained franchisee information in a desktop database before got that data hub infrastructure in place you can quickly tap
transferring relevant details in paper documents sent to legal, into that data and bring up a new application, says Valine.
which promptly keyed the information into a spreadsheet. For Valine, the success of IHOPs data hub isnt only mea-
There was a lot of duplication and chance for input errors, sured in return on investment dollars, but by knowing the
Valine says. company is built on the right business foundation. Its really
Then IHOP made Oracle Customer Data Hub, part of the about improving the efficiency of the overall corporation, he
Oracle Fusion Middleware product family, a core component says. We believe this is the right infrastructure to have in place.
of its technical reorganization effort. Now, with a customer Implementing a data hub typically follows clearly defined
data hub in place, the data flows from one department to the steps. First, companies choose the core identifying attributes
other without any paper being generated, he adds. that ensure a unique occurrence of a master record. This is
RAFFI ALEXANDER

Earlier this year, IHOP launched a custom application on usually a collaborative effort among departmental users, privacy
top of the data hub that allows the company to track mile- officers, and IT. For example, attributes in a business custom-
stones for new restaurants, including major steps such as real ers identifying data often include the company name, corporate
estate approvals and construction timelines. IHOP built the Web site address, master phone number, and physical address.

50 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
>
The second step is the easiest. What infor-
mation (data elements) does the company
want to store about each master record? In
larger application portfolios, each source
system has some elements of truth to con-
tribute to the master record. For example, the
accounting application may contain the single
source of truth for the bill-to address, but the
service application contains the single source
of truth for the installed-at address. The Data
Hub technology lets companies source each
data element from each data source if neces-
sary to build the composite master record.
The single-source-of-truth record is further
supported by a metadata framework that
allows companies to personalize the data
models by adding unique attributes to them
without programming.
After the record is uniquely identified, a
robust rules-based matching engine deter-
mines whether the record is a duplicate. If it
is, then the hub doesnt create a new record in
the data registry. Instead, it adds a record in a
cross-reference table.
Data models structure and store the data,
but the next step is to ensure the information
itself is accurate, up-to-date, and complete.
For companies that are new to managing
data quality, often the best strategy is to take
an important subset of the total records and The Oracle Product Information Management Data Hub definitely saves time and eliminates duplication
develop the data quality business processes of effort and redundant entries for the same part, says Matthias Kenngott, IT Director at Glacier Garlock
and corresponding matching, validation, and Bearings, Heilbronn, Germany.
enrichment rules, says Peter Heller, senior
director of applications product marketing at greater reality is that most large organizations run dozens of
Oracle. Most companies are surprised at how bad their data business systems with customer and product information, and
quality is, and very early into the project they realize the need the ability to successfully cross-reference that data has become
for dedicated data quality resources. Data hub best practices an essential competitive advantage. Enter data hubs.
call for a central data librarian supported by a data governance Hubs not only store and maintain accurate records, they
committee from various lines of business to centralize data provide an integration layer for synchronizing the data among
quality business practices, hub operations, and manage the information sources. Hubs based on open standards, such
complete data lifecycle, he says. as Oracles, work with any combination of applications from
various vendors. Further, workflow capabilities in Oracles
DOING MORE data hubs automatically route information from department
Large companiesand even smaller companiesshould do to department for sign-offs, which can reduce approval times
more to manage data. Even if a company runs a single enter- from days or weeks to hours, AMR Researchs Swanton adds.
TON HENRIKS

prise software package, each department that touches cus- Oracle has unified its customer data management across
tomer information needs to coordinate its data management Oracles portfolio of applications and product lines: Oracle
processesand most companies dont, says Heller. And the Customer Data Hub has been integrated with Oracles

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 51


PeopleSoft Integrated Customer The hub is one single place where
Master and soon will be integrated SNAP SHOTS we store our information about a
with Oracles Siebel Universal product, but also attach our draw-
Customer Master. Soon Oracle cus- IHOP ings for it. We can find out every-
www.ihop.com
tomers running mixed environments thing about a part from anywhere in
Location: Glendale, California
will be able to create a customer Industry: Hospitality the enterprise, Kenngott says.
record in one product line and have Employees: 897 The hub also makes sense of the
it automatically synchronized with Oracle products: Oracle Database 10g, Oracle Database 9i, frequent changes made to parts.
each of the others, Heller says. Oracle E-Business Suite 11.59, Oracle Customer Data Hub, When you modify an existing part,
The Oracle Product Information Oracle Customer Relationship Management Suite, Oracle you create a link [in the Oracle PIM
TeleSales, Oracle Property Manager, Oracle Sales Online,
Management Data Hub (Oracle Data Hub] to the subsystem with
Oracle Collaboration Suite, Oracle Portal
PIM Data Hub) addresses some of the old part number and cross-
the most nagging problems within Glacier Garlock Bearings reference the new part, says
engineering and manufacturing www.garlockbearings.com Kenngott. The PIM Data Hub simul-
companiesaccurately managing Location: Heilbronn, Germany taneously updates the part reference
parts data. Some part designs are in Industry: Industrial manufacturing in the old system. For new parts,
constant evolution, while other stan- Employees: 1,200 GGB just creates a new part number
Oracle products: Oracle Product Information Management
dard designs remain constant but in the Oracle PIM Data Hub. If it is
Data Hub, Oracle Order Management, Oracle Inventory, Oracle
are prone to duplication when inac- Purchasing, Oracle Manufacturing, Oracle Financials created in Oracle, it is automatically
curate records make it difficult for available in old systems as well.
engineers to determine that the parts Now, if a GGB facility doesnt
already exist. stock a requested part, it can search
Maintaining associated engineering drawings and materials the hub for parts stocked at any other GGB site throughout
hazards sheets for parts is another management problem. The the world. In the past, a GGB facility may have ordered the
bulk of data around products comes from a wide variety of creation of the requested part, assuming one with those speci-
sources. Some of the information is highly confidential, some fications didnt exist, which was a prime cause of part dupli-
of it globalized, and most of it requires strict audit and con- cations. The Oracle PIM Data Hub definitely saves time and
trols. Worst of all it is largely free-form, unstructured informa- eliminates duplication of effort and redundant entries for the
tion, making it hard to coordinate, version, and communicate same part, Kenngott says.
consistently, Heller says. Consequently its an important GGB plans to connect its suppliers and automotive cus-
feature that the Oracle Product Information Management Data tomers with the new parts management system. And if the
Hub can securely handle this diversity of information. company continues to acquire other firms, something it has
Data reliability for parts and materials is important for done frequently in the past, the new Oracle PIM Data Hub
Glacier Garlock Bearings (GGB), a division of EnPro Industries based infrastructure will be a plus.
and the worlds largest manufacturer of metal-polymer plain If the new company has additional ERP systems, we only
bearings. GGB manages 15 sites worldwide from its Heilbronn, need to define the data that will flow between the Oracle PIM
Germany, headquarters. As the company evolves its lean man- Data Hub and their new applications to involve them in our
ufacturing strategy, it relies on universal part numbers to elimi- strategy and tools, says Kenngott. Were well positioned for
nate the duplications and inconsistencies that hampered parts the future. O
management in the past. We looked around and saw that the
[Oracle] PIM Data Hub could help us solve this issue, says Alan Joch (ajoch@worldpath.net) is a technology writer based in New England who
Matthias Kenngott, IT director at GGB. specializes in enterprise, Web, and high-performance-computing applications.
GGB now uses Oracle PIM Data Hub to manage all of its
parts and synchronize the data between the Oracle hub and
three ERP systems. Oracle is now the master for all product
data information, Kenngott says. It stores data in a format
that the other ERP systems understand. READ about data hubs
By culling duplicate part numbers, Oracle PIM Data Hub oracle.com/data_hub
helped GGB reduce the master list from 50,000 to about Learn more about data management
30,000 items. Even so, only about 2,000 standard parts Data Management Dynamics: the ROI from Data Quality
www.oracle.com/data_hub/roi-from-data-quality-white-paper.pdf
that could be easily identified by their attributes existed Common Sense Guide to Customer Data Management
among the entire 30,000-item collection. GGB had to rely oracle.com/data_hub/oraclecdm_wp_march2005.pdf
on engineering drawings to identify the rest. However, the DISCOVER Oracle Fusion Middleware
Oracle PIM Data Hub keeps the relationships between parts oracle.com/products/middleware

and drawings manageable, even when parts are modified.

52 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
SPECIAL ADVERTISING SECTION

How Dell
Does IT When the computer company moved one of its critical supply chains from a
legacy UNIX system to industry-standard technology and Oracle Database 10g,
it boosted performance and cut $5 million out of IT costs.

t Dell, fast, flexible, and lean supply chains operational, we dont build and ship products.

The right IT platform


A lie at the heart of the business. Indeed,
Dells supply chain capabilities are a key
competitive differentiator for the companyone
If we dont do that, we dont book revenue
which makes these systems mission-critical,
says Duane Miller, senior manager of Worldwide
helps Dell manufacturing that enables Dell to deliver built-to-order comput- Procurement IT at Dell.
facilities like the one ers to customers quickly and cost-effectively. And Not long ago, however, Dells IT professionals
above stay up and running that means that when it comes to the information saw potential problems looming on the horizon.
and turning out some systems that support that supply chain, there The database that was the foundation of its supply
100,000 systems a day. is little room for error. If these systems are not chain applications was running on a legacy UNIX

S1
SPECIAL ADVERTISING SECTION

systemand with the ongoing success operational, because the problem is chain database platformand man-
of Dell products and the resulting IT stopping manufacturing at one of our agers wanted to do so quickly, before
workloads, that system was reaching domestic or international facilities. the coming holiday season, when the
the limits of its capacity. Whats more, the IT group could companys sales tend to spike.
We were starting to get Sev 1 calls see that things werent going to be
regularly, says Miller. Such calls, he getting any easier. The demand for Saying good-bye to UNIX
explains, occur when an outage in the Dells products was increasing, and Dells challenge was hardly unique:
supply chain management system forecasts called for higher production Running out of headroom on a large
interrupts production. They are the volumes in the near future. In addition, legacy server is a familiar problem for
highest level of severity in terms of the company was bringing on new IT professionals in many organizations.
problem calls, based on the degree of factories the system had to support. Traditionally, the solution has been to
impact to the business. With those calls, To handle these growing workloads, add another legacy server, in essence
its all hands on deck, and we drop the IT department clearly needed to implementing a relatively large amount
everything and get them back up and increase the capacity of its supply of capacity in one passand then hope
the new server will meet the companys
needs for several more years. But Dell
IT leadership took a look at advancing
technology and decided there was a
better way.
We saw that there was an oppor-
tunity to move the database from the
expensive UNIX environment to a more
cost-effective standards-based envi-
ronment that could provide the high
levels of performance we needed,
Dell on Dell at a Glance says Miller. The platform Dell selected:
groups of Dell PowerEdge servers
Business system running Oracle Database 10g with
Database supporting a supply chain involving: Oracle Real Application Clusters, and
More than 10 manufacturing plants worldwide drawing on Dell/EMC storage devices.
1 million part numbers The platform uses the Linux operating
3 million inventory movements per day system, reflecting a growing trend in
More than 2 million bills of materials per year the Oracle community: According to
1.8 million purchase order lines per year an Independent Oracle Users Group
member survey in early 2006, Linux will
Old environment overtake Suns UNIX-based Solaris as
Sun UNIX server the top operating system for Oracle
database deployments in 2007.
New environment The demands on the Dell and Oracle
Dell PowerEdge servers platform were clearly going to be signif-
Oracle Database 10g with Oracle Real Application Clusters icant. The database has to support a
Dell/EMC storage devices range of vital supply chain processes,
including configuration management,
Benefits procurement, material-cost manage-
More than $5 million in IT savings ment, inventory, and accounts payable.
90 percent reduction in the number of product units not manufactured In terms of workloads, that means han-
due to system outages dling the volumes of information needed
40 to 50 percent shorter financial closings to manage 1 million Dell part numbers
Increased IT flexibility and scalability across nearly 200 product families. It
Reliable, cost-effective support for critical supply chain also means tracking nearly 3 million
inventory movements a day, more than

S2
SPECIAL ADVERTISING SECTION

The availability of our supply chain systems is paramount

to keeping our factories running. . . . any downtime costs us

thousands of dollars per minute.

Curt Johnson, director of Worldwide Procurement IT, Dell

2 million bills of materials a year, and And new nodes can be easily added to
nearly 1.8 million purchase order lines the cluster to increase capacity.
per yearand doing so with high levels In recent years, Dell and Oracle have
of reliability and speed. The availability tested and validated a variety of configu-
of our supply chain systems is paramount rations using Dell PowerEdge servers
to keeping our factories running, says and Oracle software, including such
Curt Johnson, director of Worldwide Pro- clustered systems. As a result, Dells IT
curement IT at Dell. And because were group has been able to take advantage
building more than 100,000 systems each of the strengths of both companies tech-
day, any downtime costs us thousands nologies. In terms of performance, for
of dollars per minute. example, using Oracle Database 10g,
Not surprisingly, Dells IT group put Dell servers lead other vendors servers
the platform through an extensive and in the 300GB clustered TPC-H price/
rigorous evaluation. Given the high performance results. The PowerEdge Better performance, lower cost
stakes involved, the choice was certainly servers also include Dell OpenManage In operation, the Dell and Oracle plat-
not a matter of simply choosing the com- tools, which offer integrated deployment, form has proven to be highly effective.
panys own servers, says Miller. We monitoring, and change-management The reliability and stability has just been
built an environment where we could capabilities for updating server software, phenomenal, says Miller. For example,
simulate a full online set of users, as well operating systems, databases, and appli- Dell tracks the number of product units
as the batch processing we use to inter- cations, all from a single console. that are not manufactured due to system
face this data with numerous other appli- Dells IT group has also drawn on outagesand that figure has been
cations. The group also put the system Oracle Enterprise Manager 10g Grid reduced by more than 90 percent. At
to the test in the real world, implementing Control tools to streamline the monitoring the same time, he adds, weve seen
and evaluating it in its Malaysian opera- and management of its databases. Grid tremendous performance improvements.
tions before rolling it out globally. Control lets us manage the clustered The new environment can process sig-
The system passed these various database on multiple servers through nificantly more data than before.
tests, and today Dells supply chain one central location, says Ravee Avutu, That improvement is especially
database is run on clusters of up to six senior manager of Database Manage- evident during weekly, end-of-quarter,
Dell PowerEdge servers, depending ment Services at Dell. This has helped and end-of-month financial processing
on the region being supported, with us improve reliability and reduce man- times, which have been cut by an esti-
mirrored disaster recovery systems at agement costs. mated 40 to 50 percentor more. Basic
remote sites. That means that Dell has With the new system, Dell IT is now month-end batch jobs that used to take
redundancy at both the backup and supporting supply chain operations at eight hours now take two to three hours.
cluster levels. If a server node goes more than 10 plants around the world, In more complex cases, there can be
down, its workload can be picked up as well as several merging centers in the some 40 steps involved in closing the
instantly by another node in the cluster. U.S., where products such as computers, books and calculating cost, a process
Additionally, individual nodes can be printers, and flat panels are consolidated that used to take 13 hours or more to
brought down one at a time for mainte- into orders for more efficient shipping. complete. Those closings are now com-
nance without affecting the operation Within months, Dell plans to have all of its pleted in six hours or less. Such reduc-
of the overall systemas opposed to regions using Dell and Oracle Database tions have been key, because during
having to take the entire UNIX server 10g, giving the company a powerful, con- these closing processes, the supply
down when maintenance was required. sistent platform worldwide. chain system is shut downand so is

S3
SPECIAL ADVERTISING SECTION

manufacturing. Looking ahead, Dell


Combined Expertise, Complete Solutions
plans to use the Dell and Oracle platform
to separate the closing process from
production, so that manufacturing will
not be interrupted at all.
D ell and Oracle work together on a number of fronts to help companies take
advantage of cost-effective, powerful alternatives to legacy systems.
Experts from both companies collaborate to develop complete solutions,
Among other things, the systems says Reza Rooholamini, director of Software Development at Dell. Through these
performance helps Dell do more with efforts, Dell is able to provide pre-engineered, tested, and validated Intel-based
the same manufacturing capacity. With Oracle database solutions on Red Hat Linux and Microsoft Windows Server
fewer disruptions, we are basically 2003. We test and support the entire solution stackservers, storage, switches,
creating more capacity for those facil- operating systems, and Oracle Database software, says Rooholamini. In
ities, which they can use to build more addition, Dell Services and Oracle Consulting Services work together to provide
product, says Miller. fixed-fee and custom services designed to accelerate implementation and help
The new platform has also brought organizations make the best use of the technology.
significant benefits to Dells IT group These collaborative efforts are in keeping with the long-term visions of both
itself. With the switch to more cost- companies. Oracles Grid Computing strategy focuses on delivering flexible,
effective technology and sophisticated reliable database throughput; the dynamic provisioning of database workloads on
management tools, Dell has seen more grids of industry-standard servers; and the ability to easily add more capacity to
than $5 million in IT savings, as well as grids. Dells Scalable Enterprise vision complements that strategy with its focus
process improvements across its IT pro- on standardizing the core elements of IT infrastructure to deliver superior value,
duction, disaster recovery, and develop- and ultimately enabling customers to simplify operations, improve utilization, and
ment activities. In addition, says Miller, scale effectively.
this greater reliability has kept us from The effectiveness of the Dell and Oracle partnership is perhaps best illustrated
having to spend a lot of time trouble- by the fact that both companies use Dell and Oracle platforms in their own opera-
shooting issues, and let us keep focused tions. Oracle develops and tests much of its software on Dell PowerEdge servers
on what we need to be focused on and relies on more than 20,000 Dell Linux servers to power key elements of its
delivering new functionality to our Global IT operations. Similarly, Dell entrusts several mission-critical business
business users. systems to PowerEdge servers running Oracle Database 10gincluding not only
That ability to provide enhanced sup- the companys supply chain, but also its European order management system.
port to the business is being strength-
ened by the high level of flexibility that
is inherent in the new system. Its very to the Dell and Oracle platform, Miller Resources
easy for us to move services from one says the experience holds lessons for IT
node to another to adjust to changing departments everywhere. We ran into Dell PowerEdge servers
workloads, says John Harvill, develop- a problem with the old UNIX system that www.dell.com/PowerEdge
ment lead for Worldwide Procurement a lot of companies run intoand we Dell/EMC and Dell PowerVault storage
at Dell. For example, if a batch or found a solution that gives us the per- www.dell.com/storage
online processing server is down, we formance, flexibility, and scalability we Dell Scalable Enterprise vision
can move the work from one node to need for Dells business. Weve been able www.dell.com/enterprise
another, without interruption. Or, if the to significantly lower our IT costs at the Dell and Oracle Database 10g
company needs to add another factory, same time. And most of all, weve been www.dell.com/oracle10g
we can easily scale out to support it. In able to reliably support the Dell supply Oracle and Dell
the past, that would have involved the chain, and play a vital role in helping www.oracle.com/dell
fairly painful process of adding a whole Dell continue to meet the needs of our www.dell.com/oracle
new large UNIX server. Now we can end customers.
add a separate node and a little storage,
and were good to go.
Looking back at the decision to move

July 2006. Printed in the U.S.A. Dell, the DELL logo, OpenManage, 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 registered 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. 2006 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
Oracle Database 10g

#1 Database
In The World
Other
17.2%
Yet again...
Microsoft
16.8%
Oracle
44.6%
IBM
21.4%

2005 Worldwide Relational Database Management System


Software Revenue

Source: IDC Report, May 2006.

oracle.com
or call 1.800.ORACLE.1
#1 Database means number one in terms of software revenue (license + maintenance)
in the worldwide relational DBMS market. Source: IDC, Worldwide RDBMS 2005 Vendor.
Shares: Preliminary Results for the Top 5 Vendors Show Continued Growth (IDC #201692), May 2006.

Copyright 2006, Oracle. All rights reserved. Oracle, JD Edwards, PeopleSoft and Siebel are registered trademarks of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.
CONTENT AT YO

Handle all your unstructured data with

anaging streams of unstructured datadocuments, tends with vast quantities of documents, all of which must
spreadsheets, presentations, and image filesis a be consistently accessed, archived, and shared. The company,
problem that wont disappear soon. Organizations headquartered in Hailey, Idaho, specializes in the energy, facili-
generate and receive a relentless influx of infor- ties, and communications markets.
mation from online and offline systems, but companies that To streamline its activities, POWER Engineers is migrat-
cant manage unstructured content effectively not only suffer ing from a paper-based archiving process to an Oracle-based
productivity losses, they risk being out of compliance with content management solution that uses a single, integrated
government and industry regulations. repository for capturing, classifying, retaining, and retiring
How widespread is this problem? John K. Waters writes content based on enterprisewide policies. Our products are
in Application Development Trends (Managing Unstructured documents to our clients, says Loren Dugan, IT director at
Information, February 1, 2005) that more than 80 percent POWER Engineers. As such, we need to find a way to better
of the information that companies generate is unstructured support how theyre generated, how theyre maintained, how
and that managing it has become critical. Just about every theyre delivered to the clientsand how theyre destroyed
company is coping with an explosion of [data], he writes, when the documents reach the end of their lifecycle.
and finding ways to use that unstructured data has become a Oracles content management solution is centered around
competitive differentiator. two new database options. Oracle Content Database (Oracle
With hundreds of team members working on more than Content DB) enables customers to manage large volumes
2,000 concurrent projects, POWER Engineers constantly con- of unstructured content in a single Oracle database. Oracle

58 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
UR FINGERTIPS BY DAV ID B AUM

Oracles content management solution.

Records Database (Oracle Records DB) provides for the life-


cycle management of electronic records, so organizations can
fulfill regulatory compliance mandates in an accurate,
repeatable way.
Both of these options use Oracle Database 10g as
the repository for storing and managing unstructured
content. Customers can now use Oracle Database 10g to
store everything: data; files; metadata; text indexes; relation-
ships between objects, security, and access control, says
Andy Mendelsohn, senior vice president of Database Server
Technologies at Oracle. Everything you need to know about
your content is in there, and its all managed in a consis-
tent, auditable, highly controlled way. Unlike the proprietary
BOB ADLER/DESIGN STAFF

content management systems of the past, Oracle has created


easy-to-use Windows and Web interfaces to help organiza-
tions more easily control, secure, and manage large volumes of
structured and unstructured content.
This solution has worked for POWER Engineers. The
management and control of documents is
the backbone of our business. Using and
searching for documents and records is
much more efficient and effective with a
single repository, says Dugan.
We chose Oracles database before we
even chose the ERP [enterprise resource
planning] system. We were sold on the
fact that we needed a world-class database
to support our existing enterprise applica-
tions. Knowing that Oracles database is
the underlying fabric holding everything
together for us makes me sleep better at
night, he says.
Before selecting Oracles content man-
agement system, Dugan and his colleagues
at POWER Engineers evaluated several
third-party content management systems,
but they found them all too expensive
and difficult to usemainly because they
depend on external connections between
an Oracle database and third-party file
systems to link documents, images, and
other content.

THE RIGHT STUFF


The Oracle solution had the capabilities
they needed: It allowed the engineering
company to manage both structured data
and unstructured content in a cohesive
way. This includes not just transactional
POWER Engineers stores more than 3 million documents, many of which need to be kept for 20 years. Says the
and analytical data, but also documents, companys Loren Dugan, What I like best about Oracles system is its simplicityfrom a usability standpoint,
PDF files, all types of images, e-mail and from the ability to archive records quickly and destroy them quickly at the end of their lifecyle.
messages, URLs, HTML files, spreadsheets,
and much more. bution part of the grid. Information on these power systems
Oracles vision for enabling content management through- can become a large security issue if it were to fall into the
out the enterprise was exactly what POWER had in mind, wrong hands.
Dugan says. From that perspective, it aligned well with what The Oracle infrastructure is ideal for POWER Engineers
we wanted to do with our business. growing repository of more than three million documents,
The Oracle solution is also very secure. The security many of which need to be stored for 20 years. The company
model within Oracle Content DB is extraordinarily flexible, is scanning many of these documents into Oracle Content
with fine-grained permissions and access-control policies DB using technology from Kofax, an Oracle partner based in
specified by folder or document, together with both out-of- Irvine, California, which provides information capture solu-
the-box and customer-defined roles, says Rich Buchheim, tions for transforming paper documents into an electronic
senior director of enterprise content management strategy at form that is accessible to POWER Engineers business appli-
Oracle. Users dont need to know anything about databases, cations and databases. All approved project data, including
or do any special archiving, retrieval, or record keeping to hard-copy documents relating to each project, is stored in a
take advantage of these services. We handle all that under single repository, allowing the company to track and manage
the covers, while the users see a familiar environment of data much more easily than before.
files and folders. Additionally, thanks to Oracle Records DB, POWER
POWER Engineers appreciates that level of security. We Engineers has a sustainable solution for regulatory compli-
support more than 2,000 clients in various engineering proj- ance, which reduces the risk associated with content loss
ects, and they want to know that the information that we and legal discovery while still keeping management tasks
BOB RIVES

house for them, from their projects, is safeguarded, Dugan relatively simple. What I like best about Oracles system is its
says. For examplepower substations, or the power distri- simplicityfrom a usability standpoint, from an administra-

60 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
We estimate that the
Oracle solution is about
one-sixth the cost of
any other platform we
looked at.
Anthony Abbattista, Vice
President of Enterprise Technology, Strategy,
and Planning, Allstate Insurance Company

tion standpoint, and from the ability to


archive records quickly and destroy them
quickly at the end of their lifecycle,
Dugan says.
Many organizations can identify with
POWER Engineers issues. To keep up
with a companys growing base of infor-
mation, Oracle Content DB manages all
kinds of documents. Instead of having
file servers scattered all over their orga-
nization, users can consolidate informa-
tion into one secure, centrally managed
location, says Oracles Mendelsohn.
Meanwhile, Oracle Records DB manages
the retention lifecycle of these docu-
ments, such as moving them from
higher- to lower-cost storage devices and
managing the destruction of obsolete
Securing and managing documents inside the Oracle content management solution helps Allstate with its
documents over time. compliance initiatives, says Anthony Abbattista, the companys Vice President of Enterprise Technology,
Additionally, as more and more busi- Strategy, and Planning.
ness processes are migrated online and the
boundaries of the enterprise are extended to include custom- compatible Web services, protocol services, and Java APIs that
ers and partners, many companies need to integrate docu- can be surfaced in a wide variety of business applications,
ments into complex workflows. While this has been difficult such as the Oracle E-Business Suite, says Oracles Buchheim.
to accomplish with other content management systems, pri- A great deal of unstructured content is often associated
marily due to their proprietary interfaces, the Oracle solution with business applications, but now customers can inte-
uses Business Process Execution Language and Web services to grate everything into their business processes, he adds. For
integrate documents into standard business processes. example, a simple bill of materials has many types of content
Patricia Cupoli, the Data Management Associations attached to it: CAD/CAM drawings, URLs, documents, and so
international liaison for the Institute for Certification of forth. Using Oracle Content DB, all that content is securely
Computing Professionals, says that more people need the stored in the Oracle database for easy access, routing, and
information that unstructured data provides. It is the inte- integration with corporate business processes.
gration of structured and unstructured data that is a chal- Many Oracle partners are taking advantage of this open
lenge. . . . Business users want to browse and search across architecture to extend the Oracle content management envi-
all types of data for such opportunities as understanding ronment with content-enabled industry applications. For
customer issues, she writes in DM Review (June 22,2006). example, Open Text, a leader in enterprise content manage-
[Unstructured] data needs to be managed as a corporate ment software, is delivering content-enabled solutions that
asset to provide value. It has to be identified, captured, solve industry-specific problems. These industries include
ANDREA MANDEL

organized, and made accessible and sharable. energy, financial services, telecommunications, and insurance,
Oracle provides different ways to access unstructured and Open Text is using Oracle Content DB to deliver its next
content stored in the database. As part of its content manage- generation of solutions. Open Texts solutions also enable
ment solution, Oracle has developed a set of J2EE- and .NET- customers to access and manage content from Oracles Siebel,

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 61


Using and searching for documents and records is much more efficient and effective
with a single respository. We chose Oracles database [first].
Loren Dugan, IT Director, POWER Engineers

PeopleSoft, and JD Edwards applications, as well as future Document management and retention policies can be
Oracle Fusion Applications. applied on a folder-by-folder basis and controlled as part of
an integrated business process. For example, workflows can
LOW-COST CONTENT MANAGEMENT be associated with specific folders and automatically trig-
Integrated content management is especially important gered when events, such as document check-in or deletion,
for large, information-intensive corporations like Allstate occur in them. This allows Allstate to devise custom work-
Insurance Company, the second- flows that drive review and approval
largest property and casualty cycles, notify users when a new docu-
insurer in the United States.
SNAP SHOTS ment version has been checked in, or
In a company of Allstates size, POWER Engineers prevent the deletion of a document
there are many business drivers www.powereng.com without a managers permission.
Location: Hailey, Idaho
for a good document management Securing and managing documents
Industry: Engineering and Construction
solution, says Anthony Abbattista, Employees: 700
inside the Oracle content management
Allstates vice president of Oracle Products and Services: Oracle Content DB, Oracle solution will help us with our compli-
Enterprise Technology, Strategy and Records DB, Oracle Content Services, Oracle Real-Time ance initiatives. First of all, we want
Planning. First, theres a massive Collaboration, Oracle Projects, Oracle Financials, Oracle a secure doc store. We want to know
amount of content that weve been Human Resources, Oracle Purchasing, Oracle iLearning whos looking at documents, whos
digitizing over the last few years as creating them, and what the lifecycle
Allstate Insurance Company
we make our processes better and has been over time. Secondly, when we
www.allstate.com
more efficient. Second, we have Location: Northbrook, Illinois want to retrieve documents, a content
regulatory requirements that neces- Industry: Insurance management solution allows us to
sitate better storage, retention, and Employees: More than 40,000 tag and organize those records in the
retrieval cycles. Oracle Products and Services: Oracle Content DB, Oracle appropriate way, Abbattista says.
The Data Management Records DB, Oracle Content Services Allstate sees these technology
Associations Cupoli agrees. In this improvements as a means to improve
age of Sarbanes-Oxley and other regulations, the overwhelm- service to customers and employees. The Oracle solution
ing amount of unmanaged, unstructured data could increase already stores several hundred million documents. Over
a companys exposure, she writesespecially since the time, we hope to combine our structured and unstructured
unstructured data is not easily accessible or found. content in a way that gives us record management capabili-
Allstate was attracted to the reliability and comparative ties second to none, says Abbattista. In essence, we want to
low cost of the Oracle content management platform. We provide a taxonomy for data. While the data itself might not
estimate that the Oracle solution is about one-sixth the cost be structured, being able to find, index, search, and align it to
of any other platform we looked at, Abbattista adds. Thats our compliance initiatives is really important. Getting every-
largely because the solution builds upon our existing infra- thing into a database helps us accomplish that objective. O
structure, is extremely effective in its use of resources, and
was engineered to be a robust product. As part of our enter- David Baum (david@dbaumcomm.com) is a freelance business writer based in
prise architecture, we have been able to deploy it as a Web Santa Barbara, California.
service, making it very easy for our application programmers
to integrate it into our IT environment.
With Oracles solution, Allstate will easily be able to specify
which content should be retained, for how long, and in what READ more about
form. For example, financial statements must be retained Oracle Content DB
oracle.com/database/contentdb.html
without change for a set period of time, along with an audit-
able log that controls check-in, check-out, and change man- Oracle Records DB
oracle.com/database/recordsdb.html
agement. The company can integrate with familiar desktop
and business applications, providing a document audit trail LEARN about content management for the entire enterprise
oracle.com/technology/products/contentdb/pdf/contentdb-bus-whitepaper.pdf
that lets them quickly find vital information. Once the reten-
DOWNLOAD Oracle Database 10g
tion period has expired, the content management solution will oracle.com/technology/software/products/database/oracle10g
also administer the disposal of documents in a prescribed way.

62 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
Mobility and Business
Solutions that consider business needs,
processes, and technology while
empowering mobile professionals.

Work together. Smarter. | Nokiaforbusiness.com


Streamlining Your Processes Oracle OpenWorld
October 22-26, 2006
San Francisco, CA
Our business is about making your business simpler so that you can focus
on what you do best. We connect technology with processes to drive Bring this ad with you
when you visit us at
business impact and bring your world closer together. Boundaries dissolve.
Booth 3430 to enter
Implementations are smoother. And our support is tight because we use to win one of nine
key performance metrics to measure and deliver everything we do. Aim Higher!
Discover at Oracle OpenWorld why Genpact is the third-largest provider sweepstakes prizes.

of Oracle e-business solutions on the planet. For more information:


Steve Jolly
Vice President, Oracle Solutions
At Genpact we aim higher. steve.jolly@genpact.com
703.723.2574

genpact.com
d e v e l o p e r INDUSTRY STANDARD BY R IC H SCHWERI N

Getting Rich with Ajax


Build rich internet applications with Asynchronous JavaScript and XML.
f youve ever used Google Maps application page, such as selecting a because any Web server technology can
to get directions or Flickr to share category and expanding or collapsing a generate XML (or any markup), the core
photos, youve seen how todays form. The application user often had to Ajax technology is widely available.
dynamic Web applications blur wait for complete page refreshes several An Ajax application in its simplest
the line between traditional Web and times on a single Web pagenot very form is a standard HTML user interface
desktop applicationswith no browser sophisticated compared to todays rich with JavaScript components and func-
plug-ins or proprietary browser fea- user experience. With Ajax you get tions that interact with an HTTP server
tures required. Two of the that can generate XML or
technologies responsible for other markup dynamically,
creating these rich internet says Schalk. Any dynamic
applications are Asynchronous Web technology, ranging
JavaScript and XML, known from CGI to servletsinclud-
collectively as Ajax. ing JavaServer Faces [JSF]
Ajax is a combination of can serve as a server-side
technologies used to build Ajax technology.
highly interactive, browser-
based user interfaces (UIs), ORACLE JDEVELOPER AND AJAX
and it substantially enhances RENDER KIT
the interactivity, performance, Most application develop-
and usability of Web applica- ment technologies benefit
tions. This article outlines greatly from well-defined
the core fundamentals of development frameworks,
Ajax, what you can do with and Ajax is no exception.
Ajax today, and how Oracle One such Ajax-related
supports Ajax. framework is Oracle
much better interactivity and you can Application Development Framework
REMOTE SCRIPTING REDUX stay on the same page longer, unlike (ADF) Faces, the ADF view technol-
All hype aside, Ajax isnt really new. with traditional Web applications, ogy based on JSF. Oracle ADF Faces
In the past, it was referred to as remote where youre always navigating between provides a rich set of various JSR 127
JavaScript or remote scripting, and multiple pages, refreshing entire pages compliant UI components with built-in
the major browsers have supported it each time, explains Schalk. Ajax has functionality, such as data tables, hierar-
for several years now, explains Chris also become synonymous with rich- chical tables, and color and date pickers
Schalk, principal product manager and client architecture in general, so things that can be customized and reused in
Java evangelist for Oracles Application like sliders and accordion panels can applications. This means that develop-
Server and Development Tools divi- interact with the UI in a much more ers can take advantage of Ajax without
sion. Google Maps marks a renais- interactive way without requiring full- necessarily having extensive knowledge
sance in the user experience for Web page refreshes each time. of underlying Ajax technologies.
applications, but the technology Schalk explains that Ajax applica- Whereas most Ajax toolkits force
behind it has been out for a while. tions require two core technologies: a developers to learn JavaScript and
Ajaxin a nutshellprovides the JavaScript-enabled browser that sup- DHTML [Dynamic HTML], Oracle
ability to fetch data without the need ports XMLHttpRequest objects and an abstracts the Ajax technologies into a
for the entire page to be refreshed. HTTP server that can generate XML JavaServer Faces render kit, which is
Before Ajax and its clever uses of or other markup, including JavaScript offered as part of Oracle ADF Faces,
STEPHANIE LEE

remote scripting, Web applications Object Notation. Because all the popular says Ted Farrell, chief architect and
often required a full-page refresh browsers support JavaScript and the vice president of tools and middleware
when the user changed anything on an necessary XMLHttpRequest objects, and at Oracle. This means that developers

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 65


INDUSTRY STANDARD

Ajax Under the Hood


Figure 1 shows the key elements of a core Ajax tion first checks to see if the browser supports processes the incoming XML data containing the
application, including the following: asynchronous XMLHttpRequests and then list of stores. It then uses JavaScript document
OAn HTML page that contains UI elements that invokes the Ajax request. Because the request object model methods to dynamically update the
interact with the Ajax JavaScript functions Web page with the new list of stores.
and the Ajax JavaScript functions that <html>
In addition to responding to a button
interact with an Ajax server <head> click as in this Acme Store example, Ajax
<script>
OA server that can process XML HTTP client functions can be invoked via other
//AJAX Javascript Functions Generic HTTP
requests and generate XML XMLHttpRequest(): XML over HTTP means to improve the end-user experience.
Listener &
An Ajax application typically includes a - or -
markup (XML)
For example, as a user types individual
ActiveXObject(Microsoft.XMLHTTP):
static or generated (via JSP/JSF) HTML ... Generator characters, an Ajax request could be made
</script>
user interface page. This page usually with the onKeyUp JavaScript eventan
</head>
contains elements such as an input field, <body>
(PHP, Servlet ...) Ajax autocompletion feature can be imple-
a button, or anything that can be linked HTML UI Content mented this way. An Ajax client request
</body>
to Ajax-enabled JavaScript. Imagine, for </html> could also be made with a timer to provide
example, a fictitious e-commerce site an Ajax autosave feature that could auto-
AJAXPage.html Application Server
called the Acme Store. It has a store locator matically save all the information in a form
Figure 1: Key Ajax application elements
button that enables users to find the store to prevent accidental loss of data in the
closest to a given zip code. Clicking the event of a browser crash.
button fires an Ajax-enabled JavaScript function is made asynchronously, a callback function For more-detailed information on the pro-
that passes the zip code to an Ajax server object (processAjaxResponse) is set to fire when the grammatic workings of Ajax, see A Hype-Free
that will return a list of stores. response returns from the Ajax server object. Introduction to Ajax, at oracle.com/technology/
In this example, the Ajax JavaScript func- As the response comes in, the callback function pub/articles/schalk-ajax.html.

just need to program to the same load the Oracle ADF Faces components Foundation, Google, IBM, Laszlo
JSP/JSF APIs they already know, and and the Oracle Ajax render kit, and Systems, Mozilla, Novell, Openwave,
that the Oracle Ajax render kit will then you get a very visual, standards- Oracle, Red Hat, Yahoo!, Zend, and
generate the JavaScript, DHTML, based environment. Oracle JDeveloper Zimbra. The initiative promotes
SVG [Scalable Vector Graphics], and adapts to developers programming Ajaxs promise of universal compatibil-
XMLHttpRequest code that is sent to styles, so different developers working ity with any computer device, applica-
and from the browser. on the same team can edit exactly the tion, or operating system, and easy
Oracle will submit the Ajax render same data in a variety of ways theyre incorporation into existing and future
kit to the open source community as a most comfortable with. software programs. O
follow-up to a previous donation of JSF
components to the Apache MyFaces ORACLE BACKS OPEN AJAX Rich Schwerin (rich.schwerin@oracle.com) is a product
project. The Oracle Ajax render kit is Although Oracle recently joined the marketing manager with Oracle technology marketing.
one of four render kits Oracle offers. Open Ajax initiative to promote Ajax,
The others are HTML, which primarily Farrell explains that Oracles support
generates HTML and some JavaScript; for Ajax isnt newAjax technology
Telnet, which takes JSF components has been part of the Oracle Fusion READ more about Ajax
and renders them out into telnet; and Middleware architecture for more than oracle.com/technology/tech/java/ajax.html
adaptivepath.com/publications/essays/
Mobile, which takes components and two years. Oracle is strongly com- archives/000385.php
renders them for mobile devices. mitted to Ajax technology, and many
A Hype-Free Introduction to Ajax
Oracle ADF Faces and the Oracle of our products, including Oracle oracle.com/technology/pub/articles/schalk-ajax.html
Ajax render kits are not the only Oracle JDeveloper 10g Release 3, utilize Ajax JOIN the Ajax community
tools available for developers working standards, says Farrell. As a result, ajaxmatters.com
with Ajax. Oracle JDeveloper 10g pro- Oracle is making it easier for develop- DISCOVER Ajax development with
vides a wide spectrum of options in ers to reap the benefits of Ajax today Oracle JDeveloper
oracle.com/technology/pub/articles/
terms of what can be built with Oracle and in the next generation of applica-
nimphius-ajax.html
ADF technology, so when it comes tion development.
to Ajax, developers have choices, The initial supporting members of DOWNLOAD Oracle JDeveloper and
Oracle ADF
explains Farrell. You can program in the Open Ajax initiative include BEA, oracle.com/technology/products/jdev
JavaScript directly, or you can down- Borland, Dojo Foundation, Eclipse

66 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
& 
&"&
& 
&"&

&%!&!
&#


  



 
   


&"&& &" & &  &"&%!&$!&! " %

&&!&&& & !&%!&&

 &!&# && & &###!!  "&


Take even more control
of your database applications
with SQL Detective 3.4
The World Class Tool for Everybodys Budget

1. SQL Editor - a multi-session, multi-threaded, multi-page 1. The Object Navigator offers a new way to quickly select
utility that executes any SQL statement or script, PL/SQL DB objects, filter content, customize, save and reload scenes
Command, and most SQL*PLUS commands (a syntax (snapshots) of your Object Navigator workspace.
highlighting editor). 2. The ObjectSelector tree shows DB and repository objects
2. Select rows, select any single cell or range of cells and hierarchically, displaying object types in different colored
copy them directly into other file formats with only a few icons: disabled objects in grey, and invalid objects in red.
mouse clicks. Or, for more powerful controls, use the 3. The ContentSelector contains open objects and displays
Export utility. the active object in tabs and its information in sub-tabs.
3. Toggle column visibility or move column position using 4. Scenes are Object Navigator workspace snapshots of all
drag&drop via the unique ColumnSelector. open objects, pane sizes and positions. Re-load a scene
4. Sort data local or server side; toggle sort direction or and see frequently used objects with a single click.
sequence with a single click on any column header. Add or remove objects or navigate through scenes using
5. Execute single or multiple statements in the editor or use the SceneSelector.
Direct Execution on the output tab of your choice using 5. Customize active object display by toggling visibility of
a single click. columns, changing positions, filtering data and saving set-
6. Set the unique Smart Output to automatically select the tings for the object. Re-load the object and it will appear as
most logical output tab at statement execution. saved.
7. Re-execute any previously executed statement with a sin- 6. Table HR.EMPLOYEES has a customized visibility of
gle click using the SQL Execution History list; load pre- columns, sorted data by two columns on the server side
saved scripts from a file; or paste one from the clipboard. and an active Filter Salary >9000 in the column SALARY.

SQLDetective 3.4 is ideal for developing database objects, writing and


debugging stored programs, executing, testing and formatting SQL and
PL/SQL statements, managing table spaces and rollback segments.
Discover SQLDetective 3.4 - the world class tool for everybodys budget.
SQL Detective 3.4
www.sqldetective.com
Visit www.sqldetective.com to learn why 3.4 is one of the most powerful,
advanced and easy2use Oracle application development tools available.
d e v e l o p e r FRAMEWORKS BY STEVE MUENCH

Harnessing the Active Data Model


Going beyond basic data access with custom service methods
ne of the key benefits of using is very common in enterprise business OIn a page with a tree display that
Oracle Application Development applications, yet it takes a lot of work to shows master/detail information for a
Framework (ADF) Business develop from scratch. given node, the user selects a node. A
Components is its built-in ADF Business Components provide business service method in the applica-
support for an active data model. If youve a more generic approach that can save tion module then automatically performs
worked with Oracle Forms or other you a lot of development time. With ADF a query to retrieve master/detail infor-
4GL tools, youll find active data model Business Components, the application mation. Finally, the display updates to
support in Oracle JDeveloper using ADF module implements a base set of generic reflect the new master/detail data.
Business Components to be very famil- service methods that enable an active data If you dont use an active data model,
iar. You design your application module model. The client UI code works with the you will have to write much more code
by creating a set of master/detail view interfaces in the oracle.jbo package that in the client to handle the straight-
objects, and then you create a user inter- provide a higher-level API to query, create, forward, everyday CRUD (create, read,
face by dragging and dropping data attri- delete, modify, and save rows in the data update, and delete)style operations
butes or collections from the data model model. In addition, when you build UI described earlier. By using an Oracle
onto a visual page designer. At runtime, displays that use the Oracle ADF Model ADF application module to implement
your application pages always reflect the layer for declarative data binding, you your business service, you can spend less
current state of the data model, with no usually dont need to write any client-side time on plumbing and focus your time
additional coding required. And you can code at all to work with the active data on the business logic to make the appli-
modify the built-in data access functional- model. Your displays are bound declara- cation work as your end users expect.
ity by adding custom methods to your tively to view object instances in the data
application module, in much the same model as well as to any custom business ADDING A CUSTOM SERVICE METHOD
way you would add form-level procedures service methods you create (in case you Whenever you have code in your busi-
and functions in the Oracle Forms world. need to invoke other business service ness service layer that manipulates view
In this column, Ill describe how the functions). When the client updates data, objects, you should encapsulate that
active data model works. Ill show you your ADF Business Components auto- code within a custom method in your
how to add custom service methods to matically validate and save the changes. application modules Java class. Among
application modules as well as how to And when custom business logic changes the most common candidates for custom
use those custom methods when build- values in a row, your ADF Business methods are code that configures view
ing a user interface. Components automatically update the object properties to query the correct
display with the latest information. data to display, code that iterates over
UNDERSTANDING THE ACTIVE DATA MODEL The two simple examples that follow view object rows to return an aggregate
Without ADF Business Components in show the benefits of using an active data calculation, and code that performs any
your J2EE development toolkit, youd model within an application: kind of multistep procedural logic with
likely spend a lot of time performing OIn a project management application, one or more view objects.
many tedious tasks when building user a manager assigns a task to an employee By adopting this application best prac-
interfaces. These tasks include invoking specified by that persons employee tice, you gain several important benefits.
methods of a business service to retrieve ID. At the moment the manager makes You can more easily create multiple client
initial data, tracking the specific data that the assignment, business logic encap- pages that call the same code, and you
a client user interface (UI) has created sulated in an entity object in the busi- can easily improve your implementation
or modified, passing those data changes ness domain layer automatically checks later without affecting client interfaces.
back to service methods for validation that the assigned employee ID is valid. You can also simplify the work required
and storage, and retrieving the data Then another business rule updates the to perform regression tests on your busi-
again to ensure that the display is up- assigned date to the current date. After ness service functions. Furthermore, you
to-date with any data changes made by these changes are made, the user inter- make it possible to invoke business func-
server-side business logic. This create, face automatically shows the updated tionality from within your pages declara-
retrieve, update, delete, and save cycle assigned date. tively (as well as programmatically).

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 69


FRAMEWORKS

codeLISTING 1: A simple custom service method in an application module proxy file is called HRServiceClient and
is created in the oramag.frameworks
public void deleteCurrentEmpAndCommit() {
Row empRow = getEmpView().getCurrentRow(); .example.client subpackage.
if (empRow != null) { You can include most custom methods
empRow.remove();
in the client interface. For a method to
getDBTransaction().commit();
} be successfully added, all the types in
} its method signature must implement
the java.io.Serializable interface and any
checked exceptions must be JboException
codeLISTING 2: An application module custom interface
or a subclass. Your method can also throw
package oramag.frameworks.example.common; any unchecked exceptionjava.lang
import oracle.jbo.ApplicationModule;
public interface HRService extends ApplicationModule { .RuntimeException or subclass thereof
void deleteCurrentEmpAndCommit(); without any problems. If you add a
} method to the application module class
but dont see it in the Available list, first
check that it doesnt violate any of the
To add a custom service method to an also need to include the method in the rules above. If it seems that your added
application module in Oracle JDeveloper, application modules client interface to let method should be legal, try recompiling
simply enable a custom Java class for client UIs invoke it. In Oracle JDeveloper, the application module class and visiting
your application module, navigate to it to publish a method from your applica- the Application Module Editor again.
in the Java code editor, and type the Java tion modules custom Java class on the The online version of this article, at
code for a new public method into the client interface, use the Client Interface oracle.com/technology/oramag/oracle/
application modules Java implementa- panel of the Application Module Editor. 06-sep/o56frameworks.html, includes
tion class. Listing 1 shows a simple Select one or more desired methods from information on calling a custom service
deleteCurrentEmpAndCommit() method the Available list, and click > to move method. For more details about working
that could be used in an HRService appli- them to the Selected list. Then click OK with ADF Business Components, see
cation module. This method accesses the to save your changes. the Oracle ADF Developers Guide for
current row in an EmpView view object When you publish custom service Forms/4GL Developers manual on OTN at
instance in the data model and calls its methods on the client interface, Oracle oracle.com/technology/documentation/
remove() method to delete it. The JDeveloper creates a Java interface jdev/b25947_01. O
deleteCurrentEmpAndCommit() method with the same name as the application
then accesses the current transaction module in the common subpackage of Steve Muench is a consulting product manager for
and calls its commit() method to save your application modules package (as Oracle JDeveloper and an Oracle ACE. In his more than
the changes. illustrated in Listing 2). For an appli- 16 years at Oracle, he has developed and supported
Although a custom application cation module named HRService in Oracle tools and XML technologies and continues to
module method can accept arguments the oramag.frameworks.example package, evangelize them. Muench coauthored the Oracle ADF
if necessary, note how easy it is for the this custom interface would be named Developers Guide for Forms/4GL Developers (Oracle,
code in custom methods to refer to a HRService and reside in the oramag 2006) and wrote Building Oracle XML Applications
view object instance in the data model, .frameworks.example.common package. (OReilly Media, 2000). He shares tips and tricks on OTN
using generated accessor methods such The interface extends the base (oracle.com/technology) and in his Dive into BC4J and
as getEmpView(). By calling the ApplicationModule interface in the oracle ADF blog (radio.weblogs.com/0118231).
getCurrentRow() method on a view .jbo package, reflecting the fact that a
object (as shown in Listing 1), you can client can access all of the base function-
access the same current row for any view ality your application module inherits
object the client user interface uses. As from the ApplicationModuleImpl class.
a result, there is often no need to pass Whenever you add methods to or READ online-only article content
oracle.com/technology/oramag/oracle/06-sep/
parameters from the client if the goal is remove them from the Selected list in o56frameworks.html
simply to pass values from current rows the Client Interface panel, the corre-
READ more about Oracle
of other view object instances in the sponding service interface file gets JDeveloper 10g and Oracle ADF
same application modules data model. updated automatically. Oracle JDeveloper oracle.com/technology/products/jdev
oracle.com/technology/products/jdev/tips/
also generates a companion client proxy muench/designpatterns
PUBLISHING CUSTOM SERVICE METHODS class that is used when you deploy oracle.com/technology/documentation/jdev/
b25947_01
TO CLIENTS your application module for access by a
When you add a public custom method remote client. For the HRService applica- DOWNLOAD Oracle JDeveloper 10g
oracle.com/technology/products/jdev
to your application module class, you tion module in this example, the client

70 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
d e v e l o p e r ODP.NET BY M A R K A. WI LLI AMS

Debugging PL/SQL from .NET


Debug PL/SQL in Microsoft Visual Studio with Oracle Developer Tools.
ebugging PL/SQL code in Visual Studio environment. When you source you want to use. The datasource
Microsoft Visual Studio is as use the direct database debugging mode, is also commonly known as the tns-
easy as debugging native .NET you do not need a Visual Studio solution alias or tnsnames file entry. Click Use a
code, thanks to the PL/SQL or .NET codeyou work directly with specific user name and password. In
debugger in Oracle Developer Tools for the PL/SQL code in the database. the User name field, enter HR. In the
Visual Studio .NET (ODT). This column External application debugging. If you Password field, enter the password for
demonstrates how to set up PL/SQL need to debug the PL/SQL code that the HR user in your database. Ensure
debugging in ODT and how to create is called by a compiled binary or an that the Role list has the value Default.
and step through PL/SQL code from application that is on a non-Windows Change the proposed Connection name
within your .NET solution. platform, use the external application to HR.ORAMAG. Click Test connection
To use PL/SQL debugging in ODT, debugging mode. This mode allows to make sure the connection details are
you must have the following: you to debug PL/SQL programs that are all correctly specified. Click OK to com-
OAccess to Oracle9i Database Release 2 called by any application (built with plete the connection setup.
(9.2) or Oracle Database 10g Oracle Database client libraries 9.2 or Repeat the steps above to establish an
OOracle Data Provider for .NET (ODP later) located on any platform without additional connection for the SYSTEM
.NET) release 10.2.0.2 or later installed requiring you to modify the application. user with the SYSDBA role if you have
OODT (10.2.0.2 or later) installed Multitier application debugging. The most the privileges to do so. Name the con-
OMicrosoft Visual Studio 2005 (or powerful option during the development nection SYSTEM.ORAMAG. You will need
Microsoft Visual Studio .NET 2003) of a .NET application is the multitier this SYSTEM connection to grant the
installed application debugging mode, which appropriate debugging privileges to HR.
To step through the PL/SQL code that enables you to seamlessly debug both
accompanies this column, you must also .NET and PL/SQL code from within GRANT THE REQUIRED PRIVILEGES
have access to the HR sample schema your Visual Studio solution. You can If you are using Oracle Database 10g
included with Oracle Database. step directly from your .NET code into (10.1 or later), you or your DBA must
the PL/SQL code and back out again. grant two necessary privileges to the
THE INTEGRATED PL/SQL DEBUGGER This article shows how to use the HR user: DEBUG CONNECT SESSION
The new, integrated PL/SQL debugger multitier application debugging mode. and DEBUG ANY PROCEDURE. If you
in ODT 10.2.0.2 allows you to remain Because this mode allows you to work are using Oracle9i Database (9.2), only
inside Visual Studio for end-to-end with both .NET and PL/SQL code simul- the DEBUG ANY PROCEDURE privi-
debugging of your .NET and Oracle taneously during a debugging session, lege is required. (As an alternative to
solution. You can now debug PL/SQL Ive found it to be the most commonly the DEBUG ANY PROCEDURE privi-
code such as procedures and functions used of the three modes. lege, you can grant both DEBUG and
(both standalone and packaged), object EXECUTE permissions on the particular
methods, and triggers from within the CREATE A NEW CONNECTION PL/SQL program being debugged). With
Visual Studio environment in the same The first step to PL/SQL debugging these privileges, the HR user can debug
way you would debug your C# or VB with ODT is to create a new con- PL/SQL code from within the Visual
code. With the ODT integrated PL/SQL nection in Oracle Explorer in Visual Studio environment.
debugger, you can do traditional debug- Studio. If Oracle Explorer is not visible, To grant these privileges, use
ging tasks such as setting break points, select View -> Oracle Explorer from the DBA connection and the query
viewing and modifying variable values, the main menu. The top-level node of window provided by ODT. To open
and examining the call stack. Oracle Explorer is Data Connections. the query window, right-click the
You use the PL/SQL debugger in one To create a new connection in the SYSTEM.ORAMAG node under Data
of three modes: Data Connections node, right-click Connections in Oracle Explorer and
Direct database debugging. The direct Data Connections and select Add select Query Window. To grant the first
database debugging mode allows you Connection. In Data source name, privilege, type GRANT DEBUG CONNECT
to debug PL/SQL code directly from the select or type in the name of the data- SESSION TO HR in the query editor and

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 71


ODP.NET

click Execute. To grant the second privi- codeLISTING 1: The HR.ORAMAG PL/SQL package code
lege, delete the existing text in the query
CREATE OR REPLACE PACKAGE HR.ORAMAG IS
editor, type GRANT DEBUG ANY PROCEDURE TYPE T_IN_VALUES IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
TO HR, and click Execute. TYPE T_OUT_VALUES IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;

PROCEDURE DETERMINE_PRIMES (P_IN_VALUES IN T_IN_VALUES,


CREATE THE PL/SQL PACKAGE AND BODY P_OUT_VALUES OUT T_OUT_VALUES);
With a connection to the database created
and the necessary privileges granted, you FUNCTION IS_PRIME (P_NUMBER IN NUMBER) RETURN NUMBER;

can now create the PL/SQL example code IS_NOT_A_PRIME CONSTANT NUMBER DEFAULT 0;
used in this article to demonstrate the fea- IS_A_PRIME CONSTANT NUMBER DEFAULT 1;
tures of the PL/SQL debugger. You create
JOBS_REC jobs%rowtype;
a PL/SQL package and a PL/SQL package
body. The PL/SQL package describes and PROCEDURE ADD_NEW_JOB (P_JOB_ID IN JOBS.JOB_ID%TYPE,
exposes (or publishes) the functionality P_JOB_TITLE IN JOBS.JOB_TITLE%TYPE,
P_MIN_SALARY IN JOBS.MIN_SALARY%TYPE,
in the package body, which is where the P_MAX_SALARY IN JOBS.MAX_SALARY%TYPE);
functionality described in the package is END ORAMAG;
implemented. The PL/SQL code example
in Listings 1 and 2 determines whether
each number in a PL/SQL array is a prime Select Console Application from the Studio main menu, select Oracle
number and creates a new row in the Templates list, and give the new project Developer Tools from the Options list,
JOBS table using a PL/SQL record. a name such as SepOct2006 in the Name and then click the check box next to
To create the PL/SQL code, use field. You must add a reference to the HR.ORAMAG in the Available Database
the query window within ODT. To ODP.NET assembly to your project to Connections list. The PL/SQL debugger
display the query window, right-click access the PL/SQL code. To add the refer- may identify the code to be debugged by
the HR.ORAMAG connection node ence, select Project -> Add Reference looking for any checked connections, so
in Oracle Explorer and select Query from the Visual Studio main menu. if you have other connections defined,
Window from the context menu. Enter Select Oracle.DataAccess.dll from the ensure that they are not checked.
the text of Listing 1 in the Query Editor Component Name list. Now that the In the same location, you will see
field, and click Execute to create the reference to the ODP.NET assembly has a TCP/IP port range. During PL/SQL
package. Next, replace the text in the been added, replace the template C# code debugging, Oracle Database will connect
Query Editor field with the text of generated by Visual Studio with the code to Visual Studio via TCP/IP on a random
Listing 2 and click Execute to create the in Listing 3, available with this columns port within this range. Make sure this
package body. The Listing 1 and Listing code download and in the online version range represents open ports on your
2 code is available in the Database.sql of this column at oracle.com/technology/ machine and that they are not blocked
script included with this columns code oramag/oracle/06-sep/o56odp.html. by a firewall.
download, at oracle.com/technology/ When you create a new project, The last step in configuring ODT
oramag/oracle/06-sep/o56odp.zip. the Enable the Visual Studio hosting to debug PL/SQL alongside your .NET
You must compile the PL/SQL code process debug option is enabled by code is to enable application debug-
with debug information to enable default. Oracle recommends that you ging. To do this, select Tools -> Oracle
debugging. To do this, go to Oracle disable it, by selecting Project -> Application Debugging from the Visual
Explorer and expand the Packages Properties from the Visual Studio Studio main menu and ensure that
node. Find the ORAMAG package; main menu, clicking the Debug tab, there is a check mark next to Oracle
right-click it; and from the menu, select and unchecking Enable the Visual Application Debugging in the menu,
Compile Debug. The icon next to the Studio hosting process in the Enable indicating that it is enabled.
ORAMAG package and the individual Debuggers list. Alternatively, you
procedures and functions underneath will need to start and then terminate DEBUGGING THE PL/SQL CODE
it will change to reflect that it has been the debugger once before the PL/SQL Now that you have created the PL/SQL
compiled with debug information. debugger can work properly. code, granted the appropriate privileges
to the HR user, and created a C# project,
CREATE THE .NET PROJECT CONFIGURING THE DEBUGGER OPTIONS you can debug the code from within the
To create a new .NET project to test To debug the PL/SQL code seamlessly Visual Studio environment.
and debug the PL/SQL code, select from the Visual Studio environment, you Setting break points. You must set break
File -> New -> Project from the Visual need to configure ODT to locate the points in both your C# and PL/SQL
Studio main menu. Select Visual C# PL/SQL code to be debugged: Select code to stop the debugger during execu-
Projects from the Project Types list. Tools -> Options from the Visual tion. Set a break point in your C# code

72 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
after the ExecuteNonQuery call, which
executes the DETERMINE_PRIMES PL/
SQL procedure. In addition, set a break
point in your PL/SQL code after the
BEGIN keyword in the DETERMINE_
PRIMES procedure. If you dont set a
break point in your PL/SQL code, the
debugger will not stop inside the PL/
SQL code body. If you dont set a break
point in your C# code, the debugger
will not stop inside the C# code when
you return from the PL/SQL code. To
compile and run the solution in debug
mode, select Debug -> Start Debugging
from the Visual Studio menu. The
program will begin running, and the
ODT debugger will stop execution on
your break point in the PL/SQL code
(see Figure 1). Press the F11 key to step
through the PL/SQL code line by line.
Viewing and modifying variable values.
Figure 1: The PL/SQL debugger and array expansion during debugging While debugging the example, you can
watch the C# application set up and
call the DETERMINE_PRIMES PL/SQL
procedure, which accepts an array in
its first parameter. When working with
the PL/SQL debugger in Visual Studio,
you can see each element in an array
at debug time with the live data that
was passed to the procedure from the
.NET application. Figure 1 shows the
debugger stopped on the break point
in the DETERMINE_PRIMES PL/SQL
procedure with the passed-in array
P_IN_VALUES expanded in the Locals
window, which displays local variables.
In addition to examining types such
as arrays while debugging, you can
examine other complex types, such as
each element in a PL/SQL record type or
a user-defined type.
To continue executing the program,
press the F5 key until the Visual Studio
Figure 2: Examining a PL/SQL record type within the PL/SQL debugger debugger halts execution on the break
point you previously set in the C# code.
Set a break point in the ADD_NEW_JOB
PL/SQL procedure. You can then press
F5 once more to continue execution until
you reach the break point in the ADD_
NEW_JOB procedure. To step through
this procedure line by line, press F11.
Figure 2 illustrates drilling down into
the JOBS_REC PL/SQL record type in
the ADD_NEW_JOB stored procedure.
Figure 3: Viewing a PL/SQL call stack To view or drill down into a global

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 73


ODP.NET

codeLISTING 2: The HR.ORAMAG PL/SQL package body code PL/SQL package variable such as JOBS_
REC, you must use the Watch window,
CREATE OR REPLACE PACKAGE BODY HR.ORAMAG IS
a built-in window in Visual Studio that
PROCEDURE DETERMINE_PRIMES (P_IN_VALUES IN T_IN_VALUES,
P_OUT_VALUES OUT T_OUT_VALUES) IS allows you to examine specific program
BEGIN variables. To add JOBS_REC to the
for i in p_in_values.first..p_in_values.last
loop
Watch window, right-click JOBS_REC in
p_out_values(i) := is_prime(p_in_values(i)); the code and select Add Watch from the
end loop; context menu.
END DETERMINE_PRIMES;
View the PL/SQL call stack. Another
FUNCTION IS_PRIME (P_NUMBER IN NUMBER) RETURN NUMBER IS important PL/SQL debugging feature is
l_sqrt number := 0;
the ability to view the PL/SQL call stack.
l_sqrt_ceil number := 0;
l_divisor number := 0; By examining the call stack, you can
l_divisor_squared number := 0; determine the code path to the current
begin
if p_number < 2 then
point in the execution of your program.
return IS_NOT_A_PRIME; To view the call stack, click Visual
end if; Studios Call Stack tab, which is available
if p_number != ceil(p_number) then by default in debug mode. Figure 3 illus-
return IS_NOT_A_PRIME; trates the call stack within the IS_PRIME
end if; PL/SQL function in the package body.
if p_number = 2 then You can double-click on any level
return IS_A_PRIME; of the stack to go to the corresponding
end if;
line of code.
if mod(p_number,2) = 0 then
return IS_NOT_A_PRIME; SUMMARY
end if;
With the example code provided with
l_sqrt := sqrt(p_number); this column, you can take your own tour
l_sqrt_ceil := ceil(l_sqrt); of the PL/SQL debugger. It offers the
if l_sqrt = l_sqrt_ceil then same debugging features you are already
return IS_NOT_A_PRIME; familiar with from your experience in
end if;
debugging C# or VB code, and the ability
l_divisor := 3; to seamlessly debug both .NET and PL/
SQL code from a common environment is
for i in 1..l_sqrt_ceil
loop
a welcome addition to the tools available
l_divisor_squared := l_divisor * l_divisor; for the .NET and Oracle programmer. O
if mod(p_number,l_divisor) = 0 and l_divisor_squared < p_number then
return IS_NOT_A_PRIME; Mark A. Williams (mawilliams@cheshamdbs.com)
end if; is an Oracle ACE, an Oracle Certified Professional
DBA, and the author of Pro .NET Oracle Programming
if l_divisor_squared > p_number then
return IS_A_PRIME; (Apress, 2004).
end if;

l_divisor := l_divisor + 2;
end loop;
END IS_PRIME; READ online-only column content
oracle.com/technology/oramag/oracle/06-sep/
PROCEDURE ADD_NEW_JOB (P_JOB_ID IN JOBS.JOB_ID%TYPE, o56odp.html
P_JOB_TITLE IN JOBS.JOB_TITLE%TYPE,
P_MIN_SALARY IN JOBS.MIN_SALARY%TYPE, VISIT the .NET Developer Center
P_MAX_SALARY IN JOBS.MAX_SALARY%TYPE) IS oracle.com/technology/dotnet
BEGIN DOWNLOAD
jobs_rec.job_id := p_job_id;
the sample code for this column
jobs_rec.job_title := p_job_title; oracle.com/technology/oramag/oracle/06-sep/
jobs_rec.min_salary := p_min_salary; o56odp.zip
jobs_rec.max_salary := p_max_salary;
ODP.NET 10g
insert into jobs (job_id, job_title, min_salary, max_salary) oracle.com/technology/tech/windows/odpnet
values (jobs_rec.job_id, jobs_rec.job_title, jobs_rec.min_salary, jobs_rec.max_salary); Oracle Developer Tools for Visual
END ADD_NEW_JOB;
Studio .NET
oracle.com/technology/tech/dotnet/tools
END ORAMAG;

74 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
d e v e l o p e r BROWSER-BASED BY R A J MATTAMAL

Express Lockdown
Lock down your Oracle Application Express applications.
hen talking about Oracle 11. Click Create on the last page of you from having to create this plumb-
Application Express, I find the wizard to confirm your decision to ing, so you can focus on securing the
that the concept of authen- create an application. areas that need securing.
tication is easy to explain. To start the Access Control Page
Access control within applications, STEP 2: TAKE A QUICK LOOK AT wizard, do the following:
however, seems to be a bit more difficult THE APPLICATION 1. In the developer toolbar at the
to convey. With that in mind, Id like to At this point, you can see the application bottom of the screen, click Create.
walk through the process of creating an in action by clicking Run Application 2. Select New Page, and click Next.
application and then locking it down so on the success page. Log in, using the 3. Select Access Control, and click Next.
that only privileged users can perform same username and password you used 4. Accept the default administration
specific operations. In doing so, Ill take to log in to your Oracle Application page number, 8, and click Next.
advantage of a feature newly added to Express workspace. The application is a 5. Select Use an existing tab set and
Oracle Application Express in version simple one that allows you to view and create a new tab within the existing
2.2: the Access Control Page wizard. update the employee data you uploaded tab set.
in step 1. Clicking the Analysis tab 6. Select TS1 (Employees, Analyze) in
STEP 1: SET UP THE TABLES provides you with access to visual and the Tab Set field.
To get started, create (or have your tabular breakdowns of the number of 7. Enter Administration in the New Tab
administrator create) a new work- employees in each department. Label field, and click Next.
space. Once logged in to your Oracle 8. Click Finish.
Application Express workspace, create STEP 3: ADD AN ACCESS CONTROL PAGE If you click Run Page on the success
an application based on the employee Traditionally, you would secure the page of the wizard, youll see the access
data in the provided spreadsheet: application by first defining a set of control page you just added to your
1. Click Application Builder. authorization schemes that determine application. The page is divided into
2. Click Create. if the current user has specific privi- two regions, one where you set the
3. Select Create from Spreadsheet, and leges based on some rules. With those Access Mode of the application and
click Next. schemes defined, the next step would another where you populate a list of
4. Select Upload file, and click Next. be to flag the various parts of the appli- privileged users.
5. Click Browse; select the om_ cation, including user interface compo-
employees.csv script, available with the nents and application logic, to render STEP 4: IDENTIFY PRIVILEGED USERS
sample application code for this article at or process only after they pass those Select the second Access Mode option,
oracle.com/technology/oramag/oracle/ security checks. Restricted Access, and click Set
06-sep/o56browser.zip; and click Next. Oracle Application Express 2.2, Application Mode. In the Access
6. Enter OM_EMPLOYEES into the Table however, introduces a much more Control region, youll specify which
Name field, and click Next. streamlined approach to creating and users have what privileges. To keep
7. Enter Employee and Employees into managing those authorization schemes, things simple, the users of your appli-
the Singular Name and Plural Names with the Access Control Page wizard. cation will be the employees in the
fields, respectively. Using this wizard creates two tables om_employees.csv spreadsheet. Within
8. Click Next. in your application schema as well as that list, give JCHEN administrative
9. Select DEPARTMENT_ID in the a screen for managing the values they privileges, AFRIPP edit privileges, and
Summary by Column field, and click store. The wizard also creates three LPOPP view privileges.
Next. authorization schemes that check those 1. Click Add User.
10. Click Next again on each of the sub- tables to see two things: (1) the access 2. Enter JCHEN in the Username
sequent pages, accepting the defaults, mode of the application overall and (2) field, and select Administrator in the
to complete the wizard. (On the User whether the current user has been iden- Privilege column.
Interface page, select a theme other than tified as having Admin, Edit, or View 3. Click Apply Changes, and then click
the defaultTheme 1, if you like.) privileges. Using this new wizard saves Add User.

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 75


BROWSER-BASED

4. Enter AFRIPP in the Username field, codeLISTING 1: om_custom_auth function


and select Edit in the Privilege column. create or replace function om_custom_auth (
5. Click Apply Changes, and then click p_username in VARCHAR2,
Add User. p_password in VARCHAR2)
return BOOLEAN is
6. Enter LPOPP in the Username field, begin
and select View in the Privilege column. for c1 in (select 1
7. Click Apply Changes. from om_employees
where upper(userid) = p_username
As mentioned earlier, the completed and upper(last_name) = upper(p_password))
application will treat employees in the loop
spreadsheet as users. To implement this return true;
end loop;
rule, you must add a tiny authentication return false;
function to the current authentication end;
scheme. First, lets create the function: /

1. Click the Logout link, to log out of


your application (because youll have represents the numeric ID associated control administrator in the
to log in as a privileged employee when with your current application. Authorization Scheme field of the
youve completed step 5). 2. Click Edit Attributes. page-level attributes page for page 8.
2. Enter the Application Express devel- 3. Click Security. Hide the tab from nonadministrators
opment environment by clicking Edit 4. Select access control view in the by applying the administrators autho-
Application in the developer toolbar at Authorization Scheme field in the rization scheme to the Administration
the bottom of the screen. Authorization section. tab of your application.
3. Click the SQL Workshop tab. 5. Click Apply Changes. Your application is now secure, and
4. Click SQL Commands. The next level of common applica- users are able to perform only actions
5. Copy and paste the function code from tion actions involves editing. Only users for which they have privileges. Test
Listing 1 into the SQL Command field. with at least Edit privileges should be it out by logging in (credentials are
6. Click Run. able to edit or delete data, so allow only now userid/last_name) as each of the
With the function created, now make Edit- and Administrator-privileged users three users you empowered, and youll
the current authentication scheme use it: to see the Edit icon when viewing the see that they can do only what youve
1. Click the Application Builder tab. report on page 1 of your application: allowed them to do. O
2. Click OM_EMPLOYEES. 1. Click the Edit icon (resembling a
3. Click Shared Components. pencil over a pad) in the upper right Raj Mattamal is a vice president at Sumner
4. Click Authentication Schemes. corner of the screen to navigate to the Technologies. Before joining Sumner, he was with
5. Click Application Express Current. definition of page 101. Oracle for more than 10 years, helping customers in a
6. In the Authentication Function field 2. Enter 1 in the Page field, and click Go. wide range of industries deliver Web-based solutions
in the Login Processing section, replace 3. Click the Report link in the Regions on Oracle Database. Mattamal has developed Web
the -BUILTIN- value by entering return section. systems for various lines of business, and his main
om_custom_auth. 4. In the list of report columns, click the focus recently has been Web application development
7. Click Apply Changes. Edit icon in the ID row. using Oracle Application Express.
5. Select access control edit in the
STEP 5: APPLY AUTHORIZATION RULES TO Authorization Scheme field in the
APPLICATION COMPONENTS Authorization section.
The final step is to apply the autho- 6. Click Apply Changes.
LEARN more about
rization schemes in the appropriate In the same way you hid the Edit Oracle Application Express
places. The first step in this process is to icon for unprivileged users earlier, apply oracle.com/technology/products/database/
application_express
decide which users should be allowed the access control edit scheme to the oracle.com/technology/products/database/
to perform what actions. The easiest Create button on page 1. Then apply application_express/documentation.html
approach Ive found is to start with the the same rule to the whole of page 2, REQUEST a free Oracle Application
most-common application actions and by selecting access control edit in Express workspace
apex.oracle.com
privileges. So to start with, allow users the Authorization Scheme field of the
to access the application only if theyve page-level attributes page. DOWNLOAD
been granted at least View privileges: The last steps for securing your Oracle Application Express
oracle.com/technology/products/database/
1. In the breadcrumb links in the upper application are to allow only admin- application_express/download.html
left corner of the Application Express istrators to access the Administration sample application code
development environment screen, click page, page 8, and its associated tab. oracle.com/technology/oramag/oracle/06-sep/
o56browser.zip
the Application nnn link, where nnn Restrict this access by selecting access

76 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
Oracle Fusion Middleware

Industry Leaders Rely On


Oracle Identity Management

Oracle Fusion Middleware


Hot-Pluggable. Comprehensive.

Single Sign-on Access Management Identity Administration User Provisioning Federated Identity
Virtual Directory LDAP Directory Web Services Management

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

Copyright 2006, Oracle. All rights reserved. Oracle, JD Edwards, PeopleSoft and Siebel are registered trademarks of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.
d e v e l o p e r PL/SQL PRACTICES BY STEVEN FEUERSTEI N

On Generics and Traces


Best practices for string procedures and tracing
hat is the best way to write ties, even as you write the program. 2. To work with a list of strings, you need
generic procedures to work on O Cut your losses. You might find as you to declare the list based on an already-
strings and/or lists of strings? For start to build your generic program defined collection type. You can use a
example, what is the best way to that it is tougher than you expected. type offered by Oracle Database, such as
write a function to parse a delimited string into Listen to your intuition. If the little DBMS_SQL.VARCHAR2S or DBMS_SQL
a collection, with a specific separator? I assume voice inside your head is saying, Yes, I .VARCHAR2A. You can also define your
that function parameters should be declared as know I can do this. . . but is it really all own type and then reference that type.
VARCHAR2(with no length) and internal strings that important? you should think seri- 3. You should use CLOBs only when
should be declared as VARCHAR2(32767). What ously about abandoning your generic you need to manipulate strings longer
is the best way of representing a list of strings approach and instead write a more spe- than 32,767 bytes or characters in
in the most generic way possible? Also, is there cific program from scratch that meets length. Assuming, then, that you are
a good way to extend the code to support CLOBs your current requirements. running Oracle9i Database Release 2,
(character large objects) as well, without dupli- Having said all that, your question you should generally be able to use the
cating the code (to cover every possible combi- covers three areas: same code for many of your functions,
nation of parameter types)? 1. How should you declare internal because the newer versions of Oracle
Sounds as if you like to write generic, stringslocal variables inside your Database allow you to execute built-in
reusable code. So do I. It is intellectually generic functions? When declaring string functions natively against CLOBs,
stimulating and can save me lots of time, a local variable of type VARCHAR2, as well as VARCHAR2 string variables.
because I can avoid writing the same you must specify a maximum length. Lets take a look at each of these
things over and over again. The question then becomes how best answers in more detail.
On the other hand, it is also impor- to do this. Should you declare it as Avoiding hard-coded VARCHAR2 constraints.
tant to recognize that a generic program VARCHAR2(32767), because that is A program I often use to demonstrate
is usually more complex and harder to the largest possible value? Will that use various best-practices techniques is a
test than more-specific variations on an excessive amounts of memory, if only simple variant on SUBSTR, which I
algorithm. Working out requirements for small string values are manipulated? call BETWNSTR. The built-in SUBSTR
something that should be truly generic is 2. What is the best way to declare and function takes a string, the starting loca-
never as easy as it seems at first glance. work with lists of strings? tion, and the number of characters,
Furthermore, we often venture unknow- 3. How can you best write programs to and returns that portion of the string.
ingly into the dangerous terrain of work with both VARCHAR2 variables You can get more information about
overdesign. Gee, why dont I make this and CLOBs? SUBSTR from the Oracle Database SQL
program really flexible by adding five Here are my answers, followed by Reference, at download.oracle.com/docs/
other parameters to modify the default examples and additional explanations: cd/B19306_01/server.102/b14200/
behavior of the program? 1. The best way to declare your local functions162.htm#SQLRF06114.
Before I answer your questions, Id like variables is to define a subtype that is SUBSTR is dandy, but I often have
to offer some high-level advice on your based on the biggest possible string size the starting and ending locations in a
next generic utility creation adventure: in a shared utility package. All of your string and want the substring between
ODont overdesign. Be very practical string functions can then reference that those two positions. To use SUBSTR, I
about what you need now and what you subtype when declaring local variables. must calculate the number of characters
can clearly see you will need in the near If you create a single package contain- between start and end. I find that I always
future. Dont daydream about possible ing all your string functions, you can forget the relevant formula (end start +
requirements as you design your program. declare the subtype in that package. And 1). So I put together an itty-bitty function
ODont overcode. Make sure that you you will not use up any more memory to remember the formula, as follows:
hew closely to the design you have than needed, because Oracle Database
settled on. Again, when you are writing allocates memory as needed for string FUNCTION betwnstr (
generic code, you will find yourself variables declared with a length of string_in IN VARCHAR2
thinking about more and more possibili- 32,767 characters. , start_in IN PLS_INTEGER

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 79


PL/SQL PRACTICES

, end_in IN PLS_INTEGER codeLISTING 1: string_pkg with BETWNSTR


)
CREATE OR REPLACE PACKAGE string_pkg
RETURN VARCHAR2 IS
IS SUBTYPE maxvarchar2_t IS VARCHAR2 ( 32767 );
l_return VARCHAR2(32767);
FUNCTION betwnstr (
BEGIN string_in IN VARCHAR2
l_return := SUBSTR ( string_in, , start_in IN PLS_INTEGER
start_in, end_in - start_in + 1 ); , end_in IN PLS_INTEGER
)
RETURN l_return; RETURN VARCHAR2;
END betwnstr; END string_pkg;
/

Here are two notes to make about CREATE OR REPLACE PACKAGE BODY string_pkg
this implementation: IS
OI have declared a local variable, but I
FUNCTION betwnstr (
string_in IN VARCHAR2
dont really need it here. It is present to , start_in IN PLS_INTEGER
demonstrate the best practice of how to , end_in IN PLS_INTEGER
best declare such variables. )
RETURN VARCHAR2
OThis is a simplified implementation of IS
BETWNSTR to demonstrate best prac- l_return maxvarchar2_t;
tices. It does not handle all the cases a BEGIN
l_return := SUBSTR ( string_in
real between string utility should. , start_in
Now I am going to move the , end_in - start_in + 1 );
BETWNSTR function into a package and RETURN l_return;
END betwnstr;
move the hard-coded local variable dec- END string_pkg;
laration, as shown in Listing 1. /
Notice that I have now declared the
following subtype:
duced in Oracle9i Database Release string_in IN VARCHAR2
SUBTYPE maxvarchar2_t IS 2). You can also define your own type, , start_in IN PLS_INTEGER
VARCHAR2 ( 32767 ); again perhaps in your centralized string , end_in IN PLS_INTEGER
package, and then reference that type. )
I use that subtype in my declaration Suppose I want to add a function RETURN VARCHAR2;
of the local variable. to my string package that accepts a list
It is true that I do still have a hard- of elements separated by a delimiter (a FUNCTION list_to_collection (
coding of the number 32767 in my comma-delimited list, or a string such string_in IN VARCHAR2
package, but it appears only once and as that returned by DBMS_UTILITY , delim_in IN VARCHAR2
serves as the single point of definition .FORMAT_CALL_STACK, delimited by DEFAULT ,
for the new, biggest VARCHAR2- new-line characters) and returns a col- )
allowed datatype. lection whose elements are those strings RETURN DBMS_SQL.varchar2a;
If Oracle Database increases the between delimiters. I can take one of END string_pkg;
maximum size for a VARCHAR2, I can two approaches: /
make a change in one place and recom- 1. Use a collection type defined by
pile string_pkg and all programs that Oracle Database and available automati- 2. Alternatively, I define my own collec-
use this package, and then my applica- cally to all programmers, such as those tion type in the package and then use
tion will be able to immediately take found in the DBMS_SQL package. Here that in the function interface:
advantage of the expanded datatype. is an example of the function header for
Work with lists of strings. As noted above, this approach: CREATE OR REPLACE PACKAGE
to work with a list of strings you need string_pkg
to declare the list based on an already- CREATE OR REPLACE PACKAGE IS
defined collection type. You can use string_pkg SUBTYPE maxvarchar2_t IS
a type offered by Oracle Database, IS VARCHAR2 ( 32767 );
such as DBMS_SQL.VARCHAR2S SUBTYPE maxvarchar2_t
(maximum of 255 characters per string) IS VARCHAR2 ( 32767 ); TYPE maxvarchar2_aat IS
or DBMS_SQL.VARCHAR2A (maximum TABLE OF maxvarchar2_t
of 32,767 characters per string, intro- FUNCTION betwnstr ( INDEX BY PLS_INTEGER;

80 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
FUNCTION betwnstr ( Lets just use CLOBs as the standard you run your application and gather
string_in IN VARCHAR2 datatype for string functions. I could information about its real-time behavior.
, start_in IN PLS_INTEGER then build a VARCHAR2 skin that Afterwards, you examine the trace to
, end_in IN PLS_INTEGER simply invokes the CLOB-based algo- identify bugs. When you debug, you
) rithm for its implementation. Given the step through the code line by line and
RETURN VARCHAR2; performance characteristics of CLOB, examine the goings-on in your code.
however, it is recommended that you This is a crucial technique for identify-
FUNCTION list_to_collection ( use CLOB only when youre sure that ing the cause of a bug.
string_in IN VARCHAR2 VARCHAR2 (32767) is not big enough. There are a variety of tracing scenarios:
, delim_in IN VARCHAR2 For additional discussion on this ODevelopment tracing. I want to trace
DEFAULT , topic, refer to the online version of the execution of my program during
) this column at oracle.com/technology/ development, to understand, test, and
RETURN maxvarchar2_aat; oramag/oracle/06-sep/o56plsql.html. debug the code thoroughly. I neither want
END string_pkg; nor need tracing in my production code.
/ WHATS THE DBMS_OUTPUT OVERHEAD? OProduction tracing. I need to include

What is the overhead involved in having optional tracing in my production appli-


The first option (using DBMS_SQL DBMS_OUTPUT calls in production code where cation. If a user reports a problem, I can
.VARCHAR2A) saves some typing and serveroutput is turned off? Ive read about how then turn on tracing within production,
can be used with programs that are to selectively call or compile code, but I cant gather the necessary information, and
already using collections based on the find anything that says, Yes, there is consider- then perform my analysis.
DBMS_SQL type. The downside is that able overhead in making DBMS_OUTPUT calls; OTracing flexibility. In some simple

it introduces an external dependency in conditionally skip them where possible or No, cases, I can rely solely on DBMS_
this package. Because the DBMS_SQL there is minimal impact; dont go to the effort OUTPUT to display tracing data to
package is present in all versions of of trying to conditionally make the calls. the screen. In many other situations,
Oracle Database, its hard to get too What a fine and very practical ques- however, I will want to use a different
worried about this external dependency. tion you ask. repository for my trace. For example,
Generally, though, you are better off Before I answer it, Ill briefly describe suppose my program runs for hours. I
avoiding such dependencies or at least how DBMS_OUTPUT works and want to see the trace information while
minimizing the number of dependen- provide some information about tracing. the program continues to execute. So
cies in a program. The second option (a How DBMS_OUTPUT works. The I will write information out to a table
collection type defined directly within DBMS_OUTPUT package provides a using an autonomous transaction proce-
the package specification) allows you to procedure (PUT_LINE) that writes text dure. I can then see the output immedi-
define a completely self-contained utility. out to a buffer (an array in memory) if ately from another session.
Functions for VARCHAR2s and CLOBs. In output has been enabled. Host environ- As with every other aspect of your
Oracle9i Database Release 2 and above, ments like SQL*Plus can then call the application design, you should think
you can in many circumstances treat DBMS_OUTPUT.GET_LINES procedure through the kinds of tracing you need
VARCHAR2 and CLOB interchangeably. to retrieve the contents of the buffer and and the repositories in which the trace
Visit the PL/SQL Semantics for LOBs display those strings through some kind information must be written before you
section in the Oracle Database Application of visual interface. DBMS_OUTPUT is, begin writing your application.
Developers GuideLarge Objects, at therefore, only useful when executing Testing. To answer your question, I put
download.oracle.com/docs/cd/B19306_ code from an environment that can/will together a scriptlocated in Listing 2
01/appdev.102/b14249/adlob_plsql_ display output from this built-in package. of the online version of this column,
semantics.htm#i1008068, to get more DBMS_OUTPUT is certainly the sim- at oracle.com/technology/oramag/
details about how Oracle Database will plest and most direct means of seeing oracle/06-sep/o56plsql.htmlto test the
implicitly convert between VARCHAR2 what is happening inside your PL/SQL overhead of calling DBMS_OUTPUT
and CLOB, and how you can apply subprogram. The need for the host envi- .PUT_LINE. I explain it and the results
many of the standard VARCHAR2 built- ronment to extract data from the buffer, in a bit more detail below, but I will first
in functions directly to CLOBs. however, limits the usefulness of DBMS_ offer my conclusions to you:
Because CLOBs can be much larger OUTPUT as a tracing mechanism. 1. The impact on application performance
than VARCHAR2 strings, you can think Tracing issues and requirements. Tracing is (here comes one of those classically
of a VARCHAR2 variable as being (logi- generally refers to implementing a infuriating answers) application-specific.
cally) a subtype of CLOB. So a function mechanism in your code so that you That is, a call to DBMS_OUTPUT.PUT_
that works with CLOBs should also can trace or watch what is going on in LINE all by itself doesnt incur very much
work with VARCHAR2s. your code. Tracing is different, by the overhead. (For example, over 100,000
One might then be tempted to say, way, from debugging. When you trace, invocations of my test code, calling

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 81


PL/SQL PRACTICES

Test case Length of string Number of calls Elapsed time course). Now, one issue I believe you
(hundredths of seconds) will currently encounter when using lots
DBMS_OUTPUT enabled 10 1000000 767 of conditional compilation statements
DBMS_OUTPUT disabled 10 1000000 392 in your code ($IF, $ENDIF, $ERROR,
DBMS_OUTPUT enabled 10000 1000000 984 $$ccflagname, and so on) is that the code
DBMS_OUTPUT disabled 10000 1000000 739 is harder to read. I expect, however, that
DBMS_OUTPUT disabled NULL 1000000 61 the various PL/SQL editors, such as Toad,
Call to N/A 1000000 11 SQL Navigator, PL/SQL Developer, and
DBMS_OUTPUT.PUT_LINE the latest entryOracle SQL Developer,
removed
will soon offer toggles to hide this logic
Table 1: Analysis of DBMS_OUTPUT.PUTLINE overhead as you are editing and reviewing your
code, greatly improving that situation.
DBMS_OUTPUT.PUT_LINE and passing a date and a Boolean. This may be more OIf you are not yet running Oracle

NULL, took .61 seconds. Removing the work than is usually performed when Database 10g Release 2, also consider
call to this built-in reduced execution time you call DBMS_OUTPUT.PUT_LINE, enclosing trace calls inside your own
to .11 seconds.) What can take a lot of but it is surely not outside the realm of conditional statement, which might look
time is evaluating the value that you pass normal tracing activity. like this:
to the single string parameter of DBMS_ OI called DBMS_OUTPUT.PUT_LINE

OUTPUT.PUT_LINE. More on this below. with the following variations: output IF trace_pkg.trace_enabled
2. The more important question when enabled, output disabled, pass just a THEN
examining the issue of tracing in ones NULL, and dont call DBMS_OUTPUT trace_pkg.trace (l_my_data);
code is, What is the best way to do it, .PUT_LINE at all. END IF;
from the standpoint of readability and Table 1 shows what I found after
maintainability of code? (Hey, this running this script. With this approach, the argument(s)
is, after all, a best-practices column!) As you can see, there is certainly passed to the trace mechanism will be
Generally, ones code is more readable overhead associated with calling DBMS_ evaluated only if tracing is enabled.
when it is not littered with lots of calls to OUTPUT.PUT_LINE, and the scale of You can, therefore, keep to an absolute
trace programs. that overhead depends very much on the minimum the overhead your application
The results are in. Having said all that, amount of work it takes to construct and will experience when tracing is disabled. O
lets now take a look at the results of pass the string to DBMS_OUTPUT.PUT_
my analysis of the overhead of calling LINE. Is this overhead considerable or Steven Feuerstein (steven@stevenfeuerstein.com)
DBMS_OUTPUT.PUT_LINE. I will then minimal? I cannot answer that question is a PL/SQL evangelist, having written 10 books on
conclude with more best-practice for youit depends on your application. the subject, including Oracle PL/SQL Programming
oriented comments. Tracing recommendations. I offer the fol- and Oracle PL/SQL Best Practices (OReilly Media).
To construct the script to analyze lowing tracing recommendations: Feuerstein serves as a senior technology advisor for
overhead in DBMS_OUTPUT.PUT_LINE ONever call DBMS_OUTPUT.PUT_LINE Quest Software and is currently building a unit testing
in Listing 2, here is the approach I took: directly in your application code. Create a tool for PL/SQL programs (www.unit-test.com).
OI used consecutive calls to DBMS_ wrapper that accepts the application data
UTILITY.GET_CPU_TIME to compute you want to see in your trace and then
elapsed time down to the hundredth of a calls DBMS_OUTPUT.PUT_LINE. Why
second (you can substitute this program do I suggest this? Prior to Oracle Database
with DBMS_UTILITY.GET_TIME if you 10g, DBMS_OUTPUT.PUT_LINE will READ online-only column content
are not yet running Oracle Database 10g). raise an error if you try to display strings oracle.com/technology/oramag/oracle/06-sep/
o56plsql.html
OI recorded the results in a database with more than 255 characters (that limit
table, because DBMS_OUTPUT must has now been raised to 32K). Also, you READ more
Best Practice PL/SQL
be disabled for at least part of this may want to send trace information to a oracle.com/technology/pub/columns/plsql
script and is, in any case, the focus of file or table rather than the screen, and a Feuerstein
our analysis and should not be used to direct call to DBMS_OUTPUT.PUT_LINE www.oreillynet.com/cs/catalog/view/au/344
record and display results. forces you to sacrifice that flexibility. LEARN more about
OFor most of the tests, I passed a OIf you are running Oracle Database conditional compilation
oracle.com/technology/tech/pl_sql/pdf/
string that requires some effort to con- 10g Release 2, take advantage of condi- Plsql_Conditional_Compilation.pdf
struct each time the built-in is called. tional compilation so that you can easily
DOWNLOAD Oracle Database 10g
Specifically, I used RPAD to create a compile out the trace calls when your oracle.com/technology/software/products/database/
string of a length specified at the time program goes into production (unless oracle10g

the test is run, and concatenated to that you need production-time tracing, of

82 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
t e c h n o l o g y PARTITIONING BY A RU P N A N DA

Partition Decisions
Understand your partition choices, and choose the best partition and key for your data.
he partitioning feature of Oracle scheme and the number of partitions, create table sales (
Database enables you to partition from the DBA_PART_TABLES view. You product_id number,
stored data segments such as tables can get the details of each partition, such trans_amt number,
and indexes for easier manage- as the name and the upper boundary sales_dt date,
ment and improved performance. Oracle of the partition, from the DBA_TAB_ state_code varchar2(2)
Database provides many types of parti- PARTITIONS view, as shown in Listing )
tioning options, including partition by list (state_code)
range, list, hash, range/list, (
and range/hash. The real partition ct values (CT),
challenge for database partition ca values (CA),
designers is not creating partition def values (default)
the partitioned objects; );
rather, its the decision that
precedes itwhat type of Sometimes it may not be pos-
partitioning to use and what sible to define the ranges ofor
column to use as a partition a set of known values foreach
key. This article describes partition. A typical example is a
how to choose the best par- table, CUST, containing custom-
titioning strategy, including ers, with the CUST_ID column
the best partition type and as the primary key. The CUST_
best partition key column. ID value is an incrementally
increasing but rather meaning-
A QUICK PRIMER less number, so a range partition
Partitioning, in a nutshell, based on these values may also
stores a data segment such as a table 2. Note that this view shows the high be rather meaningless.
as multiple segments while retaining a value of a partition, which is actually the You can partition the CUST table
logically monolithic structure. The most lower boundary of the next partition. by using hash, where a hash function
popular partitioning option is range par- A partition holds records up to but not is applied to the partition key of each
titioning, with which you define a range including its high value. For instance, row and, based on the output, the row
of values for each partition. For example, the upper boundary of the Y05Q2 is placed in an appropriate partition.
in a table of customer transactions called partition is 2005-07-01 00:00:00, All the hash partitions hold an equal
TRANS, you can range-partition it by meaning this partition contains values number of rows. Here is how you create
using the TRANS_DT (transaction date) up to 2005-06-30 23:59:59. Records the CUST table with four hash partitions:
column as the partition key so that a with TRANS_DT values of 2005-07-01
first partition holds records in which the 00:00:00 and later will be stored in the create table cust (
TRANS_DT value is between January 1 next partitionY05Q3. cust_id number,
and March 31, 2005; the second partition In the TRANS table example, you cust_name varchar2(20)
holds records in which the TRANS_DT could find a column that can be grouped )
value is between April 1 and June 30; and into ranges of values such as dates, but it partition by hash (cust_id)
so on. Listing 1 creates this table. may not be possible to group all columns partitions 4;
After youve created the TRANS that way. For example, a column holding
table, you will seeif you query the names of U.S. states contains a finite and INDEXES
DBA_TABLES dictionary viewthat the small number of values. This type of You can create two types of indexes on
PARTITIONED column value is YES. You column calls for list partitioning, in which partitioned tables:
GIL ADAMS

can get further details about the parti- the partitions hold discrete values instead Local. The index is partitioned in exactly
tioning, such as the type of partitioning of ranges. Here is an example: the same way as the base table. For

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 83


PARTITIONING

instance, you can create a local index on codeLISTING 1: Script for creating the TRANS table with range partitions
the TRANS_AMOUNT column of the
create table trans (
TRANS table as follows: trans_id number,
trans_dt date,
create index in_trans_01 product_code number,
store_id number,
on trans (trans_amount) trans_amount number(12,2)
local; )
partition by range (trans_dt)
(
This creates a range-partitioned index, partition y05q1 values less than (to_date(04/01/2005,mm/dd/yyyy)) tablespace y05q1,
on the TRANS_DT column, the same way partition y05q2 values less than (to_date(07/01/2005,mm/dd/yyyy)) tablespace y05q2,
the TRANS table is partitioned. All the partition y05q3 values less than (to_date(10/01/2005,mm/dd/yyyy)) tablespace y05q3,
partition y05q4 values less than (to_date(01/01/2006,mm/dd/yyyy)) tablespace y05q4,
index entries for a specific partition, such partition pmax values less than (maxvalue) tablespace users
as Y05Q1, will exist only inside the cor- )
responding partition of the index.
Global. The index can span all partitions
codeLISTING 2: TRANS partition details
in the base table. For example, suppose
col partition_position format 999 head Pos
there is a primary key on TRANS, on the
col partition_name format a10 head Name
TRANS_ID column. The primary key col high_value format a50 head High Value
can be anywhere inside the table, across select partition_position, partition_name, high_value
from dba_tab_partitions
all the partitions. In this case, the index
where table_name = TRANS order by 1;
entries of a partition of the table may
exist outside the corresponding partition Pos Name High Value
------- ------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
of the index. For such a situation, create
1 Y05Q1 TO_DATE( 2005-04-01 00:00:00, SYYYY-MM-DD HH24:MI:SS, NLS_CALENDAR=GRE...
a global index, as follows: 2 Y05Q2 TO_DATE( 2005-07-01 00:00:00, SYYYY-MM-DD HH24:MI:SS, NLS_CALENDAR=GRE...
3 Y05Q3 TO_DATE( 2005-10-01 00:00:00, SYYYY-MM-DD HH24:MI:SS, NLS_CALENDAR=GRE...
4 Y05Q4 TO_DATE( 2006-01-01 00:00:00, SYYYY-MM-DD HH24:MI:SS, NLS_CALENDAR=GRE...
alter table trans
5 PMAX MAXVALUE
add constraint pk_trans
primary key (trans_id)
using index global; codeLISTING 3: Script for creating the ADVERTISING table
create table advertising (
THE PARTITION DECISION ad_id number,
Now that youve seen the basics of parti- ad_dt date,
product_code number,
tioning, here comes the tough part: How
ad_cost number,
do you decide on the type and columns channel varchar2(10)
used for partitioning? Your choice of )
partition by range (ad_dt)
partitioning has to address key partition-
(
ing objectives for manageability and partition y05q1 values less than (to_date(04/01/2005,mm/dd/yyyy)) tablespace y05q1,
performance. How you partition will partition y05q2 values less than (to_date(07/01/2005,mm/dd/yyyy)) tablespace y05q2,
partition y05q3 values less than (to_date(10/01/2005,mm/dd/yyyy)) tablespace y05q3,
be based on the priorities you assign to
partition y05q4 values less than (to_date(01/01/2006,mm/dd/yyyy)) tablespace y05q4,
your objectives. I break down the objec- partition pmax values less than (maxvalue) tablespace y05q4
tives into the following categories: );
OPerformance

OEase of administration

OData purge limit the scope of the search. Consider min(trans_amount)


OData archiving a scenario involving the TRANS table. from trans
OData movement Suppose everyone is interested in the where product_code = 8
OData lifecycle management aggregate sales figures but product man- group by trans_dt;
OEfficiency of backup agers (PMs) are interested in the sales
Performance. This, of course, is the figures of their respective products only, You can improve the performance of
primary objective of many partition- not in all the sales. So the PM of product this query by building an index on the
ing schemes. Performance advantages code 8 issues this SQL statement PRODUCT_CODE column, but it will
come from partition pruning or parti- several times an hour: increase the execution time on INSERT
tionwise joins, so if your queries do a statements and might also adversely influ-
lot of full-table scans, partitioning will select trans_dt, sum(trans_amount), avg ence the execution plans of other queries
help immensely, because partitions will (trans_amount), max(trans_amount), on the same table. Therefore, it might

84 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
be judicious not to create the codeLISTING 4: Results from hash-partitioned tables
index but to list-partition the PLAN_TABLE_OUTPUT
table on the PRODUCT_CODE ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
column, with one partition per Plan hash value: 2303213640
PRODUCT_CODE value. The ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PMs query will still do a full- | Id | Operation | Name | Rows | Bytes | Cost (%CPU) | Time | Pstart | Pstop |
table scan, but this time the ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 78 | 11 (19) | 00:00:01 | | |
scope of the full table is actu- | 1 | HASH GROUP BY | | 1 | 78 | 11 (19) | 00:00:01 | | |
ally the partition, not the entire | * 2 | HASH JOIN | | 1 | 78 | 10 (10) | 00:00:01 | | |
table. This enhances the perfor- | 3 | PARTITION HASH SINGLE | | 1 | 39 | 4 (0) | 00:00:01 | 4 | 4 |
|* 4 | TABLE ACCESS FULL | TRANS | 1 | 39 | 4 (0) | 00:00:01 | 4 | 4 |
mance immensely. Recall that | 5 | PARTITION HASH SINGLE | | 1 | 39 | 5 (0) | 00:00:01 | 4 | 4 |
list partitioning was preferred |* 6 | TABLE ACCESS FULL | ADVERTISING | 1 | 39 | 5 (0) | 00:00:01 | 4 | 4 |
over range partitioning in this ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
case because the PRODUCT_ Predicate Information (identified by operation id):
CODE is a discrete value. --------------------------------------------------------------------------------------------------------------------
If two rather large tables
2 - access(T.TRANS_ID=A.AD_ID AND T.PRODUCT_CODE=A.PRODUCT_CODE)
are often joined together in 4 - filter(T.TRANS_ID=101)
SQL statements, consider the 6 - filter(A.AD_ID=101)
potential benefits of partition-
wise joins. Suppose you have
another table called ADVERTISING, in the same way. In this case, range parti- product_code number,
which contains detailed information tioning on the columns being joined and store_id number,
on the companys advertising. Here is a partitioning on the same ranges is the trans_amount number(12,2)
description of the ADVERTISING table: most effective. Listing 3 shows the script )
for creating the ADVERTISING table with partition by hash (trans_id)
Name Null? Type this range partition. (
------------ ----------- -------------------------------- Similarly, if you often join these partition trans1 tablespace trans1,
AD_ID NUMBER tables on the PRODUCT_CODE partition trans2 tablespace trans2,
AD_DT DATE column, then that column should be a partition trans3 tablespace trans3,
PRODUCT_CODE NUMBER strong candidate for the partition key. partition trans4 tablespace trans4
AD_COST NUMBER And because product code values are in )
CHANNEL VARCHAR2(10) a specific set, the partitioning scheme /
should be list partitioning. create table advertising (
Suppose that PMs often query the If the ADVERTISING and TRANS ad_id number,
ADVERTISING and TRANS tables to see tables are not joined on some specific ad_dt date,
the revenue vis--vis various advertising date or date fields but rather on some product_code number,
amounts spent to check the effectiveness sequential number such as the AD_ID or ad_cost number,
of the advertising campaigns. Here is the TRANS_ID value, you should reevaluate channel varchar2(10)
query they use to find out the revenue the partitioning strategy. Because records )
numbers and advertising expenditures have unique values in those columns, you partition by hash (ad_id)
for a specific period for each product: cant choose a list-partitioning strategy (
(which requires discrete, finite values). partition ad1 tablespace ad1,
select t.product_code, sum(trans_amount), A range partition would be ineffective, partition ad2 tablespace ad2,
sum(ad_cost) because the sequentially increasing values partition ad3 tablespace ad3,
from trans t, advertising a in these two columns would require partition ad4 tablespace ad4
where t.trans_dt = a.ad_dt numerous partitions to be created that )
and t.product_code = a.product_code might not have any specific meaning. /
and trans_dt between 1-aug-05 and In such a case, the hash partition After the tables are created, you can
1-sep-05 is useful. It makes sure the records are use the DBMS_XPLAN tool to check to
group by t.product_code; evenly spread over all the partitions. You make sure the partitions are used prop-
can create the tables as follows: erly. First you have to generate a plan for
Here the tables are joined on the the PMs product query:
columns TRANS_DT and AD_DT, both create table trans (
date columns. To enhance performance, trans_id number, explain plan for
you might decide to partition both tables trans_dt date, select t.product_code, sum(trans_amount),

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 85


PARTITIONING

sum(ad_cost) across tablespaces, export tables, delete unusable when you drop the partition.
from trans t, advertising a data, and so onone partition at a time. To prevent the index from becoming
where t.trans_id = a.ad_id Data purge. Suppose that TRANS is a unusable, in Oracle9i Database and later,
and t.trans_id = 101 table in an OLTP system and you want you can update the global index when
and t.product_code = a.product_code to remove old records, such as the you drop the partition. The following
group by t.product_code; ones with TRANS_DT values in the drops the Y05Q1 partition and updates
first quarter of 2005. The conventional the global index:
Then you can see what the plan method is to delete the records, but dele-
looks like: tion causes undo and redo information alter table trans drop partition y05q1
to be generated, which impacts database update global indexes;
select * from table(dbms_xplan.display); performance. This can also be a very
time-consuming operation, depending If you decide not to do an automatic
The output is shown in Listing 4. on the volume of data being purged. An index update as part of dropping the
Note the PSTART and PSTOP columns, alternative to deleting records is to drop a partition, that global index will become
which indicate which table partitions partition. In the case of the TRANS table, unusable. You will have to rebuild the
were selected. For the line with Id=4, if you decided to drop all the records index to make it usable, but you can
the values of these columns are 4 and from the first quarter of 2005, youd issue defer that task to later, after youve
4, which indicates that the fourth parti- dropped other partitions or done some
tion of the TRANS table was selected, alter table trans drop partition y05q1; other operations.
where the record with TRANS_ID=101 You can manually rebuild the global
resides. Note the line with Id=6, Thats it. After you execute this index on TRANS, by using
which shows that the optimizer will command, the partition disappears from
search only partition 4 of the joined the table. This statement does not actu- alter index pk_trans rebuild;
ADVERTISING table as well, not the ally delete anything from the table; it
entire table. In the absence of an index, merely updates the data dictionary to The online version of this article
this hash-partition strategy makes the indicate that the Y05Q1 partition no at oracle.com/technology/oramag/
PMs query much faster than a full-table longer belongs to the table. Because no oracle/06-sep/o56partition.html contin-
scan on the entire table, for both the data moves (except a small amount of ues the partition priority discussion.
TRANS and ADVERTISING tables. information in the data dictionary), undo
Ease of administration. Partitioning is and redo generation is minimal, making CONCLUSION
always introduced as a technique for the operation extremely fast compared The most important decisions in parti-
managing large objects. Although its to the deletion approach and virtually tion design are choosing the partitioning
applicable to objects of any size, the impact-free in terms of performance. scheme and the column(s) to partition
advantages are more obvious in large Note that a regular DELETE statement on, and these decisions depend heavily
tables. When you rebuild an index deletes table rows from wherever they on the priorities of potentially conflicting
on a nonpartitioned table, your only exist, leaving empty spaces in the blocks. objectives. Once you are familiar with
option is to build the entire index in Although the table data may be sparse, the advantages of each type of partition-
one statement. If the table is partitioned, the overall size of the segment may still ing scheme, you will be able to choose
however, you can rebuild partitions of be large and have a very high high-water the scheme and column(s) appropriate
local indexes one at a time. For instance, mark (HWM, the largest size the table has for your partitioning needs. O
in the case of the TRANS table, you ever occupied). A high HWM slows full-
can rebuild the Y05Q1 partition of the table scans, because Oracle Database has Arup Nanda (arup@proligence.com) has been an
IN_TRANS_01 local index: to search up to the HWM, even if there Oracle DBA for more than 12 years, handling all
are no records to be found. When a parti- aspects of database administrationfrom performance
alter index in_trans_01 rebuild partition tion is dropped, the segment itself is gone tuning to security and disaster recovery. He is a
y05q1; and the HWM of other segments remains coauthor of PL/SQL for DBAs (OReilly Media, 2005). He
the same, so the query runs faster. was Oracle Magazines DBA of the Year in 2003.
as opposed to rebuilding the IN_ While the DELETE statement deletes
TRANS_01 index as a whole. The the rows, the corresponding index entries
advantage of this approach is even more are also adjusted, causing fragmentation,
pronounced when you load a specific which may impact performance. READ online-only article content
oracle.com/technology/oramag/oracle/06-sep/
partition and the index needs to be When a partition is dropped, the o56partition.html
rebuilt only on that partition, not on the corresponding partition of any local READ more about partitioning
rest of the index. In addition to doing index is also dropped. If there is a global oracle.com/solutions/business_intelligence/
partitioning.html
index rebuilds, you can also move tables index, however, that index can become

86 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
t e c h n o l o g y SEARCH BY RON HARDMAN

Secure Search Returns Best Results


Oracle Secure Enterprise Search provides the right intranet search.
f your company is like most, data One way to tie many of these data- To address these issues, Oracle has
some meant to be shared and some sources together and make everything introduced a product called Oracle
notis stored in multiple locations. accessible is to use a crawler. Search Secure Enterprise Search, and this
Those locations may include companies such as Google and article provides a feature overview of the
OFile servers Ask.com enable people to access the product, discusses its architecture, and
OE-mail messages and attachments internet by using a Web crawler to walks through the process of crawling
OERP modules and indexing a datasource.
OAn intranet

OConfiguration manage- ALL ABOUT SEARCH


ment repositories Oracle Secure Enterprise
OMultiple databases Search can index all of the
OApplications with existing datasources discussed and
search interfaces more than 100 document
ODocument archives formats, including PDF,
ODesktop/laptop computers Microsoft Word, Excel,
The only thing more HTML, and XML. It sup-
difficult than keeping ports indexing and search-
track of all these different ing in all major languages
datasources is finding one and all through the same
specific piece of data in search interface.
them when you need it. I Oracle Secure Enterprise
recently challenged a group Search supports administra-
of students at a university tion through a Web page
to find that days lunch created during installation.
menu. I knew that it was From it you can create data-
available for everyone to see on the uni- discover content, index it, and make it sources, set crawler preferences (such
versity intranet, and the printed copy available through simple search screens. as the number of crawler agents to run
of the menu was in my hand. They had The crawler can go through most of the and the maximum size for documents),
five minutes to find it onlineplenty datasources mentioned above. With a modify the types of documents supported
of time for an entire class to find one single interface, everyone can find what in each datasource, set the crawling
current document. they needalmost. schedule, and modify security settings.
Only two people found it. The reason: There are a couple of problems As soon as you create a datasource, a
The students had too many poten- with the crawler solution. The first is schedule is automatically created for one
tial datasources to look through, and that access to some data is restricted. or more Java crawlers to discover new
the storage location for the menu had This means that certain intranet sites, documents or pages. When the indexing
recently changed. This task challenged document repositories, databases, and is complete, users can search through
30 students who had grown up with applications require authentication and all of the datasources simultaneously
computers and were computer science restrict access based on assigned respon- or individually through the user search
majors to look for five minutes for some- sibility. You wouldnt want everyone in page. The search page is also created
PHIL SALTONSTALL/GETTY IMAGES

thing very specific. How much more the organization to have access to all during installation. The easy-to-use inter-
difficult is it for people in your organiza- of your HR records, for example. The face requires no customization, and it is
tion who perhaps did not grow up with second problem is that not all data- also possible to use query APIs to embed
computers or may even be somewhat sources can be crawled. Some applica- search results in your own custom appli-
intimidated by them to have to look for tions have closed datasources, and the cation. The default search page includes
something about a general topic saved only way to access their data is through basic and advanced interfaces, with the
somewhere roughly two years ago? their own search interfaces. advanced search allowing for attribute-

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 87


SEARCH

Search supplies the following APIs: includes a Web services API that allows
OWeb services: Build custom applica- you to connect custom interfaces. If the
tions that search indexes. default administration or query applica-
OCrawler plug-in: Use your own custom tions cannot be used in your applica-
crawler. tion, the Web services API will provide
OQuery-time authorization: Determine full administration, basic query, and
whether users should have access to advanced query capabilities to your
search results at query time. custom code.
OURL rewriter: Filter links extracted All components are bundled in a
by the crawler prior to placement in single install disk or download file, and
the queue. no additional software configuration is
Figure 1: Datasources
Analytics. The administration interface required to get up and running. It took
specific and source-specific searches. includes reports showing common search me less than 20 minutes to download
Synchronization can be scheduled terms, common misspellings, click- Oracle Secure Enterprise Search to my
at any interval to ensure that current through rates, and other statistics that can laptop and install it, and only another 10
information is presented to users. For be used to improve the user experience. to define my first datasource, complete
example, if a crawler is scheduled to run Google Desktop Enterprise Integration. You the crawl, and perform my first search.
on a particular datasource every night can integrate Oracle Secure Enterprise Enterprise searches with advanced
at 11 p.m., the crawler will examine the Search with Google Desktop Enterprise. security requirements and multiple data-
source files at that time to see which Users can then search their desktops in source configurations obviously take more
changes, if any, have been made since the interface in which they search other time. Any extra configuration time will be
the last crawl. Any new or modified file servers. a product of corporate security require-
pages or documents are indexed. ments and the number of datasources to
Other major features include the ARCHITECTURE be configured. Keep in mind that Oracle
following: Oracle Secure Enterprise Search includes Secure Enterprise Search can be up and
Connections to secure datasources. Oracle Database 10g Enterprise Edition running for a portion of your datasources
Oracle provides secure source types, (Release 10.1.0.5.0) and installs with while others are still being added.
or connectors, to several known data- the Oracle Text option, Oracles full-text
sources and also supports the develop- retrieval technology, which it uses for TRY IT OUT
ment of custom connectors to additional indexing and search operations. It does To get started, download the software
datasources. Figure 1 shows a list of not require execution of SQL scripts from OTN (oracle.com/technology/
available connectors. for index creation or maintenance. All software/products/search) for your plat-
More connectors are in development, administration is handled through the form, unzip the file, and run Setup.exe in
so refer to the online documentation administration user interface, which exe- the top-level directory.
(oracle.com/technology/documentation/ cutes in an Oracle Containers for J2EE When the installation is finished, two
ses1016.html) for the most recent con- (OC4J) runtime environment. URLs are provided for the user search
nector list. In addition to the database and the page and administration login interface.
Authentication. Oracle Secure Enterprise administration interface, Oracle Secure They should look similar to the following:
Search supports LDAP and synchroni- Enterprise Search includes a multi- O//localhost:7777/search/query/search

zation with ActiveDirectory, so it aligns threaded Java crawler. The crawler is O//localhost:7777/search/admin/control/

with your existing user management governed by settings in the administra- login.jsp
system. Employing existing user per- tion interface, including its scheduled To try out Oracle Secure Enterprise
missions/roles, it can restrict access to execution time and frequency, number Search, configure the crawler to index a
datasources according to your existing of threads to run, crawler time-out, URL and try the search. The following
security policies. maximum document size, and the depth steps guide you through this process:
Federated search. Some datasources of the crawl (the number of nested 1. Open the administration login page
may already have their own indexing links to follow beyond the defined in your browser, and enter the password
mechanism. Instead of reindexing them, datasource). It also allows you or your you created during installation.
you can use a federated search to pass administrator to set exclusion rules. For 2. The Information message on the
terms from Oracle Secure Enterprise example, if an intranet site references General page shows that no datasources
Search to the other repository and then sites on the internet that you do not are defined. Click the Sources subtab
get the results back from it for display. want to include, you can add the sites as at the top of the screen, as shown in
The search user does not know that the exclusions. These links are not indexed Figure 2.
search was executed elsewhere. and not included in searches. 3. Select Web as the source type and
Java API. Oracle Secure Enterprise Oracle Secure Enterprise Search also click Create, as shown in Figure 3.

88 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
still find what they need by clicking the
Cached link. The Links hyperlink shows
pages or documents that are referenced
(linked) by this page as well as pages or
documents that link to this page.
The result also shows how many doc-
ument matches there were for the search
terms. In this case, there are two results.

SECURE SEARCHING
The preceding Web source example
shows how you might index an inter-
net or corporate intranet site and make
it available for everyone to search. No
authentication is required, and there are
no restrictions regarding who has access
to the data. Of course, not all datasources
Figure 2: General page
are meant to be open for public access.
Some datasources require authenti-
cation prior to allowing access. Oracle
Database is a great example of this. To
index a column in an HR database, for
example, the crawler must be able to get
access to that source, and this requires
Figure 3: Select datasource authentication information.
To set up a sample CONTACTS
database for access from Oracle Secure
Enterprise Search, download the sample
data for this article at oracle.com/
technology/oramag/oracle/06-sep/
o56oses.zip, and follow these steps:
1. Log in to the Oracle Secure Enterprise
Search database as SYS or SYSTEM, and
run the Create_User.sql script.
2. Connect to the CONTACTS user (the
Figure 4: Source creation
default password is oracle).
4. Enter Code as the source name. The display what was indexed. The crawler 3. To create the MY_PRIVATE_
starting URL can be virtually anything, statistics for this datasource appear. CONTACT_LIST table and insert the
including your organizations internet 8. Click the Search link (not the Search seed data, run the Create_Table.sql script.
site. For this example, point to a code tab) at the top right of the Administration With the sample CONTACTS schema
repository for a PL/SQL programming page to open the search window. Figure in place on your local machine, create a
book, www.peakretrieval.com/plsql/ 5 shows the default search interface. new datasource on the Administration
plsql_programming_index.html, as 9. Perform a search for CTXSYS screen, as follows:
shown in Figure 4. .CONTEXT (an Oracle Text index type). 1. Click the Sources subtab, select Table
5. Click Create. A schedule is created The search is case-insensitive by default. as the source type, and click Create.
automatically, and crawling starts Figure 6 shows the search results. 2. Enter the following information to
immediately. 10. Click any link to display the indexed define the source:
6. To view the status of the crawl, click documenta script in this casefrom a. Source Name: Contacts
the Schedules link at the top of the its original source. Note that the key- b. Database Host Name: localhost
page. The Code schedule is shown, words are highlighted in the search c. TCP Port Number: 1521
along with the status of the last (or results and that the familiar Cached d.SID: SES
current) crawl. Click the link in the and Links options are available for e. User Name: CONTACTS
Status column to view the log. each record returned. If users find that f. Password: ORACLE
7. Click the Statistics link (the pencil the documents they were looking for g. Leave the Delete Passwords After
icon in the Statistics column) to have been moved or deleted, they can Crawl box unchecked.

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 89


SEARCH

Secure Enterprise Search database, so


unauthorized users will not be able to
misuse any indexes and gain access to
secure information. After setting up the
two datasources described in this article,
however, there is still no restriction
Figure 5: Search interface
on who can search either datasource.
Oracle provides three ways to filter
search results according to individual or
group permissions, including a central-
ized scheme (such as Oracle Internet
Directory [OID], UNIX accounts, or
Microsoft Active Directory), access
control list, and query-time authoriza-
tion. For information on using these
security schemes, refer to the links in
the Next Steps box, below.

CONCLUSION
For many years, Oracle Database has
been the leader in the database market,
Figure 6: Search results storing ever-increasing amounts of data.
Oracle Secure Enterprise Search now
h. Schema: CONTACTS 2. Enter PL/SQL as the source group extends data management beyond the
i. Table Name: MY_PRIVATE_CONTACT_ name, and click Proceed to Step 2. database to every archive, file server,
LIST 3. Choose Code from the list of avail- e-mail server, and desktop in the enter-
j. Primary Key Column: CONTACT_ID able sources, and click the >> button. prise. It is not just about storing more
k.Content Column: NOTES 4. Click Finish in the upper right corner. data but also about managing and
l. Content Type: Plain text To create the source group for the extracting relevant information when
3. Click Create. Contacts datasource, do the following: users need it, and thats the need Oracle
4. Click the Schedules subtab, and 1. Click Create. Secure Enterprise Search fills. O
click the link in the Status column for 2. Enter Contacts as the source group
the Contacts datasource. name, and click Proceed to Step 2. Ron Hardman works with Academy District 20
5. Click the Statistics icon next to the 3. Choose Table from the list, and schools in Colorado Springs, Colorado, and is the
Contacts source and log filename. click Go. founder of 5-Mile Software, a software company
6. Confirm that 10 documents are 4. Choose Contacts from the list of avail- delivering assessment and back-office solutions for
indexed, and click Finish. able sources, and click the >> button. K12 schools. He is coauthor of Oracle Database 10g
The crawler indexed the secure 5. Click Finish in the upper right corner. PL/SQL Programming and Expert PL/SQL, both from
datasource you just set up (Contacts) Click the Search link at the top right Oracle Press, and is an Oracle ACE.
because you provided the username side of the Administration page, and note
and password to the crawler. the datasources listed above the search
Provided you also set up the Web box. By default, the search is against
source example (named Code), there all source groups. To search only the
are two datasources indexed now. With Contacts source group, click Contacts, READ more about Oracle Secure
the current configuration, clicking the enter the search term diesel, and click Enterprise Search
Search link at the top right side of the Search. Oracle Secure Enterprise Search oracle.com/technology/products/oses
oracle.com/technology/documentation/ses1016.html
Administration page brings up a single returns the matching record from the
search screen for both sources. Contacts datasource. DOWNLOAD
Oracle Secure Enterprise Search
To separate the sources, click the Note that the source group is dis- oracle.com/technology/software/products/search
Search tab in the Administration played with the result set. Click the sample data for this article
window and click the Source Groups source group name to browse the rest of oracle.com/technology/oramag/oracle/06-sep/
o56oses.zip
subtab. Perform the following steps to the contents in the source group.
create two source groups, starting with The indexes created by Oracle DISCUSS Oracle Secure
the Code datasource created earlier: Secure Enterprise Search for all data- Enterprise Search
forums.oracle.com/forums/forum.jspa?forumID=262
1. Click Create. sources are secured in the Oracle

90 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
Accelerate Past the Competition
Oracle 10gRAC in10 Days

Oracle and Egenerateamed to:



Build your Grid
> Agile > Virtual > Highly
Available 
Eliminate complexity

Leverage Return on Investment
> Lower TCO > Egenera 
Optimize combined technologies

Migrate faster to RAC and 10g

Increase capacity without capital expenditure

The Oracle-on-Egenera Accelerator with Egenera To learn more about the Accelerator program go to:
Processing Blade modules based on Intel Xeon www.egenera.com/reg/accelerate.html
processor technology, expedites the implementation
and deployment of the Oracle RAC or Oracle 10g
grid software infrastructure onto the Egenera One TeamOne SolutionOne Price.
BladeFrame system. Oracle-on-Egenera.
Already field-proven with existing joint customers, this
exclusive, Oracle, turnkey solution minimizes risk while
speeding time to market for grid-based applications.

Copyright 2005 Egenera, Inc. All rights reserved. Egenera, Egenera stylized logos and BladeFrame are registered trademarks of Egenera, Inc. in the United States and/or other countries.
Intel Xeon Processors and Intel Inside are registered trademarks of Intel. Oracle and Oracle certified partner are trademarks or registered trademarks of Oracle.

 

 % !    


  $   " " 
 !   !    
    !     
 " "     
     # 
    
!   !  " #   !
  !   "    
  " 
!  #   
    #   !!
 %
$  



     

 

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

On ROWNUM and Limiting Results


Our technologist explains how ROWNUM works and how to make it work for you.
his issues Ask Tom column is a little mented only after it is assigned, which ROWNUM = 1
different from the typical column. I is why the following query will never for x in
receive many questions about how to return a row: ( select * from emp )
perform top-N and pagination queries loop
in Oracle Database, so I decided to provide select * exit when NOT(ROWNUM <= 5)
an excerpt from the book Effective Oracle from t OUTPUT record to temp
by Design (Oracle Press, 2003) in hopes of where ROWNUM > 1; ROWNUM = ROWNUM+1
answering a lot of these questions with this end loop
one column. Note that the content here has Because ROWNUM > 1 is not true SORT TEMP
been modified from the original to fit the for the first row, ROWNUM does not
space and format. advance to 2. Hence, no ROWNUM It gets the first five records and
value ever gets to be greater than 1. then sorts them. A query with WHERE
LIMITING RESULT SETS Consider a query with this structure: ROWNUM = 5 or WHERE ROWNUM
ROWNUM is a magic column in Oracle > 5 doesnt make sense. This is because
Database that gets many people into select , ROWNUM a ROWNUM value is assigned to a row
trouble. When you learn what it is and from t during the predicate evaluation and gets
how it works, however, it can be very where <where clause> incremented only after a row passes the
useful. I use it for two main things: group by <columns> WHERE clause.
OTo perform top-N processing. This is having <having clause> Here is the correct version of this
similar to using the LIMIT clause, avail- order by <columns>; query:
able in some other databases.
OTo paginate through a query, typi- Think of it as being processed in this select *
cally in a stateless environment such order: from
as the Web. I use this technique on the 1. The FROM/WHERE clause goes first. ( select *
asktom.oracle.com Web site. 2. ROWNUM is assigned and incre- from emp
Ill take a look at each of these uses mented to each output row from the order by sal desc )
after I review how ROWNUM works. FROM/WHERE clause. where ROWNUM <= 5;
3. SELECT is applied.
HOW ROWNUM WORKS 4. GROUP BY is applied. This version will sort EMP by salary
ROWNUM is a pseudocolumn (not a 5. HAVING is applied. descending and then return the first
real column) that is available in a query. 6. ORDER BY is applied. five records it encounters (the top-five
ROWNUM will be assigned the numbers That is why a query in the following records). As youll see in the top-N
1, 2, 3, 4, N, where N is the number form is almost certainly an error: discussion coming up shortly, Oracle
of rows in the set ROWNUM is used Database doesnt really sort the entire
with. A ROWNUM value is not assigned select * result setit is smarter than thatbut
permanently to a row (this is a common from emp conceptually that is what takes place.
misconception). A row in a table does not where ROWNUM <= 5
have a number; you cannot ask for row 5 order by sal desc; TOP-N QUERY PROCESSING WITH ROWNUM
from a tablethere is no such thing. In a top-N query, you are generally
Also confusing to many people The intention was most likely to get interested in taking some complex
is when a ROWNUM value is actu- the five highest-paid peoplea top-N query, sorting it, and then retrieving
ally assigned. A ROWNUM value is query. What the query will return is five just the first N rows (the top N rows).
assigned to a row after it passes the random records (the first five the query ROWNUM has a top-N optimization
predicate phase of the query but before happens to hit), sorted by salary. The that facilitates this type of query. You
the query does any sorting or aggrega- procedural pseudocode for this query is can use ROWNUM to avoid a massive
tion. Also, a ROWNUM value is incre- as follows: sort of large sets. Ill discuss how it

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 93


ASK TOM

does this conceptually and then look at codeLISTING 1: Top-N query using ROWNUM
an example.
select *
Suppose you have a query in this from
form: (select *
from t
order by id)
select where rownum <= 10
from
call count cpu elapsed disk query current rows
where
-------- ------------- ----------- ------------------ --------------- ---------------- ---------------- ----------
order by columns; Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 2 0.04 0.04 0 949 0 10
Assume that this query returns a lot
-------- ------------- ----------- ------------------ --------------- ---------------- ---------------- ----------
of data: thousands, hundreds of thou- total 4 0.04 0.04 0 949 0 10
sands, or more rows. However, you are
Rows Row Source Operation
interested only in the top Nsay the
----------------- ---------------------------------------------------
top 10 or top 100. There are two ways 10 COUNT STOPKEY (cr=949 pr=0 pw=0 time=46997 us)
to approach this: 10 VIEW (cr=949 pr=0 pw=0 time=46979 us)
10 SORT ORDER BY STOPKEY (cr=949 pr=0 pw=0 time=46961 us)
OHave the client application run that
100000 TABLE ACCESS FULL T (cr=949 pr=0 pw=0 time=400066 us)
query and fetch just the first N rows.
OUse that query as an inline view, and

use ROWNUM to limit the results, as codeLISTING 2: Do-it-yourself query without ROWNUM
in SELECT * FROM (your_query_here)
SELECT * FROM T ORDER BY ID
WHERE ROWNUM <= N. call count cpu elapsed disk query current rows
The second approach is by far -------- ------------- ----------- ------------------ --------------- ---------------- ---------------- ----------
superior to the first, for two reasons. Parse 1 0.00 0.00 0 0 0 0
Execute 2 0.00 0.00 0 0 0 0
The lesser of the two reasons is that it Fetch 10 0.35 0.40 155 949 6 10
requires less work by the client, because -------- ------------- ----------- ------------------ --------------- ---------------- ---------------- ----------
the database takes care of limiting the total 13 0.36 0.40 155 949 6 10

result set. The more important reason Rows Row Source Operation
is the special processing the database ----------------- ---------------------------------------------------
can do to give you just the top N rows. 10 SORT ORDER BY (cr=949 pr=155 pw=891 time=401610 us)
100000 TABLE ACCESS FULL T (cr=949 pr=0 pw=0 time=400060 us)
Using the top-N query means that you
have given the database extra informa- Elapsed times include waiting for the following events:
tion. You have told it, Im interested
Event waited on Times
only in getting N rows; Ill never con- --------------------------------------------------- ------------
sider the rest. Now, that doesnt sound direct path write temp 33
too earth-shattering until you think direct path read temp 5

about sortinghow sorts work and


what the server would need to do. Lets
walk through the two approaches with a 2. Sort T by UNINDEXED_COLUMN. select *
sample query: This is a full sort. from
3. Presumably run out of sort area (select *
select * memory and need to swap temporary from t
from t extents to disk. order by unindexed_column)
order by unindexed_column; 4. Merge the temporary extents back to where ROWNUM < :N;
get the first 10 records when they are
Now, assume that T is a big table, requested. In this case, Oracle Database will
with more than one million records, and 5. Clean up (release) the temporary take these steps:
each record is fatsay, 100 or more extents as you are finished with them. 1. Run a full-table scan on T, as before
bytes. Also assume that UNINDEXED_ Now, that is a lot of I/O. Oracle (you cannot avoid this step).
COLUMN is, as its name implies, a Database has most likely copied the 2. In an array of :N elements (presum-
column that is not indexed. And assume entire table into TEMP and written it ably in memory this time), sort only
that you are interested in getting just the out, just to get the first 10 rows. :N rows.
first 10 rows. Oracle Database would do Next, lets look at what Oracle The first N rows will populate this
the following: Database can do conceptually with a array of rows in sorted order. When
1. Run a full-table scan on T. top-N query: the N +1 row is fetched, it will be

94 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
compared to the last row in the array. select * from ( your_query_goes_here,
If it would go into slot N +1 in the from t with order by ) a
array, it gets thrown out. Otherwise, it order by id; where ROWNUM <=
is added to this array and sorted and l_rec c%rowtype; :MAX_ROW_TO_FETCH )
one of the existing rows is discarded. begin where rnum >= :MIN_ROW_TO_FETCH;
Your sort area holds N rows maximum, open c;
so instead of sorting one million rows, for i in 1 .. 10 where
you sort N rows. loop OFIRST_ROWS(N) tells the optimizer,

This seemingly small detail of using fetch c into l_rec; Hey, Im interested in getting the first
an array concept and sorting just N rows exit when c%notfound; rows, and Ill get N of them as fast as
can lead to huge gains in performance end loop; possible.
and resource usage. It takes a lot less close c; O:MAX_ROW_TO_FETCH is set to the

RAM to sort 10 rows than it does to sort end; last row of the result set to fetchif you
one million rows (not to mention TEMP / wanted rows 50 to 60 of the result set,
space usage). you would set this to 60.
Using the following table T, you can After executing this query, you can O:MIN_ROW_TO_FETCH is set to the

see that although both approaches get use TKPROF to format the resulting first row of the result set to fetch, so to
the same results, they use radically dif- trace file and review what happened. get rows 50 to 60, you would set this
ferent amounts of resources: First examine the top- N query, as shown to 50.
in Listing 1. The concept behind this scenario is
create table t The query read the entire table that an end user with a Web browser
as (because it had to), but by using the has done a search and is waiting for
select dbms_random.value(1,1000000) SORT ORDER BY STOPKEY step, it was the results. It is imperative to return
id, able to limit its use of temporary space the first result page (and second page,
rpad(*,40,* ) data to just 10 rows. Note the final Row and so on) as fast as possible. If you
from dual Source Operation lineit shows that look at that query closely, youll notice
connect by level <= 100000; the query did 949 logical I/Os in total that it incorporates a top-N query (get
(cr=949), performed no physical reads the first :MAX_ROW_TO_FETCH rows
begin or writes (pr=0 and pw=0), and took from your query) and hence benefits
dbms_stats.gather_table_stats 400066 millionths of a second (0.04 from the top-N query optimization I
( user, T); seconds). Compare that with the do-it- just described. Further, it returns over
end; yourself approach shown in Listing 2. the network to the client only the spe-
/ As you can see, this result is very dif- cific rows of interestit removes any
ferent. Notably, the elapsed/CPU times leading rows from the result set that are
Now enable tracing, via are significantly higher, and the final not of interest.
Row Source Operation lines provide One important thing about using this
exec insight into why this is. You had to pagination query is that the ORDER BY
dbms_monitor.session_trace_enable perform a sort to disk, which you can statement should order by something
(waits=>true); see with the pw=891 (physical writes). unique. If what you are ordering by is
Your query performed some direct path not unique, you should add something
And then run your top-N query with reads and writesthe sort of 100,000 to the end of the ORDER BY to make it
ROWNUM: records (instead of just the 10 we are so. If you sort 100 records by SALARY,
ultimately interested in) took place for example, and they all have the same
select * on diskadding considerably to the SALARY value, then specifying rows 20
from runtime/resource usage of your query. to 25 does not really have any meaning.
(select * In order to see this, use a small table
from t PAGINATION WITH ROWNUM with lots of duplicated ID values:
order by id) My all-time-favorite use of ROWNUM is
where rownum <= 10; pagination. In this case, I use ROWNUM SQL> create table t
to get rows N through M of a result set. 2 as
And finally run a do-it-yourself query The general form is as follows: 3 select mod(level,5) id,
that fetches just the first 10 records: trunc(dbms_random.value(1,100)) data
select * 4 from dual
declare from ( select /*+ FIRST_ROWS(n) */ 5 connect by level <= 10000;
cursor c is a.*, ROWNUM rnum Table created.

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 95


ASK TOM

And then query rows 148 to 150 and SQL> select * formed by your query, so that top-N
151 after sorting by the ID column: 2 from queries that once consumed a lot of
3 (select a.*, rownum rnum TEMP space now use none and return
SQL> select * 4 from results much faster.
2 from 5 (select id, data
3 (select a.*, rownum rnum 6 from t ORACLE OPENWORLD PLANS
4 from 7 order by id, rowid) a This is the Oracle OpenWorld issue
5 (select id, data 8 where rownum <= 150 of Oracle Magazine. I really enjoy the
6 from t 9 ) weeklong conferenceI get to meet
7 order by id) a 10 where rnum >= 148; a lot of people face-to-face that Ive
8 where rownum <= 150 only met electronically. So if youre
9 ) ID DATA RNUM at the conference, I hope to see you
10 where rnum >= 148; ------------------ -------------------- -------------------- at the talk Ill be giving there. (If you
0 45 148 havent already guessed, my talk will be
ID DATA RNUM 0 99 149 about the database and development.)
------------------ -------------------- ------------------- 0 41 150 In addition, I plan to be at a Meet the
0 38 148 Experts event hosted by OTNthe
0 64 149 SQL> Oracle Technology Network. Ive done
0 53 150 SQL> select * this event in years past, and its always
2 from been a great forum for one-on-one dis-
SQL> 3 (select a.*, rownum rnum cussions as well as group talks. Check
SQL> select * 4 from your program schedule for the dates and
2 from 5 (select id, data times of my talk and OTN events.
3 (select a.*, rownum rnum 6 from t In addition, Ill of course be blog-
4 from 7 order by id, rowid) a ging at tkyte.blogspot.comwith pic-
5 (select id, data 8 where rownum <= 151 turesabout what is going on at the
6 from t 9 ) conference. In addition to my blog,
7 order by id) a 10 where rnum >= 148; be sure to check out OTN (at oracle
8 where rownum <= 151 .com/technology), which will be full of
9 ) ID DATA RNUM downloadable show content including
10 where rnum >= 148; ------------------ -------------------- --------------------- podcasts, video streams, and presenta-
0 45 148 tion material. O
ID DATA RNUM 0 99 149
------------------ -------------------- -------------------- 0 41 150 Tom Kyte has worked for Oracle since 1993. He is a
0 59 148 0 45 151 vice president in the Oracle Public Sector group and
0 38 149 the author of Expert Oracle Database Architecture:
0 64 150 Now the query is very deterministic. 9i and 10g Programming Techniques and Solutions
0 53 151 ROWID is unique within a table, so if (Apress, 2005) and Effective Oracle by Design (Oracle
you use ORDER BY ID and then within Press, 2003), among other books.
Note in this case that one time for ID you use ORDER BY ROWID, the rows
row 148, the result returned DATA=38, will have a definite, deterministic order
and that the next time, the result and the pagination query will determinis-
ASK Tom
returned DATA=59. Both queries are tically return the rows as expected. Oracle Vice President Tom Kyte answers your most
returning exactly the right answer, difficult technology questions. Highlights from that forum
appear in this column.
given what youve requested: Sort the ROWNUM WRAP-UP asktom.oracle.com
data by ID, throw out the first 147 Ill hazard a guess that you and many
rows, and return the next 3 or 4 rows. other readers now have a newfound READ more Tom
Expert Oracle Database Architecture: 9i and 10g
Both of them do that, but because respect for ROWNUM and understand Programming Techniques and Solutions
amazon.com/exec/obidos/tg/detail/-/1590595300
ID has so many duplicate values, these aspects:
the query cannot do it deterministi- OHow ROWNUM is assigned, so you Effective Oracle By Design
amazon.com/exec/obidos/tg/detail/-/0072230657
callythe same sort order is not assured can write bug-free queries that use it
from run to run of the query. In order OHow it affects the processing of your DOWNLOAD
to correct this, you need to add some- query, so you can use it to paginate a Oracle Database 10g Express Edition
thing unique to the ORDER BY. In this query on the Web (Oracle Database XE)
oracle.com/technology/xe
case, just use ROWID: OHow it can reduce the work per-

96 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
t e c h n o l o g y OCP BY A R A D H A N A P U R I

Become a Master
Step up from Oracle Certified Professional to Oracle Certified Master.

he Oracle Certification program OBasic understanding of operating

offers three distinct certification system commands is necessary. A can-


levels for Oracle Database 10g didate must know how to copy, move,
Associate, Professional, and Master Specialized Skills: and delete a file; navigate between direc-

T
shown in Figure 1. The three levels Master tories; and execute programs from the
are organized to suit the needs of entry- command-line prompt.
level, professional, and senior-level IT OAlthough Oracle documentation is

professionals, respectively. The highest available for reference during the exam,
Advanced Skills:

T
level of certification an Oracle Certified Professional looking up simple commands in the
Professional (OCP) can achieve is Oracle documentation will cost time. Therefore,
Database 10g Administrator Certified candidates should not rely too much on
Master (Oracle Certified Master). the availability of reference documenta-
Fundamentals:
T

tion during the exam.


Associate
ABOUT THE MASTER EXAM OScenarios in the exam must be com-

The Oracle Certified Master exam tests pleted within a specific time. Therefore,
candidates on their ability to perform Figure 1: Oracle certification levels time management is critical. Moreover,
in a real-world, live database environ- some scenarios are built on each other;
ment, and it is a test of both knowledge 4. Data management failure to meet a set of objectives in one
and experience. In addition to having 5. Data warehouse management scenario may have a negative impact on
practical experience, a candidate taking 6. Performance management later scenario objectives.
the exam is required to have expertise in 7. Oracle Real Application Clusters OBe prepared to restore and recover your

complex DBA tasks. The prerequisites for 8. Oracle Data Guard data. Candidates must back up their data
this rigorous performance-based certifica- Each Oracle Certified Master candi- during the exam and restore and recover
tion are that candidates must first earn date is provided with a dedicated server the data if necessary.
an Oracle Database 10g OCP credential that has both Oracle Database 10g and
and complete two advanced-level courses Red Hat Linux installed. A complete CONCLUSION
through Oracle University. Oracle 10g documentation set is available With Oracle Certified Master, Oracle
The Oracle Certified Master certifica- on the server. Over the course of two provides the only hands-on certifica-
tion consists of a two-day onsite practi- days, candidates are given scenarios in tion and the first master-level database
cal exam that is conducted in an Oracle which they are asked to perform complex certification in the industry. Achieving
University classroom. The test is available technical tasks that require setup, diag- this rigorous certification puts an Oracle
at more than 150 locations worldwide. nostics, troubleshooting, and problem technologist in the most elite group of
Also, Oracle Certified Master upgrade resolution. There are no multiple-choice database professionals in the world. O
certification will be available soon for or fill-in-the-blank questions on the exam.
Oracle9i Oracle Certified Masters, who Aradhana Puri (ocpexam_ww@oracle.com) is a
will be able to take a one-day practical STRATEGIES FOR ACHIEVING A HIGH SCORE principal Oracle Certification Exam developer at Oracle.
exam to upgrade their credentials to The following are recommended strate- She has been with the company since 2000.
Oracle Database 10g. gies for meeting the exam objectives and
achieving a high score on the Oracle
PRACTICUM CONTENT Certified Master practicum:
The Oracle Certified Master practicum OWhile preparing for the exam, you LEARN more about the Oracle
content focuses on eight primary areas: must perform tasks associated with Certification Program, and download
1. Server configuration each of the exam objectives. Limiting a free exam guide
oracle.com/education/certification
2. Oracle Enterprise Manager 10g preparation only to book study will not
READ Inside OCP columns
Grid Control adequately prepare you for two days of oracle.com/technology/oramag/oracle/ocp
3. Managing database availability rigorous hands-on testing.

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 97


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 Shen Yang Neusoft Co., Ltd. www.neusoft.com


Accenture www.accenture.com Sierra Atlantic www.sierraatlantic.com
Advanced Micro Devices, Inc. www.amd.com SVOA Public Company Limited www.svoa.co.th
Apple www.apple.com Sysage Technology Co., Ltd. www.sysage.com.tw
Avnet, Inc. www.hallmark.avnet.com System Access Pte Limited www.systemaccess.com
BearingPoint www.bearingpoint.com Sysware Corporation www.sysware.com.tw
Business Objects www.businessobjects.com Systex Information (H.K.) Ltd. www.systex.com.hk
Capgemini www.capgemini.com Taiji Computer Corporation www.taiji.com.cn
CGI Group, Inc. www.cgi.com Tata Infotech Ltd www.TataInfotech.com
Computer Sciences Corporation www.csc.com Teksen Horizon Systems (Guangzhou) Limited www.teksen.com
Convergys www.convergys.com Wezoomtek Corporation www.wezoomtek.com
CSG Systems www.csgsystems.com Canada
Dell www.dell.com MTS Allstream Inc. www.allstream.com
Deloitte www.deloitte.com Oto Global Solutions Inc. www.oto.com
EDS www.eds.com Europe
EMC www.emc.com Actebis Peacock GmbH www.actebispeacock.de
Fidelity Information Services www.fidelityinfoservices.com/FNFIS/ ACURE A/S www.acure.dk
Fujitsu Group www.fujitsu.com Afina Sistemas Informaticos www.afina.es
Hitachi www.hitachi.com Alcatel www.alcatel.com
HP www.hp.com Alcatel CIT www.alcatel.fr
IBM / IBM Business Consulting Services www.ibm.com Anelia SAS www.anelia.fr
i-flex www.iflexsolutions.com Ares www.ares.fr
Infosys www.infosys.com Arinso Nederland BV www.arinso.com
Ingram Micro www.ingrammicro.com Asseco Poland S.A. www.asseco.pl
Intec www.intecbilling.com Atos Origin IT Services UK www.atosorigin.com
Intel www.intel.com Atos Origin Nederland BV www.atosorigin.com
Mercury Interactive www.mercury.com Basilica Computing Limited www.basilica.co.uk
Microsoft www.microsoft.com Bechtle Logistik & Service GmbH www.bechtle.com
NEC www.nec.com Borlas IBC www.borlas.ru
Network Appliance, Inc. www.netapp.com CapGemini Telecom Media und Networks GmbH www.de.cgey.com
Novell www.novell.com CBOSS www.cboss.ru
PegaSystems www.pegasystems.com Cedar Consulting Ltd www.cedarconsulting.co.uk
Portal www.portal.com CIBER UK www.ciber.com
Red Hat www.redhat.com ComArch S.A www.comarch.pl
Satyam www.satyam.com Compelsysao www.compelsysao.co.uk
Sun Microsystems www.sun.com CompIT Technologies www.compit-t.com.by
Tata Consultancy Services www.tcs.com Computacenter AG & Co. OHG www.computacenter.de
TechData www.techdata.com ComputerLand S.A. www.computerland.pl
Temenos www.temenos.com Consit A/S www.consit.dk
Unisys www.unisys.com CROC Incorporated www.croc.ru
Wipro www.wipro.com Cronos NV www.cronos.be
Africa Cronos Ibrica, SA www.cronosiberica.es
2Cana Solutions (Pty) Ltd. www.2cana.co.za CSC Portugal www.csc.pt
EOH KPMG Consulting www.eoh.co.za Deutsche Post ITSolutions GmbH www.dp-itsolutions.de
Implementation Factory (Pty) Ltd. www.ifactory.co.za Developing World Systems Ltd. www.dwsonline.co.uk
Integrated Tertiary Software (Pty) Ltd. www.its.co.za DIGORA www.digora.com
New Dawn Technologies www.ndt.co.za Distrilogie Belgium BVBA www.abcomp.be
Xpedia www.xpedia.co.za DBConcepts Daten-und Informationsverarbeitungsges.m.b.H. www.dbconcepts.at
Asia Pacific DNS Hungary Ltd. www.dns-hungary.hu
ASG (Asia Pacific) Pty Ltd www.asggroup.com.au Engineering Ingegneria Informatica S.p.A. www.eng.it
Application Hosting Services Co., Ltd. www.a-host.co.th Explorer (UK) Limited www.explorer.uk.com
Attain IT Pty Ltd. www.attainit.com.au FORS Development Center www.fdc.ru
Automated Systems (HK) Ltd. www.asl.com.hk Fujitsu Services Limited www.uk.fujitsu.com
Beijing Futong Dong Fang Technology Co. Ltd. www.futong.com.cn Getronics PinkRoccade www.getronicspinkroccade.nl
DataHeaven Co., Ltd. www.dataheaven.co.kr Global Services Aarhus & Copenhagen A/S www.maerskdata.dk
Daesang Information Technology Co., Ltd. www.daesangit.com Groupe LGS France www.lgsrecrut.com
Digital China (China) Limited www.digtalchina.com.cn GWI Unternehmensgruppe www.gwi-ag.com
DMS Software Technologies (Pvt.) Ltd. www.dmsswt.com Hunkler GmbH & Co. KG www.hunkler.biz
ECS International Trading (Shanghai) Co., LTD. www.pci.com.cn I-Teco www.i-teco.ru
FPT Information System www.fis.com.vn Inatech Solutions Ltd www.inatech.com
FPT Software Solutions www.fss.com.vn Industrial and Financial Systems, IFS AB www.ifsworld.com
Fusion5 Limited www.fusion5.co.nz Ineum Consulting www.ineum.fr
GTL Limited www.gtllimited.com Infor Global Solutions GmbH www.infor.de
FPT Corporation www.fpt.com.vn Informacines Technologijos www.it.lt
HAND Enterprise Solutions Co., Ltd. www.hand-china.com Informatica El Cortes Ingles www.ieci.es
Huadi Computer Co., Ltd. www.huadi.com.cn Information Technologies Company www.it.ru
Huawei Technologies Co., Ltd. www.huawei.com/cn Inter Access B.V. www.interaccess.nl
iCE Consulting Co Ltd. www.iceconsulting.co.th IT Alise www.it-alise.com
Jigsaw Services Pty Ltd. www.jigsawservices.com.au KNAPP Systemintegration GmbH www.knapp.com
LG CNS Co., Ltd. www.lgcns.com KPMG Consulting www.kpmg.be
IT&C Co., Ltd. www.itnc.co.kr Kurt Salmon Associates www.kurtsalmon.com
KPMG Consulting Co. Ltd. www.kpmg.com.tw LogicaCMG www.logicacmg.nl
Kolon Data Communication Co., Ltd. www.kdc.kolon.co.kr LOGIX www.logix.fr
NCS Pte. Ltd. www.ncs.com.sg Mdtvision www.mdtvision.com
Nucleus Software Exports Ltd. www.nucleussoftware.com Micros-Fidelio GmbH www.micros-fidelio.org
OED Technology Sdn Bhd www.patimas.com Montora www.montora.com
Propia Co., Ltd www.propia.co.kr Morse Group www.morse.com
Pythis www.pythis.com Msg Systems ag www.msg-systems.com
Red Rock Consulting www.redrock.net.au Network Centric Solutions Limited www.ncsltd.com
Samsung SDS www.sds.samsung.co.kr Nokia Corporation www.nokia.com

98 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
CERTIFIEDadvantage partner index
COMPANY NAME URL COMPANY NAME URL

Oficina de Cooperacin Universitaria www.ocu.es Preteco SA www.preteco.com.ar


OpenPSL www.openpsl.com Procwork CRM www.procwork.com.br
Open Technologies www.ot.ru Recours Informatica Consultoria e Assessoria Ltda www.recours.com.br
Opitz Consulting GmbH www.opitz-consulting.de RedPartner, S.A. www.sistemas.com.ec
Patech Solutions Limited www.patech-solutions.com Snoop Consulting S.R.L. www.snoopconsulting.com
PC-Ware Information Technologies AG www.pc-ware.de Soft Bolivar S.A. www.softbolivar.com
PDV-Systeme Erfurt Gesellschaft fr Systemtechnik mbH www.pdv.de Solusoft de Panama www.solusoft.com
Peak Systems Support Ltd www.peaksystems.uk.com Solusoft de Puerto Rico www.solusoft.com
Prodatis Consulting AG www.prodatis.com Soluciones Casee SOCASEE, S.A. www.socasee.com
Professional Computer Services S.A. www.pcs.gr Sonda del Peru S.A. www.sonda.com
QAS Ltd www.qas.com SQL Technology S.A. www.sqltech.cl
Quantix Ltd. www.quantix-uk.com Sunrising Desenvolvimento de Sistemas www.sunrising.com.br
RDTEX www.rdtex.ru Sygnus S.A. www.sygnus.com.pe
RTC Real-Time Center AG www.rtc.ch Synos Consultoria e Informatica www.synos.com.br
S.C. RomSoft S.R.L. www.romsoft.info Sysdesign Consultoria Em Informatica Limitada www.sysdesign.com.br
SCC PLC www.scc.com Tilsor S.A. www.tilsor.com.uy
Sddc www.sddc.fr TSnet S.A. www.tsnetglobal.com
SIV AG www.siv.de Unimix Tecnologia Ltda www.unimix.com.br
Service & Systems Solutions www.northgate-is.com YKP Consultoria e Sistemas Ltda. www.ykp.com.br
Softman SA www.softman.pl Middle East
Software Design & Management AG www.sdm.de Bahwan Cybertek LLC www.bahwancybertek.com
Sogeti Espana www.sogeti.biz Computer and Communications Systems www.ccs.com.jo
Sopra Group www.sopragroup.com Computer Information Systems www.cis.com.lb
Sphinx CST www.sphinx.co.uk Computer and Engineering Bureau CEB www.ceb.com.jo
TEAM GmbH www.team-pb.de Districom www.cis.com.lb
Teamsolve www.teamsolve.co.uk Emirates Computers Est www.emiratescomputers.co.ae
Tech Data Midrange GmbH www.tdmidrange.de Global Technology Services LLC www.gtsuae.com
Technology Reply Srl www.reply.it Hyperlink www.hyperlink-me.com
Teta S.A www.teta.com.pl International Turnkey Systems (ITS) www.its.ws
TietoEnator Corporation www.tetioenator.com Intracom Jordan www.intracom.jo
TimeStamp - Sistema de Informao www.timestamp.pt Mannai Trading Company Limited www.mannaicorp.com
TopS Business Integrator www.topsbi.ru Mercator www.mercator.co.ae
T-Systems International GmbH www.t-systems.com Macro Software Systems LLC www.macro-soft.com
Up to Data, Professional Services GMBH www.uptodata.de Oracle Dedicated Competency Center www. mawarid-odcc.com
Version 1 Software www.version1.com Raya Gulf LLC www.rayaholding.com
Vertis BV www.vertis.nl Royah www.royah.com
Whitehouse Consultants Ltd www.whitehouse-consult.com Satyam Computer Services www.satyam.com
WM-data Danmark A/S www.wmdata.com United States
Latin America 170 Systems, Inc. www.170systems.com
ACT, S.A. www.act.cl Abaris, Inc. www.abaris-inc.com
Abaco Tecnologia de Informacao Ltda www.abaco.com.br Agilysys www.agilysys.com
Acao Informatica Brasil Ltda www.acao.com.br Apex IT, Inc. www.apexit.com
Advanced Database & IT Sistemas de Informao S.A. www.advancedit.com.br Applications Software Technology Corp. www.astcorporation.com
Asi Consultants www.asiconsutants.com BizTech www.biztech.com
Aporte Gestao Empresarial e Tecnologia da Informacao Ltda www.aporte.com BMC Software, Inc. www.bmc.com
Appteck S.A. de C.V. www.appteck.com.mx CedarCrestone www.cedarcrestone.com
Apply Solutions www.applysolutions.com.br CGI Group, Inc. www.cgi.com
Asistir Ltda. www.asistir.com CherryRoad Technologies www.cherryroad.com
B2BR Business to Business Informatica do Brasil www.b2br.com.br CIBER www.ciber.com/ces/oracle
Bertini Consultoria em informatica www.bertini.com.br CSS International www.cssus.com
BGH, S.A. www.bgh.com.ar DAZ Systems www.dazsi.com
BusinessMind S.A. www.businessmind.com.ec Dynamic Information Systems www.dynamic-info.com
Casa de Software S/A www.casasoft.com.br Hitachi Consulting, Inc. www.hitachiconsulting.com
Coasin Chile, S.A. www.coasin.com Hyperion Solutions www.hyperion.com
Commit Consultores de Empresas Ltda www.commitconsultores.com.br Impac www.impacservices.com
Datastar Argentina S.A. www.datastar.com.ar Intermec www.intermec.com
Datum, S.A. (Guatemala) www.datum.com.gt KBACE Technologies, Inc. www.kbace.com
Datum, S.A. de C.V. (El Salvador) www.datum.com.sv Kronos Inc. www.kronos.com
Discover Technology Informatica Ltda www.discover.com.br Lockheed Martin Systems Integration Owego www.owego.com
e-Builders & Consulting Group S. A. C. www.ebuilders.com.pe Lucidity Consulting Group LP www.luciditycg.com
E-Partner Comercial e Servios de Informtica Ltda www.epartnerbr.com.br MI Services Group, Inc. www.mi-services.com
EN-SOF Consultoria e Informtica Ltda. www.en-sof.com.br Navitaire Inc. www.navitaire.com
ERP Soluciones S.A. de C.V. www.erpsol.com.mx OSI Consulting, Inc www.osius.com
Excelsis S.A.C.I.G www.excelsis.com.py Princeton Softech www.princetonsoftech.com
Elucid Solutions S.A. www.elucid.com.br Protege Software Services, Inc. www.protege.com
Illuminat www.illuminatnm.com RCM Technologies www.rcmt.com
In Motion Servicios S.A. www.inmotion.cl Rapidigm, Inc. www.rapidigm.com
Ingenieria Condor S.A. DE C.V. www.i-condor.com Sogeti USA LLC www.sogeti.com
J Evans y Asociados S.A.C. www.jevansa.com.pe Solbourne Computer Inc. www.solbourne.com
JFM Informtica Ltda. www.jfm.com.br SYSTIME Computer Corporation www.systime.net
Kruger Corporation www.kruger.com.ec TITAN Technology Partners www.ttpartners.com
MOST S.A. www.grupomost.com TUSC www.tusc.com
MPL Corporate Software SA www.mpl.com.br Vertex Systems, Inc. www.vertexsystems.com
Netix Distribuidores de Tecnologia, C.A. www.netixcorp.com Waters Corporation www.waters.com
Nexsys de Colombia www.nexsysla.com Wave Consulting Group www.wavecg.com
Nexsys del Peru SAC www.nexsysla.com Whitbread Technology Partners, Inc. www.whitbreadtech.com
Officer Distribuidora www.officer.com.br Xcelicor, Inc. www.xcelicor.com

Partners able to demonstrate superior product knowledge, technical expertise, and a commitment to doing business with Oracle qualify for the Oracle PartnerNetwork Certified Advantage Partner level. These partners receive a
higher level of service, training, benefits, and resources from Oracle. For more information on partners, please visit the Oracle PartnerNetwork Solutions Catalog at solutions.oracle.com.

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 99


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 67

Altova www.altova.com 30

AMD www.amd.com 23-26

Conquest Software Solutions www.sqldetective.com 68

Cordaware www.cordaware.com 38

Dell Inc. www.dell.com 53-56

Embarcadero www.embarcadero.com 2

EMC www.emc.com 5

Fujitsu Group www.fujitsu.com IFC-1, 7-10

Genpact www.genpact.com 64

ImageNow by Perceptive Software www.imagenow.com 36

IOUG www.ioug.com 102

Justsystems www.justsystems.com 78

Kaplan IT www.kaplanit.com 47

McGraw-Hill/Osborne www.oraclepressbooks.com 101

Network Appliance www.netapp.com OBC

Nokia www.nokia.com 63

Oracle www.oracle.com 46, 57, IBC

Pillar Data Systems www.pillardata.com 20

Quest Software www.quest.com 12

STR Software www.strsoftware.com 18-19

USi www.USi.com 14

Web addresses are provided as a service. Oracle Magazine is not responsible for errors or Web address changes.
Oracle Magazine 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 2006 ISSUES


ISSUE CLOSE DATE
November/December 2006 September 5, 2006

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.

10 0 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE
LOOK FOR
ORACLE PRESS
AT Oracle OpenWorld 2006!
Stop by the Oracle Press kiosk in the Oracle OpenWorld Bookstore
located at Moscone West, Level 2. Join the Oracle Press Community and get a
free t-shirt.* Buy 2 or more Oracle Press books and get a free teddy bear!*

Oracle Press Community members will:

Get sneak peeks of Oracle Press titles


Read author interviews
Hear from the editor
Receive special promotional offers
And more

ORACLE
PRESS
THE GENUINE AUTHORITY ON
ORACLE 10g

Go to www.oraclepressbooks.com to view all of the latest


Oracle Press titles and join the Oracle Press Community online.

O R I G I N A L AU T H E N T I C

*While supplies last


O N LY F R O M O S B O R N E
Join the
Independent Oracle Users Group
the premier user community for Oracle
technology and database professionals.

Gain access to timely information.


Share best practices with a network of industry peers.
Take advantage of in-depth technical education.
Feel empowered to perform your job more efficiently.

Free IOUG technical tip: Understanding Indexing


Options in Oracle Database 10g
Index features have evolved since their initial introduction through the most current
release of Oracle Database 10g. This tip covers the new index types and enhancements
available from Oracle Database 8 through Oracle Database 10g.

For the complete tip, go to membership.ioug.org/tip.

For more helpful technical tips like this, become an IOUG member
and gain access to the online Library of Oracle Knowledge containing hundreds of
technical tips and papers, receive the official IOUG publication, SELECT Journal, and
IOUG e-newsletter publications. Plus, you'll have access to exclusive discounts, dozens
of other online resources and a network of nearly 20,000 peers to share information.

For more information, visit www.ioug.org.

For the Complete Technology & Database Professional


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

Storage Made Simpler


Storage virtualization can simplify database applications.
ome vendorsand even custom- company, used a storage virtualiza- data management issues frustrated man-
ersmight think that theres no tion strategy and found how much it agers: UNIX applications couldnt handle
story in storage. You have hard simplified maintenance. These people Microsoft Word documents, for instance.
drives. You store data on them. constantly move their storage devices But by using storage abstraction tech-
End of story. and other equipment around. In the niques, the applications could see and
Unless you have multiple operating past, they had to call in expensive spe- manipulate files as necessary, all behind
systems and servers trying to access the cialists to move, rewire, and configure the scenes and invisible to the users.
same data. Or your company is strug- physical racks of storage as needed. Oracles Automatic Storage Manage-
gling to consolidate hardware or software Now the companys virtualization solu- ment (ASM) complements storage vir-
from a merger or an acquisition. Or you tion automatically manages the storage tualization. ASM keeps track of RAID
need storage-based replication or disas- environment, and because adding to (redundant array of inexpensive disks)
ter recovery options. Or you want your or removing from the pool is easy and striping and mirroring, so separate storage
storage solutions to be easier to manage. entails no downtime, the company saves administration isnt necessary. Because
Then storage becomes a big story. time, money, and energy. What used to ASM automatically manages much of the
Storage virtualizationwhich uses take days now takes minutes. storage layer from within the database,
collections of disk drives, possibly in a Using storage virtualization to inter- allocating storage as needed, applications
storage-area network (SAN) or a network- cept and carry out all the storage requests dont halt when space runs out. The
attached storage (NAS) arrangement as a entails almost no performance degrada- combination of ASM with storage virtual-
unified pool of storagecan be a solution tion, because applications must be steered ization makes sense for many shops.
to all these problems. However, drives in to needed data anyway. With storage vir- Standards for storage virtualization
that storage pool can use all kinds of pro- tualization, they are just steered to a larger are evolving. Network Appliances seems
tocols: Fibre Channel, iSCSI, NFS, and multiprotocol unified pool of data. to be taking the lead, supporting four
others. And they can come from multiple Storage virtualization also allows popular protocolsCIFS, Fibre Channel,
vendors and represent different classes of companies to use their storage space iSCSI, and NFSas well as NAS, SAN,
storage. How can you get all these storage more efficiently. In the usual setup, each and Oracle-specific management solu-
systems to work together as one? database for each application allocates its tions. The adoption of standards should
The answer is a virtualization solu- own island of storage, reserved exclusively make storage virtualization techniques
tion such as a vfilera piece of hardware for its own use to support that applica- more valuable, and the companies that
attached to a network. The vfiler acts as tion. Thus lots of storage space is wasted, implement some sort of virtualization can
a metalayer between the physical drives because the applications dont use the expect to simplify their operations and
and software. This abstracts the storage maximum allocated space. However, if save money. And thats a good story. O
layer from its physical basis and makes it the applications can share a single pool of
available to the software. storage, the amount of preallocated space Ari Kaplan (ari_kaplan@ioug.org) is president of the
The vfiler receives all requests for can be reduced. Less physical space is Independent Oracle Users Group (IOUG) and senior
storage, from applications and databases, needed, which cuts costs. In my experi- consultant at Datalink. He founded Expand Beyond
for example, and translates those requests ence, companies recover their investment Corporation, a leader in mobile IT software. He has been
into the physical locations of the data. in storage virtualization in less than a year. involved in Oracle technology since 1992.
The vfiler can address data on a file level Beyond using space more efficiently,
or block-storage level, and the data can another benefit of storage virtualization is
be local or remote. Thanks to the vfiler, abstraction, such as accessing data across
applications can find the data they need, operating systems and storage devices READ about Automatic Storage
wherever it is. A vfiler solution also from different manufacturers. I once Management
enables companies to add and remove worked with a high-end cosmetics retailer oracle.com/technology/products/database/asm

storage behind the scenes without down- that needed assistance with its integration DOWNLOAD the ASMLib
time or major storage reconfiguration. efforts. The company ran applications on support library
oracle.com/technology/tech/linux/asmlib
One of my clients, a financial services both UNIX and Windows machines, but

ORACLE MAGAZINE SEPTEMBER/OCTOBER 20 06 103


c o m m e n t ANALYSTS CORNER BY DAVI D BAUM

Managing Information Overload


Enterprise content management improves compliance efforts and the bottom line.
im Murphy, a research director at Many companies are still trying to manager, who can resolve discrepancies
AMR Research covering content figure out how to institute document with only a couple of clicks.
management, portals, collabora- management practices that satisfy the Many similar tactical issues can be
tion, and search-and-retrieval demands of lawyers and compliance addressed by a content management
technology, talked to Oracle Magazine officers. Developing consistent retention system, and thats where you can really
about managing structured and unstruc- policies is the starting point. A content measure the savings. In marketing, it
tured information cohesively. management system helps you enforce means you get press releases out in a
Oracle Magazine: Content management is a these policies across the business in a timely manner, with more-consistent
perennial problem. Whats changed lately consistent way. branding. In product development, it
to make it so much more challenging? Oracle Magazine: Where does the ROI means supplying more-complete docu-
Murphy: Critical information can now [return on investment] come from in mentation to customers. In accounting,
take many forms. Structured information todays enterprise content management it means providing accurate information
in relational tables is easy to identify and initiatives? to regulatory bodies.
track, but most organizations must also Murphy: Software vendors commonly Oracle Magazine: Whats unique about
deal with unstructured information in claim that an enterprise content manage- Oracles approach?
spreadsheets, PDF files, e-mail systems, ment system will improve productivity. Murphy: Oracle has figured out how to
and so forth. The situation has become In many cases thats true, but how do manage all types of documents within
even more extreme with the haphazard you measure it? One good way is by the database, without pointers to an
nature of e-mail and instant messag- making tangible improvements to a par- external document repository. Of course,
ing. Plus you need to be able to attach ticular business process. For example, content management entails more than
hard-copy documents, like invoices todays content management systems just storage, retention, and central man-
and purchase orders, to the data in ERP allow you to create an image of an agement of information. It must also
[enterprise resource planning] systems. invoice, so it can be saved electronically, accommodate the authoring, publishing,
These are all important aspects of a vast and apply optical character recognition capture, and syndication processes, and
landscape of information that must be technology, so you can find and extract so on. Oracle is looking to partners for a
consistently managed and controlled. specific information. This is especially lot of these specialized capabilities. Thats
Oracle Magazine: How do enterprise critical as we depend more heavily on a workable strategy and a good way to
content management systems simplify automated processes within our ERP approach a multifaceted problem. O
compliance issues? systems. For example, sometimes a pur-
Murphy: Compliance has always been chase order doesnt match an invoice David Baum (david@dbaumcomm.com) is a freelance
an issue, but with Sarbanes-Oxley it because theres been a change in pricing. business writer based in Santa Barbara, California.
has reached the C level in a big way. As Some ERP systems will kick out these
executives pay closer attention to record exceptions for manual scrutiny, and that Founded in 1986, AMR Research (www.amrresearch
management, record retention, and can cause a big backlog. Some custom- .com) focuses on supply chain, enterprise applications,
document management, companies need ers tell us that as much as 30 percent of and next-generation infrastructure.
a more pervasive strategy for managing their purchasing process can be delayed
information over time and across dif- because of this issue. Fixing these prob-
ferent channels. Content management lems is highly manualtypically, you
systems add structure and integrity to need to print copies of both documents READ about
information-intensive processes so key and send them to a purchasing manager Oracle Content Database
oracle.com/database/contentdb.html
documents can be easily identified and for approval. A content management
manipulated. For example, financial system can help you handle these excep- LISTEN to Oracle President
documents must be checked in and tions as part of a standard workflow: Charles Phillips announce Oracles
checked out of a repository, so that identify the problem, find the pertinent content management strategy
oracle.com/broadband/showiseminar
when someone makes a change, it is info, then automatically escalate the .html?4848956
auditable after the fact. issue and e-mail it to the purchasing

104 SEPTEMBER/OCTOBER 20 06 ORACLE.COM/ORACLEMAGAZINE


Oracle Retail

17 of the Top 20
Retailers in the World
Run Oracle Applications

Get Better Results


Retailers Running Oracle Are
32% More Profitable Than Those Who Dont.

oracle.com/industries/retail
or call 1.800.633.0544
Source: Top retailers are per Fortune Global 500 list. Protability metric reects the average performance of Oracle custom-
ers and non-Oracle customers within the industry group, and is based upon an analysis of nancial data for NYSE and
NASDAQ listed companies that has been validated by Mainstay Partners. Financial data provided by Stratascope Inc.

Copyright 2006. All rights reserved. Oracle, JD Edwards PeopleSoft and Siebel are registered trademarks of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.
Its not your drawer.
Its your data center.

Find out why:


Visit Booth 1614 at Oracle OpenWorld

NetApp simplies your data center.


Managing complexity in your data center is never as simple as shutting a drawer. Network Appliance
partners with Oracle to deliver a comprehensive platform that greatly improves data management
capabilities for Oracle administrators. With NetApp, you can back up and recover in seconds instead
of hours. Provisioning instances are easy and nondisruptive. To help speed development and maximize
storage utilization, allocation is quick and painlessyou can even grow or shrink your database storage
on the y. Effortless, near-instantaneous cloning takes the pain out of testing. Though we cant organize

your drawer, no one makes working with Oracle database and applications easier than NetApp.

Join the thousands whove left their legacy environments behind.


See us at Oracle OpenWorld Booth 1614 or visit http://www.netapp.com/partners/oracle/
for more information.

2006 Network Appliance, Inc. All rights reserved. Specications 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. Part # C14989-01

S-ar putea să vă placă și