Thursday, November 28, 2013


The UKOUG TECH13 conference is starting on Sunday and this year things a bit different. In previous years there was one big conference that covered (almost) everything and this conference had been in Birmingham.

This year Birmingham has been replaced by Manchester and the conference will focus on Database, Development with a few bits and pieces from other areas. The full agenda can be found here.

Also this year the OakTable people are back but they will be in a different venue from the main conference. The OakTable World UK conference will be across the road in the Premier Inn and be on for two days on the Monday and Tuesday. Check out the agenda here

When I’m not in the Manchester Central conference centre attending some excellent presentations, you will find me over at the Premier Inn. I expect there will be a lot of people running between the two venues over the Monday and Tuesday.

On the Wednesday morning I will be giving a presentation on how you can perform sentiment analysis using the Oracle Advanced Analytics Option (aka using Oracle Data Mining). I’ve tried to keep the number of slides to a minimum for this presentation, so most of the time will be taken up with a live demo of how to build a Sentiment Analysis Model using the Oracle Data Miner tool, then we jump into SQL*Plus and I will show how you can use the Sentiment model using SQL. The final part of the presentation I will show how you can then add the Sentiment model to OBIEE.

So lots of demos and code examples.  Fingers cross it all works on the day Smile

I’ll also be making a little announcement about something that I have been working on recently and should be available in Spring 2014 Smile

Tuesday, November 26, 2013

New Oracle Magazines for my Collection

You may or may not know that I have been collecting Oracle Magazines. It all began back when I had my very first job as a graduate consultant with Oracle in Ireland. A few days ago I received a package that contained the following Oracle Magazines.  You will see that the list contains the very first edition and the second edition. Up to now I’ve just had an electronic copy of the first edition.

Here is the full list of the Oracle Magazines that were in the package.

- Volume 1, Number 1 : A New Dimension in Customer Support & Oracle version 5.1 Released
- Fall 1987, Volume 1, Number 2 : Enhancing Cellular Communications Oracle Helps Canada go Mobile
- Winter 1990, Volume IV, Number 1 : Focus on Financial Services & Systems Integration
- Spring 1990, Volume IV, Number 2 : Focus on Pharmaceuticals & National Language Support
- Summer 1990, Volume IV, Number 3 : Focus on Public Sector & Networking the Network
- Summer 1991, Volume V, Number 3 : Focus on Telecommunications & Open Systems Standards
- Winter 1992, Volume VI, Number 1 : Manufacturing Technologies & Massively Parallel Systems
- Spring 1992, Volume VI, Number 2 : Smart Cities Integrating Old and New, & Interview with Next Computer’s Steve Jobs
- Summer 1992, Volume VI, Number 3 : Mapping the Human Blueprint & Oracle version 7
- Fall 1994, Volume VIII, Number 4 : Systems Management & Oracle 7.1. Parallel Everything
- January/February 1995, Volume IX, Number 1 : Data Warehouse
- July/August 1995, Volume IX, Number 4 : Distributed Enterprise & Oracle release 7.2
- September/October 1995, Volume IX, Number 5 : Mission Critical Applications & Optimal Flexible Architecture
- November/December 1995, Volume IX, Number 6 : Managing Change & Client.Server Administrator Security
- January/February 1996, Volume X, Number 1 : Untangling the Web & Tuning Oracle 7 for Optimal Performance
- March/April 1997, Volume XI, Number 2 : Platform Diving & Performance Tuning with Oracle Expert.

My Oracle Magazine Collection can be found here. You will find links to my blog posts that summarize the contents of some of the previous editions. This is a work in progress project and at some point I will have summarized them all. On my Oracle Magazine Collection page I have a PDF for the very first Oracle Magazine from June 1987.

I’m now very close to having the full collection.  If you have any of the magazines that I’m missing and you are willing to donate them, let me know Smile

Friday, November 15, 2013

2014 Oracle User Group Conferences

Over the past few days I've put together a list of Oracle User Group Conferences from around the World that will be on in 2014.

This list is not complete and I’m sure I have left out some very well known conferences.  If I have left a conference out let me know. If you are running a conference let me know and I will add these to the list.

The table below is my initial list.  I've also posted this list to a new page called  OUG Confs. This can be accessed from the menu at the top of my webpage.  The plan is to keep this table updated (on the page/menu link) going forward into 2014, 2015 and beyond.

The only non Oracle User Group conference that I have included in the list is Oracle Open World.

