Type a description for the catalog, and then click OK. In the Physical Schema dialog, type a name. Type a description for the schema, and then click OK. To select the highlighted variable, click Select.

7-4 Metadata Repository Builders Guide for Oracle Business Intelligence Enterprise Edition To add additional tables to the Physical Diagram, leave the Physical Diagram window open and then right-click the table or tables you want to add. Then, select Physical Diagram and choose one of the display options. Additional options are available in the right-click menu for the graphical tables and joins displayed in the Physical Diagram. For example, you can delete objects or view their properties, or you can add additional related objects using the right-click options Add Direct Joins , Add Tables Joined to Whole Selection, and Add All Joins. You can also select Find in Tree View to locate a particular object in the Physical layer tree view in the right pane, or check out objects in online mode. You can also right-click an object in the Physical Diagram view and select Hide to hide particular objects in the diagram. Note that this effect is temporary and does not persist. See also the following sections: ■ Using the Physical and Business Model Diagrams for information about zooming, panning, and controlling the layout of the tables ■ Defining Physical Joins with the Physical Diagram for information about defining physical joins Creating Physical Layer Folders This section contains the following topics: ■ Creating Physical Layer Catalogs and Schemas ■ Using a Variable to Specify the Name of a Catalog or Schema ■ Setting Up Display Folders in the Physical Layer Creating Physical Layer Catalogs and Schemas Catalogs are optional ways to group different schemas. A catalog contains all the schemas metadata for a physical database object. A schema contains only the metadata information for a particular user or application. Model the Physical layer after the way your data source is structured. Note the following: ■ You must create a physical database object before you can create a physical catalog object or a physical schema object. ■ After you implement a certain type of grouping, you cannot change it later. For example, if you decide to implement database schema table, you cannot add a catalog afterward. Creating Catalogs In the Physical layer of a large repository, administrators can create physical catalogs that contain one or more physical schemas. To create a catalog: 1. In the Physical layer of the Administration Tool, right-click a physical database and select New Object, then select Physical Catalog. 2. In the Physical Catalog dialog, type a name for the catalog.

3. Type a description for the catalog, and then click OK.

Working with Physical Tables, Cubes, and Joins 7-5 Creating Schemas The schema object contains tables and columns for a physical schema. Schema objects are optional in the Physical layer of the Administration Tool. To create a schema: 1. In the Physical layer of the Administration Tool, right-click a physical database or physical catalog and select New Object, then select Physical Schema.

2. In the Physical Schema dialog, type a name.

3. Type a description for the schema, and then click OK.

Using a Variable to Specify the Name of a Catalog or Schema You can use a variable to specify the names of catalog and schema objects. For example, you have data for multiple clients and you structured the data source so that data for each client was in a separate catalog. You would initialize a session variable named Client, for example, that could be used to set the name for the catalog object dynamically when a user signs on to the Oracle BI Server. You specify the session variable to use in the Dynamic Name tab of the Physical Catalog or Physical Schema dialog. To specify the session variable to use in the Dynamic Name tab: 1. In the Name column of the Dynamic Name tab, click the name of the session variable that you want to use. The initial value for the variable if any is shown in the Default Initializer column.

2. To select the highlighted variable, click Select.

The name of the variable is displayed in the dynamic name field, and the Select button toggles to the Clear button. To remove assignment for a session variable in the Dynamic Name tab: ■ Click Clear to remove the assignment for the variable as the dynamic name. The value not assigned is displayed in the dynamic name field, and the Clear button toggles to the Select button. To sort column entries in the Dynamic Name tab: ■ You can sort the entries in a column by clicking the Name or Default Initializer column heading. Clicking a column heading toggles the order of the entries in that column between ascending and descending order, according to the column type. Setting Up Display Folders in the Physical Layer You can create display folders to organize table objects in the Physical layer. They have no effect on query processing. After you create a display folder, the selected tables appear in the folder as a shortcut and in the Physical layer tree as an object. You can hide the objects so that you only view the shortcuts in the display folder. See the information about the Repository tab of the Options dialog in Setting Preferences for more information about hiding these objects. Note: The Dynamic Name tab is not active unless at least one session variable is defined. 7-6 Metadata Repository Builders Guide for Oracle Business Intelligence Enterprise Edition To set up a physical display folder: 1. In the Physical layer of the Administration Tool, right-click a physical database and select New Object, then select Physical Display Folder. 2. In the Physical Display Folder dialog, type a name for the folder.

3. To add tables to the display folder, click Add. Then, in the Browse dialog, select