Professional Documents
Culture Documents
rs:
evelope
nce for d ®”
of Toad
co n fe re
online re
the Futu
New
e s t i g ate until Jun
e4
“ I nv a rc h ive d
Live M ay 5 and /MayEx po
est.com
www.qu
©2010 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_Toadv10_MayJune_2010.
MAY/JUNE 2010
IRON MAN
RETURNS Tony Stark once saved his heart—and his life—
with the Iron Man suit. Now he’s found
his heart and forged new life into his
company, Stark Industries, by abandoning
munitions manufacture for cutting-edge
communications. Learn how Oracle
helped with the transformation.
Sharing Resources
in the Cloud
To maximize resources and
ensure data security, more
companies are turning to cloud
computing. Oracle technologies
lead the way.
Software. Hardware.
Complete.
Oracle’s acquisition of Sun completes and
improves the technology stack, optimizes
integration, and simplifies operations.
© 2010 MVLFFLLC.TM & © 2010 Marvel.
Move Ahead.
Alternative thinking is recognizing the proper role of technology in this
era is not just to be safe and steady and reliable, but to spur the
business to compete aggressively, imaginatively and daringly.
It is working with HP and Oracle to reduce risk and lower costs while
driving your business ahead.
hp.com/go/oracle
STARK
DOMINATION
/42
Tony Stark has reversed the direction of
his company, Stark Industries, abandoning
munitions manufacture to build a corporate
communications powerhouse. Still resisting
© 2010 MVLFFLLC.TM & © 2010 MARVEL.
pl/sQl practices
On working in
parallel / 77
Finish faster with DBMs_
PaRallel_eXeCuTe .
—Steven Feuerstein
BUsiness
intelligence
Oracle warehouse
Builder 11g release 2
and Heterogeneous
Databases / 81
use code template mappings
to transform non-oracle
database data at the source.
—Mark Rittman
ask tOm
looking at edition-Based
redefinition, part 3 / 85
our technologist concludes
his exploration of edition-
Based Redefinition.
—Tom Kyte
MBA
isenberg.umass.edu/mba/oaug
6
editOrial PuBliShing
editor in chief Publisher
Tom Haunert tom.haunert@oracle.com Jeff Spicer jeff.spicer@oracle.com
Senior managing editor Production director and associate Publisher
Caroline Kvitka caroline.kvitka@oracle.com Jennifer Hamilton jennifer.hamilton@oracle.com +1.650.506.3794
Features editor Senior manager, audience development and Operations
Kay Keppler kay.keppler@oracle.com Karin Kinnear karin.kinnear@oracle.com +1.650.506.1985
contributing editor and Writer
Blair Campbell advertiSing SaleS
editor in chief, Oracle technology network associate Publisher
Justin Kestelyn justin.kestelyn@oracle.com Kyle Walkenhorst kyle@sprocketmedia.com +1.323.340.8585
technology advisor northwest & central u.S.
Tom Kyte Tom Cometa thomas.cometa@sbcglobal.net +1.510.339.2403
contributors Southwest u.S. and lad
Marta Bright, ed DeJesus, Jeff erickson, Fred Sandsmark, Leslie Steere Shaun Mehr shaun@sprocketmedia.com +1.949.923.1660
northeast u.S. and emea/aPac
deSign Mark Makinney mark.makinney@oracle.com +1.805.709.4745
Senior creative director mailing-list rentals
Francisco G Delgadillo Contact your sales representative
design director
Richard Merchán reSOurceS
contributing designers Oracle Products
Rob Martin, Michele-Hoaiduc nguyen +1.800.367.8674 (u.S./Canada)
Production designer Oracle Services
Sheila Brennan +1.888.283.0591
Oracle Press Books
editOrial BOard www.oraclepress.com
Ian abramson, Karen Cannell, andrew Clarke, Chris Claterbos, Karthika Devi,
Kimberly Floss, Kent Graziano, Taqi Hasan, Tony Jambu, Tony Jedlinski,
ari Kaplan, Val Kavi, John King, Steve Lemme, Carol McGury, Sumit Sengupta,
Jonathan Vincenzo, Dan Vlamis
Oracle Publishing allows sharing of its mailing list with selected third parties. Oracle Business Intelligence Suite, 30 Oracle Portal 48
enterprise edition Plus
If you prefer that your mailing address or e-mail address not be included in this Oracle Business Process Management 28 Oracle Project analytics 20, 29
program, contact Customer Service at oracle@halldata.com. Oracle Coherence 17, 28 Oracle Real application Testing 17
Oracle Communications Data Model 20 Oracle Records Management 28
copyright © 2010, Oracle and/or its affiliates. all Rights Reserved. no part of this Oracle Communications Order and 22 Oracle Recovery Manager 28
publication may be reprinted or otherwise reproduced without permission from the editors. Service Management
ORACLE MAGAZINE IS PROVIDeD On an “aS IS” BaSIS. ORaCLe eXPReSSLy DISCLaIMS Oracle Data Guard 17 Oracle SOa Governance 21
aLL WaRRanTIeS, WHeTHeR eXPReSS OR IMPLIeD. In nO eVenT SHaLL ORaCLe Be Oracle Data Integrator 81 Oracle Solaris 23, 31,
56, 92
LIaBLe FOR any DaMaGeS OF any KInD aRISInG FROM yOuR uSe OF OR ReLIanCe On Oracle Data Mining 18, 45 Oracle Tuxedo 21
any InFORMaTIOn PROVIDeD HeReIn. The information is intended to outline our general Oracle Database 20, 23, 28, Oracle universal Content Management 28, 91
product direction. It is intended for information purposes only, and may not be incorporated 30, 31, 34,
into any contract. It is not a commitment to deliver any material, code, or functionality, and 45, 77, 85,
91, 92
should not be relied upon in making purchasing decisions. The development, release, and
Oracle Database Lite 20 Oracle Virtual Directory 48
timing of any features or functionality described for Oracle’s products remains at the sole
Oracle Developer Tools for Visual Studio 73 Oracle VM 34
discretion of Oracle. Oracle and Java are registered trademarks of Oracle Corporation and/or
Oracle e-Business Suite 30 Oracle Warehouse Builder 81
its affiliates. Other names may be trademarks of their respective owners.
Oracle enterprise Manager 23, 42, 48 Oracle WebCenter 28
Oracle Magazine (ISSn 1065-3171) is published bimonthly with a free subscription price Oracle enterprise Manager 10g Grid Control 28 Oracle WebCenter Suite 91
by: Oracle, 500 Oracle Parkway, MS OPL-3C, Redwood City, Ca 94065-1600. Periodicals Oracle enterprise Pack for eclipse 21 Oracle WebLogic Suite 17
Postage Paid at Redwood City, Ca, and additional mailing offices. • POSTMaSTeR: Send Oracle essbase 17 Oracle’s agile product lifecycle 29
management applications
address changes to: Oracle Magazine, P.O. Box 1263, Skokie, IL 60076-8263.
Oracle exadata 17, 34, 48, Oracle’s amberPoint 21, 22
91, 92
Printed by Brown Printing Oracle FLeXCuBe 22 Oracle’s JD edwards entperpriseOne 29
Oracle Fusion Middleware 18, 28, 30, Oracle’s Siebel Case Management 29
31, 48, 92
Oracle GoldenGate 18 StorageTek enterprise Backup 67
Oracle Healthcase Transaction Base 22 Sun Oracle Database Machine 23
Oracle Hyperion Financial Management 30 Sun servers 23, 48, 92
Oracle Hyperion Planning 30 ZFS Storage appliance 23
• Greater control, transparency, and speed
Vertex Inc. | 1041 Old Cassatt Road | Berwyn, PA 19312 | 800.355.3500 | vertexinc.com
8 FROM OUR READERS
MORE THAN ONE work as well. You would need to download the MORE POSSIBILITIES
While reading “The Route to Success” by PDF from the digital edition, then upload into the In “Tuning Your View Objects” by Steve Muench
Steve Muench (Oracle Magazine, January/ Nook for each issue. (Oracle Magazine, May/June 2006, otn.oracle
February 2010, otn.oracle.com/oramag/ .com/oramag/oracle/06-may/o36frame.html),
oracle/10-jan/o10frame.html), I noticed MORE LIKE THIS Muench writes,
that EmpView is executed without adding The interview with Sushil Kumar by Caroline
FindByEmpnoEnameOrJob view criteria. What Kvitka (Oracle Magazine, March/April 2010, If parts of your application do not need the
about using just one bind variable, so that I otn.oracle.com/oramag/oracle/10-mar/ functionality provided by entity-based view
needn’t call the NumberOrNull(Strings) method: o20interview.html) was extremely insightful. objects, you can improve performance by
I have shared it with several colleagues because using a read-only view object instead.
( (Emp.EMPNO = :VarSearch ) OR I believe that Kumar’s interpretation of the cloud
(UPPER(Emp.ENAME) LIKE UPPER(‘%’ || is very articulate. He did an impressive job clari- Is the above still valid in Oracle Application
:VarSearch || ‘%’) ) OR (UPPER(Emp.JOB) fying where most others stumble. Developer Framework (Oracle ADF) 11g, where
LIKE UPPER(‘%’ || :VarSearch || ‘%’) ) ) Rob Tellone the entity-object-level property Updatable can
rtellone@vbccloud.com be set to false? Apart from a) declarative SQL
Karim H. Abdellatif generation in the ViewObject and b) reuse of
Karim.Hasan@meitweb.com Regarding “Transparent Data Encryption” by attribute-level UI hints, what other benefits
Arup Nanda (Oracle Magazine, September/ might read-only entity objects offer? Do read-
Steve Muench replies: The starter project October 2005, otn.oracle.com/oramag/ only entity objects have an EntityCache?
should have the FindByEmpnoEnameOrJob view oracle/05-sep/o55security.html): If I could find Jangvijay Singh
criteria already applied at the view instance articles for every Oracle feature that were this jvsing@gmail.com
level in the data model. I used two bind variables concise, it would sure make life as an Oracle
so that the bind variable used for the EMPNO DBA a heck of a lot easier. This was just what Steve Muench replies: Yes, this is still valid
equality comparison would be of type Number so I needed. in Oracle ADF 11g. A read-only entity is similar
that the EMPNO index could be used to find it. Brian Strong to an entity all of whose attributes you have
Thanks for reading the column! bstrong@impacservices.com marked to be nonupdatable.
MORE OPTIONS Arup Nanda replies: Thank you very much for SEND MAIL TO THE EDITORS
I have a digital subscription to Oracle Magazine. I the feedback. If I could get a letter like this for
will be receiving a Nook e-reader and wondered if every article I write. . . . Letters such as this make Send your opinions about what you read in Oracle
I will be able to read the secured PDF on it. an author’s day. Ultimately my articles are for Magazine, and suggestions for possible technical
Chris Barbo the readers, and when readers provide the feed- articles, to opubedit_us@oracle.com. Or click
the Write the Editors link on our Web site, oracle
cbarbo@jcpenney.com back that an article was beneficial to them, the .com/oraclemagazine. Letters may be edited
effort proves all the more worthwhile. I am glad for length and clarity and may be published in any
The editors reply: The Nook does support PDF that you liked it and appreciate you taking the medium. We consider any communications we
receive publishable.
file types, so the Oracle Magazine PDF should time to write about it.
oracle self-service
o oracle crM on Demand
o
applications
a Deployment Guide
Melanie Anjele Cameron Jeff Saenger, Tim Koehler,
and Louis Peters
implement oracle
e-business suite
e b
best practices from the
self-service modules original oracle Crm on
Demand consulting team
oracle enterprise
o o g
Manager 10
10g Grid control Backup & ecovery
Handbook Matthew Hart and Robert
Werner De Gruyter, G. Freeman
Matthew Hart, and m
maximize the latest release
Daniel Nguyen of oracle recovery manager
manage a flexible,
m
cost-effective oracle
enterprise manager 10g
e
Grid Control environment
grounded in
experience
Taking off from our solid
foundation, Oracle flies high with
cloud computing and Iron Man.
Geocoding
Duplicate Elimination
Now, finding the right data verification tools doesn’t have to BEFORE
be so puzzling. Melissa Data offers customizable APIs, Web john smith iii phd
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 John Smith III PhD
Melissa Data Corp.
• 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
Multiple Browsers
Test Maintenance
NO
36%NS
TB
180
PL A
in the cloud?
13%
TB 5
535 companies
7
45%
THE
0–
worldwide were also boasts an internal media player
TB
5
surveyed. CLOUD and storage. The L1 features a three-
How Much color laser light source that results in
Data in 800x600–resolution images that never
15 YEARS
B
5
the Cloud?
T 2
lose focus. It supports rapid changes in
%
6–
%
30 projection size, simultaneous far and near
5
2–
10
+Y
The same 535 surface projection, angled projection,
8%EARS companies were and projection on curved surfaces.
6 –10 YEARS asked how much Accessories are available to connect the
16% data they plan to L1 to an iPhone, iPod, Microsoft Zune, and
store in the cloud. a range of cell phones.
Source: CommVault survey on cloud storage (commvault.com) US$599. aaxatech.com
to upgrade to Oracle Track your flight Summon a taxi or Get one year’s Find an open, clean
itinerary, hotel and car service in 25 access to more public restroom
Database 11g Release 2 in car reservations, U.S. cities (and than 40 Zagat nearby. This app’s
the next six months? flight status, and counting) with restaurant guides, growing not-to-
Visit surveymonkey more. Maintain one click, and then for Hong Kong, be-denied user
.com/s/5926Z2W to a trip log, and pay and tip using London, Shanghai, community has
e-mail your travel this app at the and more. US$9.99 rated more than
respond. Survey results details to others. end of the ride. (iPhone and 83,000 facilities.
will appear in the next Free (iPhone, Free (iPhone and Android); US$19.99 Free (iPhone and
issue of Oracle Magazine. BlackBerry, and BlackBerry). (BlackBerry and BlackBerry).
Windows Mobile). taximagic.com Windows Mobile). sitorsquat.com
tripcase.com mobile.zagat.com
GADGETS
MAKE US RUDER BLUETOOTH CHIC
According to a survey of Walking around the office wearing a Bluetooth ear bud is so last
1,400 U.S. CIOs, breaches decade. Why not step up your style with Bluetooth Handsfree
in workplace etiquette Sunglasses? This dual gadget combines a Bluetooth headset
are on the rise, due with sporty sunglasses that protect your eyes from
LINDY GROENING
to smartphones and the sun’s harmful rays (and add mystique to your
other gadgets. office persona).
US$49.99. thinkgeek.com
Conferences and sessions to help you stay Utah oracle Users group training Days
May 5–6, Salt Lake City, utah
on the cutting edge utoug.org
and JavaOne + Develop June 22–23, Heathrow, england locate User groups
oracle.com/javaonedevelop otn.oracle.com/community/user_groups
On Oracle’s siebel product line:
ViDeos Author Brian Huff on Content Management Upgrading to Oracle WebLogic Suite
The Techcast Show: Mark Reinhold’s fbit.ly/dcxF5Q fbit.ly/amT7gl
JDK 7 Roundup Brian “Bex” Huff, author of Transforming Infoglut!: Hear how upgrading your standalone application
fotn.oracle.com/syndication/techcasts A Pragmatic Strategy for Oracle Enterprise server to Oracle WebLogic Suite can simplify
Justin Kestelyn, Oracle Technology network editor Content Management, discusses how to glean operations and better manage your SOa platform.
in chief, talks with Mark Reinhold, principal engi- actionable business information from your “digital
neer for Java Platform, Standard edition and the landfill” by deploying a flexible, cost-effective Maximize Your Data Center ROI While
Java Development Kit (JDK), about JDK 7. content management framework. Achieving Continuous Data Availability
fbit.ly/cn6WXl
oracle exadata: a single source of Truth The Role of Oracle Essbase in Enterprise BI Learn how to ensure disaster recovery, deliver IT
fbit.ly/deBbjs fbit.ly/dDjxeY service continuity, and improve resource utilization
In today’s hypercompetitive environment, Find out why Oracle essbase is a key part of with Oracle GoldenGate.
business analysts need to perform more predictive Oracle’s business intelligence and performance
analytics, and they want the answers yesterday. management applications. The “New Normal”: An Applications
But managing separate business intelligence, data Management Outsourcing Perfect Storm
mining, and online analytical processing (OLaP) Most Enterprise Architecture Conversations fbit.ly/bmedui
servers and ensuring fast query performance Are Too [What?] The Hackett Group’s erik Dorr discusses the
can be a challenge for DBas. See how two DBas fbit.ly/9fYzKm drivers behind business agility, IT performance,
address this challenge using Oracle exadata. S0a expert Todd Biske, Jordan Braunstein of and application management transformation.
TuSC, Basheer Khan of Innowave Technology,
PoDcasTs
Sustainability Reporting, Planning, and
and enterprise architect Pat Shepherd of Oracle
talk about what’s wrong with most of the talk
oRacle DiRecT
For Oracle product information, call the number for
Management about enterprise architecture. your region.
fbit.ly/aR1ay2 country Phone number
John O’Rourke, senior director of product WeBcasTs anD u.S. and Canada ...................................................1.800.367.8674
australia .................................................................... 1800.735.467
marketing for Oracle enterprise performance inTeRneT seminaRs austria ......................................................................0800.29.7626
management solutions, discusses the drivers Oracle + Sun Product Strategy Series Belgium ........................................................................0800.73280
Brazil .........................................................................0800.901.985
behind sustainability reporting. fbit.ly/c91RwW China .......................................................................... 800.810.0161
Denmark ..........................................................................8088.1068
These sessions detail Oracle’s plans for Sun’s Finland ........................................................................0800.113.573
Author Aleksander Seovic on Oracle Coherence major hardware and software technologies. France ......................................................................0800.905.805
Germany ...................................................................0800.1.810.111
fbit.ly/dcxF5Q Greece ...............................................................00800.353.12020
aleksander Seovic, author of Oracle Coherence Oracle Real Application Testing: Managing Hong Kong ...................................................................... 3002.1246
India............................................................................1600.44.6725
3.5, discusses how to achieve scalability, perfor- Change with Confidence Indonesia ......................................................... 001.800.1.672.253
Ireland ......................................................................... 1850.672253
mance, and reliability with Oracle Coherence. fbit.ly/dbvwVQ Italy ................................................................................ 8008.74720
Learn how to assess the impact of changes on Japan ......................................................................... 0120.155.096
Malaysia .................................................................... 1800.80.1837
Author Charles Kim on Oracle Data Guard production Oracle databases with Oracle Real Mexico ...................................................................01800.221.7321
The netherlands ...........................................................0800.0827
fbit.ly/dcxF5Q application Testing. new Zealand.............................................................0508.555.215
Charles Kim, coauthor of the Oracle Data Guard norway.............................................................................. 800.14411
Philippines .......................................................................... 811.5831
11g Handbook, discusses best practices. Reduce Costs and Simplify Management of Portugal .......................................................................800.853.021
Oracle WebLogic Server Singapore ................................................................1800.6722.531
South africa............................................................ 0800.994.225
Author John Scott on Oracle fbrighttalk.com/webcasts/8671/attend South Korea ...............................................................080.2194.114
Application Express Hear how Oracle Management Pack for WebLogic Spain ............................................................................ 900.952900
Sweden......................................................................... 020.798798
fbit.ly/dcxF5Q Server models and monitors Java Platform, Switzerland .............................................................. 0800.55.2574
Taiwan ...................................................................... 0800.672.253
Oracle aCe Director John Scott, coauthor of Pro enterprise edition and Web services applications Thailand............................................................ 001800.441.0545
Oracle Application Express, shares his insights on to enable users to identify bottlenecks, perfor- Turkey................................................................00800.353.90014
u.K. ......................................................................... 0870.5.332200
Oracle application express. mance trends, and application efficiency.
WHiTe PaPers and e-BOOKs integrated technology. Oracle university offers suPPOrT
Metadata Services in Oracle Fusion many in-class, virtual, and self-study options my Oracle support communities
Middleware 11g for mastering SOa, including: Oracle SOa Suite fcommunities.oracle.com
fbit.ly/5k0JQO 11g: essential Concepts; Oracle SOa Suite 11g: Collaborate with industry peers and support
Learn about the underlying architecture that Build Composite applications; Oracle Tuxedo experts in more than 150 online Oracle Support
allows developers and end users to customize 10g Release 3: Build SOa applications using communities moderated by support engineers.
their applications to match specific user require- SaLT; Oracle SOa Suite 11g: new Features; expand your knowledge with Webcasts, best
ments without changing the base application. and Oracle SOa Suite 11g: Business Rules practices, and more.
Component Overview.
Planning for IFRS Adoption cOnsulTing
fbit.ly/5xWniT resOurce cenTers and KiTs enterprise architecture services
adopting International Financial Reporting Oracle goldengate resource Kit foracle.com/consulting
Standards (IFRS) is no longer a question of fbit.ly/5B9esd Oracle Consulting’s enterprise architecture
“if” but “how and when.” Read why a cohesive To succeed in a 24/7 environment, companies Services are offered to customers that have
approach is critical to manage the pervasive must eliminate sluggish application performance, invested, or are considering investing significantly,
impact of IFRS on a company’s IT systems. stale data, and interruptions in data availability. in Oracle licenses—typically under an Oracle
This resource kit offers white papers and unlimited license agreement. The services provide
Securing Data at the Source: A Guide to analyst reports on a noninvasive, real-time data you with a dedicated Oracle lead architect who
Oracle Database Security integration offering. will conduct an examination of your most critical
foracle.com/goto/dbsec-ebook business challenges and identify feasible, credible,
no organization can afford to let down its guard Platform-as-a-service (Paas) affordable solutions that help you achieve your
when it comes to protecting mission-critical infor- competency center strategic goals.
mation. Learn how to secure your databases and fbit.ly/9VY5ig
protect your information using your existing data In the PaaS Competency Center, Oracle WeB lOcaTOr
management infrastructure. technologists and customers can collaborate
on patterns, blueprints, techniques, and code Oracle Blog center
Platform-as-a-Service Private Cloud with examples that exemplify PaaS using Oracle oracle.com/blogs
Oracle Fusion Middleware WebLogic Server, Oracle Coherence, Oracle Oracle consulting
oracle.com/consulting
fbit.ly/7gs8gs enterprise Manager, and other technologies.
Oracle events and Webcasts
Learn how Oracle Fusion Middleware provides a oracle.com/events
comprehensive foundation for private clouds. Oracle cloud computing center Oracle Podcast center
fbit.ly/apaznF oracle.com/podcasts
BlOgs Learn more about Oracle’s support for cloud com- Oracle newsletters
Oracle data mining Blog puting and get amazon Machine Images, view oracle.com/newsletters
fblogs.oracle.com/datamining demos and tutorials, and read white papers and Oracle university
oracle.com/education
Get news, technical information, opinions, and technical information.
Oracle on Twitter
tips and tricks about Oracle Data Mining. twitter.com/oracle
assessmenT Oracle support
Training Oracle customer success self-assessment oracle.com/support
Oracle university foracle.com/goto/customersuccess my Oracle support
feducation.oracle.com Test your IT practices and see how your results myoraclesupport.com
Learn to build, deploy, and manage SOa-based compare in your industry with a complimentary my Oracle support communities
communities.oracle.com
implementations with complete, open, and 10-minute online self-assessment. you’ll receive a
Software.
Softwar
Hardwar
Hardware.
Co
CoMPLete.
or acle .com/ironman2
© 2010 MVLFFLLC.TM & © 2010 Marvel. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.
20 Product Resources
nies we’re able to take the world’s leading serviced at an extremely high level. That’s the storage industry upside down. Why is
enterprise software portfolio and engineer something we’re doing today. It started liter- Flash so important?
it and test it together with the operating ally the day after the acquisition closed. Fowler: Since the beginning, storage was
Less Risk,
More Reward
With its portfolio of fully tested EMC
Proven Solutions, EMC is helping to take
the guesswork out of your journey
to the private cloud.
or companies today, the need to manage costs
S1
SPECIAL ADVERTISING SECTION
organized around storage, servers, appli- Putting Solutions to the Test determines the optimal configurations,
cations, and so forth,” says Todd EMC Proven Solutions bring together and ensures that the appropriate man-
Pavone, vice president of Global Solu- the technologies of EMC and other agement tools and integrated support
tions at EMC. hardware and software firms to create are available. These efforts involve
Pavone explains that this shift is part complete, documented environments EMC technology professionals
of the ongoing evolution of data that target specific IT and business worldwide and the expertise and
centers—one that has taken IT from the needs. For example, there are EMC resources of the company’s global
siloed environments of a decade ago, Proven Solutions to enable backup solution centers located in the U.S.,
through consolidation and on to today’s and recovery, disaster recovery, per- Ireland, Austria, China, and Singapore.
focus on virtualized infrastructures. Now, formance and scalability optimization, EMC Proven Solutions also
IT professionals are looking toward the and archiving. These solutions deliver encompass the knowledge surrounding
next stage in this evolution: the private the technology. “We not only validate
cloud, and a model based on managing these solutions, we also help com-
integrated sets of business services rather EMC Proven Solutions panies understand how to implement
than IT assets. “This service-delivery them effectively,” says Pavone. Each
model makes the integration of applica- bring together the technologies solution includes detailed best prac-
tions and infrastructure absolutely tices, reference architectures and
critical,” he says. of EMC and other hardware and implementation, and support proce-
“IT professionals understand the dures. Armed with this information,
software firms to create complete,
value of moving toward a cloud com- EMC Global Solutions experts can
puting model,” Pavone says. “But they work closely with customers and fully
documented environments that
want to make that journey with support each solution. “We can
minimal risk and cost, using integrated provide demonstrations and work-
target specific IT and
solutions available today that they can shops, and our experts can spend time
deploy quickly and that provide future- business needs. with customers to help them fully
proof technology. IT executives really understand the solutions,” Pavone
don’t want any surprises as they adopt adds. That approach is especially
new technologies.” benefits such as improved per- valuable in helping the applications/
With that in mind, EMC® Proven™ formance, optimized technology usage, database teams and the infrastructure
Solutions are designed to help com- and, of course, increased efficiency of teams realize how the solution helps
panies move along an evolutionary path IT assists and reduced operational both groups minimize risk—and in
to cloud computing. As the name sug- costs. And each solution can be used bridging the gap between the two
gests, these are complete, tested solu- as a building block to help companies areas.
tions that combine best-in-class move forward on the journey to cloud Perhaps most important, these solu-
technology, application integration, and computing at their own pace, helping tions are developed through a cus-
the expertise needed to successfully to reduce risk and increase ROI while tomer-centric process—that is, they
implement and use an integrated transforming IT. are based on real customer environ-
solution. With EMC Proven Solutions, The “proven” aspect of these solu- ments. “We start with the customer
companies don’t have to put together tions comes from the rigorous testing use case, not the technology,” says
various point solutions or deal with the they get from EMC. The company Pavone. “Then we determine what the
complexity of assembling untried tech- creates a complete environment for a right technologies are to support that
nologies. Instead, they can move given solution, testing it for per- use case and build integrated solutions
forward to transform IT operations formance, scalability, and functionality, to meet that customer need.” EMC
smoothly while reducing complexity, and clearly demonstrating that it can Proven Solutions teams develop this
increasing efficiency, and reducing time operate in a real-world setting. EMC customer perspective through a variety
to value. identifies the solution’s breaking points, of mechanisms, such as meetings with
S2
EMC_MJ10_Final rev_OracleSup 3/16/10 3:02 PM Page 3
customers’ enterprise users and IT has a large pool to draw on, with EMC apps,” says Pavone. “So we work closely
staff, as well as with EMC consultants and Oracle serving some 70,000 joint with EMC IT to develop our best prac-
and technology partners that work reg- customers. EMC also draws on the tices.”
ularly with customer companies. insights developed through its long EMC operates more than 170 Oracle
application modules, as well as some
Targeting the Oracle Environment 800 Oracle databases, and like many
Oracle is a key focus area for such companies, it has been seeing rapidly
efforts, and there are now dozens of growing workloads in those areas. One
EMC Proven Solutions designed to option was to completely upgrade the
help Oracle users. These fall into data center, but EMC decided instead
several categories, such as security and to rethink its IT architecture. Through
management, but three areas are partic- the use of consolidation and virtual-
ularly important for Oracle users that ization and new approaches to backup,
are evolving toward cloud computing: replication, and data deduplication,
• Tiered/unified storage. To help EMC was able to avoid that large data
optimize Oracle database performance center upgrade cost. The effort pro-
and management, EMC provides a vided a low-risk way to increase avail-
single architecture for OLTP, devel- ability and performance, while avoiding
opment/test, data warehousing, backup, “We start with the customer $74 million in capital expense. Such
and archival storage; combines multi- use case, not the technology. Then improvements were recognized by
protocol connectivity and energy effi- Oracle, which gave the effort its
ciency to reduce costs; and supports “Enable the Eco-Enterprise” award
we determine what the right
Oracle deployments in both “scale-up” based on operating expense savings
and “scale-out” computing models. totaling $12 million in power, cooling,
technologies are to support that use
• Virtual infrastructure. EMC and space achieved by EMC.
Proven Solutions are designed to speed With solutions based on such real-
the development, testing, and case and build integrated solutions world experience, EMC is helping com-
deployment of virtualized applications; panies bridge that traditional gap
to meet that customer need.
enable the transfer of data within or
across storage platforms with applica-
“ between IT infrastructure and applica-
tions—and build a solid foundation for
— Todd Pavone,
tions online; and accelerate the cloud computing. “These are tested,
vice president of Global Solutions
refreshing of the storage infrastructure documented, and demonstrable solu-
at EMC
—all of which helps increase efficiency. tions, backed up by a clear under-
• Business continuity. EMC Proven standing of best practices,” says Pavone.
Solutions provide tiered data pro- relationship with Oracle, which “This approach helps customers
tection with application-level con- encompasses a number of joint solu- implement solutions quickly and do it
sistent recovery; empower database tions and the operation of a joint right the first time. It provides a way to
administrators with the automated use service center. mitigate risk and bring in new solutions
of LAN-free replication; reduce com- EMC also looks to its extensive expe- in a predictable, repeatable, and accel-
plexity by using common software to rience in using Oracle to run its own erated manner—which is critical as
protect all applications; and leverage business. EMC’s internal IT group companies evolve their approaches to
network efficiencies and data dedupli- operates one of the largest Oracle IT.” •
cation to reduce disaster recovery costs. implementations in the world—and
Like all EMC Proven Solutions, the EMC Proven Solutions teams regularly For more information on
Oracle-specific offerings are based on tap into that group’s knowledge. “EMC EMC Solutions for Oracle, go to
customer use cases—and here, EMC primarily runs its business on Oracle www.EMC.com/oracle solutions.
2
EMC , EMC, EMC Proven, and where information lives are registered trademarks or trademarks of EMC Corporation in the United States and other countries. S3
28 Book Beat
Oracle Enterprise Manager 10g Grid ment. This book reviews Oracle Application Team informatics acquires
Control Handbook: Centrally Manage Express–related technologies such as HTML
Enterprise Applications, Middleware, and Document Object Model, cascading Frontline logic
and Databases style sheets, and JavaScript, and covers Oracle partner TEAM Informatics has
Oracle Application Express Release 3.2
By Werner De Gruyter, acquired Frontline Logic, a software engi-
(but the information is broadly applicable
Matthew Hart, and neering firm focused on Oracle Universal
to all 3.x versions). You will gain a better
Daniel nguyen
understanding of the major principles and Content Management solutions and other
Oracle Press building blocks of Oracle Application Express
www.oraclepress.com technologies, such as imaging.
and learn to globalize Oracle Application
Oracle Fusion Middleware is a flagship
Express applications.
Learn how to centralize capability at both companies. TEAM’s
and simplify enterprise
Introduction to Oracle: Basic Skills expertise now includes Oracle Universal
infrastructure administration, implement a
for Any Oracle User Content Management, Oracle WebCenter,
grid-based management system, and main-
tain on-demand access to critical services. By Bert Scalzo Oracle Records Management, Oracle
Readers will be able to develop rollout plans, Texas Publishing Imaging, and Oracle Business Process
configure hardware and software, deploy createspace.com/3423061
targets and agents, control access, and Management. TEAM and Frontline have
distribute business reports. This resource, Need to hit the ground partnered in other areas related to Oracle
which includes coverage of Oracle Enterprise running and get started Fusion Middleware, including identity man-
Manager 10g Release 10.2.0.5, explains how with an Oracle database? agement, SOA, business intelligence, and
to generate reliable backups, implement This book covers Oracle
top-down performance monitoring, and Oracle Database.
terminology, Windows
maximize system availability. Administrators PC and Oracle client TEAM has also formed a strategic
will be able to use the book’s tips and tricks configuration issues, database connection alliance with Oracle partner Fadel
to achieve better agility and service quality methods, and more. Introduction to Oracle Partners to implement projects involving
while simultaneously lowering operational provides a thorough understanding of
costs across the enterprise. SQL and shows you how to take advantage
Oracle Applications and Oracle Fusion
of such popular tools as Microsoft Excel, Middleware—specifically, content manage-
Oracle Coherence 3.5 SQL*Plus, Oracle SQL Developer, TOAD, ment, social networking, Oracle WebCenter
By aleksandar Seovic, and many others. For those accustomed
portals, and SOA-based integration.
Mark Falco, and to working with another database such as
Patrick Peralta Microsoft SQL Server, IBM DB2, or MySQL,
Introduction to Oracle will serve as a basic
Packt Publishing
packtpub.com resource and ongoing reference in making mitsubishi electric automation
the transition to Oracle Database. links e-F@ctory with Oracle
Written by authors with
Oracle Database 11g RMAN Oracle partner Mitsubishi Electric
extensive real-world
experience with Oracle Coherence, Oracle Backup and Recovery Automation, a provider of industrial
Coherence 3.5 will increase your productivity By Matthew Hart and automation solutions, has linked Oracle
by teaching you how to take advantage of Robert G. Freeman Manufacturing Operations Center to
Oracle’s data grid technology to build scal- Oracle Press its e-F@ctory manufacturing solution.
ability and reliability into applications. You www.oraclepress.com
will learn how to design and implement your Mitsubishi Electric is the first indus-
domain objects to work more effectively with Complete with full trial automation hardware vendor with
Oracle Coherence and apply domain-driven details on the latest a tested, approved connection to Oracle
design to Oracle Coherence applications. release of Oracle
Manufacturing Operations Center.
In addition, you’ll learn how to successfully Recovery Manager (Oracle RMAN), this guide
integrate persistence technologies, such as for Oracle database and system administra- e-F@ctory integrates Mitsubishi Electric’s
JDBC, Hibernate, and Oracle TopLink, with tors provides in-depth explanations and manufacturing control hardware and net-
Oracle Coherence. examples. This book will serve as both a works with enterprise IT systems. Benefits
desk reference and an instruction guide for
Oracle Application Express 3.2: include real-time information about plant
understanding, configuring, and admin-
The Essentials and More istering Oracle RMAN. It starts with Oracle production; monitoring and logging of
By arie Geller and RMAN’s conceptual framework and moves machine performance to reduce downtime;
Matthew Lyon to an intensive hands-on approach. Readers accurate production scheduling; and moni-
will learn techniques for setting up Oracle
Packt Publishing toring of stock quality, quantity, and usage.
packtpub.com RMAN–ready databases, creating reliable
backups, and performing accurate Oracle e-F@ctory users realize efficiency increases
system restores. You’ll discover how to use up to 65 percent.
Gain an understanding
Oracle RMAN from the command line and Prospective e-F@ctory customers can
of both the “how” and
from Oracle Enterprise Manager and how to
the “why” behind best- work with the two companies to test-drive
generate meaningful lists and reports.
practice use of Oracle Application Express, Mitsubishi Electric Automation hardware
and learn how to develop efficient and
Look for other Oracle books at otn.oracle and Oracle Manufacturing Operations Center
optimized data-centric native Web appli-
.com/bookstore.
cations for the Oracle database environ- integration on up to three machines on their
plant floors.
oracle Java wireless client now on Brew mobile Platform Deloitte Helps oracle customers
Qualcomm, a developer of advanced wire- Brew MP is a mobile operating system go green
less technologies, products, and services, has that delivers smartphone functionality across Oracle Platinum Partner Deloitte has
integrated Oracle Java Wireless Client with many tiers of devices. Brew MP enables capa- launched an initiative to help companies
Qualcomm’s Brew Mobile Platform (Brew bilities such as touch screen, rich multimedia, use their Oracle applications and technolo-
MP). This combination provides handset window management, open platform exten- gies to enable a sustainable enterprise.
manufacturers and developers with a turnkey sibility, and support for application develop- Deloitte’s initiative incorporates technology
solution to incorporate Java technology into ment. Customization and configuration tools solutions, business practices, governance
Brew MP–based mobile devices and ensures from Oracle enable device manufacturers to programs, and change management to help
seamless integration and coexistence of Java fine-tune solutions to target devices without companies reduce waste and improve pro-
applications with native Brew MP applications. modifying the Java implementation. ductivity. Deloitte’s green services center on
sustainability reporting, green datacenter
practices, environmental compliance, and
sYstime announces integration Between agile Product lifecycle supply chain optimization.
management applications and JD edwards enterpriseone Sustainability reporting involves lever-
Oracle Platinum Partner SYSTIME has definitions, product launches, and change aging enterprise systems to track and
announced an Oracle Application Integration management of previously launched analyze environmental metrics; implement
Architecture process integration pack that products. Bidirectional data exchange governance, risk, and compliance frame-
connects Oracle’s Agile product lifecycle between the Agile and JD Edwards systems works; and speed report generation.
management (PLM) applications with ensures synchronization of engineering Green datacenter practices include virtu-
Oracle’s JD Edwards EnterpriseOne. The PLM change status and material attribute alization to consolidate servers, storage man-
process integration pack integrates the two information. agement to reduce storage requirements and
products in a way that reduces the cost and The integration provides multiple layers decrease energy use, consolidation of global
risk associated with third-party or custom of validation to ensure that data exchanges applications, and better workload manage-
PLM integrations. are complete and properly formatted, and ment to maximize processing power.
Oracle and SYSTIME collaborated on the its end-to-end process monitoring tracks Environmental compliance and supply
new integration, which features predefined the change process queue to address data chain optimization helps companies rede-
templates for design release of new product exchange latency and process completion. sign business processes and use applications
to manage environmental compliance of
products, optimize supply networks, imple-
accenture and oracle Plan technology solutions for social ment lean manufacturing, reduce transpor-
service agencies tation and energy costs, improve logistical
Oracle Platinum Partner Accenture and worker effectiveness, improved client services efficiencies, and decrease paper waste.
Oracle are jointly developing software for and collaboration, and enhanced oversight
social service agencies. The Accenture Case and outcome-focused program delivery.
Management Solution for Child Welfare on Oracle will also develop a social service
eVerge group accelerates oracle
Oracle will incorporate Oracle’s Siebel Case foundation pack, and Accenture will develop Project analytics Deployments
Management, Oracle Policy Automation Oracle Application Integration Architecture eVerge Group, an Oracle Platinum Partner,
rules engine, and Accenture’s experience process integration packs to address social has launched Project Analytics Express, a
in developing child welfare solutions. The service agencies’ disbursement and collec- fixed-fee, accelerated implementation of
new software will provide a foundation and tions requirements. The project will integrate Oracle Project Analytics that relies on eVerge
structure for next-generation child welfare Oracle’s Siebel Case Management with Group’s knowledge and experience in busi-
services consistent with the Accenture Public Oracle’s PeopleSoft Financials systems for ness intelligence.
Service Platform. disbursements, embedding Oracle Policy With Project Analytics Express, eVerge
Benefits of the new software include Automation to ensure policy-based determi- Group deploys Oracle Project Analytics with a
support for workload management and case- nation of eligibility. methodology, a standard project plan, and a
readiness checklist. Project Analytics Express
relies on prebuilt data models; extract, trans-
oracle Partner Kickoff coming in June form, and load (ETL) adapters; dashboards;
Members of the Oracle PartnerNetwork are year 2010. Starting in June 2010, the FY10 and reports to reduce the cost and time
encouraged to visit Oracle Red Network, Partner Kickoff will be available on demand required to implement the software. The
a single entry point for critical informa- in Oracle Red Network. Partners can also fixed-fee pricing helps organizations budget
tion about Oracle’s products, corporate access the same training sessions given to for and control spending associated with
objectives, and selling strategies for fiscal Oracle sales at Oracle Red Network. Oracle Project Analytics.
eagle Business solutions announces “solid cloud” Offering sPaDac Joins Oracle
Oracle partner Eagle Business Solutions has equivalent to a mature software-as-a- Partnernetwork
introduced a cloud-based solution that com- service provider, without limiting the SPADAC, a provider of spatially enhanced
bines storage from Oracle Gold Partner Pillar customer to one specialized application. technology solutions to government and
Data Systems with Oracle Database tech- The Solid Cloud can take the specific shape commercial organizations, has joined the
nology for virtualized application hosting, each customer needs, while remaining Oracle PartnerNetwork as an independent
business continuity, and disaster recovery. solid enough to support business-critical software vendor. SPADAC provides data man-
Known as the Solid Cloud, the Eagle applications. The Pillar Axiom application- agement products that combine actionable
Business Solutions offering uses Pillar aware storage system allows the matching spatial information, human terrain, and social
Axiom storage to provide specific, guaran- of multiple application characteristics to networking elements with predictive analytics
teed service-level agreements; managed appropriate service levels within a single technologies to help organizations make
services; redundancy; and dependability storage platform. objective decisions in complex operational
and business situations. Its offerings include
Signature Analyst, an advanced geospatial
Oracle Partners achieve Platinum status predictive analytics tool; and EarthWhere, a
Three members of the Oracle Oracle Platinum Partner status for its exper- geospatial content management tool that cat-
PartnerNetwork—Hitachi Consulting UK, tise in Oracle Applications including Oracle alogs, provisions, and disseminates geospatial
Intelligroup, and Thunderhead—have E-Business Suite financial management data. SPADAC has customers in the defense,
achieved Oracle Platinum Partner status. and supply chain management applications; intelligence, homeland security, civilian gov-
Oracle Platinum Partners receive dedicated Oracle Hyperion Financial Management; ernment, and commercial markets.
virtual account management, priority place- Oracle Hyperion Planning; Oracle Fusion
ment in the Oracle PartnerNetwork Solutions Applications strategy; and Oracle Fusion weB lOcatOr
Catalog, one free validated application inte- Middleware. Intelligroup provides solutions
gration, joint marketing and sales opportuni- and services to the high technology, life sci- team informatics
ties, and discounted training. ences, manufacturing, and consumer prod- teaminformatics.com
Hitachi Consulting UK was recognized ucts markets, among others. Fadel Partners
fadelpartners.com
for its expertise across many Oracle applica- Thunderhead, a provider of customer
mitsubishi electric automation
tions and technologies, including Oracle communications management solutions, meau.com
E-Business Suite human capital manage- was recognized for its expertise in Oracle Qualcomm
ment, financials, and supply chain man- solution areas including financial services, brewmp.com
agement applications; SOA technologies; public sector, Oracle Database, and Siebel sYstime
Oracle Application Integration Architecture; applications. Thunderhead’s NOW software systime.net
and Oracle Business Intelligence Suite, platform transforms the way organizations accenture
accenture.com
Enterprise Edition Plus. create and deliver communications through
Oracle Partner Kickoff
Intelligroup, an information technology document automation and multichannel oracle.com/partners/campaign/032525.htm
and outsourcing services provider, achieved customer communications. Deloitte
oracle.com/green/deloitte-sensible-steps-
toward-sustainability.pdf
iBm launches solution workbench eVerge group
evergegroup.com
Oracle partner IBM has announced the IBM projects with a standardized, integrated
eagle Business solutions
Solution Workbench for Oracle, a project toolset, method, and asset repository to sim- eaglebusinesssolutions.com/portal
lifecycle tool suite. From project startup to plify, track, and accelerate Oracle application Pillar Data systems
go-live, the IBM Solution Workbench sup- implementations. Project simplification and pillardata.com
ports Oracle enterprise resource planning testing optimization are among the solu- Hitachi consulting UK
and customer relationship management tion’s benefits. hitachiconsulting.com
intelligroup
intelligroup.com
str supports secure e-mail Delivery thunderhead
thunderhead.com
Oracle Platinum Partner STR Software has receipt.) AventX Mail SC encrypts the trans- iBm
released AventX Mail SC (secure and con- port layer and provides password protec- ibm.com/oracle
firmed). AventX Mail SC provides Oracle tion to ensure recipient privacy over Secure str software
E-Business Suite users the ability to securely Sockets Layer. It also features a comprehen- strsoftware.com
e-mail any Oracle E-Business Suite docu- sive reporting functionality that provides an sPaDac
spadac.com
ment (and receive confirmation of successful audit trail for each message sent.
significant benefits and opportunities for Will Oracle have Java evangelists, as Sun did?
the developer communities of the combined Yes. There will be technical staff members Justin Kestelyn
companies. For example, the combination committed to Java technology evangelism, (justin.kestelyn@oracle
of Sun Developer Network (including events, and Java developer programs globally. .com) is senior director,
java.sun.com), BigAdmin (Sun’s system What are Oracle’s plans for student Otn and developer
administrator community), and Oracle developer and related academic programs? programs, as well as Otn
Technology Network (OTN) will result in Oracle will continue to invest in the Sun editor in chief.
the largest and most diverse community of Academic Initiative and Java Education and
developers, DBAs, system administrators, Development Initiative—although they
WeB lOcaTOr
and architects. The richness and diversity of may be modified somewhat—as well as in
this community will be truly remarkable. student communities generally.
Bigadmin System administrator community
In January 2010, OTN published a list of You can read the full text of these sun.com/bigadmin
frequently asked questions to address many questions and answers at bit.ly/agl1Ve. Blogs
of the issues we knew the community might blogs.oracle.com
be wondering about. Here is an updated and JAvAONe + DevelOp Developer events calendar
abridged version. Whether you’re an Oracle diehard or a otn.oracle.com/events
What will happen to Sun Developer Network, Java developer who has never used an Developer resources for Java Technology
java.sun.com
java.sun.com, and BigAdmin? For the near Oracle product, the new JavaOne + Develop
Discussion Forums
term, all of these sites will remain in their approach is particularly exciting. forums.oracle.com
current form. We know that these resources This year, the JavaOne curriculum is going Documentation
are important, and you can continue to back to its roots, with a laser-like focus on otn.oracle.com/documentation
access them just as you always have at the Java technology and its related ecosystem. Free Software Downloads
same URLs and bookmarks. We do foresee With tracks on the core Java platform, otn.oracle.com/software
an eventual integration of these sites into a JavaFX, rich user experience, and the Java Oracle ace Program
otn.oracle.com/goto/oracle-ace
redesigned and rearchitected OTN, and we frontier, you are guaranteed a Java purist
Oracle Sample code
welcome your feedback about this process. experience that covers the conventional, the samplecode.oracle.com
We will make sure that any changes are bleeding edge, and everything in between. OTN Headlines
communicated well in advance. Oracle Develop is still the premier event for otn.oracle.com/pub/news
Will there be a JavaOne in 2010? Yes. developers working with the Oracle stack— OTN Home
JavaOne will be colocated with Oracle Oracle Fusion Middleware and developer otn.oracle.com
Develop during Oracle OpenWorld in San tools, Oracle Database, and Oracle Solaris. OTN on Twitter
twitter.com/oracletechnet
Francisco, California, September 19 through Linking both these conferences together
Podcasts
23, under the umbrella of JavaOne + Develop. will of course be the OTN presence—bigger otn.oracle.com/techcasts
You can register for JavaOne as a standalone and better than ever—which will move Sun Developer Network
conference, just as before, or you can from its traditional Oracle OpenWorld developers.sun.com
attend Oracle Develop 2010 and/or Oracle location to the JavaOne + Develop site. We Technical articles
OpenWorld as well. It’s your choice. look forward to seeing not only our regulars otn.oracle.com/pub/articles
And here’s more good news: we’re but also a vast influx of new developers Technology centers
otn.oracle.com/tech
taking JavaOne + Develop on the road. For from the Java community.
* local entity combinations worldwide will proceed in accordance with local laws.
lip Service
Meeting enterprise architecture
communication challenges is critical.
and less now,” she says. “Even within the very normal to look after multiple systems—
technology area, differentiating between human resources, finance, everything all reaD about nzoUg
database technologies and development tech- together. You tend to know about business nzoug.org
nologies is less relevant—there’s such huge processes very well, and about all the applica- WaTCH Up Close lynne o’Donoghue video
oracle.com/us/products/040703
crossover now.” tions that support those business processes.
company: Southwest Windpower, a producer company: Scale Abilities, a consultancy company: Discover Technology, a provider of
of small wind turbines for generating clean specializing in the design and implementation of support, training, and management related to
electricity very large Oracle-based systems Oracle products, and a manufacturer of software
Job title: Acting international controller Job title: Owner/proprietor based on Oracle and Java technology
location: Flagstaff, Arizona location: Cirencester, England Job title: Oracle DbA
length of time using Oracle products: length of time using Oracle products: location: São paulo, brazil
15 years 20 years Oracle credentials: Oracle Certified Associate
(Oracle9i Database), with 12 years of experience
using Oracle products
What’s your favorite tool or technique on How did you get started in IT? I started at
the job? Asking questions. Systems and age 10 on a SC/MP. I moved on to BBC Micro Which new Oracle technologies are currently
accounting are both pretty easy, once the a year or so later, and by age 13 I was writing sparking your interest? Right now I’m
issues are understood—but problems come professional games and utility software for studying the features of the Sun Oracle
up when there’s a lack of understanding on that platform. My first real IT job was using Database Machine and Oracle Exadata V2
one side about the challenges on the other UNIX and Informix 4GL, shortly followed for Oracle Database 11g Release 2, including
side. So I just ask away. by Oracle6. A couple years later, I was Oracle’s Sun FlashFire technology, smart-
What technology has most changed your implementing the world’s largest Oracle7 scan processing, and storage indexing. I’m
life? Spreadsheets for accounting, which I system, a pan-European rollout across expecting Oracle Exadata V2 to help reduce
discovered back in the early ’80s. As far as 3,000 concurrent users and a four-node the size of our databases, consolidate data,
Oracle technologies, the self-service aspects Oracle Parallel Server. and save money, while enhancing safety and
of the procure-to-pay, order-to-cash, and Which new features in Oracle Database increasing I/O per second.
manufacturing applications we’re using have are you finding most valuable? Oracle What technology has most changed your
made my life as an accountant easier, since Database 11g Release 2 has some amazing life? Linux for operating systems and
they leave more time for analysis instead functionality, but I think the Edition-Based PlayStation 3 for my personal life.
of rekeying data or providing information Redefinition feature steals the crown. What green practices do you use in your DBA
now available in the portals. The self-service Availability isn’t just about the database; work? I create virtualization servers for our
features reduce the cost of processing the database is an important part, but so Oracle environment using Oracle VM and
transactions and answering questions, are the other components, especially the consolidate those servers on a single server.
reducing staff within the finance department application. Edition-Based Redefinition This requires less energy and fewer materials
without increasing head count elsewhere. is the enabler to make logical application and creates less CO2. I also use digital books
How do you use wireless technologies? I changes without disrupting availability. and materials to study—I’ve stopped buying
don’t. I don’t believe in multitasking—when What’s your favorite thing to do that doesn’t paperbacks. Once we’ve completed our new
I work, I’m at my desk and working. involve work? I play lead guitar in a rock environment with Oracle Exadata V2, it will
When I’m not at work, I’m not using band. I think it’s important to exercise both help migrate all old versions of the database
technology—but I find that by not being cortices of the brain, and playing Metallica to Oracle Database 11g Release 2, which will
connected, insight and understanding about and Iron Maiden tracks with my own twist reduce energy consumption and make us
work issues come to me more easily. seems to do that for me. greener as well.
One Fujitsu,
Many Strengths
With a unified approach to the market,
Fujitsu has transformed itself into one of
the world’s largest IT providers—one with an
effective combination of global reach and local
focus, and an end-to-end lineup of services
and products for Oracle users.
B
usiness today is increasingly fast, competitive
and global, and that requires ever-greater adapt-
ability and efficiency from a company’s infor-
mation technology. To deliver, IT departments
need to work with a perspective that is more holistic and
more integrated—one that enables them to keep cost,
quality and speed in step with the needs of a global
business.
That reality is at the heart of fundamental changes that
have been taking place at Fujitsu. “Fujitsu has had a sig-
nificant presence worldwide for many years,” says
Richard Christou, president of the Fujitsu Global
Business Group. “But now we are creating a truly global
organization that can provide a full spectrum of end-to-
end products and services.” This “One Fujitsu” strategy
has created a $47 billion company with some 190,000
employees—one of the largest IT providers in the world,
with a global corps of experts and a comprehensive, end-
to-end suite of services and technologies.
Much of the company’s offerings and expertise are
S1
SPECIAL ADVERTISING SECTION
focused on Oracle technology and appli- and business management for Fujitsu The reach and strength of Fujitsu’s
cations. Indeed, the move to the One operations outside of Japan. “As a more globalization efforts can be seen in the
Fujitsu model positions Fujitsu to extend global company, we can bring greater company’s Global Infrastructure Services
and strengthen its long relationship with consistency to the customers we work group, which provides integrated out-
Oracle, which encompasses everything with, especially those who operate sourcing services. This group encom-
from applications, middleware, data- globally,” says Christou. “We can passes 85 data centers worldwide, as well
bases, infrastructure and edge solutions leverage scale and worldwide expertise to as 47 service desks that offer the ability
to Oracle’s recently acquired Sun tech- strengthen development, deliver solu- to respond in 26 languages—a vital
nologies. “Oracle and Fujitsu have tions and drive innovation.” In essence, capability in global business. Through
worked together for more than 20 years, the new structure allows Fujitsu to con- this group, Fujitsu experts around the
covering a variety of initiatives,” says tinue to work closely with customers in world collaborate on infrastructure services
Judson Althoff, senior vice president of a given market, while backing those such as data center services, desktop
Worldwide Alliances and Channels at efforts with the deep resources, expertise services and help desk services to provide
Oracle. “With One Fujitsu, our joint and best practices of a global company. a uniform level of services worldwide.
customers have the opportunity to draw A number of significant changes have
on the technologies and expertise of two already taken place in Fujitsu’s operations. Seamless Access to Services,
worldwide organizations that have the For example, in North America, the Systems and Expertise
depth and reach to help bring greater company has established Fujitsu America, Such efforts are giving customers increas-
integration, flexibility and efficiency to which brings together the wide-ranging ingly seamless access to Fujitsu products
IT—which empower customers of all consulting services offered by Fujitsu Con- and services from one source. “We can
sizes to compete more effectively in the sulting, the platform sale and maintenance provide end-to-end technology, services
global economy.” capabilities of Fujitsu Computer Systems, and expertise for Oracle users, from con-
and the retail solutions of Fujitsu Trans- sulting to design, build, implement and
Fujitsu’s Global Transformation action Solutions. The integration of these maintain activities,” says Takanori
The maxim “think global, act local” has three companies has created a unified Katayama, corporate vice president of
been around for some time—and tradi- structure for the provision of compre- Fujitsu. For Oracle users, these offerings
tionally, Fujitsu has put more weight on hensive IT solutions in North America. In include:
the “act local” element, which allowed Europe, Fujitsu Siemens Computers has • Comprehensive IT, business and
various Fujitsu companies to focus on been converted into a consolidated sub- infrastructure services. These include a
their specific technologies and geo- sidiary and has increased collaboration number of Oracle-specific managed and
graphic markets. But now Fujitsu is with Fujitsu Services, providing skills professional services, covering applica-
taking a more holistic approach. With its across the breadth of Oracle applications, tions, infrastructure and business impera-
One Fujitsu governance model, the middleware, databases and infrastructure. tives such as operational excellence and
company is transcending those tradi- In Australia, Fujitsu’s acquisitions of IT customer experience. Companies can
tional local boundaries and strength- services and consulting firms have turn to Fujitsu for services such as appli-
ening the “think global” element of the improved its ability to deliver integrated cation management, outsourcing, imple-
equation. services in that region. And in China, mentation, upgrades, training and
The company has established a Fujitsu’s operations are being consolidated international 24/7/365 support. With
Global Business Group, which directs into two organizations to drive greater col- more than 2,500 Oracle professionals
marketing, delivery, client management laboration across that large market. worldwide, Fujitsu is an Oracle Global
closely with customers in a given market, while backing those efforts with the
S2
SPECIAL ADVERTISING SECTION
Partner and an Oracle Platinum Partner, Oracle, Sun and the New Fujitsu
and has experience and expertise with As the long-standing partnership between EXECUTIVE
Oracle E-Business Suite, Siebel, People- Fujitsu and Oracle evolves, the two com- SUMMARY
Soft, and JD Edwards and Oracle edge panies can build on a strong foundation. Under its One Fujitsu strategy,
and industry solutions, as well as Oracle They have a shared focus on innovative Fujitsu has created a truly global
Fusion Middleware and Oracle Database. applications and middleware solutions, organization. The company:
One of the world’s largest Oracle E- service-oriented architectures, data man- • Is one of the largest IT
Business Suite solutions was imple- agement, business-critical computing and providers in the world, offering
mented and run by Fujitsu. And Fujitsu grid computing. Today, Fujitsu is the only comprehensive, end-to-end
is drawing on this Oracle expertise in its company that supports three out of five services and technologies.
own global transformation efforts. Last strategic Oracle development plat- • Offers a full spectrum of
year, the company implemented its own forms—Linux, Windows and Solaris— managed and professional
Oracle Hyperion Financial Management running on Fujitsu’s Intel-based services covering applications,
reporting system across some 30 coun- PRIMERGY servers and SPARC Enter- middleware, databases and
tries in just three months. This is now prise servers. And the two companies infrastructure, and business
being used by the Global Business work together in Oracle-focused tech- imperatives such as operational
Group’s regions, as well as by the group’s nical centers in Germany, Turkey, Russia excellence and customer expe-
executive management team and Fujitsu and the UK; these are complemented by rience.
Limited in Japan. a Mobile Migration Center that can be • Provides a range of data center
• A range of data center technologies. set up on customer premises. technologies designed for cost-
As a global organization, Fujitsu will con- This multifaceted relationship has led effective, tailored, flexible
tinue to focus on the creation and to clear results in a number of areas. For infrastructures that enable
delivery of “Dynamic Infrastructures” example, in the middleware arena, greater business efficiency and
supporting Oracle applications and tech- extensive cooperation has led to Fujitsu agility.
nologies. The company’s Dynamic Infra- being authorized to sell Oracle Fusion • Builds on a strong relationship
structures strategy is designed to provide Middleware and Oracle Database. The with Oracle that encompasses
companies with choice in cost-effective, two companies have also worked applications and edge solutions,
tailored, flexible infrastructures that together to develop FlexFrame for middleware solutions, service-
enable greater business efficiency and Oracle, a pre-integrated, dynamic, IT oriented architectures, grid
agility. This portfolio encompasses four infrastructure solution. The first auto- computing, cloud computing,
main categories: Infrastructure Products mated management solution for Oracle and Sun and SPARC tech-
and Services, Infrastructure Solutions, grid computing, it delivers agility, scala- nologies.
Infrastructure as a Service and Managed bility, high availability and reduced costs • Is an Oracle Platinum Partner
Infrastructure. Dynamic Infrastructures for both native and virtual servers. For and has more than 2,500 Oracle
combine products, solutions and services example, when a European railway professionals.
that enable companies to assign IT company used the solution to consol-
resources dynamically to services as idate servers, the effort paid for itself in
required, and to choose sourcing models two and a half years and led to projected solution to consolidate 500 servers down
that best fit their businesses, bringing IT savings of €3 million a year. Similarly, a to 175, dramatically increase server uti-
flexibility and efficiency to the next level. US university used the FlexFrame lization and reduce IT overhead by as
S3
SPECIAL ADVERTISING SECTION
much as 60 percent. Based on these results, and participates jointly with Oracle in spon-
Fujitsu was given the Oracle Innovation Award soring eco-friendly events.
for the solution. An increasingly important area of focus for
Fujitsu has also been recognized with a both companies is cloud computing. Here,
Fujitsu number of Oracle-related awards. Customers Fujitsu brings several strengths to the table. The
recently voted to name Fujitsu a Cost-efficient company has long been a leader in telecommu-
has deep Partner of the Year, Public Sector Partner of the nication and enterprise technologies and data
Year, E-Business Suite Partner of the Year, Shared center technologies, which will play a key role
expertise in Services Partner of the Year, and Database Partner in delivering cloud computing services. It also
of the Year. Oracle UK gave Fujitsu the 2010 has extensive experience in outsourcing, pro-
SPARC tech- award for Technology System Integrator Partner viding infrastructure as a service and software as
of the Year, which acknowledges the company’s a service, and managing the systems of its
nology, and it Oracle focus and success with Oracle technology, numerous customers. “As a global company, we
middleware and applications. Fujitsu was recog- are committed to leveraging our expertise to
has been an nized as a “Strong Performer” in the “Forrester create and integrate cloud-based systems, while
Wave™ Oracle Service Providers, Q4 2009,” keeping an eye on delivering the technology’s
Innovation Forrester Research Inc. (October 2009). potential business benefits, such as lowering the
“Fujitsu has a large footprint in the Oracle cost of IT, increasing security and reliability,
Partner of community, and the One Fujitsu approach lets us and accelerating customers’ innovation,” says
leverage that footprint to help companies use IT Chiseki Sagawa, president of the Service-
Sun’s for more effectively,” says Takanori Katayama. Oriented Platform Office at Fujitsu.
Oracle’s recent acquisition of Sun, he adds, is Fujitsu is combining basic research, server,
years. only expanding that footprint. Fujitsu has deep software and other development resources for
expertise in SPARC technology; it has provided the cloud under the auspices of a new Cloud
SPARC technology to Sun and been an Inno- Architect Office. Among other things, this
vation Partner of Sun’s for years. “The Sun acqui- office is bringing together solutions experts
sition strengthens the Oracle partnership even from different vertical industries to tap into
more,” he says. their real-world experience and know-how
For example, Fujitsu and Oracle Japan have from the frontline of business. Fujitsu has also
established a SPARC Enterprise-Oracle Database created a Cloud Implementation and Verifi-
Solution Development Center. The center is cation Center, which is charged with quickly
charged with testing and development using translating the innovations produced by the
SPARC Enterprise, Exadata and Oracle Database Cloud Architect Office into the development
11g, creating solutions for next-generation and implementation of new infrastructures.
standard IT infrastructures and developing Business is always changing, and as a truly
approaches that companies can use to migrate to global company, Fujitsu will be better equipped
those infrastructures. “The Oracle and Fujitsu to help companies adapt to that change. “We
technologies are a natural fit in this area,” says can give customers simpler, more seamless
Stephen Boyle, group vice president of access to our offerings and our knowledge,” says
Worldwide Strategic Alliances at Oracle. “Such Richard Christou. “That enables us to work all
joint efforts are designed to give companies the more effectively with companies to help
effective, integrated SPARC and Oracle tech- them apply IT to the business in order to be
nologies that can help them increase performance more efficient, agile and successful.”
while reducing complexity.”
S4 © 2010 Fujitsu Limited. FlexFrame, Fujitsu and PRIMERGY are either trademarks or registered trademarks of Fujitsu Limited in Japan and/or other countries. Oracle is a registered trademark of Oracle
Corporation and/or its affiliates. All other trademarks and product names are the property of their respective owners.
A new
generation
of intelligent
server
processors.
STARK DOMINATION
STARK INDUSTRIES POWERS INTO A NEW CORPORATE STRATEGY.
BY SCOTT SMITH
change the way you back it up. NetBackup with integrated deduplication
assures that data from your data centers, remote offices, and virtualized
dEduplICATIoN.
Copyright © 2010 Symantec Corporation. All rights reserved. Symantec, the Symantec Logo, and Symantec NetBackup are
trademarks or registered trademarks of Symantec Corporation or its affiliates in the U.S. and other countries. Other names
may be trademarks of their respective owners.
45
sailinG HOMe
WitH tHe prize
Oracle Data Mining supports yacht crew as
BMW OraCle racing wins the america’s Cup.
From the drag-resistant materials encasing its hulls to its the effectiveness of each adjustment, allowing the crew to ascertain
unprecedented 223-foot wing sail, the BMW ORACLE Racing’s the amount of lift it’s generating; and fiber-optic strain sensors on the
trimaran, named USA, is a one-of-a-kind technological juggernaut. mast and wing to allow maximum thrust without overbending them.
No less impressive are the electronics used to guide the vessel and But collecting data was only the beginning. BMW ORACLE Racing
fine-tune its performance. Each crewmember is equipped with also had to manage that data, analyze it, and present useful results.
a PDA on his wrist that has customized data for his job: what the The team turned to Oracle Data Mining in Oracle Database 11g.
load balance is on a particular rope, for example, or the current Peter Stengard, a principal software engineer for Oracle Data
aerodynamic performance of the wing sail. The helmsman’s Mining and an amateur sailor, became the liaison between the
sunglasses display graphical and numeric data to help him fine-tune database technology team and BMW ORACLE Racing. “Ian Burns
the boat’s direction while he keeps two hands on the wheel and contacted us and explained that they were interested in better
BoB adler
visually scans the sea, the boat, the crew, the sails, and the wing. understanding the performance-driving parameters of their new
The America’s Cup is a challenge-based competition in which boat,” says Stengard. “They were measuring an incredible number
the winning yacht club hosts the next event and,
“With data mining we could check data against the things we saw, and we could find things that weren’t
within certain guidelines, makes the rules. For the otherwise easily observable and findable,” says ian Burns, design coordinator for BmW Oracle racing.
33rd America’s Cup, the competing teams could not
agree on a set of rules, so the event defaulted to an
unrestricted format for boat design and cost.
“All we knew were the length of the boat and
the course configuration,” says Burns. The boats
were allowed a maximum length of 90 feet, and
the course would be 20 miles out windward and 20
miles back. “Within those parameters,” says Burns,
“you could build as fast a thing as you can think of.”
Learning by Data
The no-holds-barred rules for this race created what
Burns calls an “open playground” for boat designers.
The innovative and costly vessels that resulted were
one-of-a-kind creations with unpredictable sailing
characteristics that would require a steep learning
curve and lots of data.
“One of the problems we faced at the outset
was that we needed really high accuracy in our data
because we didn’t have two boats,” says Burns.
“Generally, most teams have two boats, and they sail
them side by side. Change one thing on one boat,
and it’s fairly easy to see the effect of a change with
your own eyes.”
With only one boat, BMW ORACLE Racing’s
performance analysis had to be done numerically by
comparing data sets. To get the information needed,
says Burns, the team had to increase the amount
of data collected by nearly 40 times what they had
done in the past.
The USA holds 250 sensors to collect raw data:
pressure sensors on the wing; angle sensors on the
adjustable trailing edge of the wing sail to monitor
by david bauM
making
it Work
Companies are using Oracle technologies to
build private clouds, and integrate with public
clouds, while ensuring security.
Oracle.cOm/Oraclemagazine
Oracle magazine May/June 2010
50
Embry-Riddle uses Oracle Identity Manager to manage a large, “The low cost and obvious convenience of cloud services makes
dynamic user population efficiently and securely, automatically them appealing, but you need to be able to control access, manage
provisioning and deprovisioning access privileges and requirements identities, and provision resources safely,” says Eric Fisher, director
as students, faculty, and staff change. This identity management of middleware at Embry-Riddle. “Oracle identity management
system, part of the Oracle Fusion Middleware family of products, tools help us overcome some of the resistance with respect to ‘who
enables the university to avail itself of both public and private owns my data,’ data security, authorizing access to IT resources,
cloud computing services, as well as hosted applications from an management, control, and so forth.”
application service provider—and yet still provide users with a Embry-Riddle is not alone in looking to clouds. Cloud
consistent online experience. computing—essentially on-demand access to a shared pool of
computing resources—is gaining
in popularity with many enterprise
IT departments. In particular,
companies are focusing on their
own clouds, which are operated and
managed in-house. Commonly called
“private clouds” and based on proven
technologies such as grid comput-
ing, virtualization, clustering, SOA,
and identity management, these
new architectures can scale incre-
mentally while providing the flexibility
to adjust resources to meet dynamic
business priorities.
Private clouds have certain
advantages over public clouds—
among others, greater control over
security, data privacy, compliance,
and quality of service. “A private
cloud for the exclusive use of a
single organization can deliver many
of cloud’s agility and efficiency
benefits while maintaining control
over security and privacy, regulatory
compliance, and legal and contractual
issues, particularly at larger
enterprises in security-sensitive
domains,” says Richard Sarwal,
senior vice president of product
development at Oracle.
Many companies agree with this
assessment. In a survey of 95 IT
executives that was conducted at the
2009 Supercomputing Conference in
Portland, Oregon, nearly 85 percent of
respondents said they intend to keep
their cloud initiatives within their own
firewalls. A full 49 percent of the IT
executives surveyed—representing the
research, manufacturing, government
Charity de Meer
“We use oracle identity management to degree audit system, and others. “Oracle
Virtual Directory was particularly useful in
create and manage all the accounts in real these implementations because it enabled us
“We’ve turned our enterprise portal into and orchestrates global supply chain networks
that design, build, and deliver electronic
an ‘extra enterprise portal’ using Oracle’s products for its customers. “If you come to
S H A R E D CO M P O N EN TS SE L F- SE RVIC E IN T E R FAC E
Users
Application
users access
sofware as
needed.
Applications
Application Builder
Developers assemble
applications using shared Application Owner
components and deploy Application owners monitor
applications through usage and manage capacity
self-service. and chargeback.
I-HUA CHEN
an ‘extra enterprise portal’ using oracle and Sun offer a complete Stack for cloud computing upgraded software. In the current
Oracle’s superior middleware cloud, all Higgins did was push
technology. We store those Oracle offers a complete, open, and and the Oracle Solaris operating a button to clone the existing
integrated portfolio of software system, which includes built-in
records—customer records, infrastructure. Once Advanced
and hardware for building and virtualization and management
purchase orders, all of that— managing private clouds as an capabilities. Innovations verified that the
in our Oracle E-Business internal service provider, for taking “Oracle software and Sun upgrade was successful, they shut
advantage of public clouds, and hardware create the industry’s
Suite application running on down the extra instances. “The
for developing cloud services that most comprehensive solution,”
Oracle Database.” can be offered by cloud service says Richard Sarwal, senior vice only cost we incurred was the
providers. These components president of product development hourly billing for the additional
include leading technologies such at Oracle. “Oracle provides technol-
Shedding ServerS servers during the time we used
as Oracle Database, Oracle Fusion ogy to build private clouds or run in
The company decided it could Middleware, Oracle VM, and Oracle public clouds, and Oracle provides them,” Higgins says.
be more nimble if it moved its Enterprise Manager. applications that are deployed in Higgins has put his finger on
Oracle’s acquisition of Sun a private shared-services environ-
Oracle software into a cloud an important enabler of both
significantly expands the portfolio, ment or via a public SaaS [soft-
environment. Oracle’s flexible including Sun servers, storage, ware-as-a-service] cloud.” public and private clouds: server
licensing and support policies virtualization. Instead of each
enable Advanced Innovations application running on dedicated
to run the Oracle software in either its own datacenter or in public hardware and software that must be procured, configured, and
clouds. “We want to get entirely away from owning servers,” says provisioned, in a virtualized server world, the technology stack can
Higgins. “Our goal is to be entirely cloud-based in terms of all of our be prepackaged as a virtual machine image. These prepackaged
production application delivery.” assets can be quickly and easily deployed on virtualized servers where
dvanced Innovations now has a complete Oracle technology they may be cloned or “live migrated” to different virtual servers to
stack deployed in a public cloud, including Oracle Database, optimize available resources.
Oracle SOA Suite, Oracle WebCenter, and Oracle enterprise Oracle VM is a highly efficient server virtualization solution
collaboration software, which handles e-mail and streamlines that supports Oracle VM Templates for deploying preinstalled and
collaboration among the company and its customers, partners, and preconfigured software images, including cloning and live migra-
suppliers. Soon, Advanced Innovations will run Oracle E-Business tion of those images. This supports rapid deployment and upgrading
Suite and Oracle business intelligence software in the cloud as well. from test to production environments, and the elastic scalability
“We’ve seen an incredible improvement in our communications of production environments to accommodate growth and spikes
and collaboration capability by leveraging Oracle enterprise collab- in workload.
oration capabilities and Oracle WebCenter in this environment,” Higgins loves being able to deploy and scale the infrastructure
Higgins says. without buying, installing, configuring, and provisioning servers.
Higgins describes the typical interaction with one of the Moreover, as great as the cost savings are, the business benefits are
company’s design partners to illustrate the benefit of this virtual even more compelling.
infrastructure. “In the past, if we had come up with a new schematic “Now that most of our IT assets are in the cloud, our total cost of
for a printed circuit board, the designer would bundle up the ownership is down 40 percent for the server infrastructure,” he says.
CAD/CAM diagrams and e-mail them to an engineer in Limerick,” “Even better, we’re now delivering application functionality that is
he says. “The engineer in Limerick would calculate the cost and 100 percent aligned to our unique business model.”
other specs on the new board, then forward that information to
an engineer in our China office to be handed over to a procure-
David Baum (david@dbaumcomm.com) is a freelance business writer
ment officer.”
based in Santa Barbara, California.
That process has changed. “Today, using the Oracle collaboration
software, the designer simply uploads the CAD/CAM documents nexT STepS
into a secure team workspace,” Higgins says. “We can assign access
privileges to employees or other partners who need to see that reaD more about cloud computing
package of documents. The system provides versioning control, oracle.com/us/technologies/cloud
checkout control, access control. We don’t have to bother with ViSiT the cloud computing center
otn.oracle.com/tech/cloud
putting files on servers or mailing them around. They’re available
learn more about the Supercomputing conference iT survey
through the Oracle software as workspaces in the cloud.” bit.ly/ComputingConferenceexecSurvey
DoWnloaD
CapaCity on demand oracle Secure Backup cloud module
At the outset of the cloud deployment, Advanced Innovations otn.oracle.com/software/tech/cloud
decided to do a major Oracle upgrade. In the past, the company oracle identity management
otn.oracle.com/products/id_mgmt/htdocs/idm_download.html
had to have additional servers to copy the environment and test the
www.sqldetective.com
Detective’s Advice To Reduce IT Costs
ClearSQL ClearDB
Analyze, Format, Diagram, CRUD Advanced Oracle DB Documenter
ClearSQL is a review and quality control ClearDB automatically produces
tool for Oracle PL/SQL code. Analyze, database documentation directly
fix and format your PL/SQL code from an ORACLE database instance.
automatically. Flowchart PL/SQL It includes database structure,
code and create click-able Call Tree schemas and objects as well as their
diagrams and CRUD matrices. Legacy statuses and dependencies. Includes
or unfamiliar PL/SQL code? Analyze Flowcharts, Call Tree diagrams,
thousands of scripts with the click of a CRUD matrices, Observations
button to grant DB up-time. report and much more...
www.myclearsql.com www.mycleardb.com
57
to expect from Oracle and Sun, and more,” he says. “Software and
hardware performance and reliability will be unmatched. And our
open standards–based technology will give customers choice.”
The acquisition not only expands Oracle’s range of products to
include servers and storage solutions; Oracle also has announced
increased investment in Oracle’s Sun technologies. The addition of
the Sun product line—as well as the increased R&D investment—
will bring improvements to each best-of-breed component as well
as to the entire Oracle stack.
“In the software group, we’re focusing on exploiting trends
in processors, system design, storage, and networking to deliver
fundamental breakthrough innovations combining Oracle
software and Sun hardware—and breakthrough improve-
ments in performance, scalability, reliability, and security,” says
Thomas Kurian, executive vice president of product development
at Oracle.
John Fowler, executive vice president of systems at Oracle, agrees
that the acquisition will mean huge improvements in the two
companies’ product lines.
“Thousands of engineers at Sun have been building mission-
critical enterprise infrastructure—from the core technologies of
microprocessors to system servers, storage, and networking,” Fowler
says. “Now we’ll be joining that with the community of thousands of
developers at Oracle who work on the world’s #1 enterprise software
solutions. Together, we’ll be able to build vastly better best-of-breed
components as well as a completely integrated stack.”
ne way that the integrated stack can benefit
“We feel particularly satisfied with Oracle’s demonstrated commitment to maintaining customers is by simplifying product integration.
these technologies going forward,” says David Maitland, CIO and director of corporate
services at AWE. Jean S. Bozman, research vice president for IDC’s
Enterprise Platforms Group, says that companies
port of call for future consultation. That will help us to substantially are focusing on how their IT projects can be
reduce our costs.” done most cost effectively, given concerns
Maitland is pleased that the Sun product line will continue to be about IT-related operational expenditures.
supported and improved. “Technologies like Sun’s file systems are “New projects typically require hardware
particularly close to our hearts because of our high-performance and software integration at the customer site,” she says. “The idea
supercomputing needs,” he says. “We feel particularly satisfied that Oracle’s and Sun’s engineers could work directly together within
with Oracle’s demonstrated commitment to maintaining these the company to do a lot of that system integration work—getting
technologies going forward. We feel very comfortable now that this work done more simply, more quickly, and getting new projects
they’ve found a good home.” to the deployment stage more rapidly than they would have in the
Robert Shimp, group vice president of sales support and past—would be very, very attractive to customers.”
marketing at Oracle, says that maintaining high service levels is Ensuring the value of existing investments, managing risk, and
important. “We are dedicated to delivering without interruption reducing complexity have been key concerns for Mark Kamlet,
the quality of support and service that our customers have come executive vice president and provost at Carnegie Mellon University.
t will
“Our software strategy is to deliver a complete,
open, and integrated stack,” says Thomas Kurian, and storage. r
A ange
base, operating system, virtual machine, servers, lower the cost of ownership, reduce change man-
agement risk, and get integrated support across
ch
executive vice president of product development As a result, organizations can move away from sets of products.
at Oracle. spending resources integrating individual tech- “We are always looking for ways to simplify
That complete stack now provides a full-scale nologies to deploying top-to-bottom solutions what we do and manage,” says Norm Fjeldheim,
infrastructure solution. With the addition of that are integrated and extensible. senior vice president and CIO at Qualcomm.
Sun’s servers, storage, and software technologies Moreover, by using Oracle’s preintegrated “The Oracle acquisition of Sun will reduce opera-
JOHN BLYTHE
such as Oracle Solaris and Java, Oracle’s portfolio hardware, software, and management solutions, tional costs for customers and makes a lot of
encompasses applications, middleware, data- organizations can shorten deployment times, sense to me.”
snapshots
atomic Weapons establishment
awe.co.uk “We want integrated solutions,” says mark Kamlet, executive vice president and provost
at carnegie mellon University. “We want things that we can plug in and that work. With
location: Aldermaston, Berkshire, England the sun acquisition, oracle will be providing them, and we’ll be the beneficiaries.”
industry: Defense
employees: 4,900
oracle products: Oracle Database, Oracle SOA Suite, Oracle Identity correctly with products from so many companies is an immense
Management, Oracle Enterprise Content Management Suite, Siebel
hassle,” says Kamlet. “We want integrated solutions. We want
Customer Relationship Management, Oracle E-Business Suite, StorageTek
modular disk systems, StorageTek tape libraries, Sun Storage Archive appliances. We want things that we can plug in and that work.
Manager, Sun QFS, Sun SPARC Enterprise Server With the Sun acquisition, Oracle will be providing them, and we’ll
be the beneficiaries.”
carnegie mellon University Providing unmatched performance, scalability, and reliability will
cmu.edu
continue to be Oracle’s key goals.
location: Pittsburgh, Pennsylvania
industry: Education “We’ll be engineering Oracle and Sun products to provide
employees: 4,000 fundamental improvements in reliability,” says Oracle’s Kurian. “We
oracle products: Oracle Database, Oracle Real Application Clusters, also will be providing the lowest cost of ownership to customers,
Oracle SOA Suite, Oracle Hyperion Planning, Oracle Crystal Ball, Hyperion both through automated management as well as simplified support
Data Integration Management, Oracle Essbase, Oracle Hyperion Financial
for our customers across products.”
Reporting, Hyperion Web Analysis, Sun x86-based servers, Sun SPARC
Enterprise Servers, Oracle Waveset (formerly Sun Identity Manager)
EnginEEring a Solution
Qualcomm At its heart, Qualcomm—which designs and supplies a wide range of
qualcomm.com electronics that enable mobile computing and digital products—is
location: San Diego, California
an engineering company. Consequently, Sun’s engineering-oriented
industry: Telecommunications
employees: 12,000 solutions have played an important role in Qualcomm’s success.
oracle products: Oracle Database, Oracle SOA Suite, Oracle Identity “We rely on Oracle to run our business, but we have relied even
Management, Oracle Supply Chain and Order Management Analytics, more on Sun to run our engineering applications,” says Norm
Oracle master data management products, Oracle customer relationship Fjeldheim, senior vice president and CIO at Qualcomm. “The
RichaRd Kelly
We’ve been longtime Sun customers, going back to 1992, and it’s
been a great partnership over the years.”
For Fjeldheim, Oracle’s acquisition of Sun is a like a safe harbor
for his technology infrastructure.
“I was worried about another company picking up Sun and
killing the product line,” says Fjeldheim. “So I really like what
Oracle’s doing. I like Oracle’s track record of acquisitions. Being
able to depend on Sun—and now Oracle—Solaris means that I can
invest in these products and not worry about moving to another
platform. I can count on the Sun products being supported and
advanced. My investments in Sun equipment will not be lost.”
Just as important is the investment that Oracle has committed
to key Sun technologies.
“I’m really excited to see additional R&D investment on the
Sun hardware and storage side platforms,” says Fjeldheim. “That
level of R&D spending is good news for Sun customers.”
s part of the acquisition, Oracle also
takes over the management of Java, an
object-oriented, multithreaded, platform-
independent environment for application
development and deployment. Java
is used in a wide variety of computing
platforms—from embedded devices and
mobile phones to enterprise servers—and
is the foundation for Web and networked services, applications,
and platform-independent desktops. More than 2.1 billion mobile
devices powered by Java are in use, as well as 2.5 billion Java cards
and 800 million Java desktops.
“Java is one of the crown jewels that is coming to Oracle as part
of this acquisition,” says Oracle’s Kurian. “Java is, by far, the most
popular programming language in enterprises, with close to 10 “i like Oracle’s track record of acquisitions,” says norm Fjeldheim, senior vice president
and ciO at Qualcomm. “Being able to depend on Sun—and now Oracle—Solaris means that
million developers in the world building applications with it. We’ll i can invest in these products and not worry about moving to another platform.”
enhance and extend the reach of the Java programming model to
support the emerging application development paradigm.” applications. Now organizations will be able to leverage the core
In addition, Oracle plans to integrate and simplify the runtime strengths of both companies through a new, integrated enterprise
platform for Java while optimizing it for both existing and emerging software and hardware stack that both reduces complexity and
deployment architectures. Oracle also plans to invest in and revitalize increases agility.
the Java developer community both by offering best-of-breed “By acquiring Sun, Oracle will be able to provide an integrated
Java technology and by making the Java community process more hardware and software solution, in which all the components of
participatory to people from a variety of different organizations. the technology stack are optimized to work well together,” says
Sun has long been known for industry-leading, standards-based Qualcomm’s Fjeldheim. “This optimization will enable Oracle
computer systems, software, and storage. And Oracle has been solutions to perform faster and more reliably. Oracle and Sun will be
well-known for its high-performance databases, middleware, and able to do that better together than separately.”
As an Oracle Platinum Partner with extensive experience implementing secure Sun and Oracle
solutions, our trusted, certified professionals have the proven field experience to help you design,
implement and maintain powerful, open systems solutions to leverage the power of the new
IT landscape.
Government and Commercial customers rely on Sterling to leverage innovations from our
industry-leading technology partners for some of the nation’s most demanding, secure, highly
critical application environments.
Sterling experts are available to help you understand and meet evolving requirements and share
best practices for moving towards a secure cloud architecture. Turn to Sterling for comprehensive,
time-sensitive IT solutions that meet today’s needs and address tomorrow’s challenges.
AVAILABILITY
PERFORMANCE
INCREASE DATA
UTILIZATION
HETEROGENEOUS OPTIMIZATION
MANAGED
CENTRALLY
DATA
POWER
SAVINGS
UNSTRUCTURED
ARCHIVE
MAXIMIZE DATA DOWNTIME
CAPACITY
UNUSED
STORAGE
IDENTIFY
CENTER STORAGE
MAXIMIZE DATA
STORAGE CAPACITY
CENTER CAPACITY
DATA STORAGE EFFICIENCY MANAGEMENT
DATA
CENTER
STORAGE DATA PROTECTION
CENTRALIZED RECLAIM POLICY
ENVIRONMENTS
AVAILABILITY VOLUME
MIGRATION
-
MANAGEMENT
VIRTUAL
EFFECTIVE
COST
MANAGEMENT LOST BASED
ARCHIVING
REDUCED
DATA CENTER
CONTROL
STORAGE EFFICIENCY
STORAGE
IDENTIFY UNUSED
DATA CENTER STORAGE
OPERATIONAL COSTS
HIGH
MAXIMIZE
STORAGE CAPACITY
STORAGE
RISKS
REDUCE
REDUCED
COMPLEXITY
MANAGEMENT
END-TO-ENDCONSOLIDATE
SERVERS
VISIBILITY REDUCE DATA VOLUMES
REDUCE BACKUP DATA
INTELLIGENT RECLAIM
DATA CENTER
STORAGE
ARCHIVING GREEN
EFFICIENCY
THE LEADER IN
STORAGE SOFTWARE.
99% OF THE FORTUNE 500® RELY ON SYMANTEC STORAGE SOLUTIONS.
Secure, optimize, and manage data more efficiently at go.symantec.com/storageleader
Copyright © 2010 Symantec Corporation. All rights reserved. Symantec and the Symantec Logo are registered trademarks of Symantec
Corporation or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
Java Developer Java By Ed Ort and JanicE J. HEiss 63
Armed with the needed type information, • The receiver class providing the method: implementation might change the previous
the javac compiler can generate the appro- java.io.PrintStream code snippet to
priate bytecode instructions: • The method name: println
• The number (1) and type (reference to MyObject function max
ldc #2 String) of the method argument. (MyObject x,MyObject y) {
// String “Hello World” • The method’s return type: V for void (that if x.lessThan(y) then y else x
astore_1 is, no return value is pushed onto the stack) }
getstatic #3 The signature is encoded as the constant
// Field System.out string (Ljava/lang/String;)V, whose format The language-specific base type MyObject
aload_1 describes the effects of the invocation on the must contain the method isLessThan and any
invokevirtual #4 operand stack. other methods a dynamic language might
// Method PrintStream.println In response to the invokevirtual bytecode want to use, in order to meet the bytecode
instruction, the JVM looks for a method requirements for the method invocation.
If you’re not familiar with bytecode, the with the supplied name and signature—in You might also solve the problem of
important thing to understand is that a lot of this case, println:(Ljava/lang/String;)V in receiver typing through reflected invocation.
the bytecode execution in the JVM involves the java.io.PrintStream class. If the method This approach uses a java.lang.reflect.Method
operations on values in an operand stack. isn’t in that class, the JVM will search up the object to invoke the method. Using a Method
The operand stack is the virtual machine chain of the class’s superclasses. Note that object to do the method invocation circum-
equivalent of the hardware registers in a real as a matter of static typing, the receiver class vents having to directly invoke the method
machine. Most of the bytecode instructs (PrintStream) must match the type of the and, as a result, bypasses the requirement
the JVM to push a value in a local value onto operand pushed onto the stack (System.out). of having to specify the type of the returned
the operand stack, pop a value off the stack If the code had attempted to load any other value or the types of any parameters.
into a local variable, duplicate a value in the kind of object for the receiver, the JVM would A third approach you might try is to avoid
stack, swap values in the stack, or execute have rejected the code as unverifiable. bytecode altogether and create a language-
operations that produce or consume values specific interpreter for method invocation to
on the stack. AwkwArd Attempts At meeting run on top of the JVM.
For example, here’s a commented version dynAmic requirements Let’s take a look at each option.
of the bytecode: Because dynamically typed languages don’t Creating a language-specific base type
provide type information until runtime, meets the requirements of the Java byte-
ldc #2 implementers must try various approaches code, but it is limited by the need to statically
// Push the String “Hello World” to meet the bytecode verification require- type each receiver to a prescribed base type.
onto the stack ments for method invocation, none of which One problem with this technique is that a
astore_1 is optimal. For example, suppose the fol- language implementer must think up a list of
// Pop it and store it in local lowing code snippet exists in a hypothetical all methods in advance to put into the base
variable #1 dynamically typed language: type. Future methods, such as those defined
getstatic #3 by an end user, must be simulated less
// Push the static field System function max (x,y) { directly with a catchall method—often called
.out if x.lessThan(y) then y else x invoke or apply. Also, JVM system types such
aload_1 } as String and Integer cannot serve directly as
// Push the String referenced receivers of language-specific method calls.
from local variable #1 Note that no type is specified for the The reflected invocation approach has
invokevirtual #4 receiver or the arguments—after all, dynami- restrictions of its own. For example, a java
// Pop the String and PrintStream, cally typed languages do not provide type .lang.reflect.Method object provides access
call println. information until runtime. As a result, the code to a method on a class or an interface—just
does not meet the verification rules for method what an implementer of a dynamic language
Clearly the invokevirtual bytecode instruc- invocation, which require that types be known needs—but the method must come from
tion is different from the other bytecode in advance. The code can’t be directly compiled a specific Java type available at runtime.
instructions in the example. It invokes a into bytecode on the Java platform. Although dynamic languages can provide
method in addition to manipulating the You might solve this problem by creating type information at runtime, not all of them
operand stack. The full information for the language-specific Java types for the return can provide normal Java types for reflection.
invokevirtual bytecode instruction (noted in value and the method arguments, especially This is particularly true for dynamic languages
the code simply as #4) includes the meth- those that act as method call receivers. For such as JRuby or Rhino, which have inter-
od’s class, name, and signature, as follows: example, a dynamically typed language preters. This problem can be overcome if the
language defines its own notion of method detailed presentation: java.lang.Object, represented by Ljava/lang/
(a “RubyMethod,” say), but then another Object, and returns a Boolean result, repre-
problem arises: simulation overhead. The invokevirtual #4 sented by the Z code.
JVM’s native calling sequence (which, as we //Method java/io/PrintStream The <n> value in the example is 2, indi-
saw, uses an operand stack) must be simu- .println:(Ljava/lang/String;)V cating that the method takes two arguments,
lated by a slow and clumsy alternative such including the receiver. This extra count could
as explicit argument arrays. In the end, the The invokevirtual part of the instruction be determined from the signature.
simulation overheads inherent in reflected is the 1-byte operation code. The remainder The invokedynamic instruction. The syntax
method objects slow down dynamic code at of the instruction, #4, is the 2-byte operand, of the new invokedynamic bytecode instruc-
every language-specific method call. which provides information about the tion is similar to that of the invokeinterface
Finally, running an interpreter on top of method call in an abstract way. The operand instruction.
the JVM to handle method invocations is refers to an entry in a pool of constants, the
relatively slow, certainly slower than having structure of which need not concern us here. invokedynamic <method-specification>
the JVM directly handle the processing. The entry contains a symbolic reference that <n>
bundles together information pertinent to the
JSR 292: The NexT STep iN DyNamic method invocation. The information includes However, unlike the invokeinterface
LaNguage SuppoRT the receiver class that contains the method, instruction, the <method-specification>
JSR 292 aims to solve the problems inherent the method name, and the method signature. needs to specify only a method name and a
in trying to fit a square peg (method invoca- The method signature specifies the method’s signature. There is no mention of a receiver
tion in a dynamically typed language) into return type and the types of its arguments. class. In this case, the 2-byte number <n>
a round hole (the statically based Java byte- Thus, the syntax of the invokevirtual byte- must be 0. Some JVMs may use this internally
code requirements). It does this by intro- code instruction consists of an opcode and a to link the instruction to runtime structures.
ducing the new invokedynamic Java bytecode constant pool index as follows: An invokedynamic bytecode instruction
instruction for the JVM and the new method might look like this:
handle linkage mechanism. invokevirtual <method-specification>
invokedynamic #10
ByTecoDe iNSTRucTioNS foR The invokeinterface instruction. An //NameAndType lessThan:
meThoD iNvocaTioN invokeinterface bytecode instruction for a (Ljava/lang/Object;Ljava/lang/
Since its inception, the JVM specification Java program might look like this: Object;)Z
has specified four bytecodes for method
invocation: invokeinterface #9, 2 Significantly, the invokedynamic byte-
• invokevirtual. Invokes a method on a //InterfaceMethod java/util/ code instruction enables an implementer of
class. This is the typical type of method List.add:(Ljava/lang/Object;)Z a dynamic language to translate a method
invocation. invocation into bytecode without having
• invokeinterface. Similar to invokevirtual The syntax for the invokeinterface byte- to specify a target type that contains the
but invokes a method on an interface. code instruction is as follows: method. The method specification in this
• invokestatic. Invokes a static method on case is a simplified constant pool reference
a class. This is the only kind of invocation invokeinterface <method- that specifies only a method name and a type
that lacks a receiver argument. specification> <n> signature. The signature specifies the return
• invokespecial. Invokes a method without type of the call and the types of method
reference to the type of the receiver. (This Just as with invokevirtual, the <method- arguments. As with invokestatic, none of the
kind of invocation is restricted to construc- specification> is a 2-byte constant pool arguments is singled out as a receiver.
tors, superclass methods, or private index specifying an interface name, a But wait. How does the JVM find the
methods.) method name, and a signature. Also, <n> is method if the receiver type isn’t supplied?
Let’s examine two of these bytecodes: a 2-byte operand that specifies the number After all, the JVM needs to link to and invoke
invokevirtual, because it’s the most typical of arguments. a real method on a real type. The answer to
type of method invocation, and invokeinter- As is the case for invokevirtual, the signa- that question is that JSR 292 also includes
face, because it’s similar in format to the ture specifies the method’s argument types a new linkage mechanism for dynamically
new invokedynamic instruction. as well as the method’s return type. In this typed languages. When the JVM sees an
The invokevirtual instruction. Recall the example, the <method-specification> speci- invokedynamic instruction, it uses this new
invokevirtual bytecode instruction that was fies that the interface is java.util.List and the linkage mechanism to get to the method it
shown in the earlier bytecode example. method is add. The type signature specifies needs. This mechanism works through what
Here it is again, with a slightly more that the method takes arguments of type are called method handles.
A New DyNAmic LiNkAge mechANism: approach also enables the JVM to bypass the method handle directs the JVM to the appro-
methoD hANDLes language runtime if the method dispatch priate target function. Method handles are
JDK 7 includes a new package, java.dyn, that decision doesn’t change. When the JVM must unique in that they appear to contain an infi-
contains the classes associated with dynamic link an invokedynamic instruction, it calls a nite number of methods named invokeExact,
language support in the Java platform. One of bootstrap method. A call into a language- one such method for each possible signature.
the classes in the package is MethodHandle. supplied method like this is termed an up-call, But any given individual method handle can
A method handle is a simple object of type but normally a linked invokedynamic instruc- only respond to exactly one such method call,
java.dyn.MethodHandle that anonymously tion performs no up-call but, rather, directly which matches its own method type. This
encapsulates a reference to a JVM method. A invokes the instruction’s own target method. feature is called “signature polymorphism.”
method handle is callable, just like a named A method handle is quite simple. All it
reference to a method. Like regular methods, contains is a type token of class java.dyn AN eAsier Life for JAvA DeveLopers
method handles are typed, so there is no pos- .MethodType that describes a specific type, Over the years, the JVM has been host to a
sibility of popping the wrong number or wrong corresponding to the fixed type signatures growing number of languages, including
types of arguments from the operand stack. of the invoke instructions. (Naturally, the implementations of dynamically typed lan-
Method handles are unique because they target of an invokedynamic instruction must guages such as Ruby and Python. Support for
are accessed via a pointer structure rather agree exactly with the static signature of the dynamically typed languages in the JVM is
than via a linked name. And unlike reflective instruction itself.) Also, a method handle very attractive to application developers who
methods (which are also anonymous encap- implicitly has invocation methods associated build applications in these languages. That’s
sulations of Java methods), method handles with it. To call a method handle, you call its because dynamic typing gives developers a
can be “bound” to language-specific data. invocation method in much the same way lot of flexibility and the JVM delivers a lot of
(The details of the binding process, called as you call object methods such as List.add. execution efficiency. However, implementers
“partial application,” are explained in the In this case, the call is always of the form of compilers for dynamically typed languages
technical paper cited at the end of this article.) MethodHandle.invokeExact(. . .), where the have found it difficult to meet the JVM byte-
The point here is that method handles are signature is arbitrary but must always match code requirements for method invocation.
designed to provide a flexible way to answer the called method handle’s own type. JSR 292 addresses that problem by providing
the question, “What does my invokedynamic Because each method handle has its own a new bytecode, invokedynamic, and a
instruction actually invoke?” type, it will accept only an invoke call of that new linkage mechanism based on method
As with the other invoke instructions, type. If the type of the call doesn’t match handles. It is one of several revisions to the
the first time an invokedynamic instruction the type of the method handle, the method Java SE platform that can make your life as a
is executed, it is linked. When this linking handle will throw an exception. There is also a Java developer easier.
happens, a method handle is assigned to the method called invokeGeneric, which instructs
individual invokedynamic instruction as its the JVM to attempt minor argument conver- ed Ort is a former Sun staff writer. Janice
particular target. Each time that particular sions such as casting and boxing. J. Heiss is a Java acquisitions editor at Oracle.
instruction is executed, the JVM invokes the Here, for example, is a snippet of bytecode
target method handle. Interestingly, the that calls a method handle: nexT STePS
target of any given invokedynamic instruc-
tion can change over time in response to getfield #678 reaD more about
support for dynamically typed languages in
changes in the dynamic language program. //MyClass.myMH Java Se 7
Another part of this new linkage mecha- ldc #999 java.sun.com/developer/technicalarticles/
nism is the bootstrap method. A bootstrap //123456 DynTypeLang/
method is a method handle that is called once invokevirtual #44 the technical theory behind invokedynamic
www.cs.iastate.edu/~design/vmil/2009/papers/
for each invokedynamic instruction when the //Method java/dyn/ p09-rose.pdf
instruction is linked. The bootstrap method MethodHandle.invokeExact(I)I the JDK 7 release
specifies which target method to assign ini- istore 5 java.sun.com/features/jdk/7
tially to the instruction. Each class that con- the JDK 7 project
tains at least one invokedynamic instruction In this example, the call is to a method handle openjdk.java.net/projects/jdk7
must also specify a bootstrap method. named myMH with a single int argument. The JSr 292: Supporting Dynamically Typed
languages on the Java Platform
The bootstrap mechanism provides a call also expects an int type to be returned. www.jcp.org/en/jsr/detail?id=292
way for a language runtime to participate The method handle has to accept that sig- learn about the Da vinci machine Project
in method dispatching at runtime, but the nature type. Before allowing the call, the JVM openjdk.java.net/projects/mlvm
will verify (each time) that the method handle WaTcH The TechCast Show: Mark Reinhold’s
DOWnlOaD the JDK 7 early access includes a type token that matches the call’s JDK 7 Roundup
java.sun.com/javase/downloads/ea.jsp otn.oracle.com/syndication/techcasts
signature—in this case, (I)I. In response, the
Next-Generation
Data Backup
StorageTek Enterprise Backup software,
Sun chip multithreading servers, and Oracle Solaris
deliver end-to-end data protection.
ating systems, all of which are configured software manages all tasks with one man-
File Systems Oracle SQL Exchange
to simultaneously back up their data to the agement interface and workflow—providing
SharePoint Hyper-V VMware
Avamar solution. Although this architecture true control and protection of all data, even
demonstrates many data backup method- at the edge of the organization.
ologies, none of the backup devices relies on Existing StorageTek Enterprise Backup
any other backup device for performance. software customers can enjoy the benefits
Despite the fact that this architecture StorageTek Enterprise of deduplication without the complexity of
Backup Software
includes multiple StorageTek Enterprise adding another backup user interface and
Backup software storage node servers, a backup workflow. Deduplicated clients are
Management Backup
single storage node server or a single storage Console Server backed up and recovered with the same soft-
node/backup server can be deployed to ware interfaces and workflows used for all
support different network backup workloads. Enterprise Backup Enterprise Backup other clients.
Software Software
This design provides a highly scalable solu- A single centralized backup server coordi-
tion, because additional storage node servers Avamar Storage nates and manages data backup for multiple
Deduplication Node
and archive devices can be added as needed. Node networked backup clients. Backups include
Disk, VTL,
Tape file systems, Oracle Database and other
ENTERPRISE BACKUP SOFTWARE databases, and virtual machine environ-
StorageTek Enterprise Backup software Figure 2: Oracle’s next-generation backup ments such as Hyper-V and VMware. One or
implementation
provides a high-performance, scalable data more storage nodes connects to each disk
protection solution for heterogeneous envi- array, virtual tape library, tape drive, and
ronments of any size. A single management AVAMAR DEDUPLICATION OPTION tape library system. A separate Avamar
console is used for all backup and recovery StorageTek Enterprise Backup software sup- deduplication node provides backup of all
operations, enabling backup administrators ports both traditional and deduplicated deduplicated client data.
to centrally manage their backup, archive, backup with a single, integrated client agent.
and recovery infrastructure. The Avamar patented global source-based SUMMARY
The software accommodates multiple deduplication identifies redundant data seg- This architecture is highly flexible, with
servers working together under the admin- ments at the source and transfers only unique virtually unlimited scalability. The generic
istrative control of one server. In this rela- data segments across sites and servers before StorageTek Enterprise Backup software
tionship, the StorageTek Enterprise Backup they are transferred across the network. This architecture supports multiple storage
software administrative control server is des- reduces daily backup data volumes by as node servers working together under the
ignated to be the backup (master) server, with much as 500 to 1, backup times by as much administrative control of a backup server.
the other servers designated as storage node as 10 to 1, and total storage by as much as 50 Additional storage node servers can be
(media) servers operating under the control to 1. StorageTek Enterprise Backup software deployed or multiple backup domains can
of the backup server. A backup server and its deduplication delivers daily full backups with be configured to address evolving scalability
associated storage node servers are referred to easy one-step recovery, eliminating the need requirements. CMT servers and StorageTek
collectively as a StorageTek Enterprise Backup to restore full and subsequent incremental Enterprise Backup software enable compa-
software storage domain. Large networks backups to reach a desired recovery point. The nies to implement cost-effective and pow-
may require more than a single StorageTek result is fast, efficient, and reliable backup erful backup solutions for the largest, most
Enterprise Backup software domain. and recovery. diverse environments.
The centrally located management StorageTek Enterprise Backup software
console is used to seamlessly manage the deduplication with Avamar is ideal for virtual
backups and deduplication policies. All environments, file servers, remote and Kemer Thomson is a 21-year veteran
administrative functions are performed cen- branch offices, content repositories, and of Sun, where he was initially a field sales
trally from the backup server, and the backup bandwidth-constrained datacenter backup, technologist. He served as technical editor for
server controls all backup scheduling for because only changed data segments are Sun BluePrints Online for nine years before
each storage node server. Each of the storage sent during backup. moving into Oracle’s Sun Systems group as a
node servers performs the actual backup For smaller remote and branch offices, product marketing analyst.
operations for client systems under the StorageTek Enterprise Backup software
direction of the backup server, and backup clients can be deployed on protected NEXT STEPS
data stays local to the storage node servers systems, with no additional remote hard-
and their respective storage devices. A ware required—data is backed up directly LEARN more about
backup server can also function as a storage over existing WAN connections to the StorageTek Enterprise Backup software
bit.ly/9Ipf3z
node server if desired. datacenter. StorageTek Enterprise Backup
new deployment profile. When the Create then open the Dependencies page. Select the click the ViewController project, and choose
Deployment Profile dialog box appears, Model.jpr entry in the Dependent Projects Deploy -> DeptFlow. When the Deploy
set Archive Type to ADF Library JAR File, and Archives list, and click the pencil icon to DeptFlow dialog box appears, click Finish. To
enter DeptFlowModel in the Name field, edit it. In the Edit Dependencies dialog box, verify that everything has gone as expected,
and click OK. In the Edit ADF Library JAR note that the check box next to Build Output select the Deployment tab of the Log window
Deployment Profile Properties dialog box is checked. Click the check box next to the and scroll to the bottom. You should see a
that appears, on the JAR Options page, DeptFlowModel deployment profile. When confirmation message like “Wrote Archive
change the default path and filename to you do this, an Adjusting Dependencies alert Module to C:\FrameworksMayJun2010\
C:\FrameworksMayJun2010\Libs\ appears to let you know that the two check Libs\DeptFlow.jar.” Right-click the Libraries
DeptFlowModel.jar. Click OK once to boxes are mutually exclusive; click OK. Now file system connection in the Resource
dismiss this dialog box and OK again to close the DeptFlowModel deployment profile is Palette and choose Refresh to update the list
the Project Properties dialog box. checked as a dependency, and the original of available libraries.
To create the new library archive, right- check box is cleared. Click OK to close the
click the Model project and choose Deploy Dependencies page. USiNg A TASK FLOW FROM A LibRARy
-> DeptFlowModel. When the Deploy While you’re here, you can also create the With the deptflow task flow library now in
DeptFlowModel dialog box appears, Oracle ADF library deployment profile for place, the last step is to integrate it into
click Finish to start the process. Click the the ViewController project. It will contain the the “main menu” page. Start by switching
Deployment tab in the Log window to see task flows you will finish building shortly. On the current workspace back to MainApp,
the results of the deployment operation. You the Deployment page, click New. Select the using the list at the top of the Application
should see something like “Wrote Archive ADF Library JAR File archive type, provide the Navigator. Double-click the Web Content
Module to C:\FrameworksMayJun2010\ name DeptFlow for the profile, and click folder’s adfc-config node in the Application
Libs\DeptFlowModel.jar” in the log. To OK. On the Edit ADF Library JAR Deployment Navigator to open it in the editor. Expand
refresh the list of libraries in the Resource Profile Options dialog box’s JAR Options the DeptFlow.jar node inside the Libraries
Palette, right-click the Libraries file system page, change the default path and filename file system connection node in the Resource
connection node and choose Refresh. to C:\FrameworksMayJun2010\Libs\ Palette and the ADF Task Flows folder it
Note that the new DeptFlowModel.jar now DeptFlow.jar, click OK, and click OK again contains. Drag the deptflow task flow from
appears in the list. The steps you just per- to close the Project Properties dialog box. the Resource Palette, and drop it onto the
formed to create a new Oracle ADF library Next, you’ll finish building the pages in task flow diagram. Confirm the addition of
JAR deployment for the model components the deptflow task flow and then deploy the the Oracle ADF library by clicking Add Library
are the same as the steps completed ahead DeptFlow Oracle ADF library you just created. in the alert that appears. Choose View ->
of time to create the reusable Entities.jar Expand the ViewController project and the Component Palette, and select the Control
Oracle ADF library you used earlier. Web Content folder inside it. Double-click the Flow Case tool in the palette. Click the task
By default, Oracle JDeveloper configures ListDepartments.jspx page name to open the flow diagram’s Home activity, and then click
your ViewController project to depend on page in the editor. Expand the Data Controls the deptflow task flow call activity to connect
the compiled output of the Model project, so section of the Application Navigator, and the two activities with a control flow case.
that pages can reference your model objects expand DeptModuleDataControl. If you don’t Enter the name ManageDepartments on
through the Oracle ADF model data-binding see the Departments data collection, click the line. Double-click the Home activity to
layer. When you produce an Oracle ADF library the refresh icon in the Data Controls section open the page in the visual editor. Select
JAR for your model components, you must title bar. Drag the Departments data collec- the Manage Departments commandLink
first add the model components library JAR tion, and drop it onto the page below the two component on the page, and in the Property
to the ViewController project’s library list existing buttons. In the Create menu, choose Inspector, set its Action property value to
and then update the project’s dependency Table -> ADF Read-only Table. When the Edit ManageDepartments to correspond to the
settings to use the new JAR instead of the Table Columns dialog box appears, check new control flow case you created.
compiled output. The first step is to click the the Row Selection and Sorting check boxes When you use the Resource Palette
ViewController project in the Application at the top and click OK. Now double-click to add a component from an Oracle ADF
Navigator to make it the current project. Then, EditDepartments.jspx to open it in the editor. library, Oracle JDeveloper automatically
right-click the DeptFlowModel.jar node in the Drag the Departments data collection, and adjusts your current project’s library list to
Resource Palette and choose Add to Project. drop it onto the page below the two existing include the library JAR file and any JAR files
When the confirmation dialog box appears, buttons. In the Create menu, choose Form -> that library depends on. To confirm this,
click Add Library to complete this task. ADF Form. When the Edit Form Fields dialog double-click the ViewController project and
To update the project’s dependency set- box appears, accept the defaults and click select the Libraries and Classpath page of
tings, double-click the ViewController project OK. Finally, deploy the new DeptFlow Oracle the Project Properties dialog box. Scroll to
to open the Project Properties dialog box and ADF library containing the task flow. Right- the bottom of the Classpath Entries list,
and note that two new libraries have been the core Entities.jar file that contains the steve muench is
added to the list. The Oracle ADF library common entity objects used by all task flows. a consulting product
contains the path(s) to the Oracle ADF Click Cancel and Cancel again to dismiss the manager for Oracle
library JAR file(s) on which the project is dialog boxes. JDeveloper. He has
directly dependent. The Oracle ADF Library Right-click the ViewController project, and developed, supported, and
Dependencies library contains the path(s) choose Run. When the application launches evangelized Oracle tools
to the library JAR files that are required by in your browser, you can see that it now and XML technologies since 1990 and blogs at
the direct dependencies. If you select the enables users to manage both department bit.ly/ddyMc7.
ADF Library entry in the list and click Edit, and employee data.
you will be able to see that this project In this column, we explored using Oracle
next steps
depends directly on the EmpFlow.jar and ADF libraries to reuse common Oracle ADF
DeptFlow.jar libraries that contain the task business components as well as task flow–
reaD more Frameworks
flows being called by the main menu page. specific model components and the task otn.oracle.com/oramag/oracle/frameworks
Click Cancel, select ADF Library flows themselves. You are ready to put these reaD more about
Dependencies, and click View. You can see concepts to work to modularize your appli- oracle JDeveloper and oracle aDF
that this application indirectly depends on cations and avoid unnecessary developer otn.oracle.com/products/jdev
otn.oracle.com/products/jdev/tips/muench/
the DeptFlowModel.jar and EmpFlowModel contention on frequently updated files such designpatterns
.jar libraries that contain the task flow– as DataBindings.cpx. For more information oracle Fusion middleware
specific model components as well as on on creating and using Oracle ADF libraries, download.oracle.com/docs/cd/e12839_01
see Chapter 32, “Reusing Application otn.oracle.com/documentation
DownloaD oracle JDeveloper 11g Components,” in Fusion Developer’s Guide DownloaD this column’s starter workspace
otn.oracle.com/software/products/jdev bit.ly/9rmeja
for Oracle ADF 11g at bit.ly/1wCMFH.
safaribooksonline.com /openhouse/oracle
Setup
To follow along with the example in this
article, you will need Oracle Data Access
Components Release 11.1.0.7.20 or later, a
bundle that includes both Oracle Developer
Tools for Visual Studio and ODP.NET. You will
also need Microsoft Visual Studio 2008 or
2005, Oracle Database 10g or later with the
linDy GrOeninG
Locate the wrench icon in the query the performance is now probably as good as minutes for this particular test. Five minutes
window toolbar, and click it to launch SQL we are going to get at design time. of database time (the actual time Oracle
Tuning Advisor (see Figure 1). Alternatively, Database spends processing our requests)
you can right-click anywhere in the query TunIng The RunnIng AppLIcATIon is required to receive any results, with more
window and select Tune SQL from the menu. Now, modify the SQL statement in the actual database time often resulting in better
The exact result you get may vary, application code to use the UNION ALL analysis. Generally database time is only a
depending on your database configuration. statement that was recommended by SQL fraction of the actual time you set here.
But, as shown in Figure 1, you will most Tuning Advisor. Change the password and Finally, click the Start button to begin the
likely see three results in the Tune SQL tab datasource parameters in the connect string timer countdown. When the timer reaches
at the bottom of the query window: one if needed, build the project, and then choose 0, the results (if any) will appear in the panel
RESTRUCTURE SQL and two STATISTICS Start Without Debugging from the Visual below. Don’t stop your application until
finding types. You can read the detailed Studio Debug menu. you’ve verified that you have received good
result descriptions by hovering your cursor Back in Server Explorer, create a new results as described below.
over the Recommendations column for each Oracle connection with SYSDBA privileges (if If sufficient time was spent in analysis,
finding. Alternatively, you can click the View you don’t have one). While the application you should see several findings listed in the
Report button, in the lower right corner of is still running, right-click the SYSDBA con- tree control on the left side of the lower pane
the window, to open a text file that contains nection and select the oracle performance of Oracle Performance Analyzer (see Figure
additional details in an easy-to-read format. Analyzer menu item to launch the Oracle 3). The key findings you should see are Hard
In this example, the STATISTICS recom- Performance Analyzer interface (see Figures Parse Due to Literal Usage and Session
mendations warn that the DEPARTMENT2 2 and 3). Set the duration of the analysis in Connect and Disconnect. Sometimes both
and EMPLOYEES2 tables have not been hours and minutes. I recommend 20 to 30 findings will appear, and other times you
analyzed because statistics are not being
collected for them. To enable statistics col- code listing 1: Main() function of the ReallyBadCode application
lection, simply highlight each STATISTICS
recommendation and click the Implement
static void Main(string[] args)
Recommendation button for it. {
Next, look at the RESTRUCTURE SQL rec- string constr = “User Id=hr; Password=hr; Data Source=;
ommendation. The text indicates a warning Max Pool Size = 50; Connection Lifetime = 1”;
need to fix one finding and then rerun Oracle p_salary.OracleDbType = MACHINE\SOFTWARE\ORACLE\ODP
Performance Analyzer to see the other. OracleDbType.Decimal; .NET\<your ODP.NET Version>, and set the
(In some cases, due to your specific data- p_salary.Value = sal; PerformanceCounters value to 4095 to
base or network configuration, you may be cmd.Parameters.Add(p_salary); enable all counters. (For more information,
missing one of these findings entirely.) see the ODP.NET online help.)
If you didn’t run the analysis long enough The Session Connect and Disconnect Next, with the .NET application running,
to receive either finding, you can rerun finding is a little more difficult to understand. run Windows’ Performance Monitor
Oracle Performance Analyzer for a longer After all, we are using connection pooling, (perfmon.exe). Click the + sign to add a
time period or find information later in the which by definition keeps connections open counter to watch, go to the Performance
article about how to extend the analysis time for us—excessive connections and discon- Object list and choose Oracle Data Provider
without having to start all over again. You nections should not be an issue. However, for .NET, and add HardConnectsPerSecond
might see additional findings, such as CPU given this clue, we can take advantage of as well as SoftConnectsPerSecond from the
Usage and Soft Parse, but as we shall see, ODP.NET’s performance counters to examine list of available counters.
these turn out to be side effects of the two the connection pool in action. To enable all Watching these counters makes it clear
primary problem findings and will disappear performance counters, run Registry Editor that hundreds of soft connects (requests from
once those issues are fixed. (regedit.exe), navigate to HKEY_LOCAL_ the pool for an already existing connection)
For each main finding, click each of the
child nodes in the tree control to read more
about each finding. Key information is usually
found in the Recommendations nodes’
Rationales pane (which happens to be blank
for these findings) and in the Description
field in the Action nodes. The Action node
for Hard Parse Due to Literal Usage has this
description: “Investigate application logic
for possible use of bind variables instead of
literals.” The Action node for Session Connect
and Disconnect states, “Investigate applica-
tion logic for possible reduction of connect and
disconnect calls. For example, you might use a
connection pool.”
The code makes it clear that we have
violated the most sacrosanct of all database
programming best practices: we have modi-
fied the SQL statement with literal strings
rather than bind variables! Without bind
variables, Oracle Database is generally forced
to reparse the entire SQL statement—a very Figure 2: launching oracle Performance analyzer from Server Explorer
costly operation—and key resources in the
form of open cursors for each statement are
consumed on the server. By using a bind
variable, we can cut this down to a single
parse and one open cursor.
To add a bind variable, first modify the
SQL statement to include the bind variable
placeholder “:salary”
Replace sbSQL.Append(sal); with
sbSQL.Append(“:salary”);
Next, add these lines of code just before
the call to ExecuteReader:
are occurring each second. Every few seconds, more information about these waits reveals snapshot node in Server Explorer and choose
though, several hard connections (real Oracle that the application is likely suffering from new ADDM Task . The dialog box that appears
Database authentications) occur. These hard low SQL*Net throughput. Now look at the will ask for two snapshots, identified by the
connections are what Oracle Performance code and note the Fetchsize setting, 10. That times they were taken. After you provide them
Analyzer is complaining about. Even a few setting specifies only 10 bytes of data per and click oK, the analysis will be displayed in
unneeded hard connections per second can round-trip, whereas the default fetch size is the Oracle Performance Analyzer window.
spoil performance, and with a properly tuned about 130K! It looks as if someone dropped a This manual method enables you to
connection pool, this should not happen. zero or two. avoid waiting the entire time again when
To resolve the problem, go back to the Remove the Fetchsize code (so it will use you use the timer and end up with too little
code and examine the connection pool con- the default), and run Oracle Performance database time to get the desired results. If
nection string attributes—starting with the Analyzer again. This time you should have that happens, simply keep the application
Connection Lifetime attribute. By specifying no significant results, so you are done tuning running and wait a bit longer. Then create a
this attribute and setting it to one second, (for now). If you would like to see the results new AWR snapshot and a new ADDM task.
we have unwittingly designated that all of prior Oracle Performance Analyzer runs, In the New ADDM Task dialog box, select the
connections returned to the pool that have look in the ADDM Tasks node (found in original snapshot created by the timer as the
been alive for more than one second will get Server Explorer under the schema of the user starting time and the new snapshot you just
hard-disconnected from Oracle Database and running Oracle Performance Analyzer) and created as the ending time. Another benefit
destroyed rather than put back into the pool. double-click the task in which you are inter- of this manual method is that you have the
Furthermore, because we are not per- ested to redisplay the results. flexibility of shutting down or restarting
forming a Close() and Dispose() on the con- Visual Studio during the analysis period if
nection objects when we are done with them PerforMAnce AnAlysis WiThouT using necessary, because the timer is not running.
(another ODP.NET best practice), the garbage The TiMer inTerfAce
collector takes longer than one second to So far we have used only the Oracle suMMAry
return the connection to the pool. When this Performance Analyzer timer interface to do In this article, we simulated part of the
happens, one of the next requests for a con- the performance analysis. Internally, this development lifecycle of an Oracle Database
nection from the pool will necessarily result in interface first creates what is called an AWR and .NET application by testing ad hoc SQL
a hard connect. Not good. snapshot when the timer is started. This snap- as well as running performance tests of the
We can fix this problem by either greatly shot is a collection of statistics. Then a second application under load. The new SQL Tuning
increasing the connection string value snapshot is created when the timer expires Advisor and Oracle Performance Analyzer
or removing it entirely. Because it’s not and an ADDM task is created, with the two features of Oracle Developer Tools for Visual
really needed in this example, delete the snapshots defining the analysis period. The Studio make it easy for Visual Studio devel-
Connection Lifetime attribute reference. actual analysis of the snapshots occurs within opers to handle these key tasks as part of the
Next, add con.Close() and con.Dispose() the ADDM task. The results of the ADDM task overall job of building an Oracle Database
to the end of the program to address the analysis are immediately displayed in the and .NET application.
garbage collector issue mentioned above. Oracle Performance Analyzer window. The
Finally, reset the registry entry of the perfor- AWR snapshots and ADDM tasks are then christian Shay (christian.shay@oracle.com)
mance counters to 0 to turn them off, lest listed in Server Explorer (see Figure 2). is a principal product manager at Oracle.
they contribute to bad performance. Using the Server Explorer nodes, menus,
Tuning is an iterative process. When you and dialog boxes, it is possible to perform next StePS
fix one problem, you often uncover others. these steps manually instead of using the
So it is important to repeatedly tune, fix, and timer. You can create an AWR snapshot by reaD more Shay
repeat until no more problems are found. going to the AWr snapshots Server Explorer cshay.blogspot.com
For this example, build and run the modified node, right-clicking, and choosing new AWr DOWnlOaD
ODP.net and Oracle Developer tools for
application and then run Oracle Performance snapshot. The dialog box that appears gives
Visual Studio
Analyzer again. you the option of two levels of statistics gath- otn.oracle.com/software/tech/windows/odpnet
This time when the timer counts down ering, Typical or All. One benefit of manually the sample application for this article
and the results are displayed, you should see creating snapshots is that you have the option otn.oracle.com/oramag/oracle/10-may/
o30odpodt.zip
an Unusual Network Wait Event finding with of collecting a larger number of statistics if you
learn more about Oracle and .net
the following description: “Investigate the so choose. (However, gathering all statistics
otn.oracle.com/tech/dotnet
cause for high ‘SQL*Net message to client’ does affect database performance).
reaD more about Oracle performance tuning
waits.” (Note: depending on your specific After creating one snapshot, wait until the Oracle Database Performance Tuning Guide
database and networking configuration, you desired analysis time has elapsed and then download.oracle.com/docs/cd/e11882_01/
server.112/e10821/toc.htm
may not receive this finding.) Looking up create a second one. Then right-click the new
on Working in Parallel
Finish faster with DBMS_ParaLLeL_eXeCute.
First, I change the WHERE clause of , table_owner => USER steven Feuerstein is
the update statement to specify ranges of , table_name => ‘EMPLOYEES’ Quest Software’s
department IDs: , table_column => ‘DEPARTMENT_ID’ PL/SQL evangelist. He
, chunk_size => 1000 has published 10 books
c_update_statement ); on Oracle’s programming
CONSTANT VARCHAR2 (1000) language, including
:= ‘UPDATE EMPLOYEES emp The remainder of the apply_raise proce- Oracle PL/SQL Programming and Oracle PL/SQL
SET emp.salary = dure remains unchanged. Best Practices (O’Reilly Media). Feuerstein’s self-
emp.salary * (1.0 + pct_in/100) DBMS_PARALLEL_EXECUTE provides appointed mission in life these days is to improve
WHERE department_id many more subprograms and supports many the quality and quantity of PL/SQL code testing.
BETWEEN :starting_deptid more features than can be covered in this
AND :ending_deptid’ ; column. For example, rather than simply next stePs
asking to run a task with RUN_TASK, you can
Next, I create chunks by the department_ control chunk execution by getting a specific reaD more Best Practice PL/sQL
id column: chunk with GET_ROWID_CHUNK and then otn.oracle.com/oramag/oracle/plsql
executing it with EXECUTE IMMEDIATE. You otn.oracle.com/pub/columns/plsql
DBMS_PARALLEL_EXECUTE. can then immediately resolve any errors and Oracle Database PL/SQL Packages and
Types Reference
CREATE_CHUNKS_BY_NUMBER_COL ( decide if you want to commit the changes. download.oracle.com/docs/cd/e11882_01/
task_name => c_task_name This introduction to DBMS_PARALLEL_ appdev.112/e10577/whatsnew.htm
EXECUTE should make it clear that with Oracle DiscUss PL/sQL
DoWnLoaD oracle Database 11g release 2 Database 11g Release 2, it is much easier to forums.oracle.com/forums/forum
otn.oracle.com/software/products/database .jspa?forumID=75
parallelize execution of DML operations.
oracle Warehouse
Builder 11g release 2 and
Heterogeneous Databases
use code template mappings to transform non-Oracle
database data at the source.
To start the Control Center Agent, execute Port: 1433 Center Agent, as follows:
the ccastart script within the $OWBHOME/ Database Name: SampleDB (change as 1. In the Project Navigator of the Design
owb/bin/unix or $OWBHOME/owb/bin/ appropriate) Center, locate the Template Mappings
windows directory: Schema: dbo (the default “database node within your project.
owner” schema in SQL Server 2005) 2. Right-click the Template Mappings node,
oracle@ora11g cd /u01/app/oracle/ Version: 9.0 (also supports 7.0 and 8.0) and select New Mapping Module to
product/11.2.0/owb11gR2/owb/bin/ 7. When the connection details are correct, launch the Create Module wizard.
unixoracle@ora11g ./ccastart click OK to close the dialog box. On the 3. Enter a name for the new module.
next page of the wizard, check the Import For this example, we’ll use
The first time the Control Center Agent after Finish check box to automatically DEFAULT_AGENT.
is started, you must enter a password start the metadata import process when 4. Click Next to continue. You are prompted
for the Oracle Containers for J2EE (OC4J) this wizard finishes. to create a location pointing to a Control
Administrator account. You will need the 8. Click Next, and click Finish to close Center Agent.
password later in this example, so make a the Create Module wizard. The Import 5. Click the Edit button to create the loca-
note of it. Metadata wizard launches. tion, and enter the connection details for
With the server components in place, we 9. Select Table for Object Type, and then the Control Center Agent, as shown in
can turn to the Oracle Warehouse Builder select the tables whose metadata you Figure 2. For example,
client application, Design Center, to get want to import. For this example, my User Name: oc4jadmin
started creating the modules—the con- tables are CUSTOMERS and ADDRESSES. Password: welcome1 (password you
tainers that identify a location and define the 10. Click Next, and click Finish to complete entered in “Preliminary Setup”)
load, transform, or other actions—we’ll need this process. Host: ora11g.rittman (change as
for this integration. Step 2: Create the Oracle Database target appropriate)
Step 1: Create the SQL Server source module. module. The Oracle Database target module Port: 23791
To begin, do the following: identifies the location of the Oracle Database Port Type: RMI
1. Log in to the Design Center applica- instance and the table for the transformed Instance Name: <leave blank>
tion as a workspace user. In the Projects data. For this example, because we are using Application Name: jrt
pane, open your project and locate the a MERGE transformation to incrementally HTTP Port: 8888
Databases node. load the data, the table requires a primary With the source, target, and container
2. Double-click the Databases node to key. To create this module in your project modules defined, you can now create the
display the list of available platforms. 1. Right-click the Oracle node in the code template mapping.
3. Right-click the SQL Server node, and Databases list (under the Project From the Projects pane, right-click
select New -> SQL Server Module to Navigator in Design Center). the DEFAULT_AGENT template mapping
launch the Create Module wizard. 2. Select New -> Oracle Module to launch module created in the previous steps and
4. Name the module SS_SOURCE, and the Create Module wizard. select New Mapping.
select Native Database Connection for 3. Name the module CUST_DW. 1. Enter a name for the mapping, such as
the access method to use the native 4. Enter the connection details for the target SAMPLE_CODE_TEMPLATE_MAP.
JDBC drivers. database. Select Import after Finish to 2. Click OK to create the empty mapping.
5. Click OK to continue. The wizard prompts launch the Import Metadata wizard when 3. Add the two SQL Server source tables to
you to create a new database location. the Create Module wizard finishes. the mapping canvas.
6. Accept the default name, SS_SOURCE_ 5. After defining the module, create (or 4. Add a joiner transformation operator to
LOCATION1, and complete the other import) the metadata for your target the mapping canvas.
connection details for the SQL Server table. For this example, I’ve named the 5. Connect the two source tables to the joiner.
database, as shown in Figure 1. For this target CUSTOMERS_FULL. 6. Define the JOIN condition.
example, the location details are as Step 3: Create the template mapping 7. Add the Oracle Database target table to
follows: module. To take advantage of the new het- the mapping.
User Name: SA (the default system erogeneous connectivity features in Oracle 8. Connect the Oracle Database target table
administrator account in SQL Server Warehouse Builder, you must create your to the joiner transformation, so that the
2005) data mapping as a code template mapping. mapping looks like that in Figure 3.
Password: password (change this to Code template mappings are created in the 9. Click the Oracle Database target table
the relevant password for your source Template Mappings area of a project. Before within the mapping, and locate the
database) you can create a code template mapping, Property Inspector pane, which should
Host: 172.16.233.130 (again, change however, you must define a template now be showing the list of properties for
as appropriate) mapping module that connects to a Control the table.
10. Within this list of properties, locate the PROJECT/BUILT_IN_CT/DEFAULT_ The Best of Both Worlds
Conditional Loading group and ensure ORACLE_TARGET_CT code template. As you have seen in this example, the new
that Match by Constraints is set to Step 5: Deploy the code template mapping. code template mapping capability enables
ALL_CONSTRAINTS. The mapping is now ready to deploy to the you to leverage the strengths of non-Oracle
The logical view is complete, so we can Control Center Agent, where it will run. There source databases without losing the benefits
now define the execution view. are a couple of different ways to do this; the of classic Oracle Warehouse Builder integra-
Step 4: Create the execution view for the simpler one is to open the Control Center tion, load, and control code mappings. Oracle
code template mapping. Execution units Manager from the Tools menu of Design Database–specific transformation operators—
are new in this release of Oracle Warehouse Center and then do the following in the such as dimension operators, cube operators,
Builder. They are used to associate related Control Center navigation tree: and match-merge operators—can be used
mapping operations with a specific code 1. Expand the project node under which you with the new code templates to support both
template. This particular code template created the code template mapping, and heterogeneous and Oracle Database–specific
mapping requires two execution units: one then expand the location node associated data transformations.
that executes on the SQL Server source with the mapping module containing the By mixing and matching database-
and another that executes on the Oracle code template mapping. resident and code template mappings in
Database target. 2. Expand the mapping module node con- your process flows, you can create data inte-
After defining the execution units, you taining the code template mapping. gration processes that leverage the capabili-
will use two code templates to perform the 3. Select the code template mapping created ties of both types of mapping. Check out the
data mapping: in Step 4, and in the Object Details panel, Oracle Warehouse Builder 11g Release 2
• LCT_SQL_TO_ORACLE, a load code tem- select Create as the Deploy Action. documentation on Oracle Technology
plate that extracts from any generic SQL 4. Click the deploy icon. Network for more details.
database source and loads into a tempo- Check for any warnings or errors that Code templates bring the heterogeneous
rary Oracle Database table may be generated during deployment, but data connectivity and data integration capa-
• DEFAULT_ORACLE_TARGET_CT, an Oracle you can safely ignore any VLD_2753 and bilities of Oracle Data Integrator into the
Database target code template that acts VLD-2752 warnings on the source execution Oracle Warehouse Builder toolset, giving you
as a “wrapper” around classic Oracle unit—they will be suppressed in a future the ability to load, validate, and integrate
Warehouse Builder SQL and PL/SQL patch release. data across a wider range of datasources.
mapping functionality Finally, run your code template mapping Best of all, because code templates are
To create these two execution units and and check that data has been transferred written with a well-documented template
assign their code templates, return to the as expected into your Oracle Database language and a set of substitution variables,
Design Center. With your mapping open instance. As with database-resident map- you can extend them or write your own to
and with Execution View selected, click the pings, you can start and then monitor suit your own particular circumstances.
Default Execution Units button in the top the progress of your mapping, using the
left corner. The two execution units needed Control Center Manager, or you can start
for this project are created automatically. it directly from within the Project Navigator.
1. With Execution View selected, click the For this example, we’ll run the template Mark Rittman is an Oracle ACE director
SS_SOURCE_LOCATION1_EU execution mapping from the Project Navigator and and cofounder of Rittman Mead Consulting, a
unit. A multitabbed panel appears by then display the results of the execution U.K.-based Oracle partner providing specialized
default, under Execution View. in the log. business intelligence, data warehousing, and
2. Locate the SS_SOURCE_LOCATION_EU – Step 6: Execute the code template mapping. performance management solutions.
Code Template tab under Execution View. In the final step, do the following:
3. Select the Integration/Load Code 1. Select the SAMPLE_CODE_TEMPLATE Next Steps
Template subtab, and then choose the mapping within the Projects pane, right-
PUBLIC_PROJECT/BUILT_IN_CT/LCT_ click it, and select Start. READ more about Oracle Warehouse Builder
11g Release 2
SQL_TO_ORACLE code template. 2. The code template mapping executes. otn.oracle.com/products/warehouse
4. Repeat this process for the CUST_DW_ You can watch the progress of the execu- Oracle Warehouse Builder Installation and
LOCATION_EU execution unit (which tion in the Log pane. Administration Guide for Windows and UNIX
runs on the target Oracle Database Note that the first time you run this oracle.com/pls/db111/portal.portal_
db?selected=6
instance ), but select the PUBLIC_ mapping, some of the steps relating to work
LEARN more about the product roadmap for
table creation may display a warning (excla- Oracle Warehouse Builder and Oracle Data
download Oracle Database 11g Release mation mark) icon because the mapping Integrator
2 for Linux, Oracle Solaris, HP-UX, or AIX drops a work (temporary) table before creating otn.oracle.com/products/warehouse/pdf/
otn.oracle.com/software/products/database owb_roadmap.pdf
it in a subsequent step (standard practice).
looking at edition-Based
redefinition, Part 3
our technologist concludes his exploration of
edition-based Redefinition.
column, because this column builds on the been part of an application for a U.S.-based 650.507.9876 +1 650.507.9876
example we’ve been working with. company so the phone numbers are stored 011.44.1644.429262 +44 1644.429262
Last time, our application upgrade was in a format a U.S.-based company would rec-
not just a simple patch of our application. ognize easily. U.S. phone numbers are stored Now this small change (but there is no
It not only replaced some PL/SQL units with just an area code and then the seven- such thing as a small change, really) involves
(patching) but also updated the physical digit number—for example, 650.507.9876. a couple of steps. Specifically, we have to
structure of a table involved in our applica- International numbers are stored in a format • Modify the schema so the EMPLOYEE table
tion. It was a true application upgrade that that has the U.S. escape code (used to dial has two new columns: COUNTRY_CODE
included changes to objects whose type an international number) followed by the and PHONE#
is editionable (our PL/SQL units in the country code and then the phone number— • Modify the schema so the EMPLOYEE table
example) and also to some objects whose for example, 011.44.1644.429262. doesn’t have a PHONE_NUMBER column
type is not editionable (our table structures). But this fictitious company has been pur- anymore
The following object types are editionable:
• Synonyms code listing 1: Increasing the size of the emPLoyeeS_RT table
• Views (including editioning views, which
we’ll define below) SQL> insert into employees
• All PL/SQL object types (functions, proce- 2 select * from
3 (
dures, packages, and so on) 4 with data(r)
All other types of database objects are 5 as
noneditionable. By deliberate design, a table 6 (select 1 r from dual
7 union all
can never be an editioned object. That’s 8 select r+1 from data where r <= 100
because it holds data and the developer 9 )
needs to decide explicitly which data (that is, 10 select rownum+(select max(employee_id)
11 from employees_rt),
which table columns) will be unchanged by 12 FIRST_NAME, LAST_NAME, EMAIL,
the upgrade and which table columns will be 13 PHONE_NUMBER, HIRE_DATE, JOB_ID,
replaced. Recall from the previous column 14 SALARY, COMMISSION_PCT, MANAGER_ID,
15 DEPARTMENT_ID
that to create the illusion (to our application) 16 from employees_rt, data
that a table is editioned, we hide physical 17 );
schema changes to it with an editioning view.
11009 rows created.
The different occurrence of the same edi-
• Create a new index on PHONE# for a search of an editioning view. That view provided application release—in effect enabling us to
screen (and maybe other indexes as well, a buffer between our application code and virtually drop the PHONE_NUMBER column
but we’ll stick with just one index) the underlying physical schema. The edi- in version 2 of our application—without
• Mass-move the existing data from tioning view we introduced in the example, affecting version 1.
PHONE_NUMBER to COUNTRY_CODE and coupled with the nonblocking fast add We also created a new index on the newly
PHONE# column feature of Oracle Database 11g added columns, using the ONLINE and
• Replace the application code in the data- Release 1 and above, enabled us to add the INVISIBLE capabilities. Starting with Oracle
base that relies on the PHONE_NUMBER two new columns without having any impact Database 11g Release 1, the CREATE INDEX
column on the existing application. The editioning ONLINE operation is 100 percent online—it
In my previous column, we walked view also enabled us to hide the existing never locks the table at any point, as it did
through the concept and implementation PHONE_NUMBER column from the new in prior releases. The new INVISIBLE option
enables us to create the index without
code listing 2: Reviewing the data in eMPLOyeeS_RT affecting query plans in the existing applica-
tion version. We used this option because
adding an index could make some queries go
SQL> select phone_number, country_code, phone#
2 from employees_rt faster, others run at the same speed, and yet
3 where country_code is null a third category of queries go slower. Because
4 and rownum <= 5
we didn’t test the existing application query
5 union all
6 select phone_number, country_code, phone# plans with this new index, we wanted to keep
7 from employees_rt the new index hidden.
8 where country_code is NOT null
We left the example in the last issue at
9 and rownum <= 5;
the “mass-move the existing data” stage.
PHONE_NUMBER COUNTRY_CODE PHONE# We described how a single mass update to
—————————————————————————— ——————————————————— ———————————————————
move the data would tend to lock the entire
650.507.9833
650.507.9844 table. During the mass update, all other
515.123.4444 transactions against the EMPLOYEES table
515.123.5555
would be blocked; version 1 of the applica-
603.123.6666
011.44.1344.429268 +44 1344.429268 tion would, in fact, be offline. Additionally,
011.44.1344.467268 +44 1344.467268 once the single mass update was complete,
011.44.1344.429278 +44 1344.429278
if the existing (version 1) application inserted
011.44.1344.619268 +44 1344.619268
011.44.1344.429018 +44 1344.429018 a new row or modified the PHONE_NUMBER
column in an existing record, those changes
10 rows selected.
would not be reflected in the new columns.
SQL> select count(*), We would lose those changes.
2 count(distinct dbms_rowid.rowid_block_number(rowid)) cnt_blk In order to overcome these obstacles,
3 from employees
we looked at two new features. First we
4 /
discussed the DBMS_PARALLEL_EXECUTE
package. (We first looked at that feature,
COUNT(*) CNT_BLK
which I nicknamed “do-it-yourself paral-
—————————————— ————————————
11118 138 lelism,” in Oracle Magazine, November/
December 2009, otn.oracle.com/oramag/
code listing 3: Creating chunks for the mass update oracle/09-nov/o69asktom.html). Using
DBMS_PARALLEL_EXECUTE, we’ll be able
SQL> begin to update every row in the table in tiny
2 dbms_parallel_execute.create_task(‘update employees_rt’); ”chunks,” using whatever degree of paral-
3 dbms_parallel_execute.create_chunks_by_rowid lelism we desire—anywhere from parallel 1
4 ( task_name => ‘update employees_rt’,
5 table_owner => user, (serial) to 1,000—and hence we will never
6 table_name => ‘EMPLOYEES_RT’, have to lock the entire table but, rather, will
7 by_row => false, lock only a chunk at a time. Second, we intro-
8 chunk_size => 10);
9 end; duced a new trigger type: the crossedition
10 / trigger. Crossedition triggers will be used
only during the application upgrade process
PL/SQL procedure successfully completed.
(and we’ll drop these triggers as soon as pos-
sible after the upgrade process is complete). renamed EMPLOYEES_RT (“RT” stands columns from EMPLOYEES_RT that the
Crossedition triggers can be used to forward for “Real Table”—my naming conven- existing version of our application expects.
a change from the old version of the applica- tion) in the DEMO schema. This table was • A forward crossedition trigger,
tion to the new version. They can also be used altered to include our two new columns. EMPLOYEES_FWDXEDITION, that converts
to reverse a change made by the new applica- Additionally, the EMPLOYEES_PHONE#_ an old-style phone number into the new
tion back to the old application schema. IDX index was altered. two-column-style phone number.
So, to catch up, I’ll assume you already • The original EMP_PKG in the ORA$BASE This was all provided in the second
have the following in place: edition that represents our application code; column installment (see otn.oracle.com/
• The DEMO account we’ve been using. it knows how to create a new employee and oramag/oracle/10-mar/o20asktom.html
• A new VERSION2 edition created as a child how to show the existing data. for the code). We left the end of that example
of the ORA$BASE edition. • The EMPLOYEES editioning view in the with a simple
• A copy of the HR.EMPLOYEES table, ORA$BASE edition, which selects just the
SQL> update employees
set phone_number = phone_number;
code listing 4: Looking at chunks in uSeR_PaRaLLeL_eXeCuTe_CHunKS
109 rows updated.
Architecture, I spent quite a few pages code listing 7: Replacing the view and package
describing how to perform batch opera-
tions “in parallel,” using a do-it-yourself SQL> create OR REPLACE editioning view employees
parallelism approach. The approach was 2 as
3 select EMPLOYEE_ID, FIRST_NAME,
to break up a table into ranges, using 4 LAST_NAME, EMAIL, COUNTRY_CODE, PHONE#,
rowids (see asktom.oracle.com/pls/ …
asktom/f?p=100:11:0::::P11_QUESTION_ 9 /
demonstrate. The new DBMS_PARALLEL_ SQL> create or replace package body emp_pkg
EXECUTE package can split up a large 2 as
table by rowid ranges, by key value, or by a 3
4 procedure show
user-defined method. The table is broken …
up logically, and the database processes 9 ( select first_name, last_name,
each of the ranges in the background, 10 country_code, phone#, email
11 from employees
using the scheduler, with error logging, 12 where last_name like
retries, and more. Before we use DBMS_ 13 show.last_name_like
PARALLEL_EXECUTE, however, we’ll have 14 order by last_name )
15 loop
to (for purposes of demonstration) scale 16 dbms_output.put_line
up our EMPLOYEES_RT table, because it is 17 ( rpad( x.first_name || ‘ ‘ ||
very small right now. First we’ll make it 100 18 x.last_name, 40 ) ||
19 rpad( nvl(x.country_code, ‘ ‘), 5 ) ||
times larger, as shown in Listing 1. 20 rpad( nvl(x.phone#, ‘ ‘), 20 ) ||
Listing 1 uses a new Oracle Database 11g 21 x.email );
Release 2 feature—a recursive WITH sub- 22 end loop;
23 end show;
query—in lines 4 through 9 to generate 100 24
rows. The listing also performs a Cartesian 25 function add
join with the EMPLOYEES_RT table, which 26 ( FIRST_NAME in employees.FIRST_NAME%type := null,
27 LAST_NAME in employees.LAST_NAME%type,
creates a result set that has each row in 28 EMAIL in employees.EMAIL%type,
EMPLOYEES_RT repeated 100 times. It also 29 COUNTRY_CODE in employees.COUNTRY_CODE%type := null,
uses rownum plus the current maximum 30 PHONE# in employees.PHONE#%type := null,
…
EMPLOYEE_ID to generate a new primary 37 )
key on our table and inserts these new rows, 38 return employees.employee_id%type
instantly making our table 100 times larger 39 is
40 employee_id employees.employee_id%type;
than it was (well, 101 times larger, techni- 41 begin
cally). We can review the data as it now exists 42 insert into employees
in Listing 2. 43 ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME,
44 EMAIL, COUNTRY_CODE, PHONE#, HIRE_DATE,
Note how some of the rows have the 45 JOB_ID, SALARY, COMMISSION_PCT,
new columns filled in already. We didn’t …
insert them that way—that was the work of 55 end add;
56
the forward crossedition trigger we put in 57 end;
place. We’ve set it up already so that if we 58 /
INSERT or UPDATE the PHONE_NUMBER
Package body created.
column in the existing application, the
forward crossedition trigger will automati- code listing 8: Looking at both application versions installed
cally forward the change from the columns
used by the old version to the columns SQL> select object_name, object_type, status, edition_name
used by the new version. So this dem- 2 from user_objects_ae
3 where object_name in ( ‘EMPLOYEES’, ‘EMP_PKG’ );
onstrates that any newly created data in
the old application version will maintain OBJECT_NAME OBJECT_TYPE STATUS EDITION_NAME
the values in the new application version ————————————————————————————————————————————— ———————————————————— ————————————— —————————————————
EMP_PKG PACKAGE BODY VALID ORA$BASE
format transparently for us.
EMP_PKG PACKAGE VALID ORA$BASE
Next, here are the steps to use EMPLOYEES VIEW VALID ORA$BASE
to perform the mass update of the EMP_PKG PACKAGE BODY VALID VERSION2
EMP_PKG PACKAGE VALID VERSION2
EMPLOYEES_RT table without locking
EMPLOYEES VIEW VALID VERSION2
the entire table. We need to update all
the existing rows, touching the PHONE_ 6 rows selected.
NUMBER column to get the data copied
from PHONE_NUMBER into the COUNTRY_ code listing 9: Creating the reverse crossedition trigger
CODE and PHONE# columns. Our existing
table is about 138 blocks (as shown in SQL> create or replace trigger employees_revxedition
Listing 2), and we’d like to update about 10 2 before insert or update of country_code,phone# on employees_rt
3 for each row
percent of it at a time. (EMPLOYEES_RT is 4 reverse crossedition
a small table; on a larger table, you’d likely 5 declare
use a much smaller percentage to avoid 6 first_dot number;
7 second_dot number;
locking too much of the table at a time). 8 begin
So we’ll break it up into chunks that are 10 9 if :new.country_code = ‘+1’
blocks or thereabouts in size. The method 10 then
11 :new.phone_number :=
for doing that is shown in Listing 3. 12 :new.phone#;
The PL/SQL block of code in Listing 3 13 else
did two things: first it created a named task 14 :new.phone_number :=
15 ‘011.’ ||
we’ll manipulate further. The first thing it 16 substr( :new.country_code, 2 ) ||
did to that task was to add table chunks by 17 ‘.’ || :new.phone#;
using the CREATE_CHUNKS_BY_ROWID 18 end if;
19 end;
procedure. When the code called that 20 /
routine, the routine read the EMPLOYEES_
RT table and broke it up into chunks of Trigger created.
crossedition trigger will automatically 3 ( emp_pkg.add further enhances the online application
convert and update in the new application 4 ( first_name => ‘Tom’, upgrade process. Not only are we eliminating
any “new legacy” data that is created, as well 5 last_name => ‘Kight’, downtime during the application upgrade,
(by the forward crossedition trigger). 6 email => ‘TKYTE’, but we are also eliminating it during the
7 country_code => ‘+44’, switchover to the new version.
InstallIng the new applIcatIon code 8 phone# => In the online version of this column,
Now we’d like to install our new applica- ‘703.123.4567’, at otn.oracle.com/oramag/oracle/
tion code. We do that the same way we did 9 hire_date => sysdate, 10-may/o30asktom.html, I provide addi-
in the first installment of this three-part 10 job_id => ‘IT_PROG’ tional information on setting the default
series: we simply switch to the new edition ) ); edition and doing final cleanup on your
and CREATE OR REPLACE our editionable 11 end; application upgrade.
objects (the EMPLOYEES editioning view 12 /
and the EMP_PKG package). Note that 502
for brevity, not all of the code is shown in
Tom kyte is a database
Listing 6, which shows just the modifica- PL/SQL procedure successfully
evangelist in Oracle’s
tions to the existing code. completed.
Server Technologies
This listing shows that we are using
division and has worked
the VERSION2 edition, and right now all SQL> exec emp_pkg.show( ‘Kight’ );
for Oracle since 1993. He
the code is inherited from the existing Tom Kight +44 703.123.4567 TKYTE
is the author of Expert
version (version 1) of our application in the
Oracle Database Architecture: 9i and 10g
ORA$BASE edition. PL/SQL procedure successfully
Programming Techniques and Solutions (apress,
Now we replace the view and package, as completed.
2005) and Effective Oracle by Design (Oracle
shown in Listing 7.
Press, 2003), among others.
And now we can see that we have both We can see that the data is input correctly.
versions installed, as shown in Listing 8. Further, in ORA$BASE we can verify that the
nexT sTeps
legacy data format is still valid:
InstallIng a ReveRse
Ask Tom
cRossedItIon tRIggeR SQL> connect demo/demo Tom Kyte answers your most difficult technology
The editions are installed but not quite Connected. questions. Highlights from that forum appear in
ready to go yet. The code in ORA$BASE is all demo> exec emp_pkg.show( ‘Kight’ ); this column.
asktom.oracle.com
set, but the code in VERSION2 is not quite Tom Kight 011.44.703.123.4567 TKYTE
reAD more Tom
ready. What if we call the EMP_PKG.ADD Expert Oracle Database Architecture: 9i and 10g
routine in VERSION2? It will populate the Remember that because the database’s Programming Techniques and Solutions
COUNTRY_CODE and PHONE# column but default edition is ORA$BASE, any session amazon.com/exec/obidos/tg/detail/
-/1590595300
not the PHONE_NUMBER legacy column! will use—will see—that edition by default.
Oracle Database Concepts 11g Release 2 (11.2)
Enter the reverse crossedition trigger, shown So simply by logging in again, we are running download.oracle.com/docs/cd/e11882_01/
in Listing 9. the old version of the application and seeing server.112/e10713/toc.htm
Here we have a trigger that fires only in the old output format with the PHONE_ reAD more about
the context of the VERSION2 application NUMBER column. edition-Based redefinition
“edition-Based Redefinition”
and maintains data in the old application otn.oracle.com/deploy/availability/pdf/edition_
version’s format. It will either store just settIng the default edItIon based_redefinition.pdf
the phone number without a country code To make using the new edition the default, “a Closer Look at the new edition”
for U.S. phone numbers or store the U.S. we will use an AFTER LOGON trigger to set otn.oracle.com/oramag/oracle/10-jan/
o10asktom.html
representation of a foreign phone number, the edition for each newly created session.
“edition-Based Redefinition, Part 2”
using the 011.country_code.phone_number This will enable new sessions to see the new otn.oracle.com/oramag/oracle/10-mar/
format. Once that is in place, we can use the version of our code while enabling existing o20asktom.html
new application code in VERSION2: sessions to continue to execute the old Oracle Database Advanced Application
version. By enabling existing versions to con- Developer’s Guide 11g Release 2 (11.2)
download.oracle.com/docs/cd/e11882_01/
SQL> begin tinue executing the old code, we will entirely appdev.112/e10471/adfns_editions
2 dbms_output.put_line eliminate the dreaded “ORA-4068 existing .htm#aDFnS933
state of packages has been discarded” error reAD online-only article content
DoWnloAD oracle Database 11g release 2 you would likely have gotten in the past otn.oracle.com/oramag/oracle/10-may/
otn.oracle.com/software/products/database o30asktom.html
when replacing existing code. This ability
retrieving, managing,
hours a day. found that in 2009, half of all enterprises
So what will the next decade bring? And increased their use of virtualization, pri-
how will technology enable us to access this
information and use it to better our world?
and sharing data, marily to reduce costs. These cost savings
result from consolidation and lower hard-
The Data Decade has already begun. people must be ware costs, but the side benefit is that
What does that mean? To begin, we must
look for new infrastructures that can deliver
able to decode the enterprises also reduce their energy and
resource usage.
information quickly and securely, because information. These areas will see significant changes
it will be imperative to support the huge in the next decade. The goals that will drive
volumes of data that will be generated in and strategies that will help them grow IT in the future will be gaining control of
the coming years. their businesses. and managing our data so that we can dis-
One way to do this is with data appli- The solution leverages most of the cover the value and wisdom it contains and
ances such as the Oracle Exadata Storage Oracle technology stack, including Oracle improve our enterprises and our lives.
Server, which is based on Sun hardware Database 11g, Oracle Universal Content
from Oracle. The Oracle Exadata appliance Management, and Oracle WebCenter Suite
Ian abramson
has forever changed how Oracle software 11g. The goal is to create an environment
(ian_abramson@
and hardware interact, providing amazing that is open and flexible and that can
ioug.org) is president
performance for data warehouses. The leverage new technology.
of Independent oracle
speed of this appliance enables many Oracle WebCenter Suite 11g was
users Group (IouG)
new options for drilling through masses selected because it meets current needs
and an oracle data
of data, and machines such as these can and is extensible for future requirements.
warehousing expert. based in Toronto, Canada,
store and quickly retrieve vast amounts Because the suite provides so much out-
he is the director of the enterprise Data Group
of information for data users. The Oracle of-the-box functionality, the client is con-
for Thoughtcorp, a technology consulting
Exadata Storage Server is just one example fident that future enhancements in Oracle
company. a frequent presenter at oracle and
of the kind of enabling technology that will WebCenter Suite 11g will be compatible.
industry conferences and seminars, abramson
provide seamless access to both structured In addition to storing, retrieving, man-
is also coauthor of Oracle Database 11g
and unstructured data with utmost speed aging, and sharing data, people must be
Beginner’s Guide (oracle Press, 2008) and an
and accuracy. able to decode the information they already
oracle aCe focused on business intelligence
Resolving queries is not enough: com- have. They need tools and methodologies
and data warehousing.
panies need integrated data solutions, and that will help them glean greater value
enterprises are adopting master data man- from their data. Business intelligence tools next StepS
agement and data hubs to provide centers provide the analytics companies need—
of knowledge. for both structured and unstructured JoIn IoUg
A project that I’m involved in illustrates content—to make better decisions, take ioug.org
this shift. The customer, a major retailer more-effective actions, and build better read the 2010 IoUg enterprise platform
with a network of more than 1,000 inde- business processes. decisions survey
www.ioug.org/tech/introresearch.cfm
pendently owned stores, needs a portal One final area in which we will see con-
technology convergence
for enterprise Workloads
Oracle’s acquisition of Sun will yield new
integrated solutions.
oracle.com/sunoraclefaster
Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates.
Other names may be trademarks of their respective owners.