Conference Name / Web Site
CFP Open
CFP Close
14-16 January
BIWA Summit
Redwood, CA, USA
5-7 February
RMOUG Training Days
Denver, USA
11th March
OUG Ireland
Dublin, Ireland
1st November, 2013
15th December, 2013
3-5 April
OUG Norway
Oslo, Norway
September, 2013
1st December, 2013
7-11 April
Las Vegas, USA
OUG Bulgaria
, Bulgaria
2-3 June
E4 2014 - Enkitec Extreme Exadata Expo
Dallas, Texas
Registration opens : 2nd January, 2014
Nov, 2013
31 Dec
5-6 June
OUG Finland
September, 2013
15th January
(Notification : 14th Feb)
22-26 June
Seattle, USA
15th October, 2013
27 Sept – 2 Oct
Oracle Open World
San Francisco, USA
Oak Table World
San Francisco, USA
UKOUG APPS Conference
, UK
OUG New Zealand
Australian OUG – INSYNC Conference
, Australia
30 Nov – 3 Dec
UKOUG TECH Conference
, UK
Oak Table World UK
, UK

Thursday, November 14, 2013

ODMr 4 EA3 : Repository Migration Failure

SQL Developer 4 Early Adaptor release 3 (EA3) was released just over a week ago. This EA3 release has over 500 bug or “feature” fixes since the EA2 release.

But there could be some new “features” introduced into the new EA3. This is the case with the Oracle Data Miner tool. One of the based features of using this tool is that a ODM repository is needed in the database. With each new release of the Oracle Data Miner tool there are typically some new features added to the repository. This will require an upgrade to be done to your repository.

For EA3 this repository upgrade steps does not seem to work. If you use automatically perform the upgrade it will not complete and will leave your repository in a locked state.

Fortunately Mark Kelly put up a notice about this on OTN along with how to fix it.

When EA2 came out just before OOW13, I performed the upgrade to EA2 on my laptop. During the EA2 upgrade the my ODM repository got recreated and I lost all my ODM work. As I was in the USA when this happened I did not have access to my backup and I had to wait until I got back home after OOW13 to recover my work.

So when EA3 was released I was not in a hurry to upgrade straight away. I waited just over a week. I was about to perform the upgrade and migrate my repository when I received the email notification of the post on the ODM OTN forum.  I had a lucky escape Smile

The “fix” involves a minor change to one of the scripts that comes with Oracle Data Miner (part of SQL Developer EA3) and just involves a cut and past from the post on the OTN forum.

I’ve make the suggested changes and I’m delighted to report that everything has worked without any problems. There are a number of “feature” fixes in ODMr EA3 which I’ve been able to test out so far.


Check out the OTN form post here.

I’ve now upgraded my ODM repositories on my and 12.1 databases and all seems to be good.


Monday, November 11, 2013

Dropping all your ODM model

This post is main a note to myself of a script to drop all my Oracle Data Miner models.

1. Check to see what models you have in your schema

SELECT model_name,

2. Drop all the ODM models

set serveroutput on
   cursor c_1 is SELECT model_name
                 FROM ALL_MINING_MODELS;
  FOR r_1 in c_1 LOOP
     dbms_output.put_line('Dropping model '||r_1.model_name);
     DBMS_DATA_MINING.DROP_MODEL(model_name => r_1.model_name);

Wednesday, November 6, 2013

Oracle 12c Book List for Santa

How many days are there to Christmas?

to_date('25/12/2011','DD/MM/YYYY') - trunc(sysdate) "How Many Sleep to Santa"
from dual;

There are a few Oracle 12c books available on Amazon (see below for  Here is my letter to Santa

Dear Santa

Could I have some of these books?  I've been good this year.








Monday, November 4, 2013

SQL Developer is dropping connections

I have SQL Dev 3.2.2 (32-bit) with the supplied JDK running on windows, in work and is rolled out to a large number of PCs. Sometimes we can have 10 users running SQL Developer against our 11.2 Database. But sometimes we can have 100 users using SQL Developer at the same time. They have all set up their connections to use the jdbc driver.

An error that has been occurring is that it SQL Developer is dropping connections to the database. The users get windows popping up that says

Your Database Connection has been reset. Any pending transactions or session state has been lost.

This typically happens when a user clicks to expand one of the objects under their schema in the Connections pane.

After searching and searching and a bit more searching it seem that this is being caused by and Out of Bands (OOB) error in the jdbc driver or on the network.  Our DB is set to be dedicated (not shared) so that is not what is causing the issue. So after all my searching, if the following statement is added to the sqldeveloper.conf file then SQL Developer should ignore the OOB errors.


What is really annoying about this error message is that this config file change seems to have worked for some users but for other users it has not. They are still getting their connections dropped when using SQL Developer, either while they are using their worksheets or when they click to expand/open a schema object.

Our next test is to roll out Oracle Client on the PCs and then get the users to connect to their schemas using the Oracle Client networking and a TNS entry. 

Will this work? Will this make the error go away? Is there a problem with using the jdbc connection? Is it picking up another jdbc driver on the PC? Is it a bug in SQL Developer? Will using Oracle TNS work? Is it a problem on the Server? Is it a problem with the Database (no errors are being reported)?

Lots of questions that need answering.

If you can answer some of these then let me know.

If/When I find out I will update this blog post.