Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Reporting/Charting/Graphing
With New SQL Developer
Features
Going Mobile
From Concept to Delivery The Story of an Applications DBA
OracleScene
Serving the Oracle Community
www.ukoug.org
An independent publication not affiliated with
Oracle Corporation
This editions
sponsors:
AUTUMN 14
10
21
by Peter Scott
by Heli Helskyaho
28
31
by Grcan Orhan
by Richard Childe
GOING MOBILE:
FROM CONCEPT TO DELIVERY
TECHNOLOGY
EVENTS FOCUS
VOLUNTEER FOCUS
www.ukoug.org
62
36
13
24
34
61
26
23
ADVERTORIALS
Insightsoftware.com: One Mans Brave Journey Away From Excel & Hyperion 38
Inoapps: Why Cloud Deployment Makes Sense by Phil Wilson
68
REGULAR FEATURES
OracleScene UK Oracle User Group Ltd
16
E-BUSINESS SUITE
08
OracleScene
D I G I T A L
06
67
40
44
Agile Methods & Data Warehousing: How to Deliver Faster by Kent Graziano
48
54
56
58
03
OracleScene
D I G I T A L
AUTUMN 14
First word
Welcome to the Autumn edition of Oracle Scene.
At the time of writing this piece Oracle OpenWorld is
still a couple of months away, but as you read it will
be just around the corner.
It will be interesting to see what big announcement Oracle will
have this year. We all remember those from last year and it is
only recently that we have been able to get our hands on some
of these product releases.
One of the big announcements from last years Oracle
OpenWorld was the In-Memory option, which was released
in July. In this edition we have Peter Scott telling us about
his experiences of using the In-Memory option during the
beta-programme. For developers we have Jeff Smith (Mr. SQL
Developer himself) describing how to use the new Reports
feature in SQL Developer and Heli (from Finland) Helskyaho
introducing us to Oracle SQL Developer Data Modeler. In
addition to these we have some great articles by Grcan Orhan,
Frank Pachot and Richard Childe, along with many user group
news items. All of these articles are in the traditional print
version of Oracle Scene.
Most of you will be aware that we have two versions of Oracle
Scene. We have the traditional print version and the digital
edition. With the digital edition you get a bumper version of
Oracle Scene with lots of extra articles. In our last print edition
we had an article from Mark Rittman on using the Oracle
BigDataLite VM. We have a follow up article in the digital
edition on how to connect OBIEE to the BigDataLite VM.
ABOUT
THE
EDITOR
Brendan Tierney
Consultant, Oralytics.com
Brendan is an Oracle ACE Director, independent consultant and lectures on
Data Mining and Advanced Databases in DIT in Ireland. Brendan has extensive
experience working in the areas of Analytics, Data Mining, Data Warehousing, Data
Architecture and Database Design for over 20 years. He has worked on projects in
Ireland, UK, Belgium and USA. He started working with the Oracle 5 Database, Forms
2.3 and ReportWriter 1.1, and has worked with all versions since then. Brendan is
the editor of the UKOUG Oracle Scene magazine and is the deputy chair of the OUG
Ireland BI SIG. Brendan is a regular presenter at conferences in Ireland,
UK, Norway, Brazil and USA, including Oracle Open World.
Contact Brendan at: editor@ukoug.org.uk
04
www.ukoug.org
UKOUG Membership
MEMBER FILES
Why Mark
Recommends UKOUG
Mark Williams works for Elsevier Ltd where he watches over the installation,
drawing parallels between requirements and system provisioning and
generally controls environments and monitors who does what, and where.
Our
maths
isnt
wrong...
www.ukoug.org
www.ukoug.org/join
www.ukoug.org
05
OracleScene
D I G I T A L
AUTUMN 14
Speaker
U K O U G
Pictured left:
UKOUG President,
David WarburtonBroadhurst, presenting
Martin Nash, ORAsavon
Ltd, with Best Judges
Score Award at Tech13
P a r t n e r
o f
t h e
Y e a r
a w a r d s
partneroftheyear
2014/15
06
www.ukoug.org/pya
Pictured right:
UKOUG Member
Advocate, Debra Lilley,
presenting Mark
Thomas, Hays, with
Best New Speaker
Award at Apps13
www.ukoug.org
1 ticket = 1 conference
All membership packages entitle you to
purchase tickets at member rates.
Member day rate: 325+VAT
Non member rates: 1 day 600+VAT,
2 days 1,000+VAT, 3 days 1,400+VAT
Member advice
Membership Level
Platinum
Ticket
Entitlement
1,500
2 tickets
Price
Gold
955
1 ticket
Silver
655
0 tickets
Bronze
200
0 tickets
Diamond Partner
(invitation only)
3,500
5 tickets
Platinum Partner
3,600
4 tickets
Gold Partner
2,600
3 tickets
Silver Partner
1,500
2 tickets
Independent
Partner
200
0 tickets
07
OracleScene
D I G I T A L
AUTUMN 14
Oracle
https://www.gartner.com/doc/2738817/forecast-analysis-public-cloud-services
08
www.ukoug.org
ABOUT
THE
AUTHOR
www.ukoug.org
Our SaaS business has had its best year ever, and as Larry
Ellison said during Oracles Q4FY14 earnings announcement
we are laser-focussed on becoming the number one SaaS
provider in the world. We expect that by the end of this fiscal
year every business we work with will be using the public cloud
in some form.
That being said, we as a company have never pursued excellence
in only one arena. We understand that every business expects
something different from the cloud, which is why we provide
them with the broadest collection of IT solutions available and
continue to build on our offerings. Many of our customers are
innovators in their fields and will prefer a hybrid solution that
offers the flexibility and cost-savings of the public cloud while
allowing them to differentiate themselves with innovative
services developed in-house.
No matter how businesses want to consume the cloud, Oracle
offers something on the menu for everyone.
Dermot OKelly
Senior Vice President Oracle UK, Ireland and Israel Technology
Dermot OKelly is Senior Vice President for Oracle UK, Ireland and Israel region and
is responsible for driving Oracles operations, growth and profitability across these
geographies. He also leads the close alignment of Oracles key accounts, and is the
Country Leader for the UK.
09
OracleScene
D I G I T A L
AUTUMN 14
Technology
A First Look at
Oracles In-Memory
Database Option
One of the hottest
topics in Larry
Ellisons keynote
at last years
Oracle OpenWorld
conference was
the announcement
that in-memory
data storage
within the Oracle
Database was on
the way.
Peter Scott
Principal Consultant
Rittman Mead
10
www.ukoug.org
OracleScene
D I G I T A L
AUTUMN 14
ABOUT
THE
AUTHOR
12
Peter Scott
Principal Consultant Rittman Mead
Peter specialises in Business Intelligence architecture and Data Warehouse
performance tuning. For the past few months has led Rittman Meads Oracle
In-Memory Option evaluation team. Recently Peter became an Oracle ACE
Associate in recognition of his blog writing and conference talks in Europe and
North America.
www.ukoug.org
#ukoug_jde14 | www.jde14.ukoug.org
1 2 - 1 3 N O V E M B E R 2 0 1 4 | H E Y T H R O P PA R K R E S O R T | O X F O R D
Following the great success of our call for papers, the JD Edwards committee
came together in July for agenda planning day. Working through the submitted
abstracts, the committee had their work cut out to decide which presentations
made it onto the JDE14 agenda.
After a lot of blu-tak/post-it note sticking,
debating, deciding and moving sessions
around, an agenda was finally formed.
With six streams and two days of
valuable content on topics on everything
from the cloud to upgrades this
conference is truly essential for anyone
who uses JD Edwards.
OracleScene
D I G I T A L
AUTUMN 14
Working in a World of
Shared Experiences
JD Edwards community
What does this really mean? And whats in it for you?
Gideon Tester, JD Edwards Committee Member
Whats in a name?
Things change
Mike Gibbons
Aggregate Industries
Martin Gater
Norgine
Mike Gibbons
CIO, Aggregate Industries
Weve had JDE ERP solutions for nearly 15 years and have
used the Oracle databases solution for similar time frames.
Were also using Oracle CRM On Demand. Weve been actively
engaged with UKOUG JDE community for several years with
our Business Solutions Manager being on the committee. We
always have a presence at the annual JD Edwards Conference
& Exhibition and send technical staff to the more technically
orientated conferences. Peers experiences of upgrading systems,
value derived from new or existing modules and experience
of Oracle partners forms a crucial part of our research before
embarking upon change. I would like the JDE community to
become more integrated with UKOUG as we see more benefit
in understanding the Oracle portfolio and their integration
capabilities with JDE, but supported with more compelling
JDE SIGs throughout the year. Sharing experiences (good and
bad) in an honest and trusted network is invaluable so I would
encourage anyone using JDE to get involved.
Martin Gater
IT Engagement Manager, Norgine
Ive been working with JD Edwards for 20 years. For the last seven
years Ive been with Norgine, a leading independent European
speciality pharmaceutical company. Norgine are responsible
for JD Edwards and other key systems supporting the business.
Weve a good relationship with Oracle JD Edwards and a good
working relationship with our Oracle Account Manager. Weve
found it valuable to maintain good relations with Oracles senior
management. Weve just completed a successful upgrade to
9.1 and the relationship benefited us during this period. We use
both UKOUG and Oracle JD Edwards to help guide our tactical
decisions towards delivering our IT strategy. We attend the
UKOUG JDE Conference & Exhibition and SIGs deciding which
to attend based on the content. Typical content may be specific
to our projects, industry legislation, customer experiences and
www.ukoug.org
Paul Barker
Sir Robert McAlpine
networking. The JDE community is very valuable. Its the one way
we can benchmark ourselves against what other people are doing
and its good to hear from people who have done things that you
want to do so that you can learn from them. Id like to encourage
more customer engagement in the community. Users are missing
out on incredibly valuable experiences and interactions. We need
more ongoing user collaboration between the conferences each
year, maybe forums for sharing knowledge and resources. UKOUG
forms a central repository to gain usable information and it
definitely aids the development of our 5 year IT plan.
Paul Barker
Company Business Systems Manager,
Sir Robert McAlpine
We implemented JDE 10 years ago and its continued to be
a solid foundation for our commercial systems, used by all
employees. As well as being a member of the user group during
this time, we have, in the past, also been a member of the
JDE steering committee and chaired the Construction SIG. We
recognise the benefits of being part of the JDE community, not
just to sustain our ERP investment, but also to build a network
of contacts and share experience in other areas. Its an essential
part of maintaining our system whilst providing insight to
complementary products and services as used by others. The
last few years have seen the JDE community grow with each
conference, demonstrating a vibrancy and interest that reflects a
good product. We need to see more user stories on getting more
value out of the system and further investments. Embracing
a more online, social means of networking and knowledge
sharing will widen the appeal of the group.
OracleScene
D I G I T A L
AUTUMN 14
Technology
16
FIGURE 1: ORACLE
SQL DEVELOPER
V4.0 WAS
RELEASED IN
DECEMBER 2013
www.ukoug.org
www.ukoug.org
17
OracleScene
D I G I T A L
AUTUMN 14
Child Reports
Bob may want to start asking more questions once you give him
his salary numbers. For example, who is making so much money
in department 80? Or, I forget which department, department
80 is? You can help Bob with these questions by creating a few
Child Reports.
Remember: Bob is ALSO a database user. He can run these reports
in SQL Developer OR you are exporting the report to a consumable
format such as PDF or HTML.
The selected row in the Parent report drives the context of the
Child report data. The SQL supplied to achieve this result is:
select * from hr.employees
where department_id = :DEPARTMENT_ID
order by salary desc, last_name asc
I like to joke that your bosses will ignore your reports until you
add pretty pictures to them. Funny or not, some information is
just easier to consume when presented visually. If we look at our
first report, the sum of salary by department - how much more
understandable would that be if it were displayed as a pie chart?
Imagine your company has 360 departments - and you need
to quickly identify the top 5. Lets look at how SQL Developers
Chart style report can help.
18
www.ukoug.org
Bobs boss wants just the top 5 departments in terms of payroll and he wants it in a graph.
Instead of choosing a report style of Table, go with Chart. To
define the type of chart and just what is to be charted, proceed
to the Property item in the Report Tree (see Figure 7).
But before anything is defined, the SQL query must first be
tweaked remember that Bobs boss only wants the top 5
departments by salary to be included in the report.
So the driving query for this report will now be this note the
new FETCH FIRST syntax introduced in Oracle Database 12c:
select DEPARTMENT_ID, SUM(SALARY)
from hr.employees
group by DEPARTMENT_ID
order by sum(salary) desc
fetch first 5 rows only
In order to keep this article from growing into a book, Ill just
briefly touch on the other capabilities of the reports before I
show you how to run a report from the command-line interface.
Prompting the User for Values
If you have a bind or substitution variable in your SELECT, SQL
Developer will prompt you for a value when running the report.
You can also define a default value for these in the report
definition.
www.ukoug.org
19
OracleScene
D I G I T A L
AUTUMN 14
Linking Reports
If you want to be able to jump from one report to another
without going back to the Report tree in SQL Developer, use the
Drill Down section in the report editor. This makes it easy to
navigate back and forth through multiple reports.
PDF Rendering
The report editor allows you to define exactly how the report
will be exported to PDF. It also allows for a password to be
required to open the report and whether the report will be
encrypted. If your query contains pictures stored as BLOBs, those
can be rendered in the report!
Sharing Reports
A report, or a collection of reports, can be exported to an XML file.
These reports can then be imported in the Report tree by using
the Open dialog. This makes it easy to move reports between
computers or to share them with other SQL Developer users.
Organising Reports
All user-defined reports are listed together. Once you have more
than a dozen reports, you may want to begin organising them in
Folders. Create a new folder by right-clicking on the User Define
Reports tree item and using the New Folder item. Then cut and
paste reports from the main folder into the new subfolder.
Success!
The report, which I quoted as the report name contains spaces,
was executed on the supplied connection, in this case HR,
and a what-you-see-is-what-you-get rendered HTML page
was generated. In other words, the report will be exported to
HTML as close as possible as to how it is displayed in the SQL
Developer. PDF reports are only available when generated in SQL
Developer and not via the command-line interface at this time.
Summary
Reporting is a key feature of Oracle SQL Developer and has been in the product since its debut in 2006. It can take one or more
queries and make their result sets easier to consume and understand. Reports can be presented in a spreadsheet or grid-like
style or can be rendered as one of 50+ charting types. These reports and/or charts can be previewed during the design process,
making the process more seamless and less iterative. Reports can be run inside of SQL Developer or, new for version 4.0, can be
generated from the command-line.
ABOUT
THE
AUTHOR
Jeff Smith
Product Manager, Oracle
Jeff is a Product Manager in the Database Development Tools Group at Oracle, and has
been obsessing over saving people clicks and keystrokes for the last decade.
Blog: www.thatjeffsmith.com
20
@thatjeffsmith
www.ukoug.org
TBC
Introduction to
the object you will see actions allowed to this particular object.
In the middle you can find the Start Page. This is very useful
especially when starting to use the tool. The Start Page has links
to different kinds of documentation, tutorials, videos, online
demonstrations, OTN forum etc. The Navigator on the right hand
side will show the whole diagram and lets you navigate to the
part of the diagram wanted. Below the Start Page you can find
the Messages Log pane that shows all activity at the tool.
On the left hand side in Figure 1 you can find the Browser. The
Browser is a directory of all the objects in a design. You can
navigate to any of the objects with a mouse and by right-clicking
www.ukoug.org
OracleScene
D I G I T A L
AUTUMN 14
clicking the element icon needed and then clicking on the canvas
this element will be created. On canvas you can also right-click on
any object to see the actions allowed for that object. In the Logical
model you define entities, attributes and relationships.
Quality
22
www.ukoug.org
Reporting
Reports can be found under File Menu. There are several built-in
reports in Data Modeler and a user can create more. Reports can
be run on different output formats (HTML, PDF, RTF) and they
can be based on manageable templates. The scope of a report
can be the loaded designs or a separate reporting schema. A
user can also print out a Diagram by selecting that option from
Files Menu. Reports can also be managed through the Search
option (as shown in Figure 6) by pressing the Report button.
Conclusions
Data Modeler is a good tool for database design and it can
also be used to document existing databases. Data Modeler
will enable multi-user environment and version control as
well as helping you to improve the quality of your database
design. Data Modeler is free to use and easy to install.
ABOUT
THE
AUTHOR
Heli Helskyaho
CEO, Miracle Finland Oy
Heli Helskyaho is the CEO for Miracle Finland Oy and she holds a Masters degree
(Computer Science) in Helsinki University. Heli is also an Oracle ACE Director and a
frequent speaker in many conferences. Heli has been an Oracle Designer user since
1996 and a Data Modeler user since 2010. Helis book on Designing Databases with
Oracle SQL Developer Data Modeler will be out next year.
@HeliFromFinland
MEET A VOLUNTEER: JO
Name:
Jo Bates
Job Title: Business Systems Analyst
Company: Daiwa Capital Markets Europe
Tell us about yourself in 50 words
Ive been working in the Oracle
E-Business Suite space for 24 years
and involved in the UKOUG off and
on for much of that time. Most of my
career has been around the Financials
modules but Ive branched out into HR,
Purchasing and Inventory, and latterly
become more involved in the BI side
of things.
What is your main goal in life?
To make a difference.
What are your interests?
Horsemanship, personal development,
coaching, inspiring, educating, solving
problems and enabling folk to achieve
their goals.
www.ukoug.org
23
Social
Mobile
Register now at
www.tech14.ukoug.org/register
24
Discover
Develop
As well as learning what you can do, you need to know how
to do it. The Tech14 agenda covers sessions on developing
solutions in your organisation that lead to results.
Understand how to get the best out of your current systems
and improve efficiency now and in the future.
Use the best practice you learn in sessions to make
performance improvements.
Attend sessions that will help you manage projects.
www.ukoug.org
Deliver
Analytics
d
d
u u
C l oC l o
OakTable World
OakTable is a network of internationally renowned Oracle
scientists who believe in a better way to develop and administer
Oracle Systems. Tech14 and OakTable World will together give
you access to some of the finest technical minds in the industry,
with dedicated streams within the conference and Super
Sunday, plus OakTable speakers across the rest of the agenda.
Oracle UX
Once again you have the opportunity to take part in the Oracle
UX usability feedback sessions where your input influences the
existing and future usability of Oracle products that affect you,
your organisation and the rest of the Oracle community.
Rover Ticket
Tech14 is co-located with Apps 14 this year. If you like the look
of the Apps14 agenda and want to attend sessions at both
conferences, you can. Simply buy a rover ticket for 150 when
you book your conference ticket.
Legendary Socials
Attending Tech14 is not just about the agenda its also
about meeting up with old friends and making new ones.
Share your experiences and learn from each other as you
socialise at our official Tech14 socials, partner events and
impromptu gatherings.
Exhibition & Sponsorship
If you are a supplier of an Oracle related product or service then
exhibiting or sponsoring at Tech14 will give you access to the
largest collection of qualified prospects in the UK. Contact Kerry
Stuart on kerry@ukoug.org to discuss your marketing objectives
and how we can help you meet them.
Cloud
www.ukoug.org
OracleScene
D I G I T A L
AUTUMN 14
Women in IT
Speaker Spotlight
At last years conferences we held Women in IT sessions where delegates
shared their experiences about working in IT and agreed on 3 key initiatives:
Share
Mentor
Speak
26
www.ukoug.org
Women in IT
www.ukoug.org
27
OracleScene
D I G I T A L
AUTUMN 14
Business Intelligence
Data Warehousing
Trends &
Opportunities
Grcan Orhan, Data Integration Architect, Wipro Technologies
Earlier this year, Oracle released a white paper about the Top
10 Data Warehousing Trends & Opportunities for 2014, which I
have used as the basis for this article.
I believe that all the enterprise level companies have their own
data warehouses in some platforms producing meaningful data,
correlations, dashboards, ad-hoc reports, cubes, etc. from their
source systems. As data is growing much more than expected,
IT leaders and architects need to take more actions with more
expectations from harder business needs.
28
www.ukoug.org
After you prepare all the data into your data warehouse, it needs
to be seen by the business users. Business intelligence and
analytics platforms should handle complex requirements and
on-demand computing. Analytics as a service (AaaS) on public or
private cloud is established by future-ready organisations. Being
flexible, these versatile sandbox environments can be scaled
up or down in order to analyse challenging volume and velocity
of data.
FIGURE 1
www.ukoug.org
29
OracleScene
D I G I T A L
AUTUMN 14
FIGURE 2
ABOUT
THE
AUTHOR
30
FIGURE 3
References
White Paper: Oracle Top 10 Data Warehousing Trends and
Opportunities for 2014 www.oracleimg.com/us/dm/dwtop-trends-2014-v13-2075572.pdf
Oracle Data Warehousing Solutions Main Page
www.oracle.com/us/products/database/datawarehousing/
overview/index.html
Grcan Orhan
Data Integration Architect, Wipro Technologies
Awarded Oracle Excellence Awards, Technologist of the Year 2011, Enterprise
Architect as well as ACE Director for Business Intelligence expertise. Experienced
mostly on data warehouse architecture and ETL development. Grcan has been
working with database systems since 1994. He developed his first data warehouse
in 2003 with Oracle 6i. He has used almost well known DBMS systems, modelling,
ETL and BI tools, but experienced mainly on Oracle Data Integrator as a data
integration tool. Hes one of the board member of TROUG (Turkish Oracle User
Group) and Chairman of BI&DWH SIG.
www.ukoug.org
Technology
Going Mobile:
From Concept
to Delivery
Throughout this magazine you will no doubt see articles from leading experts in a whole
range of technologies, using their years of experience to successfully implement solutions
on the Oracle stack. Well in this article I want to tell a slightly different story: a story of how
an applications DBA, rather than someone from a development background, managed to
end up successfully designing and building a production on-device mobile application for
Lloyds Register. If you want to learn the lessons, and maybe start building your own mobile
applications, then read on!
Richard Childe, Independent Oracle Applications DBA & ADF Developer
Why Mobile?
www.ukoug.org
A Mobile Framework
31
OracleScene
D I G I T A L
AUTUMN 14
32
If youre thinking of
developing an app
with Oracle ADF
Mobile, heres what
you (and your team if
youre lucky enough
to have one), need to
arm yourself with:
Key skills:
ADF Mobile Learn how to build a small app.
There are plenty of good videos out there from
the Oracle development team to get you started
with Mobile.
ADF BC - For database queries, learn how to build
a simple application module with a view object to
query some data.
Java - Basic syntax and structure. Look for
examples on how to code a RESTful web service
and access your ADF BC components, and learn
how to use the debugger and the HTTP Analyser.
SQL Tuning - Again, if you are going to be
running database queries, your queries need to
finish pronto. You may get away with a SELECT
statement taking 5 seconds to complete in an
OLTP system, but not in a mobile app. Learn to
read an explain plan. Or ask your friendly DBA to
do it for you. (Good luck with that).
Sources:
Mobile-App Use Increased 115% in 2013
[http://mashable.com/2014/01/14/mobileapp-use-2013]
Oracle Fusion Applications User Experience
Patterns and Guidelines [http://www.oracle.
com/webfolder/ux/applications/fusiongps/
mobile/index.htm]
Know Your Users Guideline [http://www.
oracle.com/webfolder/ux/applications/
fusiongps/mobile/index.htm]
Study: Average App Session Lasts About 1
Minute [http://readwrite.com/2012/01/17/
study_average_app_session_lasts_about_1_
minute#awesm=~ovcbifLYharQyn]
ABOUT
THE
AUTHOR
Richard Childe
Independent Oracle Applications DBA
& ADF Developer
An independent Oracle Applications DBA
and ADF Developer. Has worked with
Oracle technologies for over 20 years, for
a variety of companies including AT&T,
AHL Trading & Lloyds Register. To learn
more about developing a mobile app
with your existing Oracle stack,
contact me through LinkedIn or talk
to Nymad at www.nymad.co.uk
(info@nymad.co.uk)
33
OracleScene
D I G I T A L
AUTUMN 14
OrOr
aclacl
e e
E-BE-B
usine
usine
ss ss
SuSu
iteite
Connecting
Communities
CRCMRM
6
200
sessions
PACKED DAYS
of content
Over
First time
speakers
community
keynotes
s s
es es
sinustiengtyegy
u
B tBratra
S S
&&
Cloud
Social
Mobile
Analytics
Theres more
34
www.ukoug.org
e
e
Peop
le
Soft
H
& ype
EP rio
M n
Connecting
Experiences
View the full agenda and register your place
today: www.apps14.ukoug.org
www.ukoug.org
35
OracleScene
D I G I T A L
AUTUMN 14
E-Business Suite
Driving Business
Value Leveraging
Innovation
Container transportation has therefore
emerged as the most preferred option
and is undoubtedly the largest mode
of transportation of goods across the
globe. As the containers cover millions
of miles transporting raw-materials,
and finished goods, delivering anything
from processed food to medicines to
biomedical devices to automobiles,
there is a constant need to manage their
timelines, inter-country regulations and
security. Managing containers across
the supply chain is therefore a challenge
that manufacturers and shippers face,
as small errors in this could result into
high detention costs, rising inventories,
and rejection of cargo by the buyers. The
losses that these might cumulate into
are significant for the manufacturers,
exporters, 3PLs and practically every
stakeholder in a supply chain.
An Ideal Solution
KPIT-Oracle Partnership
ABOUT
THE
AUTHOR
Nikhil Gupta
Solution Architect, KPIT
Nikhil Gupta is a Solution Architect
with KPITs Value Chain Execution (VCE)
Practice. He has been working in delivery
and pre-sales for OTM & GTM for 6 years.
Nikhil comes with strong experience as an
Application Lead and Solution Architect
in complex Greenfield implementations
in India, Middle East and the USA. Nikhil
is a Computer Science Engineer and
MBA Gold Medallist from the Centre for
Development of Advanced Computing,
India. He has demonstrated innovation in
various dimensions of his work and was
awarded a national level prize for
the most innovative project
idea presentation.
37
OracleScene
D I G I T A L
AUTUMN 14
Advertorial: insightsoftware.com
Planning
38
www.ukoug.org
Advertorial: insightsoftware.com
39
OracleScene
D I G I T A L
OracleScene additional
D I G I T A L
content
Oracle
BigDataLite VM
Connecting Oracle Business
Intelligence to the
Mark Rittman
Co-founder
Rittman Mead
40
www.ukoug.org
the BigDataLite VM, called Hue. You can use Hue to upload files
into HDFS and then create Hive tables over them, making it easy
to get some data into the BigDataLite VM Hadoop cluster ready
for reporting on using Oracle Business Intelligence.
For example, to upload a file of transactional data into the
BigDataLite VM using Hue for reporting on later using Oracle
Business Intelligence, follow these steps:
1. Using either the Firefox web browser, included in the
BigDataLite VM, or your own desktop web browser, if
youve access the VM over a network, navigate to http://
bigdatalite:8888 and log in using the credentials oracle/
welcome1
2. Using the menu at the top of the Hue application, select Data
Browsers > Metastore Tables. The metastore in the menu
item name refers to the Hive Metastore, the equivalent to
3. U
nder the Actions menu on the lefthand side of the page, click on the
Create a new table from a file link. This
will bring up a wizard that allows you
to upload a data file from your local
filesystem to the HDFS filesystem, and
then define the column mapping that
translates your file data into tables and
columns, as shown in Figure 1. Note
that by default the file uploader in Hue
uses the HDFS filesystem for the file
picker, but the Upload a File button
presents you with the local filesystem
for the web browser youre using.
www.ukoug.org
41
OracleScene
D I G I T A L
AUTUMN 14
Now that youve set up your Hive tables within the BigDataLite
Hadoop environment and created an ODBC connection through
from your Windows install of Oracle Business Intelligence
through to them, you can use the BI Administration tool to
create a new repository and import the Hive table metadata
into it; then, once the repository is created, you can run your first
report against the Hadoop data source. To do so, follow these
final set of steps, from your Windows environment:
1. Using the Windows Start menu, select Start > Oracle Business
Intelligence > BI Administration. When the BI Administration
tool starts up, either create a new repository or open an
existing online repository for editing.
2. If you are creating a new repository, enter the name and other
details for the repository and, once youve done so, the Create
New Repository > Select Data Source dialog should display.
Alternatively, if youre using an existing online repository,
select File > Import Metadata to display the same dialog;
when its displayed, select the Apache Hive ODBC data source
you created in the previous steps and enter oracle as the user
name (leave the password blank). Press Next to proceed to the
next dialog page.
3. Click on the System DSN tab, and press Add.., to add a new
system DSN to the list displayed. When prompted, select
Cloudera ODBC Driver for Apache Hive as the driver type and
press Finish.
4. At the Cloudera ODBC Driver for Apache Hive DSN Setup
dialog, enter the following values to set up the connection, as
shown in Figure 3.
3. At the Select Metadata Type page, leave the checkboxes with
their default selection and then press Next to proceed.
4. At the Import Metadata > Select Metadata Objects page,
expand the Hive folder on the left-hand side and then expand
the default database entry underneath it. Then, ctrl-click on
the four Hive tables you created earlier and press the Import
42
www.ukoug.org
ABOUT
THE
AUTHOR
Summary
In the first article in this three-part series, we looked at
the new BigDataLite VirtualBox virtual machine, and went
through an overview of the Hadoop and Oracle software
it contained and how it connects to tools such as Oracle
Business Intelligence and Oracle Data Integrator. In this
second article in the series, we looked in detail at how
we create Hive tables within the BigDataLite Hadoop
environment and then connect Oracle Business Intelligence
to it in order to report in the data those Hive tables
contained. As you will have seen from the examples in this
article, once you define Hive tables over structured and
semi-structured file data in your Hadoop environment, tools
such as Oracle Business Intelligence are then able to work
with them as they present their data in the familiar tables
and columns that tools like those are able to work with.
But what about data contained in NoSQL databases running
on Hadoop, such as Apache HBase and Oracle NoSQL
database? In the final article in this series well look at how
this becomes possible, using new capabilities in Oracle Data
Integrator 12c and SerDes within Apache Hive.
Mark Rittman
Co-founder, Rittman Mead
Mark Rittman is an Oracle ACE Director and co-founder of Rittman Mead, a UKOUG
Partner Member specialising in business intelligence, analytics and data warehousing
solutions. Mark is author of the Oracle Press book Oracle Business Intelligence
Developers Guide, was past Chair of the BIRT SIG, and past editor of Oracle Scene.
Blog: www.rittmanmead.com/blog
www.ukoug.org
@markrittman
43
OracleScene
D I G I T A L
AUTUMN 14
OracleScene additional
D I G I T A L
content
Reinventing Enterprise
Performance Management
to Support Sustainable,
Innovation-Based Growth
For 2014, The Hackett Groups Key Issues research finds that companies are focusing on
innovation as a core strategy to deliver growth. Financial planning and analysis organisations
are profoundly impacted by this strategic orientation as well as the main business drivers
behind it (global competition, volatility and the information revolution).
Gilles Bonelli, The Hackett Group
44
45
OracleScene
D I G I T A L
AUTUMN 14
Strategic Implications
ABOUT
THE
AUTHORS
Gilles Bonelli
Practice Leader, The Hackett Group
Gilles Bonelli is Practice Leader, Enterprise Performance Management & Business
Intelligence Executive Advisory Program, Europe, for The Hackett Group.
Article written in conjunction with Erik Dorr & Sherri Liao
www.ukoug.org
47
OracleScene
D I G I T A L
AUTUMN 14
Business Intelligence
OracleScene additional
D I G I T A L
content
Grenning
Jim Highsmith
Andrew Hunt
Ron Jeffries
Jon Kern
Brian Marick
Robert C. Martin
Steve Mellor
Ken Schwaber
Jeff Sutherland
Dave Thomas
2001, the above authors this declaration may be freely copied in any form, but only in its entirety through this notice.
48
www.ukoug.org
OracleScene
D I G I T A L
AUTUMN 14
50
www.ukoug.org
1. A stage table;
2. A fact table for a star schema;
3. A dimension table;
4. A complete star (fact and all
dimensions);
5. One piece of ETL code that populates a
fact table;
6. A function needed by the ETL code, or
7. A new report or query.
www.ukoug.org
OracleScene
D I G I T A L
AUTUMN 14
ABOUT
THE
AUTHOR
Data Vault
Conclusion
While most Agile methods did
not really have database and data
warehouse projects in mind, I think
it is clear that we can benefit a great
deal from the concepts and principles
embodied by these approaches.
In some cases (team huddles, pair
programming) we can directly
adopt their techniques. With the
ever increasing rate of change in the
technology and business world, and
with ever decreasing resources, we
owe it to our users, customers and
employers to examine every possible
means of becoming more effective
and efficient in what we do.
Can we achieve 2-4 week delivery
of data warehouse components? In
the case of BI reports that should
be no problem. If we cannot develop
a single report in that time, then
there is a serious problem with our
warehouse design. As for delivering
the design, tables and the populated
databases in the data warehouse or
data mart, I think that it is possible to
improve the rate of delivery of useful
objects by adopting some of these
approaches and by redefining what
a deliverable is. We must be open
minded and think a little differently
about what we are doing. Hopefully
this paper has given you some new
ways to look at your approach to big
data warehouse projects that will be
help you in achieving your goals.
Kent Graziano
Owner, Data Warrior
Kent Graziano is the owner of Data Warrior LLC in The Woodlands, Texas and a
lifetime member of Rocky Mountain Oracle Users Group (RMOUG) and ODTUG.
He is a certified Data Vault Master (DVDM) and Data Vault 2.0 Architect, Oracle
ACE Director, and expert data modeler and architect with more than 30 years of
experience, including over 25 years working using Oracle (since version 5), Oracle
tools, and two decades doing data warehousing. Kent has written numerous
articles, authored one Kindle book, co-authored four books, and has done many
presentations, nationally and internationally. He was recently voted the #2 best
presenter at OUGF14 in Helsinki, Finland.
Kent was the recipient of the 1999 Chris Wooldridge Award (from IOUG) for
outstanding contributions to the Oracle user community. In 2003 he was presented
with The Doug Faughnan Award for his dedicated service and outstanding
contributions to RMOUG. In 2007, he was the recipient of the ODTUG Volunteer
Award. He is a co-author of The Data Model Resource Book, Oracle Designer: A
Template for Developing an Enterprise Standards Document, and Super Charge Your
Data Wareouse (available on Amazon.com).
52
@KentGraziano
www.ukoug.org
Great accelerated
implementation myth?
Supply Chain
Management
Customer
Relationship
Management
Human
Resource
Management
mobile
networked systems
Financial
Resource
Management
IT services
Manufacturing
Resource
Planning
unified communications
BMS offers the complete range of services to license, install, implement and maintain your
JD Edwards system. EnterpriseOne or World, from the earliest versions to the most recent
EnterpriseOne 9.1 and World A9.3. BMS offers you complete satisfaction by providing highly skilled and
experienced professionals at all times, and always at competitive rates.
BMS also provides additional complimentary products for JD Edwards including U.K. Payroll, Approval
Express and Construction Industry CIS. Offering renowned support and expertise in the following areas:
BMS Services
BMS Products
Accelerated Implementations
ERP Solutions
Approval Express
Upgrades
Consultancy
Document Management
CNC Services
Project Management
Training
ACHIEVING THE HIGHEST AWARD FOR JD EDWARDS SERVICES
4 YEARS RUNNING
2010
2011
2011
2012
2012
2013
2013
2014
Platinum Partner
For more information please call +44 (0)1527 851 350 or visit www.beoleymill.co.uk
YEARS ANNIVERSARY
AWA R D W I N N E R S
Platinum Partner
SPECIALISTS
OracleScene
D I G I T A L
AUTUMN 14
Technology
OracleScene additional
D I G I T A L
content
4,875,173
5,842
9,048
20,974
77,478
904
2,389,593
2,023
18,203
2,759
4,592
ABOUT
THE
AUTHOR
Simon Greenwood
Oracle Development Director, Explorer (UK)
Simon Greenwood is the Development Director at Explorer, Oracles 2014 Database
Partner of the Year. Simon has a long history with Oracle Development tools such
as Forms and PL/SQL, and since 2005 he has taken a leading role in promoting
Application Express to Oracle customers. Simon is the deputy chair of the UKOUG
APEX SIG and a member of the APEX advisory board. Explorer is an Oracle Platinum
Partner focused on developing bespoke applications, consultancy and training using
Oracle Application Express. Simons team of well-respected and highly regarded
APEX developers are highly skilled in converting business problems into
functional and low cost bespoke systems. www.explorer-development.uk.com
www.ukoug.org
@Explorerukltd
55
OracleScene
D I G I T A L
AUTUMN 14
OracleScene additional
D I G I T A L
content
Capturing the
Process Truth
With the E-Business Suite upgrade deadline looming, many companies are either grappling
with the challenges of making the transition or dealing with the aftermath of the process.
The need to optimise processes and software is more pressing than ever but if business
processes are not documented in glorious, gory detail organisations could not only find
themselves floundering at the first upgrade hurdle but more importantly they could be
leaving themselves open to significant risk. Colin Armitage, CEO of Original Software,
considers the case for Business Process Capture (BPC) as a solution.
Colin Armitage, CEO, Original Software
56
www.ukoug.org
ABOUT
THE
AUTHOR
The steps for preparation for Business Process Capture are very
straightforward, but organisations have to make sure they
approach it in a planned, thorough and cohesive way.
Recent research conducted by Original Software in partnership
with UKOUG (Oracle Scene Spring 14) revealed that a significant
number of companies are still in the process of upgrading from
E-Business Suite 11i. BPC can significantly ease the upgrade
process by helping organisations to be more strategic about
the business processes that underpin them and by giving them
valuable information about how their organisations work.
Understanding the interdependencies between processes
and applications is core to this. Carefully approaching BPC can
help improve efficiency, boost effective operational running
and allow teams to share valuable process knowledge. This is
not only relevant during the upgrade process but also when
moving forward post-upgrade to ensure that the process
knowledge thats been captured doesnt fall down the gap, it is
safeguarded for the future. For further information please see
www.origsoft.com/oracle.
Colin Armitage
CEO, Original Software
Colin Armitage is CEO of Original Software, a software testing solutions company
serving more than 400 organisations, from multinational corporations to small
development shops, operating in more than 30 countries.
www.apps14.ukoug.org/register
www.tech14.ukoug.org/register
www.ukoug.org
57
OracleScene additional
D I G I T A L
content
ABOUT
THE
INTERVIEWEE
www.ukoug.org
Noel Gorvett
Director, AMOSCA
Noel Gorvett is Director at AMOSCA has been with the company for 8 years.
AMOSCA are a Award winning (UKOUG Partner of the Year) Oracle Gold
Partner. Hyperion implementations providing solutions, services, software
and support. Value add for businesses in providing business solutions from
process, integration and best practice.
59
ENRICH Your
Oracle Applications
APPLICATION
SERVICES
PROCUREMENT
AMS
Sourcing
Spend Visibility
Sourcing
Innovation
Has technical innovation plateaued?
Investment benefits not fully
delivered?
Poor user adoption?
Searching for the next big thing?
Easy iProc
Sourcing
Sourcing
Expertise
WHY ENRICH?
As Sourcing
represented by the schematic to the
right. Does this represent your
procurement process? Do you have
full integration to supplier networks and
spend visibility? Oracle Applications
plus Flexible Deployment plus
Procurement Expertise equals
Integrated Procurement Excellence.
Enri
Email: hello@enrich.com Tel: Americas +1 (888)778 1402 - EMEA +44 (0)20 3574 4720
Website: www.enrich.com
OracleScene additional
D I G I T A L
content
www.ukoug.org
61
OracleScene
D I G I T A L
AUTUMN 14
Technology
Full table scan is easy to cost. You know where the table is stored
(the allocated segment up to the high water mark) so you just
scan the segment blocks in order to find the information you are
looking for. The effort does not depend on the volume of data
that you want to retrieve, but only on the size of the table. Note
that the size is the allocated size - you may have a lot of blocks to
read even if the table is empty, just because you dont know that
it is empty before you have reached the high water mark.
The good thing about Full Table Scan is that the time it takes
is always the same. And because blocks are grouped in extents
where they are stored contiguously, reading them from disk
is efficient because we can read multiple blocks at a time. Its
even better with direct-path and smart scan, or with in-memory
option.
The bad thing is that reading all data is not optimal when you
want to retrieve only a small part of information.
This is why we build indexes. You search the entry in the index
and then go to the table, accessing only the blocks that may
have relevant rows for your predicates. The good thing is that
you do not depend on the size of your table, but only on the size
of your result. The bad thing comes when you underestimate the
62
www.ukoug.org
Multiblock Read
Ok, you changed you optimizer mode to CBO. You were now able
to do Hash Joins. You did not fear Full Table Scan anymore.
What is the great power of full scans? You can read several
blocks at once. The db_file_multiblock_read_count controls that
number of blocks. And because the maximum I/O size at that
time on most platforms was 64k, and default block is 8k, then
the default value for db_file_multiblock_read_count was
8 blocks.
www.ukoug.org
63
OracleScene
D I G I T A L
AUTUMN 14
----------------------------------------------------------| Id | Operation
| Name | Rows | Bytes | Cost |
----------------------------------------------------------|
0 | SELECT STATEMENT
|
|
500 | 9000 |
607 |
|* 1 | HASH JOIN
|
|
500 | 9000 |
607 |
|
2 |
TABLE ACCESS FULL| A
|
500 | 4000 |
1 |
|
3 |
TABLE ACCESS FULL| B
|
100K|
976K|
605 |
-----------------------------------------------------------
System Statistics
Cost Adjustment
The arithmetic is simple: we told the optimizer to underevaluate index access to 20% of the calculated value. 300
instead of 1500. Nostalgic of RBO were happy. They had a mean
to always favour indexes, even in CBO.
But this is a short-term satisfaction only, because now the cost
is false in all the cases.
64
In 10g the cpu costing became the default and uses default
values if we didnt gather system statistics, based on a 10
millisecond seek time and a 4KB/millisecond transfer rate, and
the default multiblock estimation is 8 blocks per I/O call.
So reading an 8KB block takes 10+2=12 milliseconds and
reading 8 blocks take 10+16=26 milliseconds. This is how the
choice between index access and table full scan can be
evaluated efficiently.
alter session set optimizer_features_enable=10.2.0.5;
www.ukoug.org
Technology: Franck
Header
Pachot
here
------------------------------------------------------------------------------------| Id | Operation
| Name | Rows | Bytes | Cost (%CPU)| Time
|
------------------------------------------------------------------------------------|
0 | SELECT STATEMENT
|
|
500 | 9000 | 1503
(1)| 00:00:19 |
|
1 | NESTED LOOPS
|
|
500 | 9000 | 1503
(1)| 00:00:19 |
|
2 |
TABLE ACCESS FULL
| A
|
500 | 4000 |
2
(0)| 00:00:01 |
|
3 |
TABLE ACCESS BY INDEX ROWID| B
|
1 |
10 |
3
(0)| 00:00:01 |
|* 4 |
INDEX RANGE SCAN
| I
|
1 |
|
2
(0)| 00:00:01 |
-------------------------------------------------------------------------------------
--------------------------------------------------------------------------| Id | Operation
| Name | Rows | Bytes | Cost (%CPU)| Time
|
--------------------------------------------------------------------------|
0 | SELECT STATEMENT
|
|
500 | 9000 | 4460
(1)| 00:00:54 |
|* 1 | HASH JOIN
|
|
500 | 9000 | 4460
(1)| 00:00:54 |
|
2 |
TABLE ACCESS FULL| A
|
500 | 4000 |
2
(0)| 00:00:01 |
|
3 |
TABLE ACCESS FULL| B
|
100K|
976K| 4457
(1)| 00:00:54 |
---------------------------------------------------------------------------
------------------------------------------------------------------------------|
Id | Operation
| Name | Starts | E-Rows | Cost (%CPU)|
------------------------------------------------------------------------------|
0 | SELECT STATEMENT
|
|
1 |
| 1503 (100)|
|- * 1 | HASH JOIN
|
|
1 |
500 | 1503
(1)|
|
2 |
NESTED LOOPS
|
|
1 |
|
|
|
3 |
NESTED LOOPS
|
|
1 |
500 | 1503
(1)|
|4 |
STATISTICS COLLECTOR
|
|
1 |
|
|
|
5 |
TABLE ACCESS FULL
| A
|
1 |
500 |
2
(0)|
| * 6 |
INDEX RANGE SCAN
| I
|
500 |
1 |
2
(0)|
|
7 |
TABLE ACCESS BY INDEX ROWID| B
|
500 |
1 |
3
(0)|
|8 |
TABLE ACCESS FULL
| B
|
0 |
1 |
3
(0)|
www.ukoug.org
And from the optimizer trace (gathered with even 10053 or with
dbms_sqldiag.dump_trace)
DP: Found point of inflection for NLJ vs. HJ: card = 1432.11
65
OracleScene
D I G I T A L
AUTUMN 14
Header here
That means that the index access is the best approach as long
as there is less than 1400 nested loops to do. If there is more,
then Hash Join is better. The statistics collector will count the
rows at execution time to see if that inflexion point is reached.
DP: Found point of inflection for NLJ vs. HJ: card = 7156.65
Conclusion
Using optimizer_features_enable like a time machine we were able to see how the optimizer has evaluated the cost of index vs.
full scan in the past. But there is an issue that is current. A lot of databases still have old settings, and a lot of software editors
still recommend those old settings. They finally gave up with RBO because they cannot recommend a desupported feature. But
probably because of the fear of change, they still recommend this old cost adjustment setting.
However the only reason for it has disappeared with system statistics, years ago. So its time to stop faking the CBO. Today the
CBO can do really good choices when having good input. Since 10g, the good is System Statistics, the bad is RBO, and the ugly
is optimizer_index_cost_adj. You are in 10g, 11g or even 12c, then choose the good and dont mix it with an ugly setting
inherited from the past.
ABOUT
THE
AUTHOR
Franck Pachot
Senior Consultant, dbi services
Franck Pachot is senior consultant at dbi services in Switzerland. He has 20 years
of experience in Oracle databases, all areas from development, data modeling,
performance, administration, training. He tries to leverage knowledge sharing in
forums, publications, presentations, and became recently an Oracle
Certified Master.
November
October
TBC UKOUG RAC Cloud Infrastructure & Availability SIG
7th
UKOUG Public Sector Applications SIG Meeting, Solihull
9th
UKOUG Application Server & Middleware SIG, Reading
14th
UKOUG Taleo SIG Meeting, London
15th
UKOUG Solaris SIG Meeting, London
21st
UKOUG Database Server SIG, Reading
22nd UKOUG Supply Chain & Manufacturing SIG, Solihull
23rd
UKOUG HCM SIG, Solihull
23rd
UKOUG Partner Forum, London
23rd
UKOUG Partner of the Year Awards 2014, London
66
December
8-10th UKOUG Applications Conference & Exhibition 2014,
Liverpool
8-10th UKOUG Technology Conference & Exhibition 2014,
Liverpool
9th
UKOUG Primavera 2014, Liverpool
17th
UKOUG Solaris SIG Meeting, London
www.ukoug.org
Supplier Guide
SUPPLIER GUIDE
www.excel4apps.com
dean.jones@excel4apps.com
+44 (0)800 756 6869
OracleScene
Be seen
in Oracle Scene
@ Provanis
5/15/2014 7:14:12 AM
kerry@ukoug.org
You
could have
their solution...
www.ukoug.org
67
AUTUMN 14
Advertorial: Inoapps
ABOUT
THE
AUTHOR
68
Phil Wilson
VP Business Development & Alliances, Inoapps
Inoapps Phil Wilson has over 20 years experience in the business and IT functions
arenas, working at both end-client organisations and with implementers. With extensive
knowledge of implementing packages covering manufacturing, logistics, financials and data
warehousing, Phil has had responsibility for the project management and delivery of a large
number of these. Phil has developed skills in taking business systems and applying them
effectively to support Business Processes to drive adoption and efficiency, particularly in
the development of leading-edge implementation tools that drive successful, low-risk,
low-cost and rapid installations. Follow Phil Wilson on Twitter @PhilipDWilson
www.ukoug.org
InFusion
NOUN Infju3()n
Reduce costs
with a subscription-based, flexible, Software
as a Service (SaaS) deployment model