You are on page 1of 13

AD Admin: Maintain Database Entities

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.


Objectives

After completing this lesson, you should be able to:


• List maintain database entities tasks you can perform with
AD Administration
• Validate APPS schemas
• Recreate grants and synonyms for APPS schemas
• Maintain multilingual tables

20 - 2 Copyright © 2016, Oracle and/or its affiliates. All rights reserved.


Maintain Database Entities: Menu Options

Maintain Applications Database Entities


---------------------------------------------------

1. Validate APPS schema


2. Re-create grants and synonyms for APPS schema
3. Check DUAL table
4. Return to Main Menu

20 - 3 Copyright © 2016, Oracle and/or its affiliates. All rights reserved.


Validate APPS Schema Option

Maintain Applications Database Entities


-----------------------------------------------------
1. Validate APPS schema
2. Recreate grants and synonyms for APPS schema
3. Check DUAL table
4. Return to Main Menu

20 - 4 Copyright © 2016, Oracle and/or its affiliates. All rights reserved.


Validate APPS Schema: Report

• A report called <APPS schema name>.lst, is produced in


APPL_TOP/admin/<SID>/out
• Review the report and fix every issue to avoid potential
problems while running or maintaining Oracle E-Business
Suite
• The report contains information about how to fix each
issue

20 - 5 Copyright © 2016, Oracle and/or its affiliates. All rights reserved.


Validate APPS Schema: When do you Run?

This task is most effective if run:


• Immediately after an upgrade or applying a maintenance
pack
• After a patch is applied (for multiple patches, run it once
after you apply all the patches)
• After performing an export/import (migration)
• When doing custom development in the APPS schema
• Whenever you receive a runtime error that suggests a
problem is coming from the AD_DDL package

20 - 6 Copyright © 2016, Oracle and/or its affiliates. All rights reserved.


Recreate Grants and Synonyms Option

Maintain Applications Database Entities


-----------------------------------------------------
1. Validate APPS schema
2. Recreate grants and synonyms for APPS schema
3. Check DUAL table
4. Return to Main Menu

20 - 7 Copyright © 2016, Oracle and/or its affiliates. All rights reserved.


Recreate Grants and Synonyms

This option:
• Recreates the grants and synonyms for the Oracle
E-Business Suite public schema (APPLSYSPUB)
• Recreates grants on some packages from SYSTEM to
APPS
• Then spawns parallel workers to recreate grants and
synonyms linking sequences and tables in the base
product schemas to the APPS schema

20 - 8 Copyright © 2016, Oracle and/or its affiliates. All rights reserved.


Recreate Grants and Synonyms: When do you
Run?

Run this task when grants or synonyms are missing from the
database. This may occur as a result of:
• Custom development
• Incomplete database migrations (exports/imports)
• Patch and administrative sessions that failed to run
successfully to completion
• Installing or maintaining underlying database components
or options such as Replication

20 - 9 Copyright © 2016, Oracle and/or its affiliates. All rights reserved.


Check DUAL Table Option

Maintain Applications Database Entities


-----------------------------------------------------
1. Validate APPS schema
2. Recreate grants and synonyms for APPS schema
3. Check DUAL table
4. Return to Main Menu

20 - 10 Copyright © 2016, Oracle and/or its affiliates. All rights reserved.


Check DUAL Table

The DUAL table:


• Is created automatically by ORACLE along with the data
dictionary
• Is in the SYS schema
• Has one column, DUMMY, of type VARCHAR2(1), and
contains one row with a value 'X'
• Is useful for evaluating expressions with the SELECT
statement, such as SELECT 7/8 from DUAL;

20 - 11 Copyright © 2016, Oracle and/or its affiliates. All rights reserved.


Check DUAL Table: Example

Enter your choice : 7


Reading init.ora information from applora.txt ...

Connecting to SYSTEM.....Connected successfully

SYS.DUAL has the correct number of rows.


Granting privileges on SYS.DUAL...

Review the messages above, then press [Return] to


continue.

20 - 12 Copyright © 2016, Oracle and/or its affiliates. All rights reserved.


Summary

In this lesson, you should have learned how to:


• List maintain database entities tasks you can perform with
AD Administration
• Validate APPS schemas
• Recreate grants and synonyms for APPS schemas
• Maintain multilingual tables

20 - 13 Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

You might also like