Skip to Main Content

Intelligent Advisor

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OPA on Docker

Brandon BelcherMar 18 2018 — edited May 24 2018

I was reviewing some work I started a while back containerizing OPA, and decided it was doing little good sitting in a dusty corner of my hard drive.  Hopefully someone finds these repos useful!

Docker OPA Hub

Weblogic Configuration

This runs two containers from official images. It installs OPA after the containers have started. It is useful for testing the OPA installer on Oracle supported deployments (Oracle JRE, Weblogic, and MySQL).

Tomcat Configuration

This is a completely unsupported configuration (OpenJDK, Tomcat, and MySQL) but is much faster since it builds streamlined images with OPA pre-installed. This can be useful for developers who want a local Hub install but with a smaller footprint than a VM.

Vagrant OPA Hub

And finally if you want a quick and easy OPA Hub but prefer virtual machines, here's a minimal-effort script for creating an OPA Hub on VirtualBox.  This, like the Tomcat Docker config, is not supported, but is quick and easy for dev use.

Feedback welcome.  Enjoy!

-Brandon

Comments

Greybird-Oracle
Answer

Hi Keith,

Since you have read the other information about this problem, I assume you know that upgrading to JE 6 (use the most recent release of course) is the only sure solution, but setting CLEANER_ADJUST_UTILIZATION to false will work for some applications. If it is working for you, that's great, but please plan to upgrade.

The reason that EVICT_LN would bring out this problem is that, after the LN (data record) is evicted, the Btree no longer contains its size. Then when you delete the record, JE has to guess the size using an average. If the LN were still in cache, the size would be known at the time it is deleted. In JE 6 and above, the size is stored in the Btree even after the LN is evicted, which solves the problem.

--mark

Marked as Answer by keithwall · Sep 27 2020
keithwall

Thanks for the swift reply.  That completely answers my question.

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 21 2018
Added on Mar 18 2018
2 comments
872 views