IMPDB with REMAP_SCHEMA may create(import) Trigger on table in Wrong Schema

Funny situation was discovered recently by one of our customers. Actually, it was an incident with Core Banking System, so, in reality, it wasn’t Funny….

I have checked and found that this issue reproduces not only with customer’s database using software version 11.2.0.4, but with version 12.1.0.2 with latest Oracle Database Proactive Bundle Patch(160719) installed.

To reproduce issue you need: Continue reading

Global Context + Session Client Identifier = Strange Behaviour or Documentation BUG ?

Here I’ll describe some strange/interesting/ behaviour of Global Application Context connected with usage of Session Client Identifier, that is quite usually met in Application Express, J2EE Agent, Oracle Data Integrator starting from release 11.1.1.7 and many other applications that uses JDBC Connection Pooling in conjunction with setting Session Client Identifier.

So what is the problem ?

The problem is that Global Application Context doesn’t work as expected and described in documentation – attributes’ VALUES ARE NOT VISIBLEContinue reading

Oracle Database Patchset 11.2.0.4 is ready for downloading

Oracle RDBMS PatchSet version 11.2.0.4 is available for downloading since 27-AUG-2013 ! again some time earlier than OOW2013

But(as of 29-AUG-2013) it’s still available only for Linux x86-64 + Linux x86 and all Oracle Solarises(x86, x86-64, SPARC 32-bit, SPARC 64-bit)

Checked on 29-OCT-2013 – patchset aditionally available for next platforms: Microsoft Windows(32-bit), Microsoft Windows x64(64-bit), HP-UX Itanium(32-bit), HP-UX Itanium(64-bit), IBM AIX on POWER Systems (32-bit), IBM AIX on POWER Systems (64-bit)

Based on  NOTE:742060.1 Release Schedule of Current Database Releases:

  • 11.2.0.4 on Linux x66(new platform ? ;)) released – this joke no more present in mentioned document 😉
  • this is the terminal patch set for 11.2 Continue reading

Funny Package Non-Compilation Issue

Today I was contacted by one of our customers with very non-typical issue on their 10.2.0.4 database. They have added new column to one table at the middle of the day and now they are not able to compile some of invalidated packages.

Now I’m clarifying what does it mean ‘NOT ABLE TO COMPILE‘:

ALTER PACKAGE PKG_ERP_MAIN COMPILE;
Package altered.

SHOW ERR
No errors.

ALTER PACKAGE PKG_ERP_MAIN COMPILE BODY;
Package body altered.

SHOW ERR
No errors.

select object_type,status from dba_objects where object_name='PKG_ERP_MAIN';
OBJECT_TYPE         STATUS
------------------- -------
PACKAGE             VALID
PACKAGE BODY        INVALID

Funny! Isn’t ? Continue reading

Funny FBDA BUG: ORA-00600 [ktfa_error_handler_map], [942]

I have faced quite interesting situation with Flashback Data Archive(FBDA)  that wasn’t covered yet in blogosphere.

So I have just created new Flashback Archive and altered some tables specifying it(Flashback Archive).

Just after some time of any DMLs on altered tables next error appears in alert.log

Starting background process FBDA
Thu Feb 21 11:07:07 2013
FBDA started with pid=203, OS id=3626
Errors in file /u01/app/oracle/diag/rdbms/siam_opt/siamopt/trace/orcl_fbda_3626.trc  (incident=57628):
ORA-00600: internal error code, arguments: [ktfa_error_handler_map], [942], []
ORA-00942: table or view does not exist

Please, notice presence of additional funny error  – ORA-00942. Why it may be here ? we’ll see later… Continue reading

No Oracle Database 12c(12.1) was released on 12.12.(20)12…

Despite the fact that there were some speculations that Oracle Database 12c will be released on 12.12.(20)12 to use the Magic of 3×12, this opportunity was missed by Oracle and Release 12c is still in Beta Testing period,

so we have to wait for the another ‘good’ moment like 3×13(12.13.[20]13)  😉

Later we’ll see if it add more power to new Release… 😉

Troubleshooting ‘Log File Sync’ Waits

I have been contacted by one of our customers to provide reference information on troubleshooting Oracle Log File Sync waits.

I think that this information worth short blog post.

Reasons:

  • Log File Sync waits occur when sessions wait for redo data to be written to disk
  • typically this is caused by slow writes(IO subsystem saturation,…)
  • spikes in Log File Parallel Write, as shown by James Morle
  • or the application is committing too frequently
  • improper Operating System configuration(check 169706.1)
  • CPU overburning(very high demand => LGWR on run queue, check Kevin Closson post)
  • high Log Parallelism, which saturates filesystem/OS, as investigated by Nikolay Savvinov
  • BUGs in Oracle(especially with RAC option) and 3rd Party software(like ODM/DISM)

Recommendations: Continue reading