Silent Installation of Tools 8.58

Silent install A new feature of 8.58 is the silent installation. The documentation says you can run a command such as: 1 2 3 4 ./psft_dpk_setup.sh \ --silent \ --response_file=response.txt \ --customization_file=psft_customizations.yaml The customizations file is optional, but I decided this time around to use it as much as possible to create a system as close as possible to what I wanted to end up with.

Testing IO with SLOB

We recently purchased a new database server. We ran a performance test which our brilliant testing team have put together and found out the system with the new server was slightly slower than the system with the old one. The testing team was happy that the test was a pass - the users wouldn’t notice the difference. However, new servers are supposed to be quicker than old ones, so I was disappointed.

Redo Inconsistency

Redo Investigation I was investigating a performance issue on new hardware and installed SLOB to do so. I discovered in the AWR report, that the redo generated per transaction was around four times that in development. I checked everything I could think of, including copying the parameter file from development to the new hardware and using that, but the redo stayed stubbornly high. I asked the oracle-l mailing list for ideas.

Django on RedHat 7

Django on RHEL7 Here is how I chose to set up Django on RHEL7. This is somewhat painful because the default Python in RHEL7 is still version 2. Using this to create any new programs seems foolish as it has already been de-supported by the Python project, so I really have to use Python 3. Set up Linux We need Python 3, Django, Apache, and Postgresql. See the instructions linked in the next section if the Postgresql packages aren’t found.

Gnu PG Cache Time To Live

As discussed previously, we use regpg to manage Ansible secrets. This has been really useful. One annoyance though is that some tasks can take up to 6 hours to run, but the gpg agent only caches the gpg passphrase for 10 minutes or so. I end up having to type the passphrase in several times during a run. I occasionally kick off a run before I leave for the day. It would be a shame if it was stalled overnight due to waiting for a passphrase.

Ansible trick - Retry an intermittent error

We have recently been having issues with mounting windows shares. It occasionally doesn’t work. We don’t have access to fix it. The playbook fails at this step. This is really annoying, because if it tried again it would probably work fine, and the playbook could complete. It turns out that Ansible does have a way to retry. I got the idea from this Stack Overflow question The solution is the Ansible retries keyword.

Auditing Options in the Database

Oracle Auditing Oracle have a number of different types of auditing, and in recently created databases they all coexist. I looked at this recently and thought I had better make some notes before I forget. There are three types of auditing: Traditional auditing. This is the way things worked before 12.1 Unified auditing. This is the new rewrite of auditing, but needs some effort to get working. Fine grained auditing.

Fixing Logical Standby Go Slow

Logical Standby Databases We use a logical standby database. The logical standby database is inherently fragile, because it mines the primary logs, and attempts to rebuild the SQL to apply on the logical. This rebuilt SQL is fine most of the time, but if an application release has altered a table, or updated most of the rows in a large table, this generated SQL often performs very poorly. Logical Standby Failure Modes Typically there are two failure modes for the logical standby database.