What is Edition Based Redefinition (EBR) in Oracle?



Edition Based Redefinition (EBR) is a new feature introduced from Oracle Software Version 11g R2.Edition-based redefinition allows multiple versions of PL/SQL objects, views and synonyms in a single schema.This feature facilitates Online patching of database objects in R12.2 online Patching.

Editionable and Non-editionable Objects


Below schema object types are editionable in the database:

SYNONYM
VIEW
SQL translation profile

All PL/SQL object types:

FUNCTION
LIBRARY
PACKAGE and PACKAGE BODY
PROCEDURE
TRIGGER
TYPE and TYPE BODY

If a schema object type is editionable in the database, then it can be editionable in schemas.All other schema object types are noneditionable in the database and in every schema, and objects of that type are always noneditioned. Tables are always noneditioned objects.


To view the editions related information in the database, use the below datadictionary tables.

DBA_EDITIONS: SELECT * FROM dba_editions;

DBA_OBJECTS_AE: DBA_OBJECTS_AE view shows all objects, of all editions.

What is the use of MMON background process in Oracle Database?

MMON (Manageability Monitor)


MMON (Manageability Monitor) is a background process introduced in Oracle 10g. It gathers memory statistics (snapshots) and stores this information in the AWR (automatic workload repository). MMON is also responsible for issuing alerts for metrics that exceed their thresholds.





How to Compile Forms in Oracle Applications Release 11i and Release 12?



Steps to compile forms  in  Oracle Applications Release 12.1.x and 12.2.x


Login to Application Tier node as applmgr user


Change to $AU_TOP/forms/US


Execute the Below command to generate form files.


frmcmp_batch userid=apps/<password> module=formname.fmb
output_file=$PROD_TOP/forms/US/<name>.fmx module_type=form batch=no compile_all=special


After execution of the above command, verify there are no compilation errors in output displayed and the fmx is created succesfully.



Steps to compile forms  in  Oracle Applications Release 11i


Login to Application Tier node as applmgr user


Change to $AU_TOP/forms/US


Execute the Below command to generate form files.


f60gen module=$AU_TOP/forms/US/<custom_form>.fmb  userid=apps/<passwd> output_file=$PRODUCT_TOP/forms/<customformname>.fmx module_type=form compile_all=yes




Tips:


Use command “f60gen help=y” or “frmcmp_batch.sh help=y” to find the optional parameters.


Using Compile_all= yes changes cached version in the source file in addition to compiling pl/sql in the utput fmx file.