I am using an Oracle Docker image of 12.2.0.1 in my development environment:
There does not seem to be an equivalent of this for 11.2.0.4. The database where my code will be deployed into production is 11.2.0.4, so I need to work with compatible=11.2.0.4.
I have tried many times and many ways to set compatible=11.2.0.4 but I cannot get it to work. It seems that, no matter what, due to the built in templates or whatever, I get an error that 12.2 control files are not compatible with 11.2.0.4.
The first method I tried was to set info.ora
parameters prior to the first call to dbca
and to use dbca
responses (in an rsp
file) to include compatible=11.2.0.4
. This resulted in an error because the dbc
template has control files that are incompatible (12.1).
I tried using a dbt
template instead, so that control files would not be copied, but the dbca
command seems to have created 12.2
control files even though I was requesting 11.2
compatibility.
Is it possible to create a CDB or PDB with 11.2.0.4 compatibility using 12.2.0.1? Currently the question is whether or not it's even possible. If it is possible, some high-level guidance as to how to go about it would be much appreciated.
Unfortunately I did not save records from yesterday's 10-hour session. For now, knowing whether or not it is even possible to create an older-versioned database will suffice.
Here's what detail I can provide...
The most frequently encountered error was
ORA-00201: control file version 12.2.0.0.0 incompatible with ORACLE version 11.2.0.4.0
ORA-00202: control file: '/opt/oracle/cfgtoollogs/dbca/SIDGNRIC/tempControl.ctl'
This error occurs when my dbca
responses included:
responseFileVersion=/oracle/assistants/rspfmt_dbca_response_schema_v11.2.0
initParams=audit_trail=none,audit_sys_operations=false,compatible=11.2.0.4
templateName=General_Purpose.dbc
I also tried changing to templateName=New_Database.dbt
with the same result.