APPS Schema | Database Schema | Database Index


A given Oracle database can store the objects associated with a single installation of Oracle E-Business Suite. In general, product code objects are stored in the APPS schema, whereas product data objects are stored in the relevant base product schemas. These schemas are described further below.

The APPS Schema
The APPS schema has access to the complete Oracle E-Business Suite data model. It is analogous to the SYSTEM schema, which has access to the entire database. Oracle E-Business Suite responsibilities connect to an APPS schema, and the environment variable FNDNAM is set to the name of the APPS schema. The APPS schema owns all the code objects for the Oracle E-Business Suite, and has access to all data objects. There is one APPS schema for every product installation group. Utilizing a single schema that has access to all objects avoids cross-product dependencies, and creates a huband-spoke access model rather than the spider web model that would otherwise be needed. The APPS schema also improves the reliability of and reduces the time needed for installation, upgrading, and patching, by eliminating the need for cross-product grants and synonyms.

Significance of APPS schema Let’s start with database objects; a database could contain various kinds of objects, so these are the various objects you create in a database. Tables, Indexes, Sequences, Synonyms, Views and code.

Let’s try to understand these objects... What is a table? Table is a structure which contains data in it. If you want to store data in a database, you have to create a table first. Table would have columns and then you will insert records in it. When you talk about tables, always imagine an excel sheet it would have columns and records. What are indexes? Index is an object that you will create in order to improve the performance of data retrieval.

you have to do it in your room.. technical word is Schema. Views. whatever I create. sitting on application server eg. So. You would create a separate room for each purpose. I’ll ask my DBA to create a room for me. We have already discussed about the concept of schemas. and you want to show only eight columns. if I want to do some work. Most of the programming instructions are stored on a file. What are Views? View is a virtual Window on the table. Let’s say if a table has ten columns and you don’t want to display all those ten columns to particular group of users. For example. But some of the code resides on database as well.. you are not going to directly create in database. In order to automatically generate these IDs you would depend on these sequences than programmatically populating them. What are Synonyms? Is simply another name for tables. There would be a column in each table called primary key column which has unique IDs in it. Schema Let’s talk about Schema. Indexes etc. We just discussed about various database objects. so if you like to create a database object. I have access on that. if you want to do your work. you have to create schema first. You can see them if you have grants to do so. when you install E-Business suite database. You can also do restriction on records. it installs one schema for one module. . you can create a view on this table and give access on this view to particular group of users.. Forms file / Report file. It does not contain any data within itself it’ll be simply pointing to the table containing data.. system would know we are actually talking about X. Room is simply an example. so if you have created a table and called it X. There are three hundred plus modules in E-Business suite Release 12. if multiple applications are sharing the database. So now if we use Y.What are Sequences? Sequence is an object that generates unique IDs or Numbers. But you can’t see objects of other schema. They can see only eight columns. Why would you need them? Answer goes like this. each of them will be having their own room. Oracle database lets you to store programming instructions in the database. so there are three hundred plus schemas in R12 database. Here in this example you see one Schema for Accounts Payables. Schemas are virtual partitions or rooms in the database. you can create a synonym called Y pointing to the same table X. one for Accounts Receivables etc. A Schema would be created for me and I can do whatever work I want in my Schema like creation of Tables. So. E-Business Suite’s Schema Now we are going to discuss about E-Business suite’s Schema. What are Packages / Procedures and Functions? They are objects which are programming instructions.

AR Schema would have Accounts Receivables related tables. AP Schema would have Accounts Payables related tables. So. Tables would have actual data. Data will be stored in the database and application logic is stored in the application server. we understood that application services are installed on application server and database services on database server.Each of these schemas will contain tables in it. In our article about E-Business suite architecture. Application server will be constantly talking to the database. .

. APPS Schema Let’s talk about APPS Schema. so when you want to do some activity on the database. you have to log in to some schema. The data is sitting outside to APPS and application is connecting to APPS. We have already discussed that application services are in touch with the database.So. AR and GL schemas have the actual tables. The actual data is residing in non-APPS schemas as you can see in the above diagram AP. APPS is a special schema with which the application connects. application has to be in constant touch with the database in order to retrieve or write data. It is not pointing to any module and it’s a special schema allowing the application to connect to the database.

these module schemas also contain Indexes (which expedites querying) Let’s again look back to APPS Schema. we have Tables. Each module will have its own Sequences within its Schema. we have Synonyms and Views which are pointing to tables outside APPS. all the database code resides in APPS Schema. There is no . Other than Tables and Sequences. Other than Synonyms. So. then application can do queries on tables sitting outside APPS. both are pointing to the data outside APPS Schema. Which are virtual windows basically gives restricted access on the table. Beside Tables we have Sequences (which generates sequential numbers). It has all the required privileges to query tables outside its schema. However in order to simplify the querying Synonyms are created. It has Synonyms and Views.Once application is connected to APPS. You must have noted we don’t have actual data sitting in APPS. Other than that APPS Schema has code. In the actual Schemas of the modules. APPS Schema has Views.

code in AP. AR and GL Schema. the actual data always sits in Schemas related to the modules. So the take home is. . Other than that Indexes and Sequences sit there. APPS Schema doesn’t have any data and all the code sits in APPS Schema.

Sign up to vote on this title
UsefulNot useful