Submitted by dave on Mon, 11/02/2020 - 17:11
There are some impressive new features in 20.2. unfortunately my latest upgrades are not going so well.
I see we've got a bundle patch already! Patch 32006852: PSE BUNDLE FOR APEX 20.2 (PSES ON TOP OF 20.2.0.00.20)... But I don't see any of the issues I encountered being addressed.
From most to least severe:
Submitted by dave on Mon, 05/18/2020 - 12:50
As we move on to 12.2 and 19c we're seeing more instances where simple schema export/import migrations are missing objects on the target database.
If you do object counts after a simple schema migration... Or see something like this pop up in your impdp logs:
Submitted by dave on Fri, 02/14/2020 - 13:24
Create keystore with a self signed cert
keytool -genkey -keystore /path/keystore.jks -alias selfsigned -keyalg RSA -keysize 4096 -validity 720
Enter details for cert and enter password = password123
Update Tomcat server.xml
Submitted by dave on Wed, 02/06/2019 - 16:10
If you are getting odd abends on your Golden Gate replicats due to trail file corruption, make sure you visit your filesystem options for the filesystem where the manager process writes the trail files.
Long story short is that we were finding large swaths of Zeroes appearing in our trail files. Using logdump I could see the header of the trail file was OK, but somewhere down the line a valid record would be followed by straight up zeroes. Lots of them. I verified this using logdump and a hex editor.
Submitted by dave on Mon, 10/22/2018 - 23:11
I find Encryption is blamed for a lot of performance issues so wanted to find out for myself how much of a performance hit we might be taking for common operations. There ain't no free lunch. Adding any extra processing or manipulation to an operation is going to add time to that operation.
Where can encryption be enabled when working with an Oracle database?
For Oracle there are two places to introduce encryption:
Submitted by dave on Thu, 10/04/2018 - 17:24
If you have clients connecting to a server and the clients don't specify a specific encryption algorithm in SQLNET.ENCRYPTION_TYPES_CLIENT, be aware that the order of the algorithms listed in SQLNET.ORA on the server side matters...
If you don't specify SQLNET.ENCRYPTION_TYPES_CLIENT from a 12.2 client configuration, a SQLNet client side trace shows the following possibilities, the choices are listed from most secure to least secure:
(3775811968) [04-OCT-2018 19:47:44:284] nam_gic: Counting # of items in "SQLNET.ENCRYPTION_TYPES_CLIENT" parameter
Submitted by dave on Thu, 06/28/2018 - 12:40
I've been diving into more OEM Automation and collecting information here.
While the Oracle example scripts are a great way to find out how to interact with OEM via the emcli and python/jython interface, there doesn't seem to be much info about how this all gets done. You feed a Python script to emcli and magic happens right?
Adeesh Fulay has a great intro article here.
Submitted by dave on Fri, 02/24/2017 - 17:03
After 4 unexplained crashes and a stalled Sev 1 SR I was pulling my hair out. Particularly vexing was the fact that a user was running a distributed query which was crashing a remote database.
I isolated the 4 crash times for the remote database and I wanted to see what users and SQLs were running on the local database up until the crash time. So for a crash happening around 11:16 I would use the following query.
Submitted by dave on Thu, 09/15/2016 - 17:49
To troubleshoot a problem I needed to copy a database's worth of files out of an ASM diskgroup and onto the filesystem. I searched around and checked help for ASMCMD assuming there was a recursive option. I found references to one in some places on the interwebs, even official Oracle references to it like Unable To Copy Directory Using ASMCMD Cp -r Command (Doc ID 829040.1) but struck out when trying to do this on 11g and 12c ASM installs.