R12 d49656 gc10-apps dba 12

  • 630 views
Uploaded on

Oracle Applications, Oracle Database, D49656, Oracle Applications DBA

Oracle Applications, Oracle Database, D49656, Oracle Applications DBA

More in: Education , Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
630
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
92
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • ILT Schedule: Timing Topic 30 minutes Lecture 30 minutes Practice 60 minutes Total
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> - Validate APPS Schema The Validate APPS schema task runs a SQL script (advrfapp.sql) against the APPS schema to verify the integrity of the schema. It determines: Problems you must fix (not specific to the APPS schema) Problems you must fix (specific to the APPS schema) Issues you may want to address (specific to the APPS schema)
  • <Course name> <Lesson number> - Validate APPS Schema The Validate Apps schema task produces a report, called <APPS schema name>.lst, where <APPS schema name> is the name of your APPS schema (for example, APPS.lst). Issues this task may find include: Missing or invalid packages Missing or invalid synonyms Invalid objects in APPS
  • <Course name> <Lesson number> - Validate APPS Schema You can also run this task with SQL*Plus: UNIX: $ cd $APPL_TOP/admin/<SID>/out $ sqlplus <SYSTEM username>/<SYSTEM password> @$AD_TOP/admin/sql/advrfapp.sql \\ <APPS schema name> <AOL schema name> Windows: C:\\> cd %APPL_TOP%\\admin\\<SID>\\out C:\\> sqlplus <SYSTEM username>/<SYSTEM password> \\ @%AD_TOP%\\admin\\sql\\advrfapp.sql <APPS schema name> <AOL schema name>
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> - Recreate Grants and Synonyms Each product’s data objects are created in its own schema (such as the GL schema) but the product code objects are created in the APPS schema. The APPS schema must have the appropriate grants and synonyms for product schema objects so that code objects compile and Applications can access data at runtime.
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> - Maintain Multi-lingual Tables As discussed in the Oracle Applications Architecture section, MLS or multilingual support is Oracle Applications’ ability to operate in multiple languages simultaneously. When running the Maintain multi-lingual task you can select the number of parallel workers.
  • <Course name> <Lesson number> - Maintain Multi-lingual Tables The “Maintain Multi-lingual tables” task calls PL/SQL routines that maintain multilingual tables for Oracle Applications by adding any missing, untranslated rows. This task runs the <PROD>NLINS.sql script for every product.
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> - Check DUAL Table This task looks for a DUAL table accessible by Oracle Applications and ensures the correct grants are set up. If no such table exists, or if an existing DUAL table has more than one row, AD Administration displays an error. If a DUAL table containing only one row exists, AD Administration completes successfully. This slide shows a typical output for the Check DUAL table task. It connects to the database then verifies the DUAL table. Note: If the DUAL table does not exist, or if it does not contain exactly one row, Oracle Applications will not run correctly.
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> -
  • <Course name> <Lesson number> - Refer to Practice - Validating APPS schema [ LAB41FCY ]

Transcript

  • 1. AD Administration: Maintain Database Entities Tasks AD Utilities Topics
  • 2. Objectives
    • At the end of this module, you should be able
    • to do the following:
      • List maintain database entities tasks you can perform with AD Administration
      • Validate APPS schemas
      • Recreate grants and synonyms for APPS schemas
      • Maintain multilingual tables
  • 3. Module Overview
    • This module includes the following topics:
      • The Maintain Database Entites menu tasks
      • Validating the APPS schema
      • Recreating grants and synonyms for APPS schemas
      • Maintaining multilingual tables
  • 4. Maintain Database Entities Maintain Applications Database Entities --------------------------------------------------- 1. Validate APPS schema 2. Re-create grants and synonyms for APPS schema 3. Maintain multi-lingual tables 4. Check DUAL table 5. Return to Main Menu
  • 5. Validate APPS Schema Maintain Applications Database Entities ----------------------------------------------------- 1. Validate APPS schema 2. Recreate grants and synonyms for APPS schema 3. Maintain multi-lingual tables 4. Check DUAL table 5. Return to Main Menu
  • 6. Validate APPS Schema
      • 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 Applications
      • The report contains information about how to fix each issue
  • 7. Validate APPS Schema
    • 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
  • 8. Recreate Grants and Synonyms Maintain Applications Database Entities ----------------------------------------------------- 1. Validate APPS schema 2. Recreate grants and synonyms for APPS schema 3. Maintain multi-lingual tables 4. Check DUAL table 5. Return to Main Menu
  • 9. Recreate Grants and Synonyms
    • This option:
      • Recreates the grants and synonyms for the Oracle Applications 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
  • 10. Recreate Grants and Synonyms
    • 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
  • 11. Maintain Multi-lingual Tables Maintain Applications Database Entities ----------------------------------------------------- 1. Validate APPS schema 2. Recreate grants and synonyms for APPS schema 3. Maintain multi-lingual tables 4. Check DUAL table 5. Return to Main Menu
  • 12. Maintain Multi-lingual Tables
    • Maintain Multi-lingual tables:
      • Invokes PL/SQL routines to maintain multi-lingual tables by adding any missing, untranslated rows
      • Is generally run during the NLS install and maintenance processes
  • 13. Check DUAL Table Maintain Applications Database Entities ----------------------------------------------------- 1. Validate APPS schema 2. Recreate grants and synonyms for APPS schema 3. Maintain multi-lingual tables 4. Check DUAL table 5. Return to Main Menu
  • 14. 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;
  • 15. Check DUAL Table 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.
  • 16. Module Summary
    • In this module, you should have learned how
    • to do the following:
      • List database tasks you can perform with AD Administration
      • Validate APPS schemas
      • Recreate grants and synonyms for APPS schemas
      • Maintain multilingual tables
  • 17. Module Discussion
      • Name two database maintenance tasks you can perform with AD Administration and describe them.
      • What are the Oracle Applications configurations that may change the task options in the Maintain Applications Database Objects menu?
  • 18. Module Practice
      • Validating APPS schema