Oracle 12c

Oracle Database 12.1.0.2 is available!!!

Oracle Database 12.1.0.2 is available for download now. It is the most comprehensive patch set we’ve ever built. Look up the list of inclusions – and it includes the new marquee feature OracleDatabase In-Memory.

Three things important to mention:

  • It is a full release – no need to get Oracle Database 12.1.0.1
  • Even though it is a patch set it will be available on OTN and eDelivery – and Oracle Database 12.1.0.1 will be removed instantly
  • For now it is an Enterprise Edition install only – SE and SE One may follow later.
    Please see MOS Note:1905806.1 for
Continue reading...

Remote Cloning of Pluggable Databases
in Oracle Database 12.1.0.1

Cloning of Pluggable Database in Oracle Multitenant is a great feature and very useful. It had just a tiny flaw in Oracle Database 12.1.0.1: Remote cloning from one to another CDB fails.

This will work flawless beginning with the first patch set Oracle 12.1.0.2 – but if you want to use that feature still in Oracle 12.1.0.1 you need to apply at least PSU3 or a single patch 18898403.

See the documentation:

–Mike…

Continue reading...

DBUA can ignore underscores with “keepHiddenParams”

Important Update (Aug 17, 2019):
This option does not exist since Oracle 18c anymore due to bug 26762080. Instead you could try to use dbua -initParam (just be aware that you can’t pass on an event with this option).

——————-

The Database Upgrade Assistant (DBUA) is the graphical tool to upgrade Oracle databases. And the DBUA removes underscore parameters by default from the SPFILE when upgrading a database. If you don’t want this, there’s a way to tell it how DBUA can ignore underscores with “keepHiddenParams”.

DBUA can ignore underscores with “keepHiddenParams”

The DBUA by default will remove all

Continue reading...

Some impressions from Australia

Being again in Australia was – again – a great experience. If only traveling to Down Under wouldn’t take this long … 🙂 But thanks to everybody who showed up – and sorry to those which got a “Sorry, it’s sold out already!” message. It was pure fun to talk to you and we’ll hope to get a lot of people to move onwards to Oracle 12c as soon as possible. Don’t forget: 11.2 will go out of Premier Support in less than 12 months from now on. Of course we’ll return one day – and certainly our colleagues …

Continue reading...

Thank you for coming to our workshops :-)
And here’s the Upgrade to 12c Viewlet

Wow!!! That was a thrilling week. With great people in Singapore, Jakarta and Kuala Lumpur!!! Thanks for coming by and thanks for listening. Now it will be your task to upgrade/migrate to Oracle Database 12c as soon as possible 😉

We’ve had:

  • 105 people in Singapore on Tueday, January 21
  • 82 people in Jakarta on Wednesday, January 22
  • 108 people in KL on Thursday, January 23

and many good discussions within the breaks or after the workshop. And thanks to those who send an email already.

For us heading out directly after the workshops to rush to the airport becomes …

Continue reading...

Oracle Database 12c for AIX, HP-UX IA and zLinux now available

It took a while … but finally Oracle Database 12c is available for:

Oracle Database 12c Release 1
Standard Edition, Standard Edition One, and Enterprise Edition

Continue reading...

Starting up 252 PDBs automatically?

In my recent posting I have explained the startup of many PDBs at the same time.

But once you startup the container database CDB$ROOT the PDBs will stay in MOUNT status. So how do you start them during CDB$ROOT startup (or immediately afterwards) in an automatic fashion?

A startup trigger will do this job.

CREATE OR REPLACE TRIGGER startup_all_pdbs
AFTER STARTUP ON DATABASE

BEGIN

EXECUTE IMMEDIATE ‘ALTER PLUGGABLE DATABASE ALL OPEN’;

END;

/

And of course you can use the EXCEPT command option to exclude one or more PDBs from the automatic startup.

CREATE OR REPLACE TRIGGER startup_all_pdbs_except_a_few
AFTER STARTUP

Continue reading...

Starting up 252 PDBs in Oracle Multitenant

What happens when you start up 252 PDBs (Pluggable Databases) with the Oracle Multitenant Option for the first time?

Interesting question, isn’t it? The expectation would be that this will happen within seconds as the SGA and therefore the shared memory segments are already allocated from within the CDB$ROOT (Container Database). But …

The following happens:
It takes minutes … hours …. In my tiny lab environment with just as little as 20 PDBs due to space constraints it takes over 30 minutes to startup 21 PDBs. Takashi Ikeda from Fujitsu Hokoriku Systems who did a great demo with the …

Continue reading...

How to SET TIMING ON for parallel upgrades to 12c?

Annotation:
This hack is not necessary anymore since Oracle Database 12.1.0.2 as TIMING ON is the standard as well as ECHO ON. Please don’t edit catupses.sql by yourself.

Have you asked yourself how to get timings in an Oracle Database 12c upgrade for all statements?

When you run the parallel upgrade via catctl.pl, the parallel upgrade Perl driving script in Oracle Database 12c, you may also want to get timings written in your logfile during execution. As catctl.pl does not offer an option yet the best way to achieve this is to edit the catupses.sql script in $ORACLE/rdbms/admin as this …

Continue reading...

Oracle Database 12c pre-upgrade scripts and JAVAVM

This is a great example of why you should always review the README file when upgrading to a new release. Here is an issue that we found during customer beta testing, and that you will want to be aware of if you are upgrading to Oracle Database 12c and do not have the JAVAVM component in your database. The following text has been added to the 12.1 Readme under Section 1.1:

TITLE: Pre-Upgrade Tool Does Not Generate Output Logs 

The pre-upgrade tool, preupgrd.sql, is not able to create a directory to
store the output files if the JAVAVM component
Continue reading...

Very cool videos about Upgrade to Oracle 12c

Sometimes it is by far easier to watch a few short videos instead of reading an entire book 🙂

So enjoy watching Roy talking about Upgrades and Migrations to Oracle Database 12c in short videos covering also the new Upgrade and Migration features in Oracle Database 12c.

A set of five short videos discussing new features and enhancements to database upgrades in Oracle Database 12c.

Continue reading...

Full Transportable Export/Import White Paper

One of the really cool and helpful features in Oracle Database 12c is called Full Transportable Export/Import. It combines the basics of transportable tablespaces – of course cross-platform, cross-endianess, cross-version – with Data Pump taking care on all the stuff not stored in tables and indexes, such as views, synonyms, trigger, packages etc. And you can even reduce downtime by combining the feature with incrementally converted RMAN backups.

And the best thing: this will work with an Oracle Database 11.2.0.3/4 to Oracle Database 12c – so you don’t have to be on Oracle Database 12c in order to …

Continue reading...

Oracle Database 12c is available for download now!

Good things come to those who wait … finally … Oracle Database 12c (Oracle 12.1.0.1) is available for download from the Oracle Software Cloud (formerly know as eDelivery) and OTN (Oracle Tech Network) for Linux 64bit (Solaris will follow within the next few hours):

.

And yes, it will be supported on Oracle …

Continue reading...

Back Home …

Now finally back from my short trip to Johannesburg, South Africa. Flying out Monday overnight, returning Friday morning after another overnight flight (all Eco). But thanks to Turkish Airlines – including the short stop-over in Istanbul was worth it as the seating comfort in Turkish’s economy class is far better than Lufthansa’s – as is the food and especially the entertainment system, the service … almost everything. And luckily the Turkish Airline’s employees didn’t go on strike in Thursday 🙂

But after running now 6 internal Oracle Database 12c: Upgrade, Migrate and Consolidate workshops in the US and …

Continue reading...