Escolar Documentos
Profissional Documentos
Cultura Documentos
25”
T:8”
S:7”
B:11.125”
T:10.875”
S:9.875”
I WANT ALL DAY COMPUTING
(AND ALL NIGHT)
Up to 19 hours of battery life. ExpressCharge.™
Energy Smart power management.
THE NEW LATITUDE E6400 Featuring the Intel® Centrino®2 Processor with vPro™ technology
™
DELL.COM/LATITUDE 866.238.DELL
Intel, the Intel logo, Centrino, Centrino Inside, Intel vPro and vPro Inside are trademarks of Intel Corporation
in the U.S. and other countries.
MECH. QC____________________ PRE-MEDIA QC____________________ RTC QC____________________ ES____________________ ES____________________ PROJ. MNGR. ____________________
Extreme Performance.
Alternative thinking about business intelligence
hp.com/go/oracle/exadata
Individual results are dependent on a number of factors and actual results may vary significantly. HP and Oracle make no warranty on system performance.
©2008 Hewlett-Packard Development Company, L.P..
8 D a t a b a s e M a n a g e m e n t
rs: 00
ve po 2 alToad
® Lo l Ex /Virtu
o ad rtua t.com
n T Vi ues
ntio Toad ww.q
te e t w
At or th 008 a
f 2
ter 12th
,
i s
R eg ber
m
ve
No
Want more? Keep your game razor sharp at Toad World, where you not only learn from some of the
world’s foremost database experts, but you connect with the Toad online community worldwide.
Now that’s taking tools to the next level.
Ready to learn more? Watch “Something for Everyone: Finding the Right Tools for DBAs, Developers
and Analysts” and get access to new Toad resources at www.quest.com/edge
©2008 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. DBM_Toad4Oracle_ToadCards_Q4_2008.
FeAtUR es
LAUNCHING
PERFORMANCE
Storage bandwidth has limited
the performance of growing data
warehouses. Read how Oracle INSIDE JOB
Embedded databases power back-end
Exadata overcomes storage
hardware, business applications, and
bandwidth limitations and delivers
portable devices everywhere. Find out how
extreme computing power to the HP
Oracle embedded databases live and work
Oracle Database Machine and the HP
at the core of hardware, software, and
Oracle Exadata Storage Server.
other devices—and deliver cash, health,
—David Baum
/28 and security. —Jeff Erickson
/40
Cover: ron sellers
SErvE It up
BuIlDINg ON a Business growth can result in a
proliferation of application silos
SOlID FOuNDatION that hinder internal operations
Designing the right IT infrastructure is a critical and customer service. Read
part of ensuring application availability and how Oracle WebLogic Server
performance. See how companies rely on an delivers an open platform for
Oracle grid infrastructure—including integrating applications and
Oracle Database and Oracle Real building relationships.
Application Clusters—to provide a solid
yet flexible base for their applications.
—David Baum
/50
—David A. Kelly
/44
d e pAR t m e n ts
61 TEC HNOLOGY
S EC UR ITY
Encrypting Tablespaces / 61
Encrypt tablespaces transparently—without affecting
performance. —Arup Nanda
INS IDE OC P
Managing Database Resources / 67
New features in Oracle Database 11g help you assess
performance and limit I/O usage.
—Sushma Jagannath
24 C O MMU NI TY
Partner News / 24
AS K TOM
On Dynamic Sampling / 69
Our technologist samples dynamically, considers
usage, and sets levels. —Tom Kyte
Juniper Networks, PortWise, Noetix, Brocade,
Vovici, F5 Networks, Inquira
Book Beat / 24
Peer-to-Peer / 26
Alex Gorbachev, Andreas Chatziantoniou,
Christian Pfundtner
73 C OMMENT
IN THE FIELD
Keeping Up / 73
Make sure that your knowledge is current and
cutting-edge. —Ian Abramson
54 D EVEL O PER
F RA MEWO RKS
ALL S EC UR E
Changing the Market / 75
Purchasing criteria should focus on lifecycle
Easier Interactive Data Entry / 54 security costs. —Mary Ann Davidson
Improve the end-user experience with declarative LOVs
and automatic partial page refresh. —Steve Muench ANALY S T’ S C OR NER
Getting Ubiquitous / 76
PL / SQ L PRA CTI CES Embedded databases enable a wide array of
On Emulating FINALLY / 57 information management capabilities.
Code PL/SQL to function like the Java FINALLY section. —David Baum
—Steven Feuerstein
B RO WSER-B A SED
Easy Application Attachments / 59
Incorporate BLOB support in Oracle Application Express.
—David Peake
e ditorial
editor in chief Tom Haunert
tom.haunert@oracle.com
contributors
Marta Bright, Ed DeJesus, Kirk Donnan, Jeff Erickson,
Aaron Lazenby, Fred Sandsmark, Rich Schwerin, Leslie Steere
de Sign
Senior creative director Francisco G. Delgadillo
design director Richard Merchán
Production designer Kathy Cygnarowicz
e ditorial Board
WE LIVE IN THE
Ian Abramson, Karen Cannell, Andrew Clarke, Chris Claterbos, Karthika
Devi, Kimberly Floss, Kent Graziano, Taqi Hasan, Tony Jambu, Tony
HOUSE WE ALL
Jedlinski, Ari Kaplan, Val Kavi, John King, Steve Lemme, Carol McGury,
BUILD.
Sumit Sengupta, Jonathan Vincenzo, Dan Vlamis
re Source S
oracle Products +1.800.367.8674 (U.S./Canada)
oracle Services +1.888.283.0591
oracle Press Books www.oraclepress.com
Oracle Magazine (ISSN 1065-3171) is published bimonthly with a free subscription price Visit us at earthshare.org
by: Oracle, 500 Oracle Parkway, MS OPL-3C, Redwood City, CA 94065-1600. Periodicals
Postage Paid at Redwood City, CA, and additional mailing offices. • POSTMASTER:
Send address changes to: Oracle Magazine, P.O. Box 1263 Skokie, IL 60076-8263.
Take a Class.
Shaun Mehr
shaun@sprocketmedia.com
MidAtlantic U.S.
Dawn Becker and Lisa Rinaldo
dbeck71@optonline.net
+1.732.772.0160
Mailing-List Rentals
Edith Roman Associates
+1.800.223.2194, Ext. 684
Building on Tom Kyte’s excellent column “The Trouble with FOR l_index IN
Triggers,” I would like to draw everyone’s attention to a l_employees.FIRST .. l_employees.LAST
simple solution in case the requirement were to enforce that
there be at most one primary currency that is not used as a should be
secondary currency. Namely, let an optional column contain
Y to indicate the primary currency and a null for the second- FOR l_index IN
ary currencies; the job is done by imposing a constraint that l_names.FIRST .. l_names.LAST
allows Y only along with a unique index.
Atul Gupta
Arnold Bomans atulgg@gmail.com
abomans@eurotransplant.nl
Editors reply: This has been updated in the online version of the
Tom Kyte replies: We addressed that in the original asktom.oracle column at otn.oracle.com/oramag/oracle/08-sep/o58plsql.html.
.com-referenced Q&A as a “possible but bad idea.” See www
.tinyurl.com/triggertrouble.
send mail to the EDITOR
More inforMaTion, please Send your opinions about what you read in Oracle Magazine, and suggestions
I wanted to let you know that Oracle Magazine is a great for possible technical articles, to opubedit_us@oracle.com. Or click the Write the
Editors link on our Web site, oracle.com/oraclemagazine.
resource; keep up the great work! I would like to see more
Letters may be edited for length and clarity and may be published in any
articles devoted to Oracle E-Business Suite, specific to Oracle medium. We consider any communications we receive publishable.
Projects, Oracle’s cost and billing applications, Oracle Project
Geocoding
C
Web Services & APIs
M
Y
Multiplatform Tools
CM
MY
CY Now, finding the right data verification tools doesn’t have to BEFORE
CMY be so puzzling. Melissa Data offers customizable APIs, Web john smith iii phd
K
services and enterprise applications to match your budget melissa data corp.
22382 Empresa 92688
and business needs. For solutions to cleanse, validate and 7145895200
john@800miAL.con
standardize your contact data, we’re ready to help you find
the perfect fit.
AFTER
• Global address verification for 240 countries Melissa Data Corp.
John Smith III PhD
• Clean and validate data at point-of-entry or in batch
22382 Avenida Empresa Ste 100
• Correct misspellings, missing directionals, and confirm Rancho Santa Margarita, CA 92688-2112
deliverability 949-589-5200
John@melissadata.com
• Enhance addresses with County, Census, FIPS, etc. Delivery Indicator: Business
*Highlights indicate added and/or corrected data.
• Append lat/long coordinates to the ZIP, +2 and +4 levels
Realtime NCOALink
Change-of-address
• Work natively with Oracle Forms, PL/SQL, C++, VB NET, Web Service
C#, ASP and Java available
Investing in IT
Information technology is more than a line in the budget—it’s an investment in the future.
tories about changing global economic conditions (running Oracle Real Application Clusters) first eliminates
have dominated recent news cycles. Costs are always legacy support costs for hardware and operating systems
measured and budgeted, but in the current economic as well as unused capacity. Next, optimizing that grid by
climate, people are scrutinizing personal spending and investing in and running exactly the capacity (number of
companies are scrutinizing their operating budgets. nodes) needed and investing in virtualization (Oracle VM)
to make the greatest-possible use of all resources while con-
IT EconomIcs suming the least amount of electrical power means paying
IT budgets are not exempt from this scrutiny, and I’ve seen for and powering exactly the right infrastructure for the
stories on surveys that predict a drop in IT spending. What enterprise. This type of investment in IT infrastructure cuts
I haven’t seen—and I take this absence as good news—are costs immediately and pays immediate and future fiscal and
stories about budget cuts to critical IT investments due to planetary dividends.
economic concerns. IT investments are the projects that are Not all IT investments replace hardware and operating
going to both lower IT costs in the near term and the future system infrastructure, of course. Investments in middleware
(through operational efficiencies) and generate a return to infrastructure can help integrate a variety of specialized,
businesses in the form of new profits, competitive advantage, current, and legacy applications, cutting costs and improving
improved service-level agreement offerings, and more. business efficiencies. For example, a service-oriented architec-
Investments come in all shapes and sizes, and many core ture and key Oracle Fusion Middleware components, includ-
capital investment projects both inside and outside IT involve ing Oracle WebLogic Server, Oracle Coherence, and Oracle
infrastructure. Recent political campaigns in the U.S. proposed Tuxedo, are investments in an application grid strategy that
immediate investment in physical infrastructure projects to efficiently provides applications with needed resources—CPU
rebuild existing infrastructure that’s crumbling (roads, bridges, cycles, memory, disc space—while maximizing application
and so on) as well as to create new infrastructure for greener performance and reliability. Standards-based Oracle WebLogic
energy generation and reduced energy consumption. Now is Server is a Java Platform, Enterprise Edition, application server
also an ideal time for investing in IT projects for the rebuild- for developing and deploying integrated enterprise applica-
ing of legacy IT infrastructures worldwide in order to cut costs tions; Oracle Coherence provides an in-memory data grid
and create a new return on investment. It’s also an ideal time across multiple servers; and Oracle Tuxedo manages transac-
to build new green IT infrastructures that produce immediate tion processing for software written in C, C++, and COBOL
return on investment and return for the planet. and extends the life of existing IT investments.
8 x 10 7/8
ATTENTION
All users of
JD Edwards EnterpriseOne
or JD Edwards World
ss
Celebrating 15 Years as Your
15 M
years
c G r a w - Hil
l
Destination for Oracle Expertise
Transforming Infoglut!
A Pragmatic Strategy for
Oracle Enterprise Content
Management
Andy MacMillan and Brian Huff
Manage intellectual property
and avoid information overload
by deploying an enterprise
content management
framework.
share their experiences and best practices. PowerStream’s new state-of-the-art control www.ukoug.org
Learn more and sign up at www.euci.com/ center. Sign up at www.edist.ca.
conferences/0109-web-self. Continued on page 14.
TechAdvantage Conference
& Expo
February 11–16, New Orleans
Designed for electric cooperative management
and professionals in engineering, operations,
information technology, purchasing, and supply
Attend Oracle Develop in Prague, Czech Republic, on February 10 and 11, 2009. management, TechAdvantage features more
than 55 sessions focused on reducing costs,
Gartner Business Intelligence DistribuTECH enhancing reliability, and increasing service
Summit February 3–5, San Diego, California quality in the energy industry. Get information
January 20–22, The Hague, Netherlands The 19th annual event for energy transmission and register at www.techadvantage.org.
The Gartner Business Intelligence Summit and distribution professionals also encom-
examines business intelligence (BI) solutions, passes automation and control systems, infor- IDC Enterprise Social
advice, real and tangible strategies, cutting- mation technology, engineering, power delivery Networking Forum
edge best practices, and the latest tools and equipment, and water utility technology. Twelve February 12, San Francisco
technology that help organizations develop conference tracks, 59 educational sessions, This event brings together business and tech-
effective BI strategies and improve the perfor- and 275 exhibitors will provide valuable infor- nology executives who are interested in learn-
mance of BI efforts. Learn more and register at mation for everyone in the industry. Sign up or ing how their companies can gain from the
www.gartner.com/it/page.jsp?id=660408. learn more at www.distributech.com. social networking of their workforce, partners,
and customers. Through case studies and end
International Conference on Lean and Six Sigma for Process user presentations, attendees will learn how
Computer Engineering and Excellence in IT and Software major companies are benefiting from social
Technology Development Conference networking, with examples of return on invest-
January 22–24, Singapore February 3–5, San Francisco ment. The latest tools and techniques, as well
This international forum brings together Learn about the use of Lean and Six Sigma as the challenges organizations face, will also
leading researchers, engineers, and scientists to enable successful project execution; best be discussed. Get information and register at
for the presentation of technological advances practice applications of Lean Six Sigma to www.idc.com/events.
and research results in the fields of computer reduce IT operating costs; bottom-up deploy-
engineering and technology. It is held in con- ment strategies; and the relationship between Technology for Marketing &
junction with the International Conference on ISO, CMMI, Lean, and Six Sigma at this event. Advertising Conference
Advanced Computer Control. To learn more, Register at www.wcbf.com/quality/5089. February 24–25, London
visit www.iccet.org. This conference caters to the technology
Oracle Develop needs of marketers, advertising professionals,
Middle East Information February 10–11, Prague, Czech Republic publishers, customer service people, and sales
Technology in Healthcare Forum Learn from world-leading experts about next- professionals who deal with everything from
January 25–29, Dubai generation development trends and technologies. back-office customer relationship management
This event draws leading international and Participate in more than 35 technical sessions; and data systems to front-facing creative digital
regional specialists, including experts from the hands-on labs led by industry experts; tracks campaigns. Learn more at www.t-f-m.co.uk.
World Health Organization, the Health Authority of covering Java and rich enterprise applications,
Abu Dhabi, the Dubai Health Authority, and King Oracle Database, service-oriented architecture,
Faisal Specialist Hospital and Research Centre. and more. Keynote speakers include Oracle eventsLOCATOR
Interactive workshops will address electronic development leaders Mark Townsend, product Oracle Events
oracle.com/events
ELIJAH MERCHÁN
claims processing, electronic health and patient management vice president, and Dennis Leung,
Locate User Groups
records, and data storage and security. Learn software development vice president. Register at otn.oracle.com/collaboration/user_group
more at www.iirme.com/ithealth. oracle.com/events/oracledevelop/prague.
people face, the growing Web 2.0 trend in oracle.com/goto/hpmodernizationpodcast oracle Newsletters
oracle.com/newsletters
the enterprise, and the drivers for a new Paul Evans, worldwide marketing lead
breed of social applications that comple- for IT transformation solutions at HP, and oracle support
oracle.com/support
ment traditional customer resource man- Lance Knowlton, vice president for mod-
oracle university
agement systems to help salespeople close ernization at Oracle, discuss how IT infra- oracle.com/education
more deals quickly. structure, systems, and software come
also an important determining element ported Oracle Database/Oracle Fusion Free Software Downloads
otn.oracle.com/software
in the adoption of technology by Middleware/Oracle Enterprise Linux
developers, however. The developer configurations in Amazon EC2 has Documentation
otn.oracle.com/documentation
community has already picked up on been welcomed enthusiastically by
Technology Centers
this point. At the Oracle OpenWorld developers, and for very good reason: otn.oracle.com/tech
Unconference in September 2008, for if you’re one of them, your prototyp-
Podcasts
example, scores of developers (orga- ing options on Oracle just expanded otn.oracle.com/techcasts
nized by Oracle ACE Director Chris considerably. Instead of taking the time Technical Articles
Muir) convened to share their develop- and expense to procure and manage otn.oracle.com/pub/articles
ment experiences and begin to collab- boxes or database access for hot or Blogs
oratively create a new methodology for short-term projects, you can now be blogs.oracle.com
Oracle ADF, ultimately leading to the up and running very quickly—within Discussion Forums
forums.oracle.com
establishment of best practices. 30 minutes, most likely—with little
With both parts of the adoption equa- ongoing administration required. Or, if Developer Events Calendar
otn.oracle.com/events
tion—technology plus community—now you’re simply interested in evaluating
Oracle ACE Program
in play, REA development is sure to Oracle products, you now have a nice, otn.oracle.com/goto/oracle-ace
come on strong in 2009. hardware-free alternative to doing an
SECURITY BUDGETS OK FOR MOST FIRMS Oracle Business PrOcess interface. Oracle WebCenter Suite also
80 percent of 350 companies surveyed in ManageMent suite released supports delivery of a broad range of
September 2008 said that their organization
has budgeted sufficiently for information
security. Overall, 48 percent of companies
N ow available, Oracle Business
Process Management Suite supports
organizations in increasing efficiency,
Enterprise 2.0 services, such as wikis,
blogs, discussion forums, secure search,
and RSS feeds.
indicated that a user machine, network, visibility, and agility across a broad Oracle WebCenter Suite consists
or server in their organization had been range of processes. A new component of Oracle WebCenter Framework, a
breached in the previous two years, but that of Oracle Fusion Middleware, Oracle JavaServer Faces framework that acceler-
number rose to 61 percent among midsize Business Process Management Suite ates development and deployment of
organizations of between 1,000 and 4,999 includes a preintegrated portfolio of rich, context-driven composite applica-
employees. One in five companies has never modeling tools for business analysts, tions; Oracle WebCenter Services, a set
had a formal security audit by an outside developer tools for system integration, of Enterprise 2.0, content, and com-
organization, while 12 percent have audits as business activity monitoring for dash- munication services that can be embed-
often as twice a year. boards, integration with Microsoft Office ded in existing portals and applications;
Source: Fourth Annual Enterprise IT and desktop clients, and a unified portal Oracle WebCenter Interaction, which
Security Survey, a survey from VanDyke for process participants. provides open, extensible, and scalable
Software and Amplitude Research The suite includes Oracle BPEL social computing capabilities for deliver-
www.vandyke.com/aboutus/news/ Process Manager, a standards-based tool ing team-based community spaces for
pressreleases/company/it_survey2008.html for building and orchestrating processes heterogeneous environments; Oracle
and Web services; Oracle Business WebLogic Portal, which provides a scal-
Activity Monitoring, which enables cus- able extranet and e-commerce platform
INSIDERS ARE BIGGEST SECURITY RISKS
tomers to build interactive, real-time to deliver a targeted user experience;
75 percent of all data breaches in the U.S.
dashboards and create proactive alerts; and Oracle WebCenter Anywhere, a set
are caused by insiders, while outside hackers
Oracle Business Rules, which allows busi- of wireless and desktop services that
are responsible for just 1 percent of breaches,
ness analysts to easily define and modify enable users to connect with Oracle
according to a survey of nearly 3,600 IT
business logic without programming; and WebCenter Suite applications from any
professionals in France, Germany, the U.K.,
Oracle Business Process Management, a connected device.
and the U.S. 41 percent of data breaches
set of tools for creating, executing, and “Oracle WebCenter Suite offers the
occurred in mainframe environments.
optimizing business processes. most complete, open, and integrated
Source: 2008 Study on the Uncertainty “Oracle Business Process Management Enterprise 2.0 solution that allows
of Data Breach Detection, a study from Suite offers the flexibility that busi- organizations to leverage existing IT
Compuware and the Ponemon Institute ness analysts demand while providing investments while providing users with
www.compuware.com/pressroom/ the power IT requires,” says Amlan a better, more personalized experience,”
news/2007/7185_eng_html.htm Debnath, senior vice president, Oracle says Vince Casarez, vice president,
Server Technologies. product management, Oracle.
MOST DBAS DON’T EXPECT BREACHES
20 percent of respondents to a Web-based Oracle WeBcenter suite 10g Oracle unveils Oracle entitleMents
survey conducted in July and August 2008 release 3 availaBle server 10g release 3
said they expect a data breach or incident in
the coming year. 25 percent said that they do
not encrypt data within their databases. Of
W ith Oracle WebCenter Suite 10g
Release 3, now shipping, orga-
nizations can increase productivity
N ow shipping, Oracle Entitlements
Server 10g Release 3 allows organi-
zations to enforce consistent authoriza-
the 317 respondents to the survey, 57 percent and improve user interaction with tion policies at a granular level across
were DBAs, 9 percent were IT managers, Enterprise 2.0–enabled portals and the enterprise and more rapidly deploy
and 7 percent were developers. 40 percent of applications. A component of Oracle applications to help ensure compliance,
respondents manage more than 100 databases, Fusion Middleware, Oracle WebCenter improve business agility, and reduce IT
and 20 percent manage more than 500. Suite is a user interaction and portal costs. A component of Oracle Access
Source: Enterprise Data Insecurity: Are platform that enables organizations to Management Suite, Oracle Entitlements
Organizations Prepared for the Threat From securely deliver extranet and intranet Server 10g Release 3 externalizes and
Within? The 2008 IOUG Data Security portals along with composite applica- centralizes fine-grained authorization
Report, a survey by IOUG, Oracle, and tions that integrate processes, content, policies via comprehensive, reusable, and
Unisphere Research business intelligence (BI), and enterprise auditable authorization policies and an
www.ioug.org (available to members only) application information in a single user intuitive administration model.
ance processing. Oracle’s products for “Governments and businesses face Oracle acquires TaciT sOfTware asseTs
the insurance industry support insur-
ers in getting products to market faster,
reducing operational costs, strengthening
significant operating challenges with
demographic shifts, globalization, and
budget constraints. Haley’s patented
O racle has acquired the intellectual
property assets of Tacit Software.
Tacit Software’s automated profiling
customer and distributor relationships, technology simplifies the process of technology is an expertise location solu-
and meeting compliance requirements as managing complex legislative and busi- tion that helps organizations uncover
they gain greater visibility into their busi- ness policies,” says Charles Phillips, new opportunities for collaboration.
ness operations. These products include president, Oracle. Oracle plans to integrate Tacit
Oracle insurance policy administra- Software into Oracle Beehive, its enter-
tion, Oracle Insurance Insbridge Rating Oracle TO Buy advanced prise collaboration platform.
and Underwriting, Oracle Documaker, visual TecHnOlOgy “The addition of Tacit Software’s
Oracle’s Siebel Insurance Claims, Oracle
Insurance New Business, and Oracle
Insurance Data Exchange, among others.
O racle has entered into an agree-
ment to acquire Advanced Visual
Technology (AVT), a leading provider of
technology to Oracle Beehive under-
scores our commitment to a strong, dif-
ferentiated presence in the collaboration
Oracle has also introduced Oracle 3-D visual macro space planning soft- software industry,” says Terry Olkin,
Application Integration Architecture ware for retailers. AVT’s products enable chief architect and senior vice president,
Foundation Pack for Insurance, which retailers to collaborate with their stores Oracle collaboration technologies. ■
will enable insurance companies to and supplier partners to design and
accelerate application integration, espe- plan retail floor space in real time with a
cially between claims and financial current photo-realistic view of each store.
systems, in order to process claim pay- “The combination of Oracle and webLOCATOr
ments, set up claim reserves, and pursue AVT will create an industry-leading
Oracle business Process
outstanding debt. macro space management solution that Management suite
“Oracle Insurance has the industry- will maximize profitability through oracle.com/technologies/bpm/bpm-suite.html
leading applications and expertise that better allocation of selling space,” says Oracle WebCenter suite
will help customers shift from legacy Duncan Angove, senior vice president otn.oracle.com/products/webcenter
systems to modern technology and and general manager, Oracle Retail. Oracle entitlements server
oracle.com/products/middleware/identity-
profitably grow their businesses,” says “This will help enable retailers to gain management/entitlements-server.html
Rick Connors, senior vice president and rapid and profitable ROI from every
Oracle Adaptive Access Manager
general manager, Oracle Insurance. inch of store space and help Oracle oracle.com/products/middleware/identity-
further realize its vision for insight- management/adaptive-access-manager.html
O
oracle.com/ondemand/hyperion.html
racle has agreed to acquire RuleBurst
Holdings, the parent company Oracle TO Buy Primavera sOfTware Oracle business intelligence suite,
O
enterprise edition Plus
of Haley, a leading provider of policy racle has agreed to purchase oracle.com/appserver/business-intelligence/
modeling and automation software, to Primavera Software, a leading enterprise-edition.html
create an end-to-end solution for social provider of project portfolio manage- Oracle real User experience insight
services agencies. Social services agen- ment (PPM) solutions. Primavera’s PPM oracle.com/enterprise_manager/user-experience-
management.html
cies are moving to commercial software software helps companies propose, pri-
Oracle insurance
to automate entitlements. With limited oritize, and select project investments, oracle.com/industries/financial_services/
resources to serve a growing constitu- and plan, manage, and control complex insurance.html
ency, these agencies need to administer projects and project portfolios. Oracle Application integration
and distribute entitlements consistently “Enterprise PPM is moving to the Architecture foundation Pack
and accurately as defined by the underly- forefront of business strategy for indus- for insurance
oracle.com/industries/insurance/oracle-insurance-
ing legislation. Haley’s policy automation tries managing complex and capital- integration-architecture.html
platform translates legislation and policies intensive projects and has emerged as Oracle and Haley
into defined, automated rules that are a global driver for value creation and oracle.com/haley
deployed in an application. business success,” says Charles Phillips, Oracle and Advanced Visual
Together with its enterprise resource president, Oracle. “With 20 percent of Technology
oracle.com/avt
planning and customer relationship man- the world’s gross domestic product spent
agement applications, Oracle expects to annually on projects, the addition of Oracle and Primavera
oracle.com/primavera
create the first packaged software solu- Primavera is expected to extend Oracle’s
Oracle and Tacit
tion for social services agencies with an leadership position in the enterprise oracle.com/tacitsoftware
enhanced case management application. application space.”
designed for sustainability. Effectively, struction standpoint, is actually dwarfed be able to improve that by another
green computing needs to be a core by what you do on the floor—that 40 percent in Utah. We’re going to
design element. is, how your IT department operates. accomplish that by taking air from the
“Our goal is not only to meet the ever-changing needs of the business but also to do so
in a cost-effective and sustainable manner.”
—Mark Sunday, Senior Vice President and CIO, Oracle
outside 83 percent of the time and 1,400 environments spanning Oracle’s application base. In fact, we’ve been
using that for cooling the equipment. entire product line every week to a able to extend this approach across
Additionally, one of the problems of virtual grid environment with one- twenty thousand servers, supporting
being in the high desert is that the air sixth the hardware while doubling the Oracle’s employees as well as thousands
is very dry, so we’re going to have the number of classes we can deliver. So, of external customers.
largest implementation of a system again, that’s a significant savings in not Oracle Magazine: What is your long-term
that recycles the hot air coming off the only the power but also the number of vision for computing at Oracle?
servers to evaporate water to humidify people it takes to run the equipment. Sunday: Where I see us heading is toward
the cool air coming in from outside to For another line of business, we put the ability to configure applications
run the facility. We expect this facil- a significant focus on consolidating, vir- based on software components; being
ity to be one of the leading able to dynamically provi-
facilities in the world in terms sion those across a computing
of reducing the amount of grid; being able to live-migrate
support power required. those to other environments,
Additionally, we’re going larger or smaller; and meeting
to put a tremendous focus the current compute require-
on elastic grid computing ments. In fact, if there’s a test
so that we can dynamically environment that’s no longer
allocate computing resources, needed, we will be able to
based not on physical assets “park” this environment and
but on virtual assets, which reinstantiate it in seconds
will enable us to significantly when it is needed again. If we
improve utilization as well as have a physical server failure,
An artist’s rendering of the Oracle Utah Compute Facility
meet the dynamic needs of our we will leverage the dynamic
various stakeholders. tualizing, and optimizing the operations. grid computing capability to migrate that
Oracle Magazine: What benefits is Oracle So in our 2008 fiscal year, we were able workload into another virtual environ-
gaining from implementing next- to reduce the total cost of computing ment. In fact, we will be able to manage
generation data centers? equipment, facilities, labor, overhead— the virtual environments not only within
Sunday: It turns out that with our in fact, every aspect of what we’re charg- one physical data center but also across
approach of standardizing all of our ing them, by 35 percent. Continuing multiple data centers.
equipment on commodity x86 servers along this path, we expect to take out So really, my vision for the future is
running Linux, as well as the heavy use another 30 percent of computing costs an elastic grid that runs all the applica-
of virtualization, we’ve been able to sig- in fiscal year 2009. tions for the wide variety of stakeholders
nificantly increase asset utilization and Oracle Magazine: What can other compa- we support, both internal and external
drive down labor component usage. We nies do to transform their data centers to Oracle. Our goal is not only to meet
have less equipment, are consuming into next-generation data centers? the ever-changing needs of the business
less power, and require fewer people. Sunday: It starts with the basics: con- but also to do so in a cost-effective and
But equally important is that we solidate, standardize, and virtualize. sustainable manner. ■
have a lot more agility to provide a You have to begin by inventorying
higher level of services to our employ- what you have, plus all the resources Caroline Kvitka is senior managing editor of
ees as well as our external customers. you’re using: people, labor, power, and Oracle Magazine and Profit: The Executive’s Guide
This commodity-based grid comput- so forth. Additionally, take stock of to Oracle Applications.
ing approach has been really ideal for your applications wherever possible,
running the latest applications based on consolidate those, and standardize
service-oriented architecture. processes—but then move toward a nextSTEPS
For example, during fiscal year commodity-based platform running LISTEN to the podcast
oracle.com/magcasts
2008, we transformed our Oracle Linux and also virtualize significantly.
University business, an approximately Begin with pilot areas. You’ll see that LEARN about Oracle’s solutions for
empowering the green enterprise
[US]$500 million operation, from one you can get some very significant suc- oracle.com/green
that required provisioning 1,200 to cesses and proceed across your entire
Reshaping Your
Business with Web 2.0
By Vince Casarez, Billy
Cripe, Jean Sini, and Juniper WXC platform Validated With values across applications to improve
Philipp Weckerle oraCle e-Business suite authorization decisions. It uses Oracle
McGraw-Hill Osborne Media
uniper Networks’ WXC 590 applica- Access Manager, part of Oracle Identity
www.mhprofessional.com
ISBN: 0071600787 J tion acceleration platform has been
validated with Oracle E-Business Suite
Management, to add, remove, and
modify users, groups, and user attributes
Written by a team of Web 2.0 experts, this Release 12. The WXC platform allo- in Oracle Internet Directory.
guide provides a blueprint for leveraging the cates bandwidth and prioritizes Oracle “The integrated solution has been
new culture of participation in an enterprise
environment. Reshaping Your Business with Web
E-Business Suite applications traffic over proven to allow customers such as
2.0 offers proven strategies for the successful noncritical data. This reduces the effects global financial institutions to lever-
adoption of an Enterprise 2.0 paradigm and of WAN latency, network congestion, age and extend their Oracle invest-
covers the technical solutions that best apply and packet loss and improves end-to- ment while providing seamless and
in specific situations. The book offers clear end performance of Oracle applications secure application access,” says Kaushik
guidelines for using Web 2.0 technologies and
standards in a productive way to align with
for distributed enterprises. Thakkar, vice president of strategic alli-
business goals, increase efficiency, and provide Testing through the Oracle ances at PortWise.
measurable bottom-line growth. Application Integration Architecture PortWise is a member of the Oracle
Coauthor Vince Casarez is an Oracle vice for Partners Initiative showed that PartnerNetwork; the Oracle Enterprise
president who focuses on Web 2.0 technology Oracle E-Business Suite functionality Security and Governance, Risk, and
development, Enterprise 2.0, and portal products.
Billy Cripe, director of product management at
is maintained when the WXC platform Compliance Initiative; and the Oracle
Oracle, focuses on Enterprise 2.0 strategy and is inserted in-line between the client Extended Identity Management
enterprise content management products. Jean and application. In validation testing Ecosystem for Authentication.
Sini cofounded the Web 2.0 startup Activeweave, under this program, the WXC platform
which was later acquired by Buzzlogic, where compressed HTML, HTTP/HTTPS, and oraCle Validates noetiXVieWs Business
he is CTO. Philipp Weckerle leads the product
Oracle Forms traffic, reducing payload intelligenCe softWare
management efforts on Oracle Reports and
and improving application response time. oetix, an Oracle Certified Advantage
content integration at Oracle.
24 January/february 2009 o r ac l e . c o m / o r a c l e m a g a z i n e
IBM
21.7%
Microsoft
14.8%
Teradata
11.7%
oracle.com/goto/datawarehousing
or call 1.800.ORACLE.1
Copyright © 2008, Oracle. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.
JF09_Exadata_R2.indd 28 12/8/08 3:32:20 PM
BY DAVID BAUM
LAUNCHING
LAUNCHING
PERFORMANCE
PERFORMANCE
Oracle Exadata sends the HP Oracle Database Machine and HP Oracle
Exadata Storage Server to extreme data warehousing solutions.
Oracle Exadata delivers extreme computing power to the HP Oracle Database Machine
and the HP Oracle Exadata Storage Server.
A
s IT professionals know only too well, the quantities of data that they
must manage has been increasing exponentially. In many workplaces,
databases triple in size every two years. And although disk storage sys-
tems and processor speeds have kept pace with new requirements, data band-
width has not, which has created a bottleneck between storage and database
servers that limits query performance. Companies just can’t move data off the
disks and into the database servers fast enough anymore.
Those IT pros just got some help: Oracle and HP announced the HP Oracle
Database Machine and its key component, the HP Oracle Exadata Storage
Server, at Oracle OpenWorld in September 2008.
The HP Oracle Database Machine consists of eight database servers featur-
ing 64 Intel processor cores running Oracle Database 11g with Oracle Real
RON SELLERS
Application Clusters (Oracle RAC) on Oracle Enterprise Linux. The new machine
queries that used to take half an hour are now taking less than “We haven’t had to change our code at all to offer these
a minute with this new Oracle Exadata technology.” new Oracle Exadata systems to our customers,” says Salmon.
[Oracle Exadata] box and keeping it going.” of trouble and expense,” he says. “It’s simpler for customers
Better still, because Oracle and HP have such broad market because they’re just buying it by the rack.”
penetration, the labor resources that companies need to imple- LGR’s Salmon concurs. “Oracle’s already there. We just
ment and maintain Oracle Exadata products are easy to come piggyback on their success,” he says. “We literally put our
by. Analyst Winter believes this ready availability of IT talent CDR live application onto an Oracle Exadata box and drop
will help drive acceptance for the solution. it, shrink-wrapped, onto the customer’s floor. It simplifies the
“The computer industry has seen preconfigured database whole sales cycle. The hardware, the software, the database—
appliances before, but not based on a platform that is a stan- everything is bundled together as one single commercial off-
dard for so many companies,” Winter says. “The most impor- the-shelf solution. It has changed us from being a software
tant difference is that the Oracle Exadata products run with, or provider to being a solutions provider.”
provide database storage for, a database management system
that is widely used and has a mature, robust complement of RAPID ROLLOUT
database capabilities.” The turnkey nature of Oracle Exadata was a motivating
Voltaire’s Somekh agrees that Oracle customers will benefit factor for Mobiltel (M-Tel), a telecommunications company
from a preintegrated solution. “All the setup and configura- that has relied on Oracle technology since 2001. Part of
tion is done by Oracle and HP, which saves customers a lot the Mobilkom Austria Group and the wireless segment of
Oracle Exadata
Oracle Exadata is a family of high-performance, smart-storage software from Oracle and industry-standard
hardware from HP that can improve data warehouse query performance by a factor of 10 or more.
4GB/sec
Traditional Storage Oracle Database Server Grid
100MB/sec
InfiniBand Storage Network
Each HP Oracle Exadata Storage Server has
InfiniBand connections delivering up to 1GB/sec
data bandwidth between storage servers and
database servers. Incrementally adding HP Oracle
Storage Network Bandwidth Exadata Storage Servers linearly scales data
For large-scale data warehouses, traditional warehouse storage capacity, processing power,
and network bandwidth (for example: 4 HP Oracle
storage network bandwidth averaging
Exadata Storage Servers equals 4 GB/sec).
100MB/sec can limit query performance and
concurrency, especially when data volumes and
user demand continues to grow. HP Oracle Exadata Storage Server
The HP Oracle Exadata Storage Server is a fast, reliable,
high-capacity, industry-standard storage building block complete
with its own processing capacity and smart software that can
STEVE LYONS
Telekom Austria, M-Tel is the GSM market leader in Bulgaria “The most important thing that Oracle offers us is per-
and one of the most successful mobile operators in Europe. formance,” Zyumbyulev says. “With the HP Oracle Exadata
Over the last 10 years, M-Tel has become an integral part of Storage Server, we’re getting tens of times better performance
Bulgarian society by providing a portfolio of mobile, conver- on queries. It’s a huge business advantage. We can react
gent, fixed, and location-based communications services. quickly to the market.”
M-Tel was a beta test site for the HP Oracle Exadata Dimitrov sees the relationship with Oracle as mutually
Storage Server and is evaluating running the entire HP Oracle beneficial. “Working with Oracle has exposed us to state-of-
Database Machine to store CDR information. While testing the the-art innovation, and the partnership brings Oracle closer
HP Oracle Exadata Storage Server, M-Tel achieved on average to its clients,” he says. “This is just the beginning of our
a 28 times performance improvement compared to an existing common journey.” ■
production system.
“Going with Oracle Exadata was a natural choice for us,” David Baum (david@dbaumcomm.com) is a freelance business writer based in
says Simeon Dimitrov, head of enterprise resources man- Santa Barbara, California.
agement for M-Tel. “Oracle provides rich functionality and
addresses reliability, scalability, and performance. Our busi-
ness runs on the information in the CDR database. Having fast
access to a single source of information is critical.” nextSTEPS
According to Plamen Zyumbyulev, M-Tel’s lead DBA, when READ more about Oracle Exadata
oracle.com/exadata
Getty ImaGes/Petar Peshev
Storage
Storage plays an increasingly important
role in managing IT costs, reducing risk
and improving performance. The following
section highlights a number of companies
that help Oracle customers address today’s
vital storage challenges.
Partner Index
• EMC
• Fujitsu siEMEns CoMputErs
• pillar Data systEMs
• DEll
• Hp
To read Oracle and partner white papers on storage
solutions, please visit www.oraclewhitepapers.com
For more inFormation, view the white paper at www.emc.com/oracleFlashdrives or visit us at www.emc.com/oraclesolutions
ith the recently released HP Oracle Exadata Stor- storage (NAS) for Oracle solution, which lets companies
W age Server and the HP Oracle Database Machine, leverage the economics of industry-standard server and
Oracle brings hardware and software together to create storage components to build a high-performance, fault-
robust, cost-effective data warehouse solutions that help tolerant file-serving cluster for database consolidation.
their customers meet their most demanding business chal- The result is one of the only file-serving solutions that is
lenges. To help deliver these solutions, Oracle chose HP for validated by Oracle to meet the performance and availabil-
its trusted infrastructure and long-time Oracle expertise. ity requirements of mission-critical Oracle Databases.
These new Oracle offerings have gained a lot of atten- The scalable NAS for Oracle solution provides next-
tion recently—but in fact they represent a quarter century generation scalability and integrated high availability in
of collaboration between Oracle and HP and their work a high-performance network file system (NFS) serving
with more than 140,000 joint customers around the globe. system. As needs grow, a cluster can be scaled from as
“We collaborate in several areas,” says Mary Hynes, direc- little as a pair of dual-processor servers to a set of 16
tor, HP StorageWorks, Connectivity and Solutions Lab. “HP servers with multiple gigabit Ethernet and fibre channel
storage products are developed with Oracle integration in connections—all without interrupting client service. With
mind and tested for Oracle customer environments. HP is the solution’s symmetrical cluster file system, every serv-
also a leading partner in the Oracle Validated Configuration er sees all the data, enabling key benefits such as shared
program, with the most-recommended configurations Oracle HOME, single point of backup, seamless server
and the only storage offering spanning storage blades failover, and linear performance scaling
to enterprise arrays.” Recommended configurations in- The scalable NAS for Oracle solution helps midsize
clude Oracle Enterprise Linux and Oracle VM. “This joint businesses simplify storage. With NAS and NFS—Ora-
development and testing with Oracle helps ensure that cle’s preferred protocol—there is no host-based volume
HP solutions perform as companies expect to simplify the management or file system administration, and the
infrastructure, increase productivity, and reduce storage simple connectivity of NFS means that it is as easy as
maintenance costs,” says Hynes. Ethernet. Overall, the solution provides fast, fault-tolerant
Many of HP’s storage offerings are designed to accel- storage at a much lower price than storage area networks
erate Oracle solutions and integrate with Oracle products. (SANs). There is no need for expensive switches or SAN
HP offers a number of reference configurations for Oracle management costs, and companies can often amortize
and HP StorageWorks solutions that target compliance, costs over dozens of database servers.
business continuity, and storage resource management
implementations. In addition to its work with joint cus- cluStering: affordaBle and eaSy
tomers and technologies, HP has extensive close-to-home Like large corporations, midsize businesses have an
experience with Oracle software, having used it internally increasing need to store, share, manage, and protect
to consolidate some 80 data centers into three sites. rapidly growing pools of data. To help them do so, HP
HP’s range of storage offerings is complemented offers the HP StorageWorks All-in-One (AiO) system for
by the company’s overall experience with the entire IT Oracle Real Application Clusters (Oracle RAC) on Linux.
infrastructure, including solutions for storage, servers, This out-of-the-box solution enables midsize busi-
software, and services. “Our extensive experience and nesses to take full advantage of Oracle RAC and improve
expertise across these technologies lets us a take a big- storage utilization and the management of business ap-
picture perspective of storage, rather than a narrowly plications. It combines NAS, SAN, and data-protection
focused view,” says Andrew Manners, director, HP Stor- functions within a single enclosure, providing an integrat-
ageWorks Business Development. “That means we can ed solution that is customized for Oracle Real Application
work effectively with various companies to help them Clusters environments.
determine how to use storage to meet their specific tech- AiO for Oracle RAC on Linux provides high availability,
nology and business needs.” eliminating single-point-of failure issues and enabling the
backup of business-critical applications. It also scales easi-
powerful Storage for MidSize BuSineSSeS ly, allowing midsize businesses to add NAS or SAN storage
HP’s storage solutions support companies of all sizes, but nodes to match the Oracle environment. The combination
an increasingly important element in that mix is the midsize of the HP AiO solution and Oracle RAC delivers a shared
business segment. Midsize businesses are not all the same, architecture design that makes it easy to add HP Blade-
and they have varying needs. HP has developed several System c3000 enclosures, HP ProLiant Servers, external
solutions that are designed to help meet those needs. internet small computer system interface (iSCSI) devices,
For example, HP created a scalable network attached or additional storage to existing clustered environments.
INSIDE JOB
ORACLE EMBEDDED DATABASES LIVE AND WORK AT
THE CORE OF HARDWARE AND SOFTWARE.
fits their form factor and the way their system works.”
End-to-End ConnECtivity
While FEC measures the vital signs of a business, Toumaz
Technology’s Sensium technology measures the vital signs of
“Oracle Berkeley Database fulfills all our particular needs,” says Iris Chiang,
a patient. To build its system, Toumaz wanted to concentrate
product marketing director at FEC. “But we had other reasons to choose it:
brand recognition and service.” on its expertise—the ultra-low-power silicon devices and body
area network (BAN) wireless connectivity layer.
“We didn’t want to write a database,” says Keith Errey, CEO
Rex Wang, vice president of product marketing at Oracle, and cofounder of Toumaz Technology. “We wanted to help our
says that embedded databases meet varying requirements— customers provide better care for patients and know for sure
such as a small footprint, robust feature set, or extreme the data system will work.”
performance—depending on the product into which each By partnering with Oracle, the result was an end-to-end mon-
fits. “Oracle offers a choice of databases, itoring system that connects the ultra-low-
from nimble Oracle Berkeley Database to power wireless platform to the back-end
superfast Oracle TimesTen In-Memory ShotS
Snap database and allows healthcare providers to
Database, up to Oracle Database,” he says. monitor patient vital signs in real time with
Firich Enterprises Co. (FEC), a world- Firich Enterprises Co. (FEC) wearable sensors.
www.firich.com.tw
wide leader in point-of-sale (POS) ter- Location: Taipei, Taiwan
“With the Sensium system, we capture
minals for the retail, hospitality, lottery, Industry: Point of sale real-time data from patients with our
medical, and entertainment markets, Revenue: US$100 million extremely low-powered technology and
needed a small-footprint, embedded data- Employees: 302 seamlessly integrate it into an Oracle
base for an inexpensive terminal designed Oracle product: Oracle Berkeley Database Healthcare Transaction Base. From there it
for the small grocery stores and coffee can be made available to the appropriate
Toumaz Technology
shops that dominate retail in much of medical personnel,” Errey says.
www.toumaz.com
Asia. “Our customers for this product can’t Location: Abingdon, England The Sensium technology can be
pay the cost of a major back-end system,” Industry: Healthcare incorporated into a wide range of BAN
says Iris Chiang, product marketing direc- Employees: 42 devices, including a disposable “smart
tor, FEC. “But they still want to be able Oracle products: Oracle Database Lite 10g, patch” that is stuck to the skin like
to customize their point-of-sale terminal Oracle Database Express Edition, Oracle an adhesive bandage. Once applied, it
Healthcare Transaction Base
to run promotions, honor coupons, and monitors heart rate, temperature, and
gather intelligence on their business.” Amcom Software respiration and transmits these vital signs
After looking at other database solu- www.amcomsoftware.com wirelessly to a network node. “We use
tions, including MySQL, FEC chose Oracle Location: Minneapolis, Minnesota wireless to cover that first meter—or few
Berkeley Database for its VIVIPOS termi- Industry: Communications software meters—between the patient and the
nal. “We were looking for an off-the-shelf Revenue: US$43 million network node,” says Errey.
ron SELLErS
database with the features we needed and Employees: 200 The network node is a key point in
Oracle product: Oracle Database 10g
a reputation for reliability,” says Roger the end-to-end system. It is where mul-
EntErprisE-Class EmbEddEd
Critical information flows are also important to Amcom
Software, a company that provides systems for organizations “With Oracle Database Lite 10g embedded in the network node, we achieve
a seamless, end-to-end system between the patient and the Oracle Healthcare
that need to automate, centralize, and standardize mission- Transaction Base,” says Keith Errey, CEO and cofounder of Toumaz Technology.
critical communications. One of its solutions is a response
system for emergency incident management and mass notifica-
tion. This system initiates, monitors, and manages emergency those kinds of specialized rules around how that communi-
communications of all types, automatically delivering mes- cation must happen.”
sages, collecting responses, and logging activities for reporting To build its solution, Amcom takes an initial feed of data
and analysis. Other applications facilitate intelligent commu- from its customer, which is a snapshot of that customer’s infor-
nications with and between critical-care providers and govern- mation for all facilities and personnel. “Once we get onsite, we
ment personnel in operator-assisted and automated systems. get fresh production data and then go from there,” says Hixon.
“Our customers are a ‘who’s who’ of government, health- At the customer site, Amcom does all the patching and
care, hospitality, and education organizations, from Cleveland manages all the database security. “Our customers are using
Clinic to Stanford University to Caesar’s Palace and top mili- Oracle Database, but they don’t necessarily know it. They
tary and government agencies,” says Ed Hixon, Amcom’s direc- never have to log in to Oracle [Database]. Otherwise they
tor of product management. “They are typically very large, might have an IT guy who decides that he’s going to take
geographically dispersed organizations that require high avail- down the server today to do some maintenance, and then
ability and extreme security.” Thus, Amcom’s solutions must stuff hits the fan,” says Hixon. “That’s why embedded is the
meet stringent U.S. Department of Defense requirements and way to do it.”
certifications and pass rigorous audits in the healthcare setting. Oracle’s Wang agrees. “As CPU speeds and memory increase,
“We had to embed a true enterprise database to manage the there are more scenarios where embedded databases make
data and business intelligence areas of the platform,” he says. sense,” he says. “They’re in our mobile devices, but they’re also
Amcom chose Oracle Database 10g to capture in its data in our cars, home appliances, and enterprise software.” ■
structure the rules these government and healthcare require-
ments impose, as well as Oracle’s business intelligence solution Jeff Erickson is a senior editor with Oracle Publishing.
for dashboard-type reporting. “We couldn’t capture the informa-
tion we need with a less-sophisticated database engine,” says
Hixon. “We had to have the capabilities that Oracle Database 10g nextSTEPS
gives us to store and execute the service and application logic.” READ more about embedded technology
oracle.com/technologies/embedded
That business logic can be simple or complex. “It can be as
simple as a directory listing about which building a nurse is VISIT the Embedded Developer Center
otn.oracle.com/tech/embedded
in,” says Hixon, “up to where [leaders] have complex sets of
DOWNLOAD Oracle databases
bob ADLER
BY DAV ID A. KELLY
foundation that includes enterprise databases, right levels of reliability, scalability, man-
efficient middleware, and a grid comput- ageability, and flexibility,” says Gene Phifer,
ing infrastructure that can support dynamic managing vice president, Gartner. “For
when they need additional I/O capacity, without interrupting servers together in a grid, we also tie the storage together
the online operation of the database. in a much larger pool, so we can better manage the use of
Employees: 37,000 (plus 14,800 independent agents and financial specialists) and Oracle Enterprise Manager Grid Control, it has an inte-
Oracle products: Oracle Database 10g, Oracle Real Application Clusters 10g,
grated management infrastructure to manage all instances in a
Oracle Clusterware, Oracle’s Siebel Contact Center
common environment.
oracle.com/middleware
or call 1.800.ORACLE.1
Copyright © 2008, Oracle. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.
JF09_AppServer.indd 50 11/24/08 4:09:35 PM
By Dav iD B aum
Serve
it Up!
Oracle WebLogic Server delivers an open platform for integrating
applications and building relationships.
ifferent lines of business require different separating each operating company wherever
applications, and the applications that those lines impacted customer satisfaction or
define lines of business can become bar- employee productivity.”
riers to providing consistent service across the Robertson knew that aligning this project with
company. Overcoming those barriers and serving prevailing standards, unified by an open applica-
a variety of applications to both internal users tion server platform, would make this massive
and customers requires an integration strategy development project much easier. It’s a familiar
and a powerful application server platform. realization. According to Tony Baer, a senior
FedEx, the global shipping and business analyst at Ovum, an application server creates
solutions giant, was having growing pains. As a common middle-tier layer that makes it easier
the company added to its operational network, to integrate applications, services, and business
integrating everything from order processing and processes and expose them on the Web.
shipment tracking to billing and customer support “Middleware assets embodied in today’s
became time-consuming and labor-intensive. application server platforms are critical because
“We wanted a single way of doing shipping; we applications are increasingly being composed
wanted a single customer number across applica- rather than developed,” Baer says. “It’s all about
tion codes; and we wanted a single invoice,” says extending and integrating, rather than developing.”
Tim Robertson, IT manager at FedEx. “FedEx felt The result was a group of applications called
that it was imperative from both a competitive and FedEx Unified Strategic Information Optimiza-
I-HUA CHEN
an operational standpoint to eliminate the lines tion Network, or FUSION. Its three entities are
G
rid computing is the pooling and sharing of computing servers for much greater performance, reliability, and scale in an
resources so that they can be more effectively allocated and application’s working memory.
adjusted across a set of needs. The application grid applies grid Oracle Tuxedo provides mainframe-class scale and performance on
computing at the level of middleware—the infrastructure on which open, distributed systems for software written in C, C++, and COBOL.
applications run. An application grid architecture provides applications Oracle Tuxedo provides an excellent platform for “rehosting” main-
with the resources they need—CPU cycles, memory, disc space—in a frame applications on mainstream hardware. Oracle Tuxedo extends
way that makes efficient use of the resources while maximizing appli- the life of existing IT assets by allowing them to work as part of a
cation performance and reliability. modern architecture, such as service-oriented architecture (SOA).
The application grid approach is well suited for applications that are Oracle JRockit, a family of Java runtime technologies, includes
data-intensive or that keep large amounts of data in memory. It pro- Oracle JRockit Real Time, a foundation for predictable, low-latency,
vides a flexible foundation for applications that require fast response or event-driven SOAs that have extreme transaction processing needs,
low latency and demand predictable behavior. and Oracle JRockit Mission Control, a set of tools for monitoring, man-
Key products form the foundation of an application grid architec- aging, profiling, and eliminating memory leaks in Java applications.
ture, and their usage enables application grid operation. The following Oracle Enterprise Manager provides real-time visibility and monitor-
Oracle Fusion Middleware technologies can accelerate the develop- ing into application infrastructure in the data center. It provides predic-
ment of an application grid approach: tive alerts, details, real-time root-cause analysis, and the ability to
Oracle WebLogic Server is a powerful and scalable Java Platform, analyze historical data for component usage and load performance.
Enterprise Edition, application server that offers the clustering features Oracle WebLogic Operations Control is a module for Oracle
required for an application grid. In addition, sophisticated diagnostics Enterprise Manager that automates the adaptive management of appli-
and memory-leak detection can help prevent application disruption by cations with a controller that dynamically allocates and de-allocates
getting to the root cause of performance bottlenecks, poor memory resources to applications or services by invoking the deployment capa-
keith renard/skipworth photography
use, and other configuration anomalies. As the core of the Oracle bilities of the underlying infrastructure.
WebLogic Suite, it provides a comprehensive platform for developing “[Oracle is committed] to delivering the industry’s most comprehen-
and deploying integrated enterprise applications. sive foundation for developing, deploying, and integrating enterprise
Oracle Coherence provides a distributed cache, or in-memory applications,” says Thomas Kurian, senior vice president, Oracle Fusion
data grid, for Java, .NET, and C++ applications. The in-memory data Middleware. “Oracle is driving its application grid strategy forward and
grid automatically and dynamically partitions data across multiple delivering immediate benefits to customers, partners, and developers.”
Group Layout area containing the navi- and that the reference information in the Executables box, and expand
gation buttons, and drop it to the right for this new Mgr value is updated, the Property Inspector’s Advanced
of the Last button. When the Create in turn, to reflect CLARK’s MgrSal section. In the Active Events group at
menu appears, choose Operations and MgrEname values. Again, the the bottom, note that the value of the
-> ADF Button. Repeat the preced- PercentOfManagerSal calculated field ChangeEventPolicy property is set
ing step to drop a Rollback operation is updated to reflect the new percent- to ppr. In some cases, such as when
as a Rollback button. To ensure that age. Next, erase the CLARK value for the you add navigation buttons to a form,
the Commit and Rollback buttons MgrEname field, type BL into the field, Oracle JDeveloper design time auto-
are never disabled, set their Disabled and press the Tab key. Because only a matically configures this property for
property to false: Hold down the Ctrl single employee has an Ename value you. In other situations, you need to
key, and select both the Commit and starting with BL, the MgrEname field set it yourself on the iterators where
the Rollback buttons. Expand the changes to BLAKE and all the related you want the feature to take effect.
Property Inspector’s Behavior section, fields are updated. Finally, if you With the new capabilities you’ve
click the down-pointing arrow to the change the current employee’s salary learned about in this column, you’ll
right of the Disabled property, and from 800 to some other nonzero value soon be building data entry pages that
choose Reset to Default. and press the Tab key, the percent-of- are even more attractive and functional.
The MgrEname LOV will perform manager-salary calculation will imme- For more information, see Section 5.11,
autocompletion only when the com- diately be reflected again. You’ve built “Working with List of Values (LOV) in
ponent’s AutoSubmit property is set this slick, interactive data entry form View Object Attributes,” in Oracle Fusion
to true, so you’ll configure that next. completely declaratively. Developer’s Guide for Oracle ADF 11g. ■
Select the inputListOfValues compo-
nent on the page. (It looks like a text Seeing Data ChangeS Steve Muench is a consulting product manager for
field with a magnifying glass icon to RefleCteD automatiCally Oracle JDeveloper and an Oracle ACE. Since 1990
the right.) In the Property Inspector, In this example, Oracle ADF changes he has developed and supported Oracle tools and
expand the Behavior category and the MgrEname and MgrSal values XML technologies and continues to evangelize them.
set the AutoSubmit property to true. when the new Mgr foreign-key value Muench coauthored the Oracle ADF Developer’s
In the same way, set the AutoSubmit is either entered directly or selected Guide for Forms/4GL Developers (Oracle, 2006),
property to true for the Mgr and Sal from the LOV. The Groovy-calculated wrote Building Oracle XML Applications (O’Reilly
input fields. attribute is also recalculated when either Media, 2000), and shares tips and tricks on OTN
Now right-click EditEmployees the Sal or the Mgr attribute changes, (otn.oracle.com) and in his “Dive into ADF” blog
.jspx in the Application Navigator thanks to the attribute dependency (radio.weblogs.com/0118231).
and choose Run. Because the data is information you configured for the
sorted by Empno value, the employee PercentOfManagerSal attribute.
in the first row that appears when the In earlier Oracle JDeveloper/Oracle
page appears in your browser should
be SMITH, whose manager is FORD.
ADF releases, you could achieve inter-
active partial page refreshes of this nextsTePs
If you update the value of the Mgr type only by manually configuring the reaD online-only column content
attribute to 7839 and tab out of the PartialTriggers property for the compo- otn.oracle.com/oramag/oracle/09-jan/o19frame.html
field, note that the reference informa- nents you knew required refreshing. To reaD more frameworks
otn.oracle.com/oramag/oracle/frameworks
tion for MgrEname (KING) and MgrSal configure that property, you needed to
(5000) will automatically be updated understand and remember all the possi- reaD more about
on the page. Also note that the calcu- ble ways back-end business logic might oracle JDeveloper and
oracle application Development
lated attribute for the percentage of the trigger a change in other attributes’ framework
manager’s salary updates to reflect the values—a configuration headache for all otn.oracle.com/products/jdev
otn.oracle.com/products/jdev/tips/muench/
percentage of KING’s salary. but the simplest kinds of pages. designpatterns
Click the magnifying glass icon Oracle ADF 11g’s new auto-PPR Oracle Fusion Middleware
to the right of the MgrEname field feature relegates such drudgery to download.oracle.com/docs/cd/e12839_01/index.htm
otn.oracle.com/documentation
to open the LOV dialog box. To the past. To enable it, you must Oracle Fusion Developer’s Guide for Oracle ADF 11g
search for a manager, enter manager set a single property on the itera- download.oracle.com/docs/cd/e12839_01/web.1111/
b31974/toc.htm
in the Job field in the Search region tor binding in the page definition
and click Search. Select the row for where you want it to take effect. To DowNLoaD
CLARK in the table, and click OK. see the property, click the Bindings oracle JDeveloper 11g
otn.oracle.com/software/products/jdev
Again, note how the LOV’s return-item tab at the bottom of the visual editor
starter workspace for this column
definitions ensure that the Mgr field for the EditEmployees.jspx page. otn.oracle.com/oramag/oracle/09-jan/o19frame.zip
is set to reflect CLARK’s employee ID Select the EmployeesIterator binding
On Emulating FINALLY
Code PL/SQL to function like the Java FINALLY section.
just moved over from the Java world to block in which the value was assigned has Lines 12–22. Use UTL_FILE to open the
PL/SQL. One thing I really miss from Java been closed. If I don’t want that memory specified file, and read its contents into
is the FINALLY section of a method. How to continue to store the variable values, I an array, which is declared by use of a
can I get the same behavior out of PL/SQL? must explicitly release that memory. DBMS_SQL type.
Unlike Java, PL/SQL does not Let’s take a look at a program that Lines 18–21. When UTL_FILE.GET_
support a FINALLY section. You can, works with files and dynamic SQL—and LINE reads past the end of the file, it
however, emulate much of what this the problems that can arise when you raises the NO_DATA_FOUND excep-
section does, through careful and disci- don’t clean up properly after yourself. I tion. It traps that exception and then
plined use of local subprograms. will use the typical and ubiquitous quick- uses the NULL statement to tell the
First, I’ll look at how FINALLY works and-dirty methodology to throw together program to continue.
in Java, then I’ll explore why it would be a program (exec_sql_from_file) that Lines 24–32. Use the overloading of
useful in PL/SQL, and last I’ll show how reads a file and executes its contents as a DBMS_SQL.PARSE (which accepts an
to emulate it. single SQL statement using DBMS_SQL. array of strings) to parse the entire con-
In Java, the FINALLY section always I’m assuming that this is a method one tents of the file, and then execute the
executes when the TRY section of a dynamic SQL statement (DDL or DML cursor. These lines perform the dynamic
method exits—even if an unexpected and without any bind variables). SQL operation. This use of dynamic SQL
exception has been raised. The FINALLY Here is an explanation of the exec_ and array overloading will work in all
section ensures that cleanup logic is not sql_from_file procedure in Listing 1: releases of Oracle Database, but note that
bypassed or ignored, regardless of where
or how a program terminates. The pro- codeLiStiNG 1: exec_sql_from_file (before FINALLY emulation)
grammer does not have to specifically
1 PROCEDURE exec_sql_from_file (
invoke this section or call the code in 2 dir_in IN VARCHAR2
it. The Java engine automatically runs it 3 , file_in IN VARCHAR2
4 )
before returning control from a method.
5 IS
6 l_file UTL_FILE.file_type;
Cleanup needed on the pl/SQl aiSle 7 l_lines DBMS_SQL.varchar2a;
8 l_cur PLS_INTEGER;
In the PL/SQL world, there are several
9 l_exec PLS_INTEGER;
actions that require explicit cleanup state- 10 BEGIN
ments, including the following: 11 BEGIN
12 l_file := UTL_FILE.fopen (dir_in, file_in, ‘R’);
Opening a file by using UTL_FILE.FOPEN.
13
I must then close the file by using 14 LOOP
UTL_FILE.FCLOSE; otherwise, the file 15 UTL_FILE.get_line (l_file, l_lines (l_lines.COUNT + 1));
16 END LOOP;
will remain open until my connection is
17 EXCEPTION
terminated or until I call UTL_FILE 18 WHEN NO_DATA_FOUND
.FCLOSE_ALL to close all the files 19 THEN
20 /* All done reading the file. */
opened in my session.
21 NULL;
Opening a cursor by using DBMS_SQL 22 END;
.OPEN_CURSOR. I must close the cursor 23
24 l_cur := DBMS_SQL.open_cursor;
by using DBMS_SQL.CLOSE_CURSOR,
25 DBMS_SQL.parse (l_cur
or that cursor will remain open until my 26 , l_lines
connection is terminated. 27 , l_lines.FIRST
28 , l_lines.LAST
Allocating memory for package-level
29 , TRUE
variables. Variables declared at the 30 , DBMS_SQL.native
package level retain their values (and the 31 );
32 l_exec := DBMS_SQL.EXECUTE (l_cur);
memory allocated for those values) for
33 END exec_sql_from_file;
the duration of my session, even if the
in Oracle Database 11g, both DBMS_SQL I now have a fairly robust procedure DBMS_SQL.close_cursor (l_cur);
.PARSE and EXECUTE IMMEDIATE that cleans up after itself, whether it ends END IF;
accept a CLOB, so you will no longer successfully or with an error. But I would END cleanup;
have to use this array overloading for very rather not duplicate the cleanup logic in
large (greater than 32K) SQL statements. multiple places. I call this cleanup program at both
So in PL/SQL I needed just 33 lines Furthermore, my exception section exit points of my exec_sql_from_file
of code to implement a procedure that code assumes that both the file and the procedure: successful completion (the
reads the contents of a file and executes cursor have been opened. If I encounter end of my executable section) and the
it as a SQL statement. Unfortunately, a problem in reading the file, I will never occurrence of any error (in the WHEN
this is very messy code. I have neglected even get to the dynamic SQL portion of OTHERS clause). The following code
to implement the cleanup steps: close my program (lines 24 through 32). Thus, assumes that the cleanup procedure has
the file and close the cursor. As a result, I might try to close a cursor that is not been added to the exec_sql_from_file
the file remains open for the duration open and raise an exception. The error procedure and replaces the last line of
of my session (or until I call UTL_FILE that will be raised depends on the version exec_sql_from_file in Listing 1 with
.FCLOSE_ALL). The cursor also remains of Oracle Database. (If I am running
open until I disconnect. Oracle Database 11g, this action will cleanup ();
disable the use of DBMS_SQL entirely for EXCEPTION
Emulating Finally my session, requiring me to reconnect.) WHEN OTHERS
Now I will show you how to emulate I really should close my resource THEN
as closely as possible the behavior of only if it is open, and that further com- cleanup ();
a FINALLY clause in PL/SQL, using a plicates the cleanup code I need to RAISE;
locally defined cleanup subprogram. write. I could simply add that code to END exec_sql_from_file;
To ensure that I clean up properly and the exception section, but what if I need
close any open resources, I need to add to trap a specific exception? I will need Listing 2, available in the online
two lines before the end of my procedure to clean up there too and duplicate even version of this column, at otn.oracle.com/
(between lines 32 and 33 in Listing 1): more code. My program will be much oramag/oracle/09-jan/o19plsql.html,
more elegant and easy to maintain if I shows the revised exec_sql_from_file
UTL_FILE.fclose (l_file); can consolidate all my cleanup logic into procedure, with FINALLY emulation.
DBMS_SQL.close_cursor (l_cur); one reusable subprogram. This approach of segregating all
So I implement a small local sub- cleanup logic into a single subprogram
Am I done, then? Only if I never have program inside exec_sql_from_file that and then calling it at the end of the
any problems running this program. performs all my cleanup operations: executable section and in each excep-
In the real world, every possible tion handler is the closest you can
thing that could go wrong does go PROCEDURE exec_sql_from_file ( come to emulating the Java FINALLY
wrong. So in the case of exec_sql_from_ dir_in IN VARCHAR2 clause in PL/SQL. ■
file, I need to add an exception handler , file_in IN VARCHAR2
to trap errors, log error information as ) Steven Feuerstein (steven.feuerstein@quest.com) is
specified by my application standards, IS Quest Software’s PL/SQL evangelist. He has published
clean up from the effects of the program, ... declarations as before ... 10 books on Oracle’s programming language,
and raise the exception again. including Oracle PL/SQL Programming and Oracle
The following adds the previously PROCEDURE cleanup PL/SQL Best Practices (O’Reilly Media). Feuerstein’s
mentioned cleanup logic and an excep- IS self-appointed mission in life these days is to improve
tion section before the end of the exec_ BEGIN the quality and quantity of PL/SQL code testing.
sql_from_file procedure (between lines IF SQLCODE <> 0
32 and 33 in Listing 1): THEN
nextsteps
log_error ();
UTL_FILE.fclose (l_file); END IF;
DBMS_SQL.close_cursor (l_cur);
reaD online-only column content
EXCEPTION IF UTL_FILE.is_open (l_file) otn.oracle.com/oramag/oracle/09-jan/o19plsql.html
WHEN OTHERS THEN reaD more
THEN UTL_FILE.fclose (l_file); Best practice pl/sql
log_error (); END IF; otn.oracle.com/oramag/oracle/plsql
otn.oracle.com/pub/columns/plsql
UTL_FILE.fclose (l_file);
DOWNlOaD Oracle Database 11g
DBMS_SQL.close_cursor (l_cur); IF DBMS_SQL.is_open (l_cur) otn.oracle.com/software/products/database
RAISE; THEN
14. Click Next. Column Formatting section, enter rightmost button at the top of the
15. Select 3 Asset Details (3) for both Buttons area).
branches, and click Next. IMAGE:EBA_ASSET_ATTACHMENTS: 10. Select Attachments (1) 20, and
16. Click Finish. A Success page allows CONTENT:ID::MIMETYPE:FILENAME: then click Next twice.
you to run or edit the new page. LAST_UPDATE::inline:Download 11. Enter NEW_ATTACHMENT for both
17. Click Edit Page. The new page Button Name and Label, select the
should be page 16; if it is not, substitute in the Number/Date Format box; and Action option Redirect to URL
your page number in subsequent steps. click Apply Changes twice. without submitting page, and click
18. Under Items, click P16_ASSET_ Next twice.
ID, and under Name for Display As, IntegratIng attachments Into the 12. Select Region Template Position
select Hidden and Protected; click the report page #EDIT# for Position, and click Next.
right arrow. The last step is to integrate a new region 13. Enter 16 as the Page value, 16 as
19. For P16_DESCRIPTION, under into the Asset Details page to display the Clear Cache value, P16_ASSET_ID as
Element, change the Width value to the attachments associated with a spe- the Set these items value, and &P3_ID
100; click the right arrow. cific asset and call the new page for for With these values, and click
20. For P16_CONTENT, under Source, maintaining the attachments. Create Button.
click BLOB Download Format Mask 1. Navigate to page 3, Asset Details. 14. Navigate back to page 1, and run
and enter and select values as follows: 2. Click the create (region) icon (the the application.
BLOB column: CONTENT rightmost button at the top of the
MIME Type column: MIMETYPE Regions area). conclusIon
Filename column: FILENAME 3. Click Report, and click Next. Oracle Application Express makes it
BLOB Last Updated column: 4. Click SQL Report, and click Next. easy to maintain files as BLOBs in the
LAST_UPDATE 5. Enter Attachments as the title, change database. The example in this column
Content Disposition: Inline the sequence to 20, and click Next. demonstrated how you can manage mul-
Download Link Text: Download 6. Enter the following in the SQL tiple attachments for an existing table by
Click Apply, and click the right arrow. Query box: implementing a new related table.
21. For P16_MIMETYPE, under Name Note that if you are running Oracle
for Display As, select Hidden; click SELECT ID, FILENAME, Application Express with Oracle
Apply Changes. LAST_UPDATE, DESCRIPTION, DBMS_LOB. Database 11g, you can also take full
22. Click the create (region) icon (the GETLENGTH(CONTENT) Content advantage of Oracle SecureFiles capa-
rightmost button at the top of the FROM EBA_ASSET_ATTACHMENTS bilities to compress, deduplicate, and
Regions area). WHERE ASSET_ID = :P3_ID encrypt BLOBs within the database.
23. Click Report, and click Next. Finally, for more information on
24. Click SQL Report, and click Next. and then click Create Region. BLOB support in Oracle Application
25. Enter Image for Title, and click Next. Express, refer to “About BLOB Support
26. Enter the following in the SQL 7. Click Attachments in the Regions in Forms and Reports” in Oracle
Query box: area, and click the Report Attributes Application Express Application Builder
tab. Click the Edit icon for the ID User’s Guide, chapter 15, “Advanced
SELECT ID, DBMS_LOB. column, navigate to the Column Link Programming Techniques.”■
GETLENGTH(CONTENT) Content area, click [Icon 2] to set the Link Text
FROM EBA_ASSET_ATTACHMENTS value, enter 16 in the Page box, enter 16 David Peake (david.peake@oracle.com) is a principal
WHERE ID = :P16_ID in the Clear Cache box, enter P16_ID product manager in Oracle’s Server Technologies
for Item 1 Name and #ID# for Item 1 division. He has been with Oracle since 1993.
and then click Next twice. Value, and click Apply Changes.
nextsTePs
27. For Condition Type, select PL/SQL 8. Click the Edit icon for the
Expression; enter INSTR(:P16_MIMETYPE, CONTENT column. Under Column
‘image’) = 1 in the Expression 1 box; Formatting, enter
read more Browser-Based
and click Create Region. otn.oracle.com/oramag/oracle/browser
28. In the Regions area, click Image and DOWNLOAD:EBA_ASSET_ATTACHMENTS: LearN more about oracle application
the Report Attributes tab. Change the CONTENT:ID::MIMETYPE:FILENAME: express
headings type to Custom, and uncheck LAST_UPDATE::inline:Download apex.oracle.com
Encrypting Tablespaces
Encrypt tablespaces transparently—without affecting performance.
n an era when data security is criti- applications when an encrypted column data, the server process moves the data
cal in almost every type of business, is used in range scans or as a foreign from storage to the buffer cache and
databases are particularly important. key. Column encryption is performed subsequently to the user’s session. The
This is where the organization’s transparently within the database SQL data is decrypted before being loaded
crown jewels live—credit card numbers, layer, and indexes on an encrypted into the buffer cache, so it’s always
Social Security information, names column are built on the encrypted in cleartext (unencrypted) inside
and addresses—the list is the buffer cache. Almost
endless. The data security all types of data access—
risk increases when business including index scans, table
data leaves the security of joins, and so on—happen
an organization’s databases in the buffer cache, so the
in the form of backup tapes. performance of operations
Historically, these offsite involving data from the
tapes have been the source encrypted tablespace is no
of many data thefts. And different from that involving
because the tapes can be data from a normal, unen-
restored on any equivalent crypted tablespace.
machine, attackers can With tablespace encryp-
browse the data at their tion, before data buffers
leisure, and there is nothing are written back to disk (as
the organization can do to a result of the checkpoint
protect the data then. process), they are encrypted
How can you prevent this by DB Writer processes
from happening? The simple (DBWn), as shown in Figure
answer is encryption— 2. Operations, such as direct
encrypt the data in the database and values. Because encrypted values look path inserts and reads that manipu-
store the encryption key in a different random and disconnected, range scan late the data directly in the database,
place. Thieves might be able to access operations on encrypted columns are perform encryption inline. When the
the backup tapes and restore the data- not effective. Although column encryp- log buffers are written to the redo logs
base on a different server, but without tion occurs quickly, the range scan by the log writer process, they are
the encryption key, they won’t be able limitation is a real challenge in many encrypted as well, so the initial and
to see the data. real-world situations. subsequently archived redo logs contain
Oracle introduced transparent only encrypted data.
data encryption (TDE) column encryp- EntEr tDE EncryptED tablEspacEs Encryption requires at least two
tion in Oracle Advanced Security with The Oracle Advanced Security option things: an encryption key and an
the release of Oracle Database 10g for Oracle Database 11g introduces algorithm. TDE uses what is known
Release 2. (For more information, a nifty new TDE feature—tablespace as a two-tier key architecture: both
see “Transparent Data Encryption” in encryption—that allows a whole column and tablespace encryption
the September/October 2005 issue of tablespace to be encrypted and there- keys are stored in the database but
Oracle Magazine, at otn.oracle.com/ fore addresses the range scan and are encrypted with another key called
oramag/oracle/05-sep/o55security.html.) foreign key limitation of column-level the master key. The master key is
Although this feature enables you to encryption. The new tablespace is stored outside the database in a special
encrypt columns of a table without created as encrypted, and the data, container called an external security
writing a single piece of code and helps whether tables or indexes, is stored module, which can be something as
with several key compliance regulations, encrypted in that tablespace, as shown easy to set up as an Oracle wallet or
it can negatively affect performance in in Figure 1. When a user selects that as sophisticated as a hardware security
Buffer Cache
Blocks of ACC_ENC in clear text Blocks of ACC_REG in clear text
SQL> alter system set wallet open
identified by “T45rustMe54”;
System altered.
Encryption
Now that the wallet is set up, you
Table Table can create the encrypted tablespace.
ACC_ENC ACC_REG
DBWn 1. The following code sets up an
encrypted tablespace named enc128_ts:
DBWn
create tablespace enc128_ts
Encrypted Unencrypted
Tablespace Tablespace datafile ‘/u01/oracle/database/
enc128_ts.dbf’
Figure 2: Flushing of buffers from cache to disk size 1M autoextend on next 1M
encryption using ‘AES128’
module device. The Oracle wallet is that the compatibility of the database default storage (encrypt)
a file formatted according to Public must be set to 11.1 or higher. First, if you /
Key Cryptography Standard No. 12 don’t have one, create the wallet:
and encrypted with a password. For 1. Make sure the ORACLE_BASE Note the special encryption using
using the wallet as the external security variable has been set. If it has not, set ‘AES128’ clause, which indicates that
module, a password must be provided it by issuing the AES algorithm is to be used with
to make the master key accessible to a 128-bit key. You can also use the
the database. Unless the right pass- $ export ORACLE_BASE=/opt/oracle values AES192 and AES256 (in place of
word is supplied, the wallet can’t be AES128, the default value) to use 192-
opened and the encrypted data can’t be 2. Change to the ORACLE_BASE direc- and 256-bit keys, respectively.
retrieved. The wallet is automatically tory and then to the admin subdirec- 2. Once the tablespace is created, you
closed when the database instance is tory for that instance. In my case, the can create objects in it. For instance,
shut down and must be reopened by instance is named prolin1, so I issue the following code creates a table called
a security officer when the instance ACCOUNTS_ENC:
starts. So although thieves might be $ cd $ORACLE_BASE/admin/prolin1
able to restore a database from tapes, create table accounts_enc (
without the wallet and the password, 3. Create a directory called “wallet” to ACC_NO NUMBER NOT NULL,
they will not be able to view the hold the wallet: FIRST_NAME VARCHAR2(30) NOT NULL,
encrypted data. (In the hardware secu- ... other columns ...
rity module case, the hardware device $ mkdir wallet )
must be made available to the database tablespace enc128_ts;
in a manner specified by the vendor of 4. Create the wallet, along with a secure
the device.) password, preferably containing a mix That’s it; no special clause is
of alphanumeric characters, such as required. All the columns of the
TABLESPACE ENCRYPTION SETUP “T45rustMe54”: table (or anything else created in this
Let’s look at how to set up TDE tablespace tablespace) will be encrypted.
encryption, using a file-based wallet. Note $ sqlplus / as sysdba To confirm encryption, you can
Statistics
---------------------------------------------------------------------------------------------------------------------
nextSTEPS
0 recursive calls READ online-only article content
0 db block gets otn.oracle.com/oramag/oracle/09-jan/o19tte.html
120 consistent gets
…
READ more about
transparent data encryption
(column encryption)
otn.oracle.com/oramag/oracle/05-sep/
o55security.html
■ TS#. The tablespace number database, but the other database must
■ ENCRYPTIONALG. The encryption have the same wallet (and therefore the LEARN more about
tablespace encryption
algorithm, such as AES128 same master key). The wallet password
Oracle Database Advanced Security
■ ENCRYPTEDTS. Indicates whether for the other database can be differ- Administrator’s Guide
the tablespace is encrypted (value is YES ent, but the wallet must be the same. If download.oracle.com/docs/cd/B28359_01/
network.111/b28530/asotrans.htm#cJaFeaii
or NO) you transport an encrypted tablespace Using Transparent Database Encryption in Oracle
Note that when you recover an across platforms, the target platform Database 11g
otn.oracle.com/obe/11gr1_db/security/tde/tde.htm
encrypted tablespace, the wallet must must have the same endianness for
be open, and you can transport an encrypted tablespaces. DOWNLOAD sample code for this article
otn.oracle.com/oramag/oracle/09-jan/o19tte.zip
encrypted tablespace to a different Finally, note that you can only
On Dynamic Sampling
Our technologist samples dynamically, considers usage, and sets levels.
y questions are related to dynamic Dynamic sampling offers 11 setting In this column, I’m going to use the
sampling. What does it really do, levels (0 through 10), and I’ll explain hinting capability to demonstrate the
when would I consider using it, the different levels, but note that in effect of dynamic sampling, but you
and what are the meanings of all Oracle9i Database Release 2, the default may well use the session-level capability
the different levels it can be set to? dynamic sampling level value is 1, to increase the use of dynamic sam-
Dynamic sampling first became whereas in Oracle Database 10g Release pling, especially in a reporting or data
available in Oracle9i Database Release 1 and above, it defaults to 2. warehouse situation.
2. It is the ability of the cost-based As stated before, dynamic sampling
optimizer (CBO) to sample the tables a Ways Dynamic sampling Works is used to gather statistics for unana-
query references during a hard parse, There are two ways to use dynamic lyzed segments and to verify “guesses”
to determine better default statistics for sampling: made by the optimizer. I’ll look at each
unanalyzed segments, and to verify its ■ The OPTIMIZER_DYNAMIC_ of these uses in turn.
“guesses.” This sampling takes place SAMPLING parameter can be set at the
only at hard parse time and is used to database instance level and can also be UnanalyzeD segments
dynamically generate better statistics for overridden at the session level with the The optimizer will use default statis-
the optimizer to use, hence the name ALTER SESSION command. tic values if a segment is not analyzed
dynamic sampling. ■ The DYNAMIC_SAMPLING query and you do not use dynamic sampling
The optimizer uses a variety of hint can be added to specific queries. to get a quick estimate. These default
inputs to come up with a plan. It uses
any and all constraints defined on the codeLIstING 1: Disabling dynamic sampling to see default cardinalities
table; system statistics—information
about your server’s I/O speeds, CPU SQL> set autotrace traceonly explain
SQL> select /*+ dynamic_sampling(t 0) */ * from t;
speed, and the like; and statistics gath-
ered from the segments involved in Execution Plan
the query. The optimizer uses statistics --------------------------------------------------------------------------------------------------------------------------------------------------
Plan hash value: 1601196873
to estimate cardinalities—the number
of rows each step in a given plan is ------------------------------------------------------------------------------------------------------------------------------------------------------
expected to return—and those cardinal- | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
------------------------------------------------------------------------------------------------------------------------------------------------------
ities are a major variable in computing | 0 | SELECT STATEMENT | | 16010 | 437K| 55 (0)| 00:00:01 |
the cost of a query. When cardinalities | 1 | TABLE ACCESS FULL| T | 16010 | 437K| 55 (0)| 00:00:01 |
are incorrectly estimated, the optimizer -------------------------------------------------------------------------------------------------------------------------------------------------------
codeLIstING 7: Good cardinality estimate, looking at only six rows the levels mean?” The answer is pretty
straightforward and documented in
SQL> select /*+ dynamic_sampling(t 3) */ * from t where flag1 = ’N’ and flag2 = ’N’;
Oracle Database Performance Tuning
Execution Plan Guide (at download.oracle.com/docs/cd/
-----------------------------------------------------------------------------------------------------------------------------------------------------------
B19306_01/server.102/b14211/stats
Plan hash value: 470836197
.htm#i43032).
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ The online version of this column,
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
at otn.oracle.com/oramag/oracle/09-jan/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 6 | 630 | 2 (0)| 00:00:01 | o19asktom.html, continues with an
| 1 | TABLE ACCESS BY INDEX ROWID| T | 6 | 630 | 2 (0)| 00:00:01 | explanation of the different dynamic
|* 2 | INDEX RANGE SCAN | T_IDX | 6| | 1 (0)| 00:00:01 |
sampling levels and concludes with
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
recommendations for when to use
Predicate Information (identified by operation id): dynamic sampling.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
FLAG1 and FLAG2 columns. The fol- also note the very different (and now dynamic sampling
Oracle Database Performance Tuning Guide
lowing shows the number of rows in the optimal) plan. Instead of a full table otn.oracle.com/documentation
table, half the number, and a quarter of scan, the optimizer has decided to
sQL profiles
the number: use the index, and this execution plan Oracle Database Performance Tuning Guide
will definitely be optimal compared to otn.oracle.com/documentation
SQL> select num_rows, num_rows/2, the original full table scan, because in REaD more tom
Expert Oracle Database Architecture: 9i and 10g
num_rows/2/2 from user_tables reality, no data will be returned. The Programming Techniques and Solutions
where table_name = ‘T’; index will discover that instantly. amazon.com/exec/obidos/tg/detail/-/1590595300/
tkyte.blogspot.com
Keeping Up
Make sure that your knowledge is current and cutting-edge.
eep up, or the world will leave you within the base product, so be sure you Salary Survey illustrates that people who
behind. It’s an old saying but still know what your database can do. understand how to interpret business
true. As Oracle professionals, we If you want to learn more about and translate that into technology solu-
need to learn, network, and do security and encryption, the IOUG is tions will earn more money. In addition,
everything we can to ensure that we and partnering with the SANS Institute, a the survey shows that members of user
our organizations take the fullest advan- leading security organization, and in groups earn more than nonmembers.
tage of our technology investments. We 2009 the IOUG will be bringing leading This result isn’t a surprise; members
need to keep up so we can anticipate technology education to the member- tend to be leaders in the community and
future problems and solutions. ship at a great discount. This is a terrific in their organizations. The user commu-
One area that changes constantly example of how the user community nity is the place to stay on the leading
and gets only more important is secu- provides vital information. edge and ensure that you maximize your
rity. Recently, the Independent Oracle earning and learning potential.
Users Group (IOUG) conducted a Go to CoLLABoRAtE As technology and the economy both
survey and subsequently published a If your training and education dollars change, we know that we need to keep
report—Enterprise Data Insecurity: Are are scarce, try the one place where you up. One way to do that is to become
Organizations Prepared for the Threat can get the most-comprehensive educa- a member of the IOUG or join your
From Within? The 2008 IOUG Data tional experience, created by real users: local user group to network in your
Security Report—which shows that 20 COLLABORATE 09, to be held May 3 own backyard. These are the places you
percent of respondents expect a data through 7 in Orlando, Florida. More than will share knowledge with your fellow
intrusion in the coming year, either from 7,500 customers and business partners Oracle professionals, but most impor-
within their own organization or from will converge for a full array of Oracle tant, you will learn from the experiences
an external source. 31 percent feel that technology and applications sessions and of others. Your participation will allow
internal misuse of data is a high risk. demos to help attendees keep up. you to be an Oracle user leader and let
Data is at risk. Many users today COLLABORATE 09 helps users of you stay ahead of the pack. ■
have access to a lot of data, especially Oracle technologies and business applica-
business intelligence data, which may tions gain greater value from their Oracle Ian Abramson (ian_abramson@ioug.org) is president
include sensitive financial or trade infor- investments by showing real solutions to of the IOUG. Based in Toronto, Canada, he is an
mation about an individual or organiza- business issues that can save their com- industry and technical consultant providing expert
tion. Yet somehow many organizations panies money. The event offers customer- guidance in implementing solutions for clients in
still allow their “super” users to have to-customer interaction and insights from the telecommunications, customer relationship
unfettered access to data. Even if we technology visionaries and Oracle strate- management, and utilities industries. He is coauthor of
trust our users, controlling access to gists. Every user event helps attendees Oracle Database 11g: A Beginner’s Guide (Oracle Press/
data and monitoring identification and understand what’s coming and how their McGraw-Hill, 2009).
authorization controls, as well as actions organizations can make the most of it.
nextSTEPS
and activities, is important. For instance, the recent announce-
Detecting threats is one example of ments of the HP Oracle Database
what to do to mitigate risk. By keeping Machine, Oracle Exadata, and Oracle’s
JOIN the IOUG
up with your Oracle knowledge, you support for cloud computing are impor- www.ioug.org
will know that Oracle Audit Vault can tant as we move toward the adoption
READ Enterprise Data Security
do exactly this kind of monitoring in a of new solutions to improve our busi- oracle.com/oramag/goto/keepingup.html
consolidated environment. ness efficiencies. These events bring us LEARN more about COLLABORATE 09
The security survey also shows that together; the advantage of learning from www.ioug.org/collaborate09
25 percent of databases do not encrypt our peers is, as we hear often, “priceless.” RESEARCH salaries for data
identity information. Oracle Database, Keeping up financially has never professionals
www.ioug.org/tech/articles/researchwire-
Enterprise Edition, includes many been more important. What Data salarysurvey_2008.pdf
security features, including encryption, Professionals Earn: The 2008 IOUG
Discover theNew
OracleWhitePapers.com
Copyright © 2008, Oracle Corporation and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Getting Ubiquitous
Embedded databases enable a wide array of information management capabilities.
racle Magazine spoke with Carl to be part of the application. You never on the products you get in the supermar-
Olofson, research vice president interact with it directly. When you install ket, your refrigerator will be able to keep
of information management and the application, the database is installed track of what groceries you have, includ-
data integration software at IDC, automatically. When you turn on the ing the expiration date and so forth. You’ll
about how embedded database manage- application, the database is available. simply look at a readout to see what you
ment systems are affecting our lives at Thus, there’s a fairly high bar in terms of need at the grocery store or even print
work and at home. reliability. These databases are precon- a grocery list. We are also starting to see
Oracle Magazine: Let’s start at the top— figured and self-managing, so you don’t microwave ovens that can download
what is embedded software technology? need a DBA. That’s one of the defining recipes from the internet, tell you when
Olofson: Embedded software technology characteristics of an embedded database. to add ingredients, and step you through
resides inside another software product Oracle Magazine: How do database each stage of preparing a meal.
or a hardware product—take, for vendors make their embedded At IDC, we believe that everything
example, an embedded Oracle Database solutions accessible to independent that plugs into a wall will potentially be
within a packaged software application. software vendors [ISVs] and other part of a computer network. Your home
These special-purpose applications, solution providers? entertainment system, your personal
devices, and equipment often depend Olofson: Database vendors such as accounting applications, and the systems
on embedded software that can run Oracle create management APIs so that you use for browsing the Web will all be
unattended and manage its own data in applications can automatically perform one system with different interfaces and
a self-contained manner. Users of these basic administrative functions normally form factors. Many of these devices will
applications typically don’t even realize handled by a DBA. Vendors also config- include embedded databases to do their
that they’re using a database. ure the database installation procedure job. Clearly, we’ll continue to see new
Oracle Magazine: What kinds of appli- so that it’s automatic, and they supply a embedded database technologies emerge
cations, devices, and equipment use version of the database that can run in as our needs evolve and change. ■
embedded database software? unattended mode.
Olofson: There are all kinds of embed- Oracle offers several options here, David Baum (david@dbaumcomm.com) is a freelance
ded database technologies and all kinds including an embedded version of business writer based in Santa Barbara, California.
of companies using them. For instance, Oracle Database; an embedded version
some cell phones have databases built of Oracle TimesTen In-Memory IDC (www.idc.com) is a global provider of market
in for storing calling data, messages, Database for high-performance require- intelligence, advisory services, and events for the
contact directories, and personal data, ments; and Oracle Berkeley Database information technology, telecommunications, and
some of which might be replicated to for simple data structures, such as in a consumer technology markets.
a back-end server. Televisions, set-top vending machine. ISVs must be careful
nextSTEPS
boxes, and digital video recorders use to match the performance character-
embedded databases to store user pref- istics of an application with the user
erences and program information, and requirements and then select the right
READ more about embedding
network switches host databases to track database for the task at hand.
Oracle Database
information about the status of a com- Oracle Magazine: What types of advance- oracle.com/technologies/embedded
puter network. Many types of packaged ments do you foresee in this sector over VISIT the Embedded Developer Center
applications, including patient informa- the next two or three years? otn.oracle.com/tech/embedded
tion systems, parts inventory systems, Olofson: Cheaper and more-powerful DOWNLOAD
and order control systems, and so forth, computers will make embedded technol- Oracle Database
otn.oracle.com/software/products/database
use embedded databases. ogy more self-managing, affordable, and
Oracle Magazine: How much knowledge ubiquitous. Databases are being embed- Oracle TimesTen In-Memory Database
otn.oracle.com/software/products/timesten
of database technology do people need ded in household appliances such as
Oracle Berkeley Database
to use an embedded database? refrigerators. Once there is an effective otn.oracle.com/software/products/berkeley-db
Olofson: An embedded database appears way to put something like an RFID tag
• Software by Oracle
oracle.com/exadata
or call 1.800.ORACLE.1
Copyright © 2008, Oracle. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.