Oracle20140506 DL
Oracle20140506 DL
Oracle20140506 DL
FlowForce
Server
Introducing FlowForce Server, the powerful
new platform for automating todays multi-step,
enterprise-level data mapping, transformation,
integration, and reporting tasks. This fexible workfow orchestration tool
works with any combination of XML, database, fat fle, EDI, Excel, XBRL,
and/or Web service data common to many essential business processes.
FlowForce
3!
Visit: www.apc.com/promo Key Code: h408u
The foundation of business network uptime.
APC by Schneider Electric Smart-UPS units
protect 24/7/365 network availability.
Intelligent battery backup
> Avoid costly power problems by keeping your IT
equipment and data safe and available with network-grade
power conditioning.
> Reduce operating and maintenance costs with a patented
green operating mode for high efficiency and intelligent
battery management that prolongs life and alerts well in
advance of replacement.
> Save time with easy and convenient remote accessibility,
safe operating system shutdown, and innovative
energy management.
> Achieve smarter productivity by tailoring a variety
of settings, including switched outlet control, to your
application needs via the intuitive LCD interface or software.
Safeguarding critical networking switches and routers
Your business depends on your business network. Protecting that network,
therefore, is more critical than ever. Known for their reliability for over 25 years,
APC
2014 Schneider Electric. All Rights Reserved. Schneider Electric, APC, Smart-UPS, and Business-wise, Future-driven are trademarks owned by
Schneider Electric Industries SAS or its affiliated companies. All other trademarks are the property of their respective owners.
www.sohne|der-e|eotr|o.oom 998-1209036_S_Note3
11 EVENTS
ORACLE MAGAZINE MAY/JUNE 2014
Technology Events
Conferences and sessions to help you stay
on the cutting edge
Cloud Expo
June 1012, New York, New York
f
cloudcomputingexpo.com
Leading cloud and big data experts and solution
providers offer technical and strategic breakout
sessions, industry keynotes, panel sessions, and
an expo floor with two demonstration theaters.
Interact 2014
June 2225, Orlando, Florida
f
bit.ly/1jquUwX
This conference for Healthcare Industry
User Group members features more than
70 sessions on using Oracle Applications
in healthcare environments. More than 525
professionals representing 90 organizations
will attend.
ODTUG Kscope
June 2226, Seattle, Washington
f
kscope14.com
ODTUGs annual gathering includes content for
developers, administrators, and business users
on developer toolkit essentials, Oracle Essbase,
Oracle Application Express, Oracle Business
Intelligence, Oracle Application Development
Framework and Oracle Fusion Applications
development, Oracle Database, and more.
SAM Summit
June 2325, Chicago, Illinois
f
samsummit.com
Software asset management (SAM) profes-
sionals gather for 60 sessions devoted to SAM
best practices. Education sessions on Oracle
software license management are offered.
berConf
June 2427, Denver, Colorado
f
uberconf.com
The evolving Java ecosystem is the subject for
160 technically focused sessions, including
more than 25 hands-on workshops.
NACUBO Annual Meeting
July 1922, Seattle, Washington
f
bit.ly/1ghm94M
The National Association of College and
University Business Officers (NACUBO)
convenes for educational sessions, regional
breakout meetings, and training opportunities.
OAUG Connection PointAppsTech
July 2223, Pittsburgh, Pennsylvania
f
connectionpoint.oaug.org
Sponsored by the Oracle Applications Users
Group, this low-cost, high-impact seminar is
designed for technologists who support Oracle
E-Business Suite.
ORACLE USER GROUPS
DOAG (German Oracle User Group)
Meeting
June 34, Dsseldorf, Germany
bit.ly/1eO23iL
UKOUG Public Sector Applications
SIG Meeting
June 5, Solihull, England
ukoug.org
Oracle User Group Finland
Summer Conference
June 56, Espoo, Finland
ougf.fi
New England Oracle Applications
User Group Conference
June 9, Worcester, Massachusetts
neoaug.org
OUG Scotland
June 1112, Linlithgow, Scotland
ukoug.org
UKOUG Hyperion SIG
June 12, London, England
ukoug.org
Georgia Oracle Users Group Meetings
June 12 and July 10, Atlanta, Georgia
gouser.org
Bulgarian Oracle User Group
Spring Conference
June 1315, Sandanski, Bulgaria
bgoug.org
Austrian Oracle User Group Conference
June 17, Vienna, Austria
aoug.at
Central States Oracle Application
Users Group Workshop
June 17, Kansas City, Missouri
csoaug.com
DOAG (German Oracle User Group)
SAP SIG Meeting
June 30, St. Leon-Rot, Germany
xing.com/net/doag
UKOUG Partner Forum
July 10, London, England
ukoug.org
Java Forum Stuttgart
July 17, Stuttgart, Germany
jugs.org
UKOUG Public Sector HCM Customer
Forum and Workshop
July 17, Solihull, England
ukoug.org
Southwest Regional Oracle Applications
User Group Meeting
July 25, Irvine, California
sroaug.com
G
E
T
T
Y
I
M
A
G
E
S
Oracle Events
oracle.com/events
Oracle User Group Events
oracle.com/us/corporate/customers/user-groups
EVENTS LOCATOR
Oracle HCM Users
Group (OHUG) Global
Conference
June 913, Las Vegas, Nevada
More than 1,600 Oracle Human Capital Management
(Oracle HCM) users learn more about the products
they use and meet Oracle development experts.
Speakers, training, special interest groups, partner
and expert sessions, and networking opportunities
are planned. ohug.org/global-conference-2014
MJ14_Events.indd 11 3/27/14 2:55 PM
12
MAY/JUNE 2014 ORACLE.COM/ORACLEMAGAZINE
RESOURCES
CONNECT: oracle.com/blogs facebook.com/oracle twitter.com/oracle linkedin.com/company/oracle bit.ly/LdGiM0
Whats New at Oracle
The latest videos, webcasts, white papers, and more
VIDEOS
MySQL Workbench and MySQL Enterprise
Online Backup Tutorial
f
bit.ly/NaOu30
MySQL experts walk through the MySQL
Workbench online backup interface.
Revolutionizing Server Economics
f
bit.ly/1dmNuxF
Find out how the near-linear pricing of Oracles
new SPARC M6 and SPARC T5 systems revolu-
tionizes system economics.
Access Oracle Database 12c Innovation with
Premier Support
f
bit.ly/1eC4uE7
Tom Kyte highlights the latest features of and
enhancements to Oracle Database 12c that are
available to Oracle Premier Support customers.
WEBCASTS
Simplify Enterprise Mobility
f
bit.ly/1nJf9l4
Oracle experts discuss the current state of enter-
prise mobility and how Oracles mobile solutions
help enterprises embrace mobile technologies.
Simplify Integration with Oracle Cloud
Adapter for Salesforce.com
f
bit.ly/1fpLtUb
Learn how Oracle Cloud Adapter for Salesforce
.com alleviates the complexity and risks of running
a mix of on-premises and cloud applications.
Pella Revolutionizes the Digital Experience
for Customers, Partners, and Employees
f
bit.ly/1fYmCsn
Find out how technology enables continuous
improvement throughout the manufacturing and
sales cycles at Pella.
CALCULATORS
Oracle VM Cost Calculator
f
bit.ly/MTrgyj
See how you can drive cost savings with the com-
bined Oracle VM and Oracle Linux products.
E-BOOKS
Consolidate Your Applications on Oracle
WebLogic Server
f
bit.ly/LJcGZb
Learn from Oracle WebLogic customers how
consolidating on the latest release gave them
better runtime capabilities and increased
efficiency, for both traditional data center and
cloud operations.
Meeting the Challenge of Big Data: Part Two
f
bit.ly/1d5RfZe
Discover how Oracles engineered systems and big
data analytics can help your business derive new
value from big data.
Why Oracle Database Runs Best on Oracle
Servers and Storage
f
bit.ly/1fCs9Fo
Learn how running Oracle Database with Oracles
latest hardware and storage can improve perfor-
mance, reduce costs, and enhance reliability.
WHITE PAPERS
Top 10 Data Warehousing Trends and
Opportunities for 2014
f
bit.ly/MqqSXj
Read highlights of the major trends, problems, and
breakthroughs in data warehouse technology.
Data Security: Leaders vs. Laggards
f
bit.ly/1bWbb0b
Learn about the top security risks organizations
face, what characterizes a security leader, and the
risks associated with falling behind.
Top 10 Reasons to Choose MySQL for
Online Retail
f
bit.ly/1bO9HbE
Learn why MySQL is a top choice to power online
retail applications.
RESOURCE CENTERS
Oracle VM Private Cloud Resource Kit
f
bit.ly/1cOkROx
Download white papers, podcasts, and analyst
reports to learn how integration between Oracle
VM and Oracle Enterprise Manager enables faster
and easier migration to private cloud.
Oracle Data Integrator 12c Resource Kit
f
bit.ly/1fCxAEv
Access the latest technical information and
product roadmaps, as well as white papers and
customer and partner success stories.
PODCASTS
Orient Overseas Container Line Touts the
Benefits of Oracle WebLogic 12.1.2
f
bit.ly/1alCHJ7
Hear about topics such as hot caching; Maven
support for developer productivity; and unified
installation, configuration, and patching.
ORACLE UNIVERSITY
Training for Cloud Computing
f
bit.ly/1etCZgE
Get the skills to build, manage, use, and evolve
your Oracle cloud solution.
Solaris 11 System Administration Training
f
bit.ly/1bkPkzz
Learn to install, administer, maintain, and trouble-
shoot the Oracle Solaris 11 operating system.
Oracle Consulting
oracle.com/consulting
Oracle Events and Webcasts
oracle.com/events
Oracle Newsletters
oracle.com/newsletters
Oracle Podcast Center
oracle.com/podcasts
Oracle University
bit.ly/ouoramag
Oracle Support
oracle.com/support
My Oracle Support
myoraclesupport.com
My Oracle Support Communities
communities.oracle.com
WEB LOCATOR
MJ14_Resources.indd 12 3/27/14 3:10 PM
Since 1985, Melissa Data has provided
the tools developers need to enhance
databases with clean, correct, and
current contact data. Our powerful, yet
affordable APIs and Cloud services
provide maximum flexibility and ease
of integration across multiple
platforms, including .NET, Java, C,
C++, Unix, Windows, Oracle, and SQL
Server. Build in a solid framework for
data quality and protect your
investments in data warehousing,
business intelligence, and CRM.
A better way to build
in data verification
Verify addresses, phones &
emails for over 240 countries
Add phones, emails, geocodes
& demographics
Find, match, and eliminate
duplicate records
Move update services keep
your contact data current
Free trials with 120-day ROI
guarantee
Melissa Data.
Architecting data quality success.
Data Quality Tools
for Developers
www.MelissaData.com 1-800-MELISSA
Address
Verification
Email
Verification
Matching/
Deduplication
Geocoding
Phone
Verification
Change of
Address
C
M
Y
CM
MY
CY
CMY
K
oracle-tooltime-mar12-fullpage.pdf 1 3/12/2014 4:03:59 PM
14 Product Resources
MAY/JUNE 2014 ORACLE.COM/ORACLEMAGAZINE
TUTORIALS AND VIDEOS
Oracle Database 12c: Advanced
Security Video Series
Watch this three-part video series to learn
about Oracle Advanced Security in Oracle
Database 12c, including data redaction and
transparent data encryption.
bit.ly/1gfepRE
Oracle Database Quickstart
Take this Oracle by Example tutorial to get
up and running with Oracle Database 12c.
bit.ly/1nC6v6Q
Building a Change Request
Workflow Model
This tutorial demonstrates how to
configure metadata and security for
governance workflows in Oracle Data
Relationship Management.
bit.ly/1cKhdal
Using Virtual Private Database with
Oracle Database 12c
Watch this five-minute video to learn how
to implement a security policy using the
application context functionality of Oracle
Database 12c.
bit.ly/1crl23Z
Integrating Apache Hadoop with
Oracle NoSQL Database
With this tutorial, learn about the benefits
of integrating Apache Hadoop with Oracle
NoSQL Database, including the role of the
Hadoop framework in big data, the NoSQL
APIs used to load data into Hadoop, and
the steps for connecting Oracle NoSQL
Database with Hadoop.
bit.ly/OeG7DB
DOWNLOADS
Oracle SQL Developer 4.0.1
Release 4.01 of Oracles free integrated
development environment includes a full
interface for Oracle Database, Enterprise
Editions diagnostics pack; support for
Oracle Database 12c features such as
Oracle Advanced Security data redaction
policy management; and more.
bit.ly/1oGaiPo
Oracle SQL Developer Data
Modeler 4.0.1
New features in Oracle SQL Developer Data
Modeler 4.0.1 include Oracle Database 12c
support for IDENTITY columns and trans-
parent sensitive data protection policies for
sensitive types.
bit.ly/1glxoX0
Oracle Mobile Security Suite: Unified BYOD Security
Oracle Mobile Security Suite, announced
in February 2014, extends Oracles identity
and access management solutions to deliver
an integrated platform from which organi-
zations can manage access to all applica-
tions from all devices, both corporate and
personalincluding laptops, desktops, and
mobile devices.
Available as a standalone product or
integrated out of the box with Oracle Mobile
Suite, Oracle Mobile Security Suite takes
an application- and user-centric approach
that enables IT to efficiently and securely
administer and manage access, providing a
secure workspace that makes it possible for
companies to separate and protect enter-
prise applications and data and enforce
policy while preserving the privacy of users
personal applications and content on the
same device.
Oracle Mobile Security Suite brings the
strength of Oracles identity management
platform to mobile devices, and as a result
helps organizations address the BYOD [bring
your own device] challenge with a logical
approach, says Amit Jasuja, senior vice
president of identity management and secu-
rity at Oracle. By extending security and
access capabilities to mobile devices, orga-
nizations can protect
corporate resources
on employee devices
without compro-
mising the user
experience.
bit.ly/1eamDX7
Enterprise Performance Management for Cloud
Oracle has announced the general availability
of its first enterprise performance manage-
ment (EPM) solution offered in the cloud,
Oracle Planning and Budgeting Cloud Service.
Oracle Planning and Budgeting Cloud
Service opens up opportunities for organi-
zations of all sizes to quickly adopt a world-
class planning and budgeting solution
with no CapEx infrastructure investments.
The EPM cloud service builds on the robust
functionality of Oracle Hyperion Planning,
which includes agile forecasting and rich sce-
nario analysis, incorporating cloud-specific
enhancements that accelerate deployments,
speed adoption, and simplify administration.
Weve seen a tremendous interest in
adopting cloud-based solutions to stream-
line budgeting and improve forecasting,
says Hari Sankar, vice president of product
management at Oracle. Oracle Planning
and Budgeting Cloud Service reflects our
commitment to helping organizations of all
sizes harness world-class enterprise perfor-
mance management in the delivery model
of their choice, says Sankar.
bit.ly/O2P0js
Enhanced Apps for Oracle Utilities
Oracle has announced new releases for two
Oracle Utilities applications.
Oracle Utilities Analytics 2.5 introduces
new prebuilt analytical and operational
dashboards to enable utilities to more effec-
tively respond to storms, improve smart grid
device management, and provide more-
efficient customer operations.
Oracle Utilities Network Management
System 1.12 adds new functionality to help
utilities reduce operational costs, gain
process efficiencies, and improve customer
satisfaction. Additions include a network
management training simulator, conserva-
tion voltage reduction functionality, and
enhanced damage assessment functionality.
Oracle Utilities Analytics 2.5 provides
utilities with prebuilt analytics that enable
them to gain immediate insights into the
vast amount of data they bring in from
smart meters and smart grid deploy-
mentsto completely transform the cus-
tomer experience, now and into the future,
says Rodger Smith, senior vice president
and general manager for Oracle Utilities.
And, he says, new functionality in Oracle
Utilities Network Management System 1.12
enable[s] utilities to accelerate service
issue resolution and provide the visibility to
optimize infrastructure, customer support,
and field response teams.
bit.ly/MUCrWp I
-
H
U
A
C
H
E
N
MJ14_Briefs.indd 14 3/27/14 3:26 PM
15 BRIEFS
ORACLE MAGAZINE MAY/JUNE 2014
I
-
H
U
A
C
H
E
N
Oracle Cloud Adapters Simplify Integration Between Cloud and
On-Premises Applications
Oracles recently announced Oracle
Cloud Adapters help organizations easily
integrate applications regardless of
deployment locationin the cloud or on
premises. Oracle Cloud Adapters cut devel-
opment time by reducing the number of
manual and customized steps and are sup-
ported by Oracle SOA Suite, the industrys
most complete and unified application
integration solution.
This unified integration approach
between on-premises and cloud applica-
tions reduces the
time, cost, and
complexity of appli-
cation integration
projects and helps
customers lower total
cost of ownership
by simplifying integration, consolidating
toolkits, and reducing maintenance
costs. The new Oracle Cloud Adapter for
Salesforce.com, for example, can reduce
integration development time by half when
compared to traditional methods by dra-
matically reducing the number of manual
and customized steps.
Until now, organizations have relied on
a mix of integration tools, each focusing
on either cloud or on-premises applica-
tions, says Demed LHer, vice presi-
dent of product management at Oracle.
With Oracle Cloud Adapters, Oracle has
extended our commitment to simplifying
and securing key applications by unifying
the integration experience between cloud
and on-premises applications.
bit.ly/1fQcUEZ
Oracle HCM Cloud Updates
Oracle has unveiled significant updates
to its cloud-based solutions for managing
and optimizing the end-to-end employee
lifecycle. The latest version of Oracle Human
Capital Management Cloud (Oracle HCM
Cloud) offers more than 200 innovations,
including comprehensive modeling func-
tionality for testing large-scale changes and
new social sourcing
features for tapping
the power of social
networks.
To be nimble
and competitive in a
global and connected
world, organizations
constantly need new and smarter ways to
harness the best talent, says Gretchen
Alarcon, group vice president for product
strategy at Oracle. The latest updates to
Oracle HCM Cloud promote a more collab-
orative, mobile, and engaging experience for
global HR management, leading organiza-
tions to take a more strategic approach to HR
and better capitalize on their talent.
bit.ly/1gfjUMh
Oracle Marketing Cloud Adds Capabilities, Industry Solutions
Oracle has announced several new features
and enhancements as well as two industry
solutions for Oracle Marketing Clouds Oracle
Eloqua Marketing Cloud Service product line.
The new release of Oracle Eloqua
Marketing Cloud Service extends support for
modern marketing with new content mar-
keting applications that enhance collabora-
tion, delivery, and measurement of content
marketing programs; enhanced Oracle
Eloqua AppCloud development capabili-
ties; and expanded integrations with Oracle
Sales Cloud and Oracle Social Cloud.
With the latest release of Oracle Eloqua,
Oracle is extending the industrys most
comprehensive marketing cloud and giving
marketers an unparalleled ability to deliver
a customer experience that drives revenue,
says John Stetic, vice president of product
management for Oracle Marketing Cloud.
The features and enhancements will better
enable modern marketers to quickly iden-
tify potential customers and optimize their
digital interactions across the customer
lifecycle, from initial acquisition to cus-
tomer advocacy.
In addition, Oracle has added to the
growing list of industry-specific solutions
for Oracle Eloqua Marketing Cloud Service
with solutions for wealth management and
life sciencesflexible, cloud-based Oracle
Marketing Cloud solutions designed to
address the unique marketing challenges
faced by those specific industries. Additional
industry-specific solutions include Oracle
Eloqua Marketing for Entertainment
Cloud Service, Oracle Eloqua Marketing for
Insurance Cloud Service, and Oracle Eloqua
Marketing for Nonprofit Cloud Service.
bit.ly/NGD4UL
Oracle Social Cloud Launches Open API Strategy for Paid Media
Oracle has launched an open API-based paid
media solution for Oracle Social Cloud to
deliver customers more choice and ongoing
expertise for paid social media capabilities.
We believe this is the best solution to
meet our customers needs to leverage
performance-based, data-driven, tar-
geted advertising at scale, says Meg Bear,
group vice president, Oracle Social Cloud.
Through our open API strategy, we can
work with leaders in the business and
provide our customers a choice in their
social advertising technology options.
bit.ly/1hu95Ic
Oracle Buys BlueKai
Oracle has signed an agreement to acquire
BlueKai, the industrys leading cloud-
based big data platform. Oracle plans to
integrate BlueKai technology with Oracle
Customer Experience Cloud marketing and
social solutions for B2C and B2B marketing
automation to deliver orchestrated and per-
sonalized customer interactions across all
marketing activities and channels.
Modern marketers require new ways
of acquiring, centralizing, interpreting, and
activating customer data across marketing
channels so that they can enhance the
customer experience and maximize the
return on their marketing spend, says
Steve Miranda, executive vice president
for applications development at Oracle.
The addition of BlueKai to Oracle
Marketing Cloud enables marketers to act
on data across both known customers and
new audiences and precisely target cus-
tomers with a personalized message
across all channels.
bit.ly/1dzQ0oN
MJ14_Briefs.indd 15 3/27/14 3:26 PM
Copyright 2014, 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.
oracle.com/partners/goto/exastack
ISV Apps
Run Better
on Exadata
Over 700 ISV Applications Are Certified on Exadata
30x Lower CPU Utilization
6x Less Storage Used
90% Linear Scalability
70:1 Compression
30x More Scalable
17 INTERVIEW BY CAROLINE KVITKA
ORACLE MAGAZINE MAY/JUNE 2014
T
he latest release of the Java platform,
Java 8, is a significant upgrade,
undertaking a coordinated coevolution of
the virtual machine (VM), core language,
and libraries. Caroline Kvitka sat down
with Nandini Ramani, vice president, Java
Platform and Internet of Things, at Oracle,
to find out whats new in Java 8, which
encompasses Java Platform, Standard
Edition 8 (Java SE 8) and Java Platform,
Micro Edition 8 (Java ME 8). The following is
an excerpt from that interview; listen to the
full interview at oracle.com/magcasts.
Oracle Magazine: In a recent Java Magazine
article, Chief Java Architect Mark Reinhold
called Java 8 revolutionary. What are
the top features that make it such a game
changer for Java developers?
Ramani: Java SE 8 is a big step forward in
modernizing the Java language as well as
modernizing the Java libraries. Its the
biggest upgrade ever to the Java program-
ming model, and it includes several new
features, including lambda expressions
and default methods; a new date and time
API; Nashorn, the JavaScript engine; and
compact profiles.
Oracle Magazine: What are lambda expres-
sions, also known as closures, and why have
they gotten so much attention?
Ramani: Good programming is about
finding the right abstractions, and Java
has always been very good at helping us
abstract over data. But one area where we
saw we could improve was in abstracting
over behavior, such as allowing developers
to effectively say do this for every matching
element of this collection, and then do
that when youre done. Lambdas are that
missing tool for describing these snippets
of behavior, and being able not just to pass
around data from one method to another,
but also to pass around behavior. This was
possible to some degree with anonymous
interclasses, but it was just too unwieldy
and required too much boilerplate code.
While lambdas enable developers to sim-
plify the code they write every day, the key
benefit comes in when they are combined
with new aggregate operations on collec-
tion APIs that have also been introduced in
Java SE 8. This is really importantits the
combination of language and libraries that
makes lambdas such a huge step forward.
Lets take an example. The new stream
libraries in java.util illustrate how it is now
possible to take a more functional approach
to code in Java, which can make code more
compact and less error-prone, by allowing
the programmer to focus on the what of
the problem being solved without getting
bogged down in the details of how. One
way this approach pays off is that we can
now write code that need not be inher-
ently serial or parallel, but can switch from
sequential to parallel execution without
having to rewrite the whole thing. If the
user asks for a parallel execution, the library
takes care of partitioning, task decom-
position, and thread scheduling, leaving
the user free to focus on the what of the
problem they are solving. And this is just
one of the many benefits enabled by this
style of programming.
Oracle Magazine: Do users have to switch
to new libraries in order to benefit from
these abilities?
Ramani: No, because this illustrates the
benefit of the other key new language
feature of Java SE 8, called default methods,
which is a mechanism that allows existing
libraries to evolve to gain new functionality
over time, without breaking backward com-
patibility. We added these features to the
collection libraries Java developers already
use every day.
Oracle Magazine: So do lambdas change the
way developers do their day-to-day jobs?
Ramani: Absolutely, and hopefully at
multiple levels. At the simplest level, their
code can be more compact, but when
combined with the libraries like the stream
library I described above, developers will
be able to write code that is simpler and
more maintainableas well as gaining the
benefit of easier parallelism. I wish I had
this back when I used to program!
Nandini Ramani, Vice President, Java Platform and
Internet of Things, Oracle B
O
B
A
D
L
E
R
/
G
E
T
T
Y
I
M
A
G
E
S
Were unifying
the language, the
platform, and
APIs as well as
modernizing the
Java language
and libraries.
Innovate with Java 8
Latest platform release enhances developer productivity
and supports applications from the Internet of Things
to the cloud.
MJ14_Interview_R1.indd 17 4/8/14 11:12 AM
18 INTERVIEW
MAY/JUNE 2014 ORACLE.COM/ORACLEMAGAZINE
Oracle Magazine: What is significant about
the new date and time API?
Ramani: The new date and time API reduces
the complexity for developers when han-
dling date and time, especially when having
to cope with internationalization and local-
ization for different markets. While Java has
always had an API for dates and times, the
existing library is more than 15 years old; it
was time to re-engineer it from the ground
up using modern design practices.
Oracle Magazine: What about Nashorn?
Ramani: Project Nashorn is a rewrite from
scratch of the JavaScript engine included
with the Java platform. When developers
want to use both Java and JavaScript,
Nashorn can deliver significant perfor-
mance improvements and interoperability
between Java and JavaScript code.
Oracle Magazine: Java SE and Java ME are
heading toward a convergence. Can you give
us a little background on that and tell us
what steps Java 8 takes toward it?
Ramani: Java ME is the Java platform stan-
dard for resource-constrained and con-
nected devices where the full Java SE may
not be a good fit. It allows Java to address
a wide range of smaller embedded devices
and use cases.
Were converging the language, the
tooling, the libraries, and the APIs. The
alignment between Java ME and Java SE
creates a unified Java development model
and allows code, skills, and tools to be
portable across the Java platform all the
way from small to very large systems. The
large Java ecosystem of more than 9 million
developers and partners can now easily
scale any of their innovations.
Java ME 8 is a significant update of the
Java ME standard and is a major step toward
alignment of Java SE and Java ME. Java ME
now supports most of the modern Java SE 8
language features such as generics, annota-
tions, assertions, enumerations, and multi-
catch. Java ME 8 also supports recent Java SE
VM features and class file versions, allowing
the use of common tooling.
Finally, Java ME 8 adds key Java SE
APIs and libraries such as collections,
events, StringBuilder, logging, and other
APIs and interfaces as well as subsets of
NIO [New I/O].
Oracle Magazine: How do the compact pro-
files, which you mentioned earlier, fit into
the convergence?
Ramani: Compact profiles are a way for
developers to use a well-defined subset
of the Java class libraries for applications
where that is all that is required. So, if youre
just writing a small application, you dont
need to include the entire JRE [Java runtime
environment]. For situations where the size
of the JRE is an issue, this will address those
specific needs.
Oracle Magazine: Speaking of writing small
applications, lets talk about the Internet
of Things [IoT]. What does Java ME offer for
developers who want to build IoT devices?
Ramani: The Internet of Things brings huge
opportunities, but along with it, significant
challenges for software development and
specifically deployment. How do you develop
code efficiently for a wide and fragmented
set of embedded platforms? How do you
ensure robust and secure software execution
under particularly challenging conditions in
most cases?
Typically, embedded software devel-
opment involves specialized skills and
platform-specific tools as well as, in most
cases, low-level native programming.
Because the native programming approach
to embedded software development is
often very fragmented, Java ME 8
is a purpose-built embedded software
standard that provides a consistent and
reliable application platform that shields
developers from the complexity of the
underlying devices. Complexities of oper-
ating systems, device drivers, and so on
are abstracted away, making software
development for embedded systems much
easier. The Java ME 8 runtime is efficient
and highly scalable and allows developers
to move and reuse their applications and
business logic across a wide range of
embedded solutions without having to
recompile or port their applications. So in
the real world this means you can start with
small microcontroller-type devices and go
all the way to more-powerful systems like
gateways and concentrators.
Java ME 8 includes rich and standardized
functionality that is becoming increasingly
required in advanced embedded deploy-
ments such as preintegrated software pro-
visioning and management, a flexible and
robust security model, and standard com-
munication protocols.
Oracle Magazine: What are you most excited
about in terms of Java 8?
Ramani: Were unifying the language, the
platform, and APIs as well as modernizing
the Java language and libraries, so its a
big upgrade for the Java programming
model itself. Additionally, we are keen to
make it simple for developers to write and
deploy applications all the way from small
devices to the data center. Java SE 8 and
Java ME 8 are huge milestone releases
toward that goal.
DOWNLOAD
Java SE 8
bit.ly/OdfU8D
Java ME 8
bit.ly/1lDO7Jw
WATCH the Java 8 launch webcast
bit.ly/1d2IyPL
READ the Java 8 issue of Java Magazine
bit.ly/1krG1E3
NEXT STEPS
Caroline Kvitka is
editor in chief of Java
Magazine and a long-
time contributor to
Oracle Magazine.
While lambdas enable developers to simplify
the code they write every day, the key benefit
comes in when they are combined with new
aggregate operations on collection APIs that
have also been introduced in Java SE 8.
MJ14_Interview.indd 18 3/27/14 3:51 PM
19
ORACLE MAGAZINE MAY/JUNE 2014
PARTNER NEWS Book Beat
I
-
H
U
A
C
H
E
N
Partners Earn Oracle PartnerNetwork Specialized Status
Four Oracle partners have earned Oracle
PartnerNetwork Specialized status for their
solutions. Specialized status is a level of rec-
ognition that spotlights the strengths and
special skills of experienced and committed
Oracle partners.
Branchbird, a big data analytics company
and an Oracle Gold Partner, has achieved
Specialized status for Oracle Endeca
Information Discovery. Branchbird has
experience in practice management,
product management, solution architec-
ture, and product development, and has
successfully delivered customized Oracle
Endeca Information Discovery implementa-
tions incorporating big data.
Mitchell & Associates, an Oracle
Platinum Partner, has achieved
Specialized status for Oracles JD Edwards
EnterpriseOne 9.0 financial management
applications. Mitchell & Associates has
been recognized by Oracle for its expertise
in delivering services related to JD Edwards
EnterpriseOne 9.0 solutions.
NuWave Solutions, an Oracle Gold
Partner, has achieved Specialized status
for Oracle Endeca Information Discovery.
The company turns data into usable infor-
mation by combining the capabilities of
data warehousing, business intelligence,
and analytics.
Redstone Content Solutions, a provider
of content solutions and an Oracle Gold
Partner, has achieved Specialized status for
Oracle WebCenter Sites. Redstone, founded
in 2009, also holds Specialized status for
Oracle Application Development Framework
and Oracle WebCenter Content.
branchbird.com
maa-imcs.com
nuwavesolutions.com
redstonecontentsolutions.com
Aurionpro Becomes Oracle Platinum Partner
Aurionpro, a provider of consulting services
and software for financial services and
supply chain management, has achieved
Oracle Platinum Partner status for its
expertise in delivering Oracle Identity
Management, Oracle Applications, and
Oracle WebCenter. With the status,
Aurionpro receives priority placement in the
Oracle PartnerNetwork solutions catalog,
one free application integration validated by
Oracle, discounted training, and more.
aurionpro.com
Partners Create Oracle Accelerate for Midsize Companies Solutions
Two Oracle partners have created Oracle
Accelerate for Midsize Companies solu-
tionssimple-to-deploy packaged solutions
based on Oracle Business Accelerators.
DAZ Systems, an Oracle Platinum
Partner, has delivered a solution for Oracle
Financials Cloud. The new solution is based
on DAZ Systems FastTrack accelerated
implementation methodology.
CapricornVentis, an Oracle Gold Partner,
has created a solution for Oracle Service
Cloud. Oracle Service Cloud enables retailers
to provide a seamless customer experience
across multiple touchpoints.
www.dazsi.com
capventis.com
Silanis e-SignLive Now Included in Oracle Documaker
Silanis Technology, an Oracle Gold Partner,
has announced that e-SignLive, its elec-
tronic signature
solution, is now
included in Oracle
Documaker. Silanis
e-SignLive within
Oracle Documaker
creates a completely
paperless digital transaction, from genera-
tion to signing to indexing to storage of
electronically signed documents. Electronic
signatures help ensure that documents
are reviewed in the correct order and that
necessary data and signatures are captured,
which can eliminate errors and improve
customer service.
silanis.com
OCP: Oracle Database 12c
Administrator Certified Professional
Study Guide: Exam 1Z0-063
By Robert G. Freeman and
Charles A. Pack
Wiley
wiley.com
Prepare for three levels
of certification with
OCP: Oracle Database 12c
Administrator Certified Professional Study
Guide: Exam 1Z0-063. This guide has
been updated for the Oracle Database 12c
product release. It touches on database
architecture, configuration, and backup and
recovery and includes tips for diagnosing
problems, managing memory, managing
resources, and automating tasks. A work-
book exercise appendix, chapter review
questions, electronic flashcards, search-
able PDF glossary, and two bonus practice
exams enhance your preparation.
Oracle WebLogic Server 12c
Administration Handbook
By Sam Alapati
Oracle Press
oraclepressbooks.com
Designed as a combina-
tion reference and tuto-
rial, Oracle WebLogic
Server 12c Administration
Handbook covers how to install, configure,
manage, and tune Oracle WebLogic Server
12c. Filled with expert management
techniques, detailed examples, and best
practices, it also discusses managing Oracle
WebLogic Server security, understanding
Oracle WebLogic Server application deploy-
ment, working with Oracle WebLogic Server
clusters, and many other topics.
OCA Oracle Database 12c
Installation and Administration
Exam Guide (Exam 1Z0-062)
By John Watson
Oracle Press
oraclepressbooks.com
OCA Oracle Database 12c
Installation and
Administration Exam
Guide (Exam 1Z0-062) is
a mixed-media handbook for preparing for
the Oracle Database 12c Administration I
exam, a required first step toward Oracle
Certified Associate and Oracle Certified
Professional certification. This book and
its related electronic content cover instal-
lation, configuration, application tuning,
database management, backup and
recovery, security, and more.
Look for other Oracle books at bit.ly/NjG3KM.
MJ14_Partner.indd 19 3/27/14 4:02 PM
20
MAY/JUNE 2014 ORACLE.COM/ORACLEMAGAZINE
PARTNER NEWS
Partners Earn Oracle Validated Integration
Four Oracle partners have earned Oracle
Validated Integration, demonstrating that
their solutions have been certified by Oracle
as functionally and technically sound and
integrated with Oracle Applications in a
reliable, standardized way, and that they
operate and perform as documented.
CARCO Group, an Oracle Gold Partner, has
achieved Oracle Validated Integration for its
I-9 and E-Verify Solution with Oracle Taleo
Enterprise Cloud Service, part of Oracle Talent
Management Cloud. CARCOs electronic I-9
and E-Verify Solution helps employers main-
tain a compliant and legal workforce while
eliminating paper-based processes.
Loftware, a provider of enterprise
labeling solutions and an Oracle Gold
Partner, has achieved Oracle Validated
Integration of Loftware Spectrum with
Oracle E-Business Suite 12.2. Spectrum
features include label design, enterprise
integration, a business rules engine,
device management, and on-demand
native printing.
Scout Exchange, an Oracle Gold Partner,
has achieved Oracle Validated Integration
of Scout with Oracle Talent Management
Cloud. Scout uses performance-based
matching to connect employers with the
most-appropriate recruiters for a specific
job. The solution also lets employers view
and accept qualified candidates based on
placement fees.
Talent Q, an Oracle Gold Partner, has
achieved Oracle Validated Integration of
Talent Q Assessment Systems (Version
2.5.1.3) with Oracle Talent Management
Cloud. Talent Q Assessment Systems is a
multiphased assessment service that can be
embedded into recruitment workflows.
carcogroup.com
loftware.com
goscoutgo.com
talentqgroup.com I
-
H
U
A
C
H
E
N
Peloton Announces
CloudAccelerator Program for
Oracle Planning and Budgeting
Cloud Service
Peloton, an Oracle
Platinum Partner
specializing in
enterprise perfor-
mance manage-
ment and busi-
ness analytics,
has announced the availability of its
CloudAccelerator program for Oracle
Planning and Budgeting Cloud Service.
Peloton, which has achieved Specialized
status for Oracle Hyperion Planning,
designed the CloudAccelerator program to
help its clients achieve faster, driver-based
planning system implementations that
take advantage of the flexibility of Oracles
cloud-based solution.
pelotongroup.com
MJ14_Partner_R1.indd 20 4/8/14 11:19 AM
21
ORACLE MAGAZINE MAY/JUNE 2014
Community Bulletin
Happenings in Oracle Technology Network BY ROLAND SMART
HANDS-ON LAB:
Deploying an Oracle RAC 12c Cluster
How to Deploy a Four-Node Oracle RAC 12c
Cluster in Minutes Using Oracle VM Templates
is a step-by-step tutorial (see bit.ly/1ind7TV)
by Olivier Canonge. With full support for Oracle
Real Application Clusters (Oracle RAC) database deploymentsand
additional support for the Flex Cluster and Oracle Flex Automatic Storage
Management features of Oracle Database 12cthese Oracle VM tem-
plates allow the beginner and savvy alike to deploy and virtualize robust
applications in a matter of minutes.
JOIN THE DISCUSSION AT
IOT COMMUNITY
Oracle Technology Network (OTN) community members
are driving the rapid adoption and proliferation of embed-
ded, intelligent devices. Some are calling this a new age of
machine-to-machine technology, while others prefer the
term Internet of Things (IoT).
At IoT Community (iotcommunity.net), OTN developers
are engaging in lively discussions about the possibilities of
IoT, and sharing examples of how theyre already building
on top of existing technology. Here youll find expert con-
versations and blog posts about how mobile devices can
become high-powered microscope kits; smarter precipita-
tion sensors can improve agricultural yields; digital screen
personalization can improve the retail experience; and more.
Join the conversation at iotcommunity.net.
Oracle ADF
Development: Web,
Mobile, and Beyond
A new OTN video series
shows you how to
simplify your applica-
tion development with
Oracle Application
Development
Framework (Oracle
ADF), an end-to-
end Java Platform,
Enterprise Edition
framework. Explore an
introductory primer on
Oracle ADFs out-of-
the-box infrastructure
services, browse
advanced Oracle ADF
topics, compare dif-
ferent techniques for
creating and extending
enterprise apps for iOS
and Android, or listen in
on Oracle ACE Director
Sten Vesterli (among
other Oracle ACE pre-
senters) as he shares
the Top 10 Secrets of
Successful Oracle ADF
Projects. Or, do it all:
youll find more than
10 how-to video guides
and presentations at
bit.ly/1j94xeR.
Featured Download:
Oracle SQL Developer 4.0
Oracle SQL Developer is a free inte-
grated development environment
that streamlines the development
and management of Oracle Database.
Oracle SQL Developer offers complete
end-to-end development of your
PL/SQL applications, a worksheet for running queries and scripts,
a DBA console for managing the database, a reports interface,
a complete data modeling solution, and a migration platform for
moving your third-party databases to Oracle Database. Download
Oracle SQL Developer 4.0 at bit.ly/1nRwGaX.
Kscope14
ODTUGs
Kscope
is one of the most dynamic
and well-attended confer-
ences for Oracle developers,
administrators, architects, and
business users. This years
conference, Kscope14, takes
place June 2226 in Seattle,
Washington, and it includes
more than 250 technical ses-
sions, more than 20 hands-on
training sessions, and plenty
of networking opportunities. In
addition, Oracle ACE Directors
will be at the ready to answer
your questions: this year
theyll be leading a number of
Kscope14 lunch-and-learn
sessions. Learn more and regis-
ter at kscope14.com.
I
-
H
U
A
C
H
E
N
;
C
O
U
R
T
E
S
Y
O
F
D
H
E
R
R
E
R
A
_
9
6
O
N
F
L
I
C
K
R
MJ14_Community.indd 21 3/27/14 4:44 PM
22
MAY/JUNE 2014 ORACLE.COM/ORACLEMAGAZINE
ARCHITECT BY BOB RHUBART
CONNECT: blogs.oracle.com/archbeat facebook.com/brhubart twitter.com/brhubart linkedin.com/in/bobrhubart
I
n past issues of Oracle Magazine, this
column has devoted a lot of attention to
how to become an architect and has shared
the insight and expertise of working archi-
tects as they discuss how they have devel-
oped and sharpened the various skills nec-
essary to thrive in that role. But this column
has never addressed one simple, straight-
forward question: Why would anyone want
to be an architect?
The architects I contacted for responses
to that questionmy informal team of
expert advisorswere attracted to the role
because it requires a very specific combina-
tion of highly developed technical skills,
equally well-developed people skills, and a
keen ability to see and grasp the big picture,
all wrapped up in a desire to be an instru-
ment of change.
Oracle ACE Director Lucas Jellema,
solution architect and CTO of AMIS
Technologies, describes the big-picture
focus as both the primary challenge and the
greatest attraction for the role. The mix of
competencies that is required; the potential
impact you have as an architect; and the
constant intellectual challenge of abstract,
high-level, long-term strategic thinking one
moment and very operational, concrete, and
detailed thinking the next is what makes it
fun. You are in touch with so many people
and so many aspects of the project and the
technology that it is hugely challenging and
rewarding. Never a dull moment!
The architects job is problem-solving
on a large scale, a struggle to align people
and technology to accomplish a mixture
of goals, says Randy Stafford, architect-
at-large for the Oracle Coherence product
development team at Oracle. Its gratifying
work for someone with an analytical, engi-
neering mindset. Challenging, but stimu-
lating and rewarding.
Ronald van Luttikhuizen, managing
partner at Vennster and an Oracle ACE
Director, also enjoys the problem-solving
aspect of the role. As an IT architect you
are in the unique position to have a real
impact on the quality and usefulness of
solutions for the business, he says. Its
like solving puzzles, but you still have the
opportunity to get your hands dirty by
helping in software realization.
The ability to balance that kind of day-to-
day technical practicality with a vision for
the future sets architects apart.
To be an architect is to think differently
from those around you, and to be able to
have a profound influence on the future
state of things, says Clifford Musante, lead
architect with the Oracle Fusion Middleware
Architects team. Architects are required
to simultaneously address the multiple
concerns of the business, the users, the
evolving state of technology, and the con-
tinuous need for innovation and lower costs,
all while providing more-robust and more-
reliable solutions. For those who can think
coherently, completely, and across multiple
concerns simultaneously, whats not to love
about a job like that?
Oracle ACE Luis Weir, Oracle solutions
director at HCL AXON, describes the archi-
tects role as fundamental to an IT revolution
that is only just getting started. Information
technology is to the twenty-first century
what the Industrial Revolution was to the
eighteenth, nineteenth, and twentieth cen-
turies, says Weir. You become an architect
because you are passionate and you want
your solutions to have a positive impact on
your business or society.
As the last, lingering vestiges of the
twentieth century fall away, it becomes
ever more obvious that the familiar
mantra every business is an IT business
is expanding in scope with each passing
secondas every home becomes an IT
home; every automobile becomes a rolling
data center; and human beings, by virtue
of evolving mobile devices, wearable com-
puters, and whatever comes next in that
astonishing progression, become ever more
connected to each other and to the world
around them. How we make that journey,
and where that unpredictable path takes
us, is the business of IT architects. Who
wouldnt want to be a part of that?
LISTEN to
Are You Future-Proof?
bit.ly/1ovkYSx
DevOps, Cloud, and Role Creep
bit.ly/1gAJrzi
READ
Architects: Sell Yourselves, Save the World
bit.ly/1eSMZ0c
NEXT STEPS
Bob Rhubart
(bob.rhubart@oracle.com)
is manager of the
architect community
on Oracle Technology
Network, the host of the
Oracle Technology Network ArchBeat podcast
series, and the author of the ArchBeat blog
(blogs.oracle.com/archbeat).
Why Would Anyone Want to
Be an Architect?
Architects weigh in on what makes their jobs cool.
You want your
solutions to have a
positive impact
on your business
or society.
Luis Weir, Lead Architect, Oracle Solutions
Director, HCL AXON
MJ14_Architect.indd 22 3/27/14 4:57 PM
23 PEER-TO-PEER BY BLAIR CAMPBELL
ORACLE MAGAZINE MAY/JUNE 2014
Learn more about the Oracle ACE program at oracle.com/technetwork/community/oracle-ace.
Taking the Lead
Peers on proactive support tools, new cloud solutions, and understanding Oracle inside out
How are you using social media in your
work? Quite frequently youll find me on
Twitter, LinkedIn, and Facebook, and I
also run an Oracle tech community called
ORAERP.comThe Knowledge Center for
Oracle ERP Professionals.
Whats your favorite mobile application?
Nowadays Im getting all the latest
information on my iPhones Oracle app. Im
using it for My Oracle Support follow-ups on
service requests and also to get the latest
blog posts and information on events.
Whats been your favorite Oracle
technology conference experience?
Im an executive board member of the
Middle East Oracle User Group, and this
position earned me speaking slots at
Oracle OpenWorld San Francisco in 2012
and 2013. Both were great experiences.
At the 2013 conference, I received an
Oracle Excellence Award in the category of
Proactive Support: Individual Champion.
Its hard to express what a tremendous
honor this was.
How are you using cloud computing in
your work these days? We run a hybrid
cloud with Oracle Fusion Customer
Relationship Management in the
Oracle Cloud, and we run Oracle Fusion
Applications in an on-premises private
cloud model on the Oracle Virtual Compute
Appliance that weve built up with
InfiniBand and gigabit Ethernet switching
between two data centers.
What are you using for mobile computing?
We have Oracle Tap for Oracle Applications
Cloud Service and the Oracle Fusion
Applications Release 7 simplified UI on the
iPad for all employees. Thats cool stuff. The
simplified UI is very nice for self-service.
Were eager to start using Oracle Fusion
Expenses and the new Oracle Fusion Time
and Labor tooling.
Whats your favorite thing to do that doesnt
involve work? Well, my wife calls this work,
but I do not: If I am not working, I explore
new technologies and techniques that have
a direct relation to my work. I believe this
broadens my vision and allows great ideas
to emerge.
How did you get started in IT? I specialized
in databases as part of my masters degree.
My first position was as a lead database
engineer with a successful startup. From
the beginning I made a conscious effort to
really understand the internals of Oracle
technologies and everything that DBAs
do, and since then Ive straddled both the
developer and DBA worlds.
What are your favorite tools on the job? I like
TRCA, SQLT, LTOM, and DTrace. They give
me the ability to do a systematic analysis of
performance issues and quickly address the
ones that matter most.
Which new Oracle technologies are you
currently finding most valuable? Oracle
NoSQL Database is a great new technology
for specialized use cases where a relational
database is not the best fit. I work
extensively with low-latency distributed
systems that handle both structured and
binary data. Using Oracle NoSQL Database
in conjunction with the relational database
allows me to develop systems that achieve
the best of both worlds. t
Company: Morpho, a company specializing in
fingerprint, iris, and facial recognition systems,
as well as rapid DNA identification
Job title/description: Chief engineer,
responsible for exploring, recommending, and
implementing all database-centric technologies
in use at the company
Location: Los Angeles, California
Oracle credentials: Oracle Certified Professional
(Oracle Database 11g), with more than 15 years of
experience using Oracle products
ARIS PRASSINOS
Company: Profource, a provider of specialized
support to companies using Oracle technologies
Job title/description: Senior consultant,
responsible for architecture, application
development, and integrations using Oracle
technologies
Location: Dordrecht, the Netherlands
Oracle credentials: PeopleSoft Certified
Application Developer, with 15 years of
experience using Oracle products
HAKAN BIROGLU
Company: Raqmiyat, a systems integrator and the
primary IT division of the Al Ghurair business group
Job title/description: Oracle practice manager,
responsible for consulting, implementation,
project management, and delivering cost-
effective solutions
Location: Dubai, United Arab Emirates
Oracle credentials: Oracle Certified
Professional (Oracle9i Database, Oracle
Database 10g), Exadata Database Machine
Models X2-2 and X2-8 PreSales Specialist, with
four additional Oracle certifications and 10 years
of experience using Oracle products
KASHIF MANZOOR
MJ14_Peer.indd 23 3/28/14 9:56 AM
These trends are putting a strain on traditional IT
infrastructures, as companies look for better ways to
provide enterprise applications and analytics to the
business and pursue initiatives such as big data and
data center consolidation. It is becoming clear that
incremental modifcations are not enough to keep up.
IT groups need innovative approaches that will enable
them to reshape the infrastructure to provide the
performance and scalability needed to keep up with
the ever-evolving demands of the business.
A Leap Forward in Servers
The Fujitsu M10 server line is designed to be at the
heart of that type of infrastructure. Drawing on Fujitsus
heritage of supercomputingand its deep partnership
with Oracle that is focused on SPARC and mission-
critical business computingthis server line offers the
biggest technology advancement for SPARC servers in
more than a decade.
The Fujitsu M10 servers are built on the advanced
SPARC64 X processor and now the new SPARC64 X+
processor. These processors include Software-on-Chip
technology created through the close collaboration
of Fujitsu and Oracle. Software-on-Chip moves some
routines from software programs to the circuitry of
the chip, increasing the speed of those routines. The
current Fujitsu M10 hardware and Oracle Solaris 11
software work together with this feature, and with
Oracle Database 12c plus patch, companies may
see an increase in performance of up to 25%, due to
Software-on-Chip.
The Fujitsu M10 also uses an in-memory pro-
cessing concept, which means that data is accessed
within memory in just nano-seconds, rather than the
Today, companies need to manage huge amounts of data to develop
insights and actionable, valuable informationand to enable business
decision makers to operate with solid information and better foresight.
At the same time, they need to process this growing volume of data
faster than ever in order to stay ahead of the competition and a
constantly changing business environment. In an increasingly real-time
business world, the speed and quality of information are both key.
Delivering
at the Speed
of Business
ADVERTISING SUPPLEMENT
Delivering
at the Speed
of Business
milliseconds needed for traditional
access to storage and disks. Here
again, hardware and software can
work closely together for a signif-
cant increase in performance.
The Fujitsu M10 includes other
innovative technologies that help
drive high performance. For exam-
ple, Fujitsus advanced High Speed
Interconnect transmission technology
is used to connect CPUs, resulting in
a very fast 14.5 Gbps transmission
rate. In addition, a unique Liquid
Loop Cooling mechanism can cool hot
spots effectively, allowing compo-
nents such as the CPU and memory
to be located more closely to one
another. This close placement and
resulting compute density has helped
the Fujitsu M10 achieve one-ffth
lower memory latency, compared to
previous servers.
The Payoff in Performance
Together, these various Fujitsu
technologies add up to dramatic
increases in performance. In the frst
six months following its release, the
Fujitsu M10 set 14 world records in
industry standard benchmark tests,
including CPU-specifc tests, such
as SPEC CPU, and application-level
tests, such as Java and SAP.
A look at a few of these
benchmarks illustrates the level of
performance improvement offered
by these servers: For example, in
the SPECint_rate2006 benchmark,
which looks at CPU performance and
throughput, the Fujitsu M10 server
provided twice the performance of
the previous record-holding server.
And in the STREAM Triad benchmark,
which looks at memory access and
throughput, it was fve times faster
than the previous record holder.
The SPECjbb2013 bench-
mark is designed to measure Java
application performance including
response performance, which is
essential for real-time processing.
Fujitsu M10 with a 16-CPU confgu-
ration achieved the worlds highest
performance on both critical-jOP-
S(Java Operations Per Second) and
max-jOPS.
The servers ability to deliver
high performance has been
demonstrated outside the lab in real
world usage, as well. For example,
a telecom company that used the
Fujitsu M10 in a server consolidation
effort achieved a 3X improvement
in performance. And a printing
company that migrated from a
UNIX platform to the Fujitsu server
saw a 2X improvement in response
time and a 3X improvement in
batch processing time. [See sidebar,
Power for Global Expansion.]
Providing an
Agile IT Foundation
Business does not hold still,
and that means that IT needs to
constantly adjust and adapt to
requirements that can change
quicklyand often, unpredictably.
Typically, this means expanding
the infrastructure in step with
business growth, and doing so
cost-effectively.
The Fujitsu M10 addresses
this need with its innovative core
Since its release,
the Fujitsu M10 has
set 14 world records
in industry standard
benchmark tests.
activation feature. The SPARC64 X and the SPARC64 X+ CPU
have 16 cores. When a company purchases a lower-end
Fujitsu M10-1 with one CPU, all 16 physical CPU cores are
already included in the box. They can be activated and
paid for on an as-needed basis, making it easy to quickly
scale from 2 to 16 cores in increments of two, without
having to add any hardware. This core activation concept
applies across the Fujitsu M10 product line, up to the
largest 64-CPU modular models. In short, core activation
may allow companies to license only what they need at
the core level, and keep computing power in step with
changing demandsan approach that is highly cost-
effective.
Working hand-in-hand with core activation, the
Fujitsu M10 provides
building block capabilities
that enable simple,
modular scalability. For
example, if a company
reaches the capacity
limits with all 64 CPU
cores of a Fujitsu M10-4S
activated, it can quickly
add a second 2- or 4-socket box to the frst without
interrupting the system, and then grow that new box
through the core activation process, as needed. This
can be continued up to a maximum confguration of
16 boxes with 1,024 active cores and 32 terabytes of
memory.
With these features, the Fujitsu M10 servers provide
tremendous fexibility and expandability. This enables
the IT organization to not only optimize its investment
when it frst implements the system, but to keep
optimizing it over time. It essentially provides a pay
as you go modeland helps avoid the all-too-common
problem of having to overbuy and ending up with
equipment that is using power but not contributing to
the bottom line.
In addition to high performance and fexibility, the
Fujitsu M10 server design builds on Fujitsus history of
providing mainframe-class reliability, availability and
serviceability technology. Its architecture includes many
features that help ensure that business operations are not
interrupted and unscheduled downtime is not required to
deal with failing hardware or software components. For
example, redundant interconnect paths help minimize
the risk of errors and data corruption. Predictive self-
healing capabilities enable the operating system to work
with the server hardware to predict component failures
and minimize the impact of issues before they affect the
systems operation.
Fujitsu will keep delivering more with its Fujitsu M10
server line. This means continuing to expand Software-
on-Chip capabilities and providing features that further
increase reliability, availability and serviceability. It also
means working with Oracle on innovative approaches
to big data and other enterprise computing needs
and giving customers the technologies they need to be
agile and responsive to successfully pursue todays fast-
moving business opportunities.
For More Information
To fnd out more about the Fujitsu M10 server, please
see these related documents:
Accelerate and Consolidate the Data Center
Consolidate with Fujitsu M10 Servers
Accelerate Database Performance with
Fujitsu M10 Servers
Please visit our web site to view the full DNP case study.
Additional information about the Fujitsu M10 server line
can be found at www.fujitsu.com/sparc.
The Fujitsu M10
allows companies
to keep computing
power in step with
changing demands.
ADVERTISING SUPPLEMENT
SPEC (The Standard Performance Evaluation Corporation), SPECint and SPECjbb are registered trademarks of Standard Performance Evaluation Corpora-
tion(SPEC) in the US and other countries.Details and the latest information of this benchmark can be found at www.spec.org. Published as SPARC M10.
Fujitsu M10 is sold as SPARC M10 by Fujitsu in Japan. Fujitsu M10 and SPARC M10 are identical products.
World-record SPECint_rate2006 result: Comparison based upon SPECint_rate2006 result except Supercomputers: 23,800 on a SPARC M10-4S server with 64
SPARC64 X (3.0 GHz) processors, Oracle Solaris 11.1, Oracle Solaris Studio 12.3, 1/13 Platform Specifc Enhancement. Details and the latest information on this
benchmark can be found at www.spec.org.
World-record STREAM result: Comparison based upon STREAM Triad result except Supercomputers: 4,002 GB/s on a SPARC M10-4S server with 64 SPARC64 X
(3.0 GHz) processors. Details and the latest information on this benchmark can be found at www.cs.virginia.edu/stream/.
World-record SPECjbb2013 results: 16 CPU confguration: 308,936 max-jOPS and 168,127 critical-jOPS on a SPARC M10-4S server with 16 SPARC64 X (3.0 GHz)
processors, Oracle Solaris 11.1 SRU 6.4, Java HotSpot 64-Bit Server VM, version 1.7.0_17. 4 CPU confguration: 83,909 max-jOPS and 50,562 critical-jOPS on
a SPARC M10-4S server with 4 SPARC64 X (3.0 GHz) processors, Oracle Solaris 11.1 SRU 6.4, Java HotSpot 64-Bit Server VM, version 1.7.0_17. Details and the
latest information on this benchmark can be found at www.spec.org.
Power for
Global Expansion
D
ai Nippon Printing Co., Ltd. (DNP) is one of the
worlds largest printing companies, but its business
extends over a wide variety of felds, including
Information Communication (e.g. publication printings
and digital signage), Lifestyle and Industrial Supplies
(e.g. packaging and lifestyle materials) and Electronics
(e.g. display components and electronic devices). DNP
has been actively expanding globally and now has 26
sales locations and 13 manufacturing plants around the
world. The processing for DNP exports is done primarily
through its central overseas business system. The previous
system had been constructed based on HP-UX, but it had
limitations in terms of expandability. For this reason,
DNP elected to replace the system using Fujitsu M10
servers.
DNP needed a high performance system that could handle
increases in the amount of overseas business job data
and additional users, and evaluated multiple vendors.
We had been paying close attention to information about
new, high-performance servers and [Fujitsu M10s] high-
performance, based on supercomputer technology, was a
step above conventional servers, says Tomoyasu Nagata,
Section Head of the Overseas System Section at DNP. We
confrmed the fgures backing Fujitsu M10 and it quickly
became a very suitable candidate.
The fnal selection was done by DNP Information Systems
Co., Ltd., which manages information systems for the
DNP Group. Mr. Kazuo Kurosawa, Department Head at
DNP Information Systems, stated, Our role is to provide a
stable service for information
systems, from planning
and design to construction,
operation, and maintenance.
When we investigated
Fujitsu M10, the key points
considered were not just its
high performance, but its operational stability inherited
from mainframe reliability, the fact that it embraces the
future potential and long-term support of Oracle Solaris,
and its compatibility with Oracle Database. Specifcally
when combined with Oracle Database 11g, Fujitsu
M10-1 is able to deliver one-stop-
shop support for our business and
signifcantly reduce maintenance
costs.
For the new system confguration,
Fujitsu M10-1 was used as the core
database server. Fujitsu M10 and
Fujitsu made sure system construction
could be completed in a short amount
of time, says Mr. Shohei Yamashita,
Third Work System Dept., Work System
Headquarters, DNP Information
Systems. The database server works in conjunction with
the application server and the backup server. Furthermore,
Fujitsus one-stop-shop support delivers a quicker
resolution in the event of any issues.
After installation, the databases response performance
doubled. Batch processing performance has tripled, thus
greatly reducing overall processing time. Total opera-
tional costs have been cut by nearly 35%, with software
maintenance costs kept down, and operational effciency
increased by installing a backup server.
Regarding future prospects, Mr. Nagata says, Were
planning to add more functionality leveraging CPU Core
Activation, which will allow us to fexibly expand the
system as needed. With this function, we can scale up
when our business is ready while keeping initial costs
down. We look forward to working with Fujitsu as they
continue to support us through leading-edge solutions
like Fujitsu M10 technology for big data processing.
Tomoyasu Nagata Kazuo Kurosawa Shohei Yamashita
28
MJ14_CAF_R1.indd 28 4/8/14 11:25 AM
BY DAVID BAUM
A
s cloud computing moves out of the early-adopter
phase, organizations are carefully evaluating how
to get to the cloud. They are examining standard
methods for developing, integrating, deploying, and
scaling their cloud applications, and after weighing
their choices, they are choosing to develop and deploy cloud
applications based on Oracle Cloud Application Foundation,
part of Oracle Fusion Middleware.
Oracle WebLogic Server is the flagship software product
of Oracle Cloud Application Foundation. Oracle WebLogic
Server is optimized to run on Oracle Exalogic Elastic Cloud,
the integrated hardware and software platform for the
Oracle Cloud Application Foundation family.
Many companies, including Reliance Commercial Finance,
are adopting this middleware infrastructure to enable private
cloud computing and its convenient, on-demand access to a
shared pool of configurable computing resources.
GROUND
CONTROL
Oracle Cloud Application
Foundation solutions launch
your cloud applications.
ORACLE MAGAZINE MAY/JUNE 2014
29
I
-
H
U
A
C
H
E
N
MJ14_CAF_R1.indd 29 4/8/14 11:27 AM
MAY/JUNE 2014 ORACLE.COM/ORACLEMAGAZINE
30
Cloud computing has become an extremely critical design factor
for us, says Shashi Kumar Ravulapaty, senior vice president and
chief technology officer at Reliance Commercial Finance. Its one
of our main focus areas. Oracle Exalogic, especially in combina-
tion with Oracle WebLogic, is a perfect fit for rapidly provisioning
capacity in a private cloud infrastructure.
Reliance Commercial Finance provides loans to tens of thousands
of customers throughout India. With more than 1,500 employees
accessing the companys core business applications every day, the
company was having trouble processing more than 6,000 daily
transactions with its legacy infrastructure, especially at the end of
each month when hundreds of concurrent users need to access the
companys loan processing and approval applications.
To address these issues, Ravulapaty looked to Oracle and its Oracle
Cloud Application Foundation technologies. By consolidating nine
servers onto a single Oracle Exalogic platform, Reliance optimized
transaction throughput for its core applications and accelerated the
overall speed of processing loan transactions by up to 30 percent.
Previously, after 300 or 400 users were logged in, getting the
next session was a challenge, recalls Ravulapaty. Oracle Exalogic
is built for these kinds of challenges, especially when used in combi-
nation with Oracle WebLogic Server. Now we can support 500 con-
current sessions with no troubleand have tested the system for as
many as 5,000 users.
In addition, Oracle Cloud Application Foundation technolo-
gies enable Reliance to save significant time on provisioning and
deploying new servers.
Business users formerly had to wait at least six weeks to receive
a new server and then another two weeks to have it installed, says
Ravulapaty. Now, using cloud functionality from Oracle, they can
provision applications in just a few clicks and deploy them in less
than a day.
Oracle Cloud Application Foundation enables Reliance to utilize
public and private cloud services, anchored by a common middle-
ware infrastructure. Because Oracle uses open, standards-based
middleware technologies, once you standardize on that foundation
within your own data center, with your own private cloud, it is easy
to integrate public cloud services, Ravulapaty explains.
For example, Reliance utilizes Oracle CRM On Demand, a public
cloud service that is integrated with the companys core on-premises
lending systems and contact center applications. We have two public
cloud services and one on-premises private cloud that work together N
A
M
A
S
B
H
O
J
A
N
I
Oracle Cloud Application Foundation enables public and private cloud services, anchored by a common middleware infrastructure. Because Oracle uses open,
standards-based middleware technologies, once you standardize on that foundation within your own data center, with your own private cloud, it is easy to integrate
public cloud services, says Shashi Kumar Ravulapaty, senior vice president and chief technology officer at Reliance.
MJ14_CAF.indd 30 3/28/14 3:52 PM
ORACLE MAGAZINE MAY/JUNE 2014
31
in an integrated fashion, Ravulapaty con-
tinues. Having everything based on Oracle
Cloud Application Foundation gives us the
flexibility to integrate public and private
cloud services.
Ravulapaty touts the inherent efficiency
of Reliances new IT infrastructure: only
two people manage the core information
systems that support 2,000 people in 45
locations. Whats the reason for such an
efficient operation? According to Ravulapaty,
Oracle Exadata, Oracle Exalogic, Oracle
WebLogic, and many other parts of the
infrastructure can be managed through a
common Oracle Enterprise Manager console.
This consolidated perspective has also
enabled Reliance to resolve bottlenecks in
its business processes, such as critical batch
processes that previously took nearly 11
hours to complete. One key batch process
for loan approvals took 652 minutes to
run, Ravulapaty adds. After we ported our
information systems to Oracle engineered
systems, it only took 61 minutes.
PUBLIC FOUNDATION
According to Mike Lehmann, vice president
of product management at Oracle, while
the Oracle Cloud Application Foundation name is relatively new to
the Oracle Fusion Middleware family, its fundamental application
server, in-memory data grid, and web server technologies have
been tested and proven for many years. Clustering, virtualization,
and administrative automation allow organizations to scale their
Oracle Cloud Application Foundationsupported applications
incrementally and adjust resources to meet business priorities,
bolstered by advanced methods for cloud deployment, manage-
ment, and security, Lehmann notes.
These cloud capabilities are especially
popular among public sector organizations
such as VRSG, a nonprofit organization
that provides private cloud services to 260
municipal agencies in the German region of
eastern Switzerland. Known to Swiss citi-
zens as Verwaltungsrechenzentrum AG St.
Gallen, VRSG has developed e-government
applications to support taxation, residency
management, land use, facilities manage-
ment, accounting, and other administrative
functions for these Swiss municipalities.
Application development, integra-
tion, and hosting is VRSGs main business.
Looking to the future, Christian Manser,
head of operations and architecture at VRSG,
and his colleagues anticipated the need
for greater application hosting capacity,
particularly for their resident management
software application, which includes infor-
mation about Swiss citizens.
To support these requirements, VRSG
decided to modernize its technology stack
using Oracle Cloud Application Foundation.
First it developed Java Platform, Enterprise
Edition (Java EE) applications and
migrated them to Oracle WebLogic Server
in an Oracle Exalogic application server
environment. Then it upgraded its database assets to Oracle
Database 11g and installed them on an Oracle Exadata platform.
We needed a high-performance, multitenant environment
that could support numerous agencies and customers, says Neil
Swart, database administrator at VRSG. We compared Oracles
hardware and software systems against IBM mainframe and com-
modity Intel x86 systems. Our tests confirmed that our applica-
tions ran best on Oracle Exalogic and Oracle Exadata over an
InfiniBand network.
Many organizations look to cloud-based devel-
opment platforms to build and deploy new
applications quickly. Using these platforms may
save an IT department weeks or even months
of development and deploy ment time. But what
if application usage escalates beyond the
constraints of the chosen infrastructure? How
do you integrate public cloud applications with
on-premises applications? Is there any guaran-
tee of cloud-based application performance?
Oracle designed Oracle Java Cloud Service
to alleviate these concerns by enabling
businesses to take advantage of a proven,
standards-based infrastructure for implement-
ing cloud applications, complete with integrated
security and database access. Each Oracle Java
Cloud Service instance is built using Oracle
WebLogic Server and hosted on Oracle Exalogic,
an engineered system optimized to run Java
applications, Oracle Applications, and other
enterprise applications.
As a platform-as-a-service (PaaS) envi-
ronment, Oracle Java Cloud Service includes
subscription-based pricing; self-service pro-
visioning; and access to reliable, scalable, and
elastic cloud environments. Organizations can
use Oracle Java Cloud Service to build new Java
applications or extend software-as-a-service
(SaaS) applications deployed in Oracle Cloud.
The idea behind Oracle Java Cloud Service
is to provide an enterprise-grade platform
to develop and deploy business applications
in the cloud, notes Mike Lehmann, vice presi-
dent of product management at Oracle. Its a
proven strategy for developing and deploying
applications without the cost and complexity of
managing the underlying middleware, database
software, and infrastructure hardware. By utiliz-
ing this cloud service, businesses can maximize
productivity, with instant access to cloud envi-
ronments that support any Java EE application.
Oracle Java Cloud Service supports popular
development frameworks such as Oracle
Application Development Framework, Spring,
Hibernate, and EclipseLink. It integrates with
commonly used integrated development envi-
ronments (IDEs) including Eclipse, NetBeans,
and Oracle JDeveloper. Oracle Java Cloud Service
instances are created with just a few clicks , and
deployed applications use Oracle Database Cloud
Service as their underlying database.
Oracle Java Cloud Service
Reliance Commercial Finance
reliancecommercialfinance.com
Industry: Financial services
Headquarters: Mumbai, India
Employees: 2,000
Oracle products: Oracle Enterprise Manager,
Oracle Exadata, Oracle Exalogic Elastic Cloud,
Oracle WebLogic Suite, Oracle Advanced
Customer Support Services
VRSG
vrsg.ch
Industry: IT services/government
Headquarters: St. Gallen, Switzerland
Employees: 270
Oracle products: Oracle WebLogic Server,
Oracle Database, Oracle Exadata Database
Machine, Oracle Exalogic Elastic Cloud, Oracle
Real Application Clusters
TUI Travel PLC, Hotelbeds division
tuitravel.com
Industry: Travel and leisure
Headquarters: Palma de Mallorca, Spain
Oracle products: Oracle WebLogic Server,
Oracle Coherence, Oracle Database,
Oracle Exadata Database Machine, Oracle
WebCenter Content, Oracle JDeveloper,
Oracle JRockit
SNAPSHOTS
MJ14_CAF.indd 31 3/28/14 3:52 PM
MAY/JUNE 2014 ORACLE.COM/ORACLEMAGAZINE
32
W
I
L
L
Y
S
P
I
L
L
E
R
/
G
E
T
T
Y
I
M
A
G
E
S
Choosing the best solution, VRSG deployed the
new Oracle-based infrastructure at two data centers
approximately 10 km apart. VRSG uses Oracle Data
Guard to synchronize these mirrored environments
in an active/active failover architecture.
We leverage the complete power of Oracle
Exalogic and Oracle Exadata in both locations, with
one site for development, training, and acceptance testing and the
other for production, explains Manser. Both environments can
easily be switched from one site to the other.
The foundation of the VRSG infrastructure is now a private cloud
that allows hundreds of agencies to leverage economies of scale
while maintaining autonomy in overall governance. By utilizing
highly efficient cloud-based applications and services, these orga-
nizations are able to focus on their core charter of serving the public.
VRSGs residency management application and most other
e-government applications rely on Oracle Cloud Application
Foundation, and the Oracle technology is delivering better per-
formance and manageability. Performance improved across the
board, adds Manser. The applications on Oracle Exalogic, in par-
ticular, are very fastand simpler to maintain.
CACHED FOUNDATION
When TUI Travel PLC, one of the worlds leading travel services
companies, decided to aggregate all of its customer-facing business
applications onto a single application server platform, IT leaders
rallied around a common theme: standardization.
I like to standardize, says Facundo Rua, head of technology for
Activities, Transfers & Experiences at the Hotelbeds division of TUI
Travel PLC. I dont want to deal with multiple types of application
servers and caching solutions.
This philosophy of standardization became especially important
as the company grew and expanded its operations. Rua realized that
using open source application servers at Hotelbeds could be too
costly and complex to manage. In addition, the divisions middle-
tier database cache could not adequately support web traffic during
busy periods, such as holiday weekends.
After a rigorous evaluation process that included analyzing
the total cost of ownership of Oracle WebLogic Server 12c versus
open source application servers, the Hotelbeds division decided to
migrate its entire application ecosystem to Oracle WebLogic Server.
Additionally, TUI Travel opted to replace its open source caching
systems with Oracle Coherence 12.1.2, the in-memory data grid
of Oracle Cloud Application Foundation. According to Rua, Oracle
Coherence significantly outperformed other caching systems during
transactional tests prior to implementation.
Hotelbeds business operations require the efficient manage-
ment of large volumes of information. One important business
operation involves transferring passengers to and from airports,
hotels, and other destinationsa service that TUI provides to travel
agencies and tour operators.
We needed to restructure our transfers
product to offer more-efficient door-to-
door service, explains Rua. Previously we
only offered 8,000 transfer routes, but we
wanted to expand that number based on
GPS coordinates so we could offer virtu-
ally limitless door-to-door service. This
expansion would support our objective to
increase our transfer sales by 100 percent
during the current fiscal year.
Rua and his team created an Oracle
Coherence grid to store point-to-point
transfer information. Once we receive
GPS coordinates from a customer, we
are able to offer the product and selling
price to or from that precise location,
explains Rua. The information is created
in Oracle Database and pushed into Oracle
Coherence using the Oracle Coherence
GoldenGate HotCache feature. Instead
of just 8,000 fixed routes, we now can
support an infinite number of routes based
on any GPS coordinates.
Buoyed by the success of the Transfers
VRSG deployed a new Oracle-based infrastructure at two data centers. We leverage the complete power of
Oracle Exalogic and Oracle Exadata in both locations, with one site for development, training, and acceptance
testing and the other for production, says Christian Manser, head of operations and architecture at VRSG.
The applications on Oracle Exalogic,
in particular, are very fastand
simpler to maintain.
Christian Manser, Head of Operations and Architecture, VRSG
MJ14_CAF.indd 32 3/28/14 3:53 PM
ORACLE MAGAZINE MAY/JUNE 2014
33
project, Rua and his team decided to use Oracle Coherence to cache
information related to its activities and rental car businesses as well.
The results were amazing, continues Rua. Previously we
could process 400 requests per second at peak load. With Oracle
Coherence we can handle 3,000 requests per second or more, and
we are seeing response times between 7 and 15 milliseconds. It is a
true performance breakthrough.
Scaling these applications is easier as well: Rua estimates that
TUI can support a 50-fold increase in traffic with its Oracle infra-
structure. Without the capacity to support 50 times more traffic
and respond to 3,000 or more requests per second, meeting
our growth objectives would have been impossible, he notes.
Standardizing on Oracle WebLogic has simplified our IT environ-
ment and allowed us to deploy new applications more quickly. We
have been able to provide services that our customers didnt have
before. Being able to provide access to these services in milliseconds
has been amazing.
CONCLUDING FOUNDATION
As organizations implement cloud environments to host critical
business workloads, scalability, reliability, availability, and elasticity
become more and more important. It all comes together in Oracle
Cloud Application Foundation, concludes Oracles Lehmann.
Hundreds of thousands of customers run their workloads on Oracle
Fusion Middleware products, and even if they arent yet imple-
menting clouds, Oracle enforces standards that set up customers
for successful cloud deployments down the road. Thats how these
middleware products will continue to evolve.
David Baum is a freelance writer who specializes in the intersection of
science, technology, and culture.
LEARN more about
Oracle Cloud Application Foundation
oracle.com/us/products/middleware/cloud-app-foundation
Oracle Exalogic Elastic Cloud
oracle.com/us/products/middleware/exalogic
WATCH Getting Started with the Oracle Java Cloud Service
bit.ly/1dk38k3
NEXT STEPS
Standardizing on Oracle WebLogic has simplified our IT environment and allowed us to deploy new applications more quickly. We have been able to provide services
that our customers didnt have before, says Facundo Rua, head of technology for Activities, Transfers & Experiences at Hotelbeds.
A
D
A
M
L
U
B
R
O
T
H
/
G
E
T
T
Y
I
M
A
G
E
S
MJ14_CAF.indd 33 3/28/14 3:53 PM
YOUR DESTINATION FOR ORACLE AND JAVA EXPERTISE
Written by leading technology professionals, Oracle Press books offer the most definitive,
complete, and up-to-date coverage of Oracle products and technologies available.
www.OraclePressBooks.com @OraclePress OraclePress
Available in print and eBook formats
OCP Upgrade to Oracle Database 12c
Exam Guide
Sam Alapati
This self-study tool covers OCP Exam
1Z0-060. Electronic content includes
two practice exams and a PDF copy of
the book.
OCA Oracle Database 12c Installation
and Administration Exam Guide
John Watson
Get complete details on all objectives
for OCA Exam 1Z0-062. Electronic
content includes two practice exams
and a PDF copy of the book.
Oracle WebLogic Server 12c
Administration Handbook
Sam R. Alapati
Maintain a high-performance
enterprise application framework
using the latest management tools
and techniques.
Oracle Database Appliance:
A Hands-On Guide
Ravi Sharma
Streamline deployment,
maintenance, and support of a
highly available database solution.
Middleware Developer 35 BUSINESS ANALYTICS BY MARK RITTMAN
ORACLE MAGAZINE MAY/JUNE 2014
Go with the Flow
Oracle Data Integrator 12c delivers new flow-based
mappings and deployment specifications.
O
racle Data Integrator 12c introduces
several new tools aimed at increasing
developer productivity, improving data
loading performance, and enabling closer
integration with Oracle Fusion Middleware.
Probably the most exciting of these
new tools, particularly for users of Oracle
Databases Oracle Warehouse Builder feature
who are looking to upgrade to Oracle Data
Integrator, is the new flow-based mapping
editor. While the more traditional set-based
mappings are still supported by Oracle Data
Integrator, the flow-based user interface
enables you to create rich multistep map-
pings that move and transform data by using
a palette of mapping operators.
Oracle Technology Network has also
made the Oracle Data Integrator 12c
Getting Started appliancean Oracle VM
VirtualBoxavailable; you can download it
to your development environment and use
it to try out the new tools in Oracle Data
Integrator 12c without having to separately
install and configure all the components.
(Note that this appliance is meant for testing
and training purposes only and is not sup-
ported for use in production environments.)
CREATING A FLOW-BASED MAPPING
In this example, I explore one of the new flow-
based mappings within the sample Oracle
Data Integrator 12c project in the Oracle
Data Integrator 12c Getting Started Oracle
VM VirtualBox appliance. I demonstrate how
mappings include source and target data
store objects and make use of mapping oper-
ators to filter, aggregate, sort, and otherwise
transform data. I also take a look at the new
deployment specification capability within
Oracle Data Integrator 12c that enables you
to create more than one physical specifica-
tion for a mapping so you can create a single
mapping definition that handles initial as well
as incremental loading scenarios.
If you have not done so already,
download the Oracle Data Integrator 12c
Getting Started appliance from the Oracle
Technology Network website at bit.ly/
1fgfdpn and follow the instructions to
extract the Oracle VM VirtualBox appliance
files and log in to the appliance. (This dem-
onstration appliance includes a partially
created Oracle Data Integrator 12c project
within the work repository.) Once youve
installed and logged in to the appliance,
double-click the Oracle Data Integrator 12c
Studio icon on the desktop and, when
Figure 1: The Oracle Data Integrator 12c mapping editor
ORACLE DATA INTEGRATOR 12c
MJ14_BA.indd 35 3/28/14 11:31 AM
36 BUSINESS ANALYTICS
MAY/JUNE 2014 ORACLE.COM/ORACLEMAGAZINE
prompted, connect to the Oracle Data
Integrator work repository.
To get started with flow-based mappings
in the Oracle Data Integrator 12c Getting
Started appliance, do the following:
Navigate to the Oracle Data Integrator
Designer Navigator tab on the left-hand
side of Oracle Data Integrators Studio user
interface (Oracle Data Integrator Studio),
and then expand the Demo project under-
neath it. Expand the Sales Administration
folder within this project and then the
Mappings entry to display the list of map-
pings within the project.
Locate the Pop.TRG_PRODUCT mapping,
and double-click it to open it within the
mapping editor. Ensure that the Logical tab
is selected at the bottom of the mapping
editor screen, as shown in Figure 1.
If youve used Oracle Warehouse Builder
in the past, the flow-based mapping style
in the mapping editor should be very
familiar to you. You now create Oracle Data
Integrator 12c mappings by dragging and
dropping data store items from the Models
panel on the left-hand side of the screen
onto the mapping canvas. Data flows are
drawn between the various data stores, and
operator components transform the data.
In this example, data from the SRC_
PRODUCTS table is joined with data from
the TRG_PROD_FAMILY table, and then it is
passed through a Distinct operator before
being loaded into the TRG_PRODUCT
target table.
Lets try to execute the mapping. Click
Run (the green triangle) in the Oracle Data
Integrator Studio toolbar, leave the default
Run option values, and click OK. When the
Information dialog box displays the Session
Started message, click OK to dismiss it.
To see the status of the mapping
execution, select Window -> ODI Operator
Navigator (you may need to close the
Thumbnail panel at the top left of the screen
to see the Operator Navigator properly after
it opens). Expand the Agent entry on the
Session List panel, and then expand the
entries under your agent execution, so that
you can see the 90 Load TRG_PRODUCT
IKM Oracle Insert entry. See how the execu-
tion of this step has failed? Double-click
the step itself, and read the error message;
it is displayed on the right-hand side of the
screen. You will see that it failed because of
a unique constraint violation on the target
table. But why did that happen?
To investigate, click back to the Pop
.TRG_PRODUCT tab on the right-hand side of
the screen in Oracle Data Integrator Studio
to open the mapping editor again. Ensure
that the Logical tab is still selected, and then
click the TRG_PRODUCT data store in the
mapping to select it. Navigate to the TRG_
PRODUCT Properties panel at the bottom
right of the screen, and expand the Target
properties section, as shown in Figure 2.
The integration type for this mapping is
Control Append, which means that Oracle
Data Integrator will always insert all the
rows from the source transformations into
the target table, even if theyve already been
loaded. This is why the target tables unique
key constraint was violated and the mapping
execution failed. This type of integration
approach is appropriate when youre first
loading a target table, but after the initial
load, youll typically want to incrementally
update the table with new data.
CREATING A DEPLOYMENT SPECIFICATION
Oracle Data Integrator separates mappings
into logical and physical definitions. To con-
figure the failed mapping for incremental
loading, I would typically change the inte-
gration knowledge module to one that uses
an incremental load strategyIKM Oracle
Merge, for example. If I wanted to preserve
the original Control Append version of the
mapping in earlier versions of Oracle Data
Integrator, I needed to create an additional
copy of the mapping that used the incre-
mental load knowledge module. And if I
wanted to continue using both mappings, I
then needed to keep the logical definition of
each mapping in sync over time.
Oracle Data Integrator 12c, however,
introduces a new enhancement called
deployment specifications that enables you
to create additional physical definitions
for a single mapping. Ill now use this
enhancement to create an additional incre-
mental load version of the mapping that I
can use to update the target table after the
initial load.
To get started with deployment speci-
fications in the Oracle Data Integrator 12c
Getting Started appliance, do the following:
Before you create the new deployment
specification, you will need to change the
target Integration Type setting in the logical
mapping definition to enable incremental
loading as well as Control Append loading.
Figure 2: Displaying the properties of the TRG_PRODUCT data store
MJ14_BA.indd 36 3/28/14 11:32 AM
37 BUSINESS ANALYTICS
ORACLE MAGAZINE MAY/JUNE 2014
To do so, switch back to the
Logical tab in the mapping
editor, navigate to the
Integration Type setting in
the TRG_PRODUCT
Properties panel, and
change the selected value
from Control Append to
None; this enables the full
range of integration types
to be selected for that
target table in the physical
mapping definition.
Now switch to the Physical
tab for the mapping, and
click the TRG_PRODUCT data
store icon in the ODI_DEMO_
TRG_UNIT execution unit
to select it. Navigate to the
TRG_PRODUCT Properties
panel on this screen, and
expand the Integration
Knowledge Module properties area. Note
how the Integration Knowledge Module value
has automatically changed to IKM Oracle
Merge.GLOBAL. Change it back to IKM SQL
Control Append, so that the functionality of
this original deployment specification stays
as it was before.
Now navigate to the bottom of the
mapping editor and click the Create new
deployment specification button next to the
existing Pop.TRG_PRODUCT_DS tab.
By default, the new deployment specifi-
cation is given the name Deploy1. To change
it, navigate to the Deploy1 Properties
panel on the right-hand side of the screen
and change the Name property to Pop
.TRG_PRODUCT_INCR_DS.
Youve created an additional deployment
specification, and now you can configure
it to use an incremental load integration
knowledge module. To do so, click the
TRG_PRODUCT data store icon in the ODI_
DEMO_TRG_UNIT execution unit and then,
when its Properties panel is displayed, check
that the Integration Knowledge Module
value is set to the default IKM Oracle Merge
.GLOBAL, as shown in Figure 3.
Now your mapping has two physical defi-
nitions associated with it: one for the initial
load and one for subsequent incremental
(merge) loads. To test your new deployment
specification, save your updated mapping
definition and click Run. When the Run
dialog box appears, select your new deploy-
ment specification from the Deployment
menu to use it for the mapping execution.
Check the Oracle Data Integrator
Operator Navigator panel; you should see
this mapping execution complete success-
fully, because it will not have attempted to
write existing values back into the target
table. You could also use this approach
to create deployment specifications that
leverage Oracle GoldenGate for changed-
data capture or use other loading, integra-
tion, or check knowledge modules for a
logical source-to-target data mapping.
MAPPED AND SPECIFIED
The new flow-based mapping editor in
Oracle Data Integrator 12c enables you to
create multistep source-to-target mappings
that can have multiple physical specifica-
tions associated with them for different
types of load scenarios. Although you can
still create traditional set-based mappings
in the new release, most developers will
want to adopt this new way of mapping
data in Oracle Data Integrator 12c, due to
its ease of use, increased functionality, and
incorporation of the best aspects of Oracle
Warehouse Builder.
Figure 3: Configuring the additional deployment specification
READ more about Oracle Data
Integrator 12c
bit.ly/Phe3Rd
Making the Move from Oracle
Warehouse Builder to Oracle Data
Integrator 12c
bit.ly/1lMgurQ
READ more Rittman
Rittman Mead blog
rittmanmead.com/blog
Oracle Magazine business
intelligence columns
bit.ly/1cci4Od
DOWNLOAD
Oracle Data Integrator 12c Getting
Started appliance (VM)
bit.ly/1fgfdpn
Oracle Data Integrator 12c
bit.ly/NeIDsI
NEXT STEPS
Mark Rittman is an
Oracle ACE Director and
cofounder of Rittman
Mead, an Oracle Gold
Partner based in the UK,
with offices in the US,
India, and Australia. Rittman has worked with
Oracles business intelligence, data integration,
and data warehousing products for more than
15 years, and he writes for the Rittman Mead
blog at rittmanmead.com/blog.
MJ14_BA.indd 37 3/28/14 11:32 AM
Database Application Developer and DBA 39 SQL DEVELOPER BY JEFF SMITH
ORACLE MAGAZINE MAY/JUNE 2014
Document Entities
Generate logical models and entity relationship
diagrams easily from an existing database with
Oracle SQL Developer Data Modeler.
W
ithout adequate design documen-
tation, it can be difficult for your
Oracle Database applications stake-
holders to understand how the database
entities are defined and how they interact
with one another. A logical modelrepre-
sented by an entity relationship diagram
(ERD)clarifies these definitions and rela-
tionships. For example, an ERD can show
at a glance that multiple departments can
be associated with an employee or that a
country can include one or more locations.
Oracle SQL Developer Data Modeler
automatically included as an extension in
Oracle SQL Developer (and also available
in a standalone version)makes it easy to
produce ERDs and share them with others
who need to review or approve the data-
base design.
This column steps you through the
process of creating a relational data model
from an existing database and then con-
verting the relational model to a logical
model and a resulting ERD, such as the one
in Figure 1. After you generate the diagram,
youll see how you can customize your dia-
grams and share them in various formats
with your colleagues.
GETTING STARTED
To work through the example, you need
an Oracle Database instance with the
sample HR schema thats available in
the default database installation. You
also need version 4.0 of Oracle SQL
Developer, in which you access Oracle SQL
Developer Data Modeler through the Data
Modeler submenu, as shown in Figure 2.
Alternatively, you can use the standalone
Oracle SQL Developer Data Modeler. The
modeling functionality is identical in
the two implementations, and both are
available as free downloads from Oracle
Technology Network.
In Oracle SQL Developer, select View ->
Data Modeler > Browser. In the Browser
panel, select the Relational Models node,
right-click, and select New Relational Model
to open a blank model diagram panel.
Youre now starting at the same place as
someone whos using the standalone Oracle
SQL Developer Data Modeler.
IMPORTING YOUR DATA DICTIONARY
A design in Oracle SQL Developer Data
Modeler consists of one logical model
and one or more relational and physical
models. To begin the process of creating
your design, you must import the schema
information from your existing database.
Select File -> Data Modeler -> Import
-> Data Dictionary to open the Data
Dictionary Import wizard.
Click Add to open the New -> Select
Database Connection dialog box, and
connect as the hr user. (For detailed
information on creating a connection
ORACLE SQL DEVELOPER, ORACLE SQL DEVELOPER DATA MODELER
Figure 1: Entity relationship diagram
MJ14_SQLDev_R1.indd 39 4/8/14 11:30 AM
40 SQL DEVELOPER
MAY/JUNE 2014 ORACLE.COM/ORACLEMAGAZINE
from Oracle SQL Developer, see Making
Database Connections, in the May/
June 2008 issue of Oracle Magazine
[bit.ly/1kcO8mZ].)
Select your connection, and click Next.
You see a list of schemas from which
you can import. Type HR in the Filter box
to narrow the selection list. Select the
checkbox next to HR, and click Next.
In the Tables tab, click the Select All
toolbar button to select all tables for import,
as shown in Figure 3.
Now, open the Views tab and select
the HR checkbox. For this exercise, youll
import only the tables and views from the
HR schema. For your own applications, you
can cycle through each object-type tab and
select any objects you want to include in
your model and diagrams.
Click Next. Oracle SQL Developer
Data Modeler summarizes the types and
numbers of objects to be imported. Click
Finish to execute the import and generate
the design.
Close the View Log and take a look at your
new relational model and diagram, which
should look similar to Figure 4.
The diagram youve generated is not an
ERD. Logical models are higher abstractions.
An ERD represents entities and their attri-
butes and relations, whereas a relational or
physical model represents tables, columns,
and foreign keys. For example, a logical
person entity might be implemented phys-
ically in the database as one or more tables.
To generate a logical model from your
relational model, youll use the Engineer
to Logical Model feature of Oracle SQL
Developer Data Modeler. Before con-
tinuing, save your relational diagram with
a name of your choosing (File -> Data
Modeler -> Save). The same name will be
used for the design.
ENGINEER TO LOGICAL MODEL
In the Browser tree, expand the Relational
Models node, right-click Relational_l, and
select Engineer to Logical Model to open
the Engineer to Logical Model dialog box.
By default, everything in the relational-
model tree (on the left) is brought over
to the logical-model tree (on the right)
for you. Note that as you select an item in
either tree, its details appear in the bottom
panel. You can also view the objects in the
Tabular View tab.
When you are ready to generate your
logical model, click Engineer and wait for
the ERD to appear. You now have a logical
model and diagram. Note that the JOBS_
HISTORY table is the JOBS HISTORY entity
in the logical model.
Before you share your diagram, you can
customize its appearance and the informa-
tion it shows.
CUSTOMIZING THE DIAGRAM
To resize the entity objects to be only large
enough to show their names and attri-
butes, right-click in the blank portion of the
diagram and select Resize Objects to Visible.
You can use your mouse to select, drag,
and drop entities and their relationships to
wherever you want them to appear. Oracle
SQL Developer Data Modeler also offers
four automatically generated diagram
object layouts. Right-click in the diagram
space again, and select one of the Auto
Layout options.
Oracle SQL Developer Data Modeler sup-
ports three styles of logical-design notation:
Barker (the default)
Bachman
Information Engineering
To change the notation style, right-click
in the diagram space and select Bachman
Notation. Note that Bachman notation
Figure 3: Selecting all tables for import
Figure 2: The Data Modeler submenu in
Oracle SQL Developer
MJ14_SQLDev_R1.indd 40 4/8/14 11:31 AM
41 SQL DEVELOPER
ORACLE MAGAZINE MAY/JUNE 2014
adds the attribute datatype information to
the diagram. Resize the objects to visible,
and cycle through the Auto Layout options
to optimize the spacing and display of the
entities again.
Your business users may have con-
flicting requirements for the look and feel
of their diagrams. You can create multiple
displays in Oracle SQL Developer Data
Modeler. Each display is an independent
visual presentation of your model diagram.
Now youll create one display for each
notation style.
In the Logical Model tree in the Browser,
right-click the Displays node and select
New Display to create a new diagram
display. You can use the buttons below
your ERD to toggle between this new
display (labeled Display_1) and the original
diagram (labeled Logical). Right-click in
Display_1, and change the notation style
back to Barker.
Expand the Displays node in the Browser
tree, right-click on the Display_1 node,
Figure 4: Relational model and diagram for HR
MJ14_SQLDev_R1.indd 41 4/8/14 11:33 AM
42 SQL DEVELOPER
MAY/JUNE 2014 ORACLE.COM/ORACLEMAGAZINE
and select Properties. Change the name to
Barker, and click OK. Repeat the process in
the preceding paragraph to create another
new display. This time change the nota-
tion style to Information Engineering and
reflect this change in the display name.
Finally, youll add a legend that will help
document the diagram by showing your OS
username, creation date, and other proper-
ties of the design. Right-click in the diagram
space in any one of the displays, and select
Show -> Legend to add the legend to your
diagram. Drag and drop the legend to an
acceptable location in the diagram.
You are now ready to share your ERDs
with your colleagues.
EXPORTING AN ERD
Youll export the Information Engineering
display to a PDF document. Right-click in the
diagram space, and select Show -> Page Grid
to activate a marker that shows where your
PDF page breaks will occur. For readability,
make sure that your diagram items dont
bleed from one page into another; drag and
move them if necessary.
Next use the Zoom In button in the
Oracle SQL Developer Data Modeler toolbar
to resize the diagram to an optimal size.
When the entities are easy to see, select
File -> Data Modeler -> Print Diagram -> To
PDF File. Choose a filename and directory
location, and click Save.
Locate the generated PDF in its saved
location. You can view the ERD in a PDF
reader, as shown in Figure 5, and share the
file with your colleagues.
CONCLUSION
This column has stepped you through the
process of using the Data Dictionary Import
wizard and the Engineer to Logical Model
feature in Oracle SQL Developer Data Modeler
to generate an ERD from existing schema
objects. Youve seen how the import wizard
enables you to choose objects from multiple
schemas and object types from an existing
database. You can now convert a relational
model to a logical model, customize your dia-
grams, and then share them as PDFs. Oracle
SQL Developer Data Modeler makes database
design documentation and diagram genera-
tion a straightforward task without requiring
expensive third-party tools.
LEARN more about
Oracle SQL Developer
bit.ly/1evd08S
Oracle SQL Developer Data Modeler
bit.ly/1f0dLDI
DISCUSS
Oracle SQL Developer
bit.ly/Ni8pwF
Oracle SQL Developer Data Modeler
bit.ly/1cuEhEv
PARTICIPATE in the
Oracle SQL Developer Exchange
sqldeveloper.oracle.com
DOWNLOAD
Oracle SQL Developer
bit.ly/tGl3GL
Oracle SQL Developer Data Modeler
bit.ly/NvIHVg
NEXT STEPS
Figure 5: The exported diagram matches the size shown in Oracle SQL Developer Data Modeler.
Jeff Smith is a senior principal product manager
in the Database Development Tools group
responsible for Oracle SQL Developer and Oracle
SQL Developer Data Modeler. Smith specializes
in database tools and integrated development
environments, and he is obsessed with helping
developers save time, clicks, and keystrokes.
MJ14_SQLDev.indd 42 3/28/14 11:44 AM
DBA 43
ORACLE MAGAZINE MAY/JUNE 2014
PARTITIONING BY ARUP NANDA
Nonstop Partition
Operations
Oracle Partitioning delivers online partition moves,
selective indexes on partitions, and asynchronously
maintained global indexes to Oracle Database 12c.
T
he lead DBA at Acme Bank, Jane, is
listening to questions from her devel-
oper and DBA visitors. As covered in the
September/October 2006 Oracle Magazine
article Partition Decisions (bit.ly/H9fhZL),
Acme uses the Oracle Partitioning option
of Oracle Database 12c extensively. When
data needs to be purged, Acme DBAs drop
the partitioninstead of deleting tablesto
reduce database overhead. To move older
data to archive tables, Acme exchanges par-
titions instead of physically moving them,
and when rebuilding indexes, Acme rebuilds
the indexes partition by partition. In general,
Acme is very happy with Oracle Partitioning
features, but Janes visitors want to know if
new partition features in Oracle Database
12c can address some routine pain points
theyve been experiencing.
Jane nods and asks her visitors where
they want to start.
ONLINE PARTITION MOVE
Scott, the development lead, responds by
describing the first problem. Acme has a
database table named TRANS for storing
account transactions; it is partitioned on
the transaction date (TRANS_DT) column
and adds one new partition per month. The
table has a global index on the transaction
ID (TRANS_ID) column and a local index
on the account number (ACC_NO) column.
(Listing 1 includes a script that creates the
table and indexes.)
To reduce costs, Acme uses different types
of storage. The newer partitionsaccessed
most oftenare stored in the TSFAST
tablespace, which is on very fast, expensive
storage, whereas the older partitions
accessed less frequentlyare stored in the
TSSLOW tablespace on slower, less expen-
sive storage. At the end of each month, the
DBAs move the previous months partition
to the TSSLOW tablespace to make room for
the new month on the TSFAST tablespace.
The problem, Scott explains, is that when
the partition is moved to the TSSLOW
tablespace, the partition being moved stays
in read-only mode, so no data manipulation
language (DML) can execute against that
partition until the move command finishes
executing. Because Acmes applications
perform DML against the TRANS table
including the moving partitionScott has to
bring the applications down until the parti-
tion move is completed, to the displeasure of
the application users.
ORACLE DATABASE 12c, ORACLE PARTITIONING
create table trans (
trans_id number,
trans_dt date,
acc_no number,
trans_amt number
)
partition by range (trans_dt)
(
partition y13m11 values less than (to_date('2013-12-01','yyyy-mm-dd')) tablespace tsslow,
partition y13m12 values less than (to_date('2014-01-01','yyyy-mm-dd')) tablespace tsslow,
partition y14m01 values less than (to_date('2014-02-01','yyyy-mm-dd')) tablespace tsfast
);
-- Indexes: PK_TRANS global IN_TRANS_ACC_NO - local
create unique index pk_trans on trans (trans_id) global tablespace tsglobal
/
alter table trans add constraint pk_trans primary key (trans_id) using index
/
create index in_trans_acc_no on trans (acc_no) local
(
partition y03m11 tablespace tsslow,
partition y03m12 tablespace tsslow,
partition y04m01 tablespace tsfast
);
Code Listing 1: Creation of the TRANS table and its indexes
I
-
H
U
A
C
H
E
N
MJ14_DBA.indd 43 3/28/14 12:02 PM
44 DBA
MAY/JUNE 2014 ORACLE.COM/ORACLEMAGAZINE
Scott wants to know if there is a better
way to move the partitions without having
an impact on the application users. Yes,
there is, assures Jane. In Oracle Database
12c, partition movement does not require
the partition being moved to be in read-only
mode, so it can be 100 percent available for
DML during the move. To demonstrate that
availability, she steps through an example.
First, because the new month is February,
she creates the partition for February 2014
(named Y14M02) on the TSFAST tablespace,
using the following SQL statement:
alter table trans add partition y14m02
values less than (to_date('2014-
03-01','yyyy-mm-dd')) tablespace tsfast;
Next she moves the partition for January
2014 to the TSSLOW tablespace with the fol-
lowing SQL statement:
alter table trans move partition y14m01
tablespace tsslow update indexes;
Jane reminds her visitors that the
UPDATE INDEXES clause in the SQL state-
ment ensures proper updating of global as
well as local indexes to avoid making them
unusable. Scott quickly points out that
the same UPDATE INDEXES clause is what
makes the Y14M01 partition of the TRANS
table read-only. Only some queries against
this partition will work during the move,
whereas other DML operations will hang,
waiting for the DML lock on the partition
to be released. Scott wants to know if its
possible to allow all DML operations on the
TRANS table during the partition move.
Jane nods and explains that in Oracle
Database 12c, a new clause enables this move
to be completely online, with all DML opera-
tions available. After asking Scott not to stop
the Acme applications that use the TRANS
table, she performs the partition move oper-
ation, using the following SQL statement:
alter table trans move partition y14m01
tablespace tsslow online update indexes;
What keeps the partition online during
the move, Jane points out, is the ONLINE
keyword in the statement. This keyword
enables the move partition operation to
occur online without requiring the applica-
tions to shut down or limiting operations
to read-only queries. Scott is pleased, but
he wants to confirm the status of the global
index and the partitions of the local index on
this table. First Jane checks the status of the
global index, using the following query:
select status
from user_indexes
where index_name = 'PK_TRANS';
STATUS
VALID
The status shows VALID, meaning exactly
that: the global index is still valid and does
not need rebuilding. Next, she checks the
status of the partitions of the local index,
using the following query:
select partition_name pname, status
from user_ind_partitions
where index_name = 'IN_TRANS_ACC_NO';
PNAME STATUS
Y03M11 USABLE
Y03M12 USABLE
Y04M01 USABLE
The status of all the partitions of the local
index is USABLE after the partition move,
meaning that they do not need rebuilding.
The partition move completes while the
applications are up and running and all the
DML activities on the table are going on
as usual. Because the operation of moving
the partitions to slower tablespaces takes
several hours and occurs once every month,
Acme used to incur substantial losses during
these activities due to the resulting applica-
tion shutdown. With the ability to move a
partition while it stays online, the table can
continue to handle DML operations, and
applications can stay up during the monthly
partition moves. Scott is delighted.
PARTIAL INDEXES
With Scotts issue resolved, Jane turns to
Traci, another DBA, who has a different
concern. The users select data from the
TRANS table by filtering on several columns,
so the DBAs are asked to create multiple
indexes on various columns of the table.
However, indexes consume precious data-
base space. When the DBAs try to save space
by not creating some of the indexes, the
queries filtering on those columns perform
poorly. Users typically select from more-
recent partitions, so DBAs try to save some
space by compressing the older partitions of
the indexes, but the total space consump-
tion is significant even with the compres-
sion. Space limitations force the DBAs to
drop indexes on some columns to make
room for new indexes on other columns,
and there is a constant tug-of-war between
the development and DBA teams due to the
issue of index creation on columns. Traci
wants to know if there is a way to create as
many indexes as needed and still save space.
Yes, there is, assures Jane. Indexes,
when created, are for all the partitions of
the table, whether or not they are useful for
all of them. Oracle Database 12c includes
a new feature called partial indexes, she
explains, that enables the DBA to create
indexes on specific partitions only, rather
than on all of them. Pointing to the afore-
mentioned TRANS table, Traci advises that
the partitions of the current month and
the previous month are usually queried a
lot. Partitions for the prior months are not
queried as much, and when they are, users
are relatively patient about the reduced
performance if the indexes are not present.
With this information, Jane goes on to mark
partitions where an index is needed and
where it can be eliminated, as shown in the
following SQL:
alter table trans modify partition
y13m11 indexing off;
alter table trans modify partition
y13m12 indexing on;
alter table trans modify partition
y14m01 indexing on;
The INDEXING OFF clause tells the
database that an index is not needed on
that partition and should not be created.
Because only the current partition (Y14M01)
and the prior months partition (Y13M12) are
MJ14_DBA.indd 44 3/28/14 12:02 PM
45 DBA
ORACLE MAGAZINE MAY/JUNE 2014
queried often, indexes on those partitions
will be useful. Therefore Jane marks those
partitions with the INDEXING ON clause
and the rest with INDEXING OFF.
Next Jane creates a local index on the ACC_
NO column, as shown in the following SQL:
create index in_trans_acc_no on trans
(acc_no) local indexing partial;
She points out the very important
INDEXING PARTIAL clause in this SQL state-
ment, which instructs Oracle Database
not to create indexes on all the partitions
of the TRANS table. This clause enables
index creation for only those partitions with
INDEXING set to ON. No usable index is
created on the partitions with INDEXING set
to OFF. To confirm the result of the settings,
Jane selects the partitions of the newly
created IN_TRANS_ACC_NO index, using the
following SQL:
select partition_name pname, status
from user_ind_partitions
where index_name = 'IN_TRANS_ACC_NO';
PNAME STATUS
Y13M11 UNUSABLE
Y13M12 USABLE
Y14M01 USABLE
As expected, there are three partitions
in this local index, because there are three
partitions in the TRANS table. However,
Jane reminds everyone, the presence of
index partitions does not necessarily
prove that the index partitions are actually
stored; it is the state of an index partition
that is important. Segments are physical
objects that take up space, so Jane checks
for the presence of segments for the
IN_TRANS_ACC_NO index, using the fol-
lowing SQL:
select partition_name pname
from user_segments
where segment_name = 'IN_TRANS_ACC_NO';
SQL> set autot traceonly explain
SQL> REM --- First Query (partition WITHOUT index)
SQL> select * from trans where acc_no = 1
and trans_dt = to_date('13-NOV-2013','dd-mon-yyyy');
Execution Plan
Y13M12
Y14M01
Drawing everyones attention to the
output, Jane points out that there are only
two segmentsnot three. Even though
there are three index partitions, only two
have corresponding stored segments. The
third index partition (Y13M11) does not have
a stored segment, because Jane marked that
table partition with INDEXING OFF, making
the index status UNUSABLE and causing it
not to consume any space.
Although less frequently, users also run
queries that filter on the ACC_NO column,
and the queries may access data from
the Y13M11 partition. Because that index
partition does not have a corresponding
segment, Traci wants to know if these
queries will return errors. Fair question, says
Jane. The answer is simple: the database will
act appropriately, depending on the pres-
ence of the segment: queries on partitions
with index segments will perform index
scans, and those on partitions without
index segments will perform full table
scans automatically. Jane demonstrates this
behavior by displaying the access paths of a
query, as shown in Listing 2. The first query
filters on the TRANS_DT column by
to_date('13-NOV-2013','dd-mon-yyyy')
The query selects data from the Y13M11
partition, where indexing is off (INDEXING
OFF) and there is no index segment. Jane
shows everyone that the query performed
a full table scan, as evidenced by TABLE
ACCESS FULL in the access path, right after
the query in the output. Next she executes
another query; this one selects from the
Y13M12 partition, which has indexing on
(INDEXING ON) and therefore has an index
segment. Here the query performed an index
scan, as shown by TABLE ACCESS BY LOCAL
INDEX ROWID BATCHED in the output.
Traci is not completely convinced. She
wonders what happens when a query selects
from two partitionsone with an index par-
tition and one without. Its handled auto-
matically, assures Jane. Oracle Database 12c
transparently rewrites the query in two
parts, she explains, one using the index for
the partition where an index is present and
the other one using a full table scan when
no index is present. The two parts are con-
nected by UNION ALL.
Traci asks if the Acme DBAs need to drop
all the indexes and re-create them with the
INDEXING PARTIAL clause. There are a lot
of indexes, and rebuilding them would take
a long time. No rebuilding is necessary,
Jane assures her. An existing index such as
IN_TRANS_ACC_NO can be transformed
with the following SQL:
alter index in_trans_acc_no indexing
partial;
To recap, Jane continues, the INDEXING
clause (INDEXING ON or INDEXING OFF)
specifies whether the index partition on a
table will actually have stored segments.
For queries that could use an index, the
optimizer will automatically choose the
index if its appropriate and available for
that partition and will use a full table scan
otherwise. Not storing the index partitions
of the less frequently used table partitions
reduces the amount of index storage. This
enables Traci to create as many indexes
as are needed by users at Acme. The older
partitions will not have space-consuming
indexes, but the more-recent partitions
will have indexes, so queries on that recent
information will perform better. This is a
win-win for both the DBA and the develop-
ment teams, because they will get better
performance with indexes being in the right
places and not incurring a significant space
penalty. Traci is ecstatic.
ASYNCHRONOUS GLOBAL INDEX
MAINTENANCE
Jonas, another DBA visitor in Janes office,
brings up a pain point he is experiencing,
again in the realm of partition management
and indexes. When Acme drops an old parti-
tion from tables during data purging, it uses
the following SQL:
alter table trans drop partition y13m11;
However, this operation changes
the global index status on this table to
UNUSABLE. Jonas demonstrates this to Jane
and her visitors, using the following query:
select status
from user_indexes
where index_name = 'PK_TRANS';
STATUS
UNUSABLE
SQL> set autotrace traceonly explain
SQL> select * from trans where trans_id = 1;
Execution Plan
SELECT "A1"."USERNAME"
"USERNAME","A1"."USER_ID"
"USER_ID","A1"."CREATED"
"CREATED","A1"."COMMON" "COMMON" FROM
(SELECT "A4"."NAME"
"USERNAME","A4"."USER#"
"USER_ID","A4"."CTIME"
"CREATED",DECODE(BITAND("A4"."SPARE1",12
8),128,'YES','NO') "COMMON" FROM
"SYS"."USER$" "A4","SYS"."TS$"
"A3","SYS"."TS$" "A2" WHERE
"A4"."DATATS#"="A3"."TS#" AND
"A4"."TEMPTS#"="A2"."TS#" AND
"A4"."TYPE#"=1) "A1"
As you can see, the new EXPAND_SQL_
TEXT procedure in the DBMS_UTILITY
package delivers SQL text expansion and
makes discovery of the actual query being
executed rather easy.
SQL text expansion is not limited to
views, either. Often you have to tune a
query that is being rewritten by Oracle
Virtual Private Database and you need to
understand what the real SQL text is to
begin to tune it. EXPAND_SQL_TEXT helps
you discover the real SQL text for that query
via the DBMS_RLS package.
To demonstrate this, I set up a small table
with a rather simple Oracle Virtual Private
Database policy on it. I begin by imple-
menting the security function:
SQL> create or replace
2 function my_security_function
( p_schema in varchar2,
3 p_object in varchar2 )
4 return varchar2
5 as
6 begin
7 return 'owner = USER';
8 end;
9 /
Function created.
As you can see, this is a rather simple
function. It will cause each access of
the table or view it is associated with to
includetransparentlythe predicate
WHERE OWNER = USER.
Now Ill continue by defining MY_TABLE
and associating this predicate function with
the table:
SQL> create table my_table
2 ( data varchar2(30),
3 OWNER varchar2(30) default USER
4 )
5 /
Table created.
SQL> begin
2 dbms_rls.add_policy
3 ( object_schema => user,
4 object_name => 'MY_TABLE',
5 policy_name => 'MY_POLICY',
6 function_schema => user,
7 policy_function =>
'My_Security_Function',
8 statement_types =>
'select, insert, update, delete',
SQL> exec pkg.p
Lexical Depth Line Name
Depth Number
1 6 20 PKG.P
2 5 17 PKG.P.Q
3 4 14 PKG.P.Q.R
4 3 10 PKG.P.Q.R.P
0 2 26 PRINT_CALL_STACK
1 1 17 PRINT_CALL_STACK.PRINT
BEGIN pkg.p; END;
*
ERROR at line 1:
ORA-06501: PL/SQL: program error
ORA-06512: at "OPS$TKYTE.PKG", line 11
ORA-06512: at "OPS$TKYTE.PKG", line 14
ORA-06512: at "OPS$TKYTE.PKG", line 17
ORA-06512: at "OPS$TKYTE.PKG", line 20
ORA-06512: at line 1
Code Listing 3: Output from UTL_CALL_STACK, plus error message
MJ14_AskTom.indd 58 3/28/14 1:49 PM
59 ASK TOM
ORACLE MAGAZINE MAY/JUNE 2014
9 update_check => TRUE );
10 end;
11 /
PL/SQL procedure successfully completed.
If I am asked to tune a query against
MY_TABLE, I would very much like to see the
rewritten query to find out what Im dealing
with. Again, the EXPAND_SQL_TEXT proce-
dure comes in very handy:
SQL> begin
2 dbms_utility.expand_sql_text
3 ( input_sql_text =>
'select * from my_table',
4 output_sql_text => :x );
5 end;
6 /
PL/SQL procedure successfully completed.
SQL> print x
X