The following errors occur while running opatchauto to apply 19.8 GI RU:
[root@racnode1 ~]# opatchauto apply /tmp/31305339/
...
..
.
Reason: Failed during Patching: oracle.opatch.opatchsdk.OPatchException: Prerequisite check "CheckActiveFilesAndExecutables" failed.
After fixing the cause of failure Run opatchauto resume
]
OPATCHAUTO-68061: The orchestration engine failed.
OPATCHAUTO-68061: The orchestration engine failed with return code 1
OPATCHAUTO-68061: Check the log for more details.
OPatchAuto failed.
OPatchauto session completed at Mon Aug 3 17:50:34 2020
Time taken to complete the session 1 minute, 22 seconds
opatchauto failed with error code 42
Subscribe to get access
Read more of this content when you subscribe today.
Fleet maintenance uses the Out of Place Patching option with minimum downtime. Also this can be done only via emcli verb and there is no GUI option available.
This post demonstrates how to apply the latest Release Update DB July 2020 Release Update 19.8.0.0.200714 and OJVM July 2020 Release Update 19.8.0.0.200714 onto standalone database.
Environment:
Primary Host/Database : oemnode1 / OEMREP Standby Host/Database : stbnode1 / STBOEMREP Current ORACLE_HOME : /u01/app/oracle/product/19.0.0/dbhome_1 Referenced ORACLE_HOME: /u01/app/oracle/product/19.0.0/dbhome_2 REF_TARGET_NAME : OraDB19Home2_8_oemnode1_8 New Out of Place ORACLE_HOME: /u01/app/oracle/product/19.0.0/dbhome_3
Subscribe to get access
Read more of this content when you subscribe today.
-- get all index names of table testuser.test
testdb=>\d testuser.test
...
..
.
-- get size of index
testdb=> select pg_size_pretty( pg_relation_size('testuser.ix_test_id'));
pg_size_pretty
----------------
942 MB
(1 row)
SQL> create table test ( col1 varchar(10), col2 varchar(10) );
Table created.
SQL> insert into test values ( '',null);
1 row created.
SQL> commit;
Commit complete.
SQL> select count(*) from test where col1 is null;
COUNT(*)
----------
1
SQL> select count(*) from test where col2 is null;
COUNT(*)
----------
1
PostgreSQL does not treat empty string as NULL
This could bring some code issue when migrating Oracle database to PostgreSQL.
elms=> create table test ( col1 varchar(10), col2 varchar(10) );
CREATE TABLE
testdb=> insert into test values ( '',null);
INSERT 0 1
testdb=> select count(*) from test where col1 is null;
count
-------
0
(1 row)
testdb=> select count(*) from test where col2 is null;
count
-------
1
(1 row)