| Oracle Discoverer Administration Edition Administration Guide Release 4.1 for Windows A86730-01 |
|
This chapter consists of the following sections:
The End User Layer (EUL) is the meta data (i.e. data about the actual data in a database) that is simple and easy for users to understand. You use Discoverer Administration Edition to create, customize, and maintain this view for your users so they can easily access data in Discoverer Plus. You must have access to at least one EUL in order to use Discoverer Administration Edition or Discoverer Plus. Access is granted using the Privileges dialog box, described in Chapter 8, "Access Privileges and Security".
The EUL insulates end users from the complexity and constant change usually associated with databases. It provides an intuitive, business-focused view of the database using terms that a user (or group of users) are familiar with and easily understand. This lets end users focus on business issues instead of data access issues.
The EUL is a repository that contains one or more Business Areas (depending on the needs of the user or group of users accessing the EUL). A Business Area is a conceptual grouping of tables and/or views that apply to user's specific data requirements. For example, an accounting department may have an accounting Business Area that represents data about budgets and finance, while project leaders in an engineering department would have a business area specifically for projects requiring budget information. Although some of the items may be the same, the exact combination of tables and views for each department may be different.
You create and manage the set of database tables that contain the EUL using the EUL Manager dialog box.
The EUL generates SQL statements on the client and communicates with the database using SQL*Net or a non-Oracle database network. When a user defines Folders and Items, the EUL generates the appropriate SQL statements that define the selections from a table, view, or column. When a user executes a query (in Discoverer Plus), the EUL generates the corresponding SQL statement and sends it to the database, which in turn sends the results to the End User interface. Thus, the end user does not have to understand any SQL to access, analyze, and retrieve data. It is all handled in the End User Layer.
|
NOTE: The EUL preserves the database's data integrity. Nothing that you or the end user does with Discoverer affects the application data in the database; the EUL only affects the metadata. |
An EUL is owned by a individual user (assigned an ID) in the database. The owner maintains and modifies his or her EUL. However, the owner can grant access to other users so that they can either use or make changes to that EUL.
You can choose who has access to an EUL when you create it: every user in the database (PUBLIC) or just the EUL owner. You change access to an existing EUL in the Privileges dialog box. To do this, you must be logged in as the owner of the EUL or as a user who has "Administrator" and "Set Privileges" privileges. For more information, see Chapter 8, "Access Privileges and Security".
While the steps in this section tell you how to create the actual EUL tables for a specific user, this is only the beginning. Once you have created the EUL, you design Business Areas containing Folders that refer to information in the EUL. You then customize the Business Area to provide maximum ease-of-use for your users. Other chapters in this guide describe how to customize the Business Area to suit your users' needs.
Section 4.1, "Lesson 1: Creating a private End User Layer." of the Tutorial provides an example of creating an EUL.
This section consists of the following topics:
You can create an EUL for any user ID in the database you are connected to, provided that the user who will own the EUL has the following database privileges:
The user also needs to have a default tablespace (do not use a temporary tablespace) and quota set.
If you are creating a new user through the Tools | EUL Manager menu option, Discoverer grants the necessary privileges and sets the default tablespace and quota for you.
Using the EUL Manager dialog box, you can create a new user, password, and EUL, provided that you have the following database privileges:
To create an EUL for a user ID in a non-Oracle database, the user must have the following database privileges:
Discoverer Administration Edition does not enable you to create new users for non-Oracle databases. Before you can install the tutorial, the tutorial user ID VIDEO4 must exist on the database and it must have the same privileges listed above.
The privileges required to create summaries and Materialized Views (8.1.6+ databases) are detailed in Chapter 2.2, "Summary Management".
A user can only own one EUL. If you are connected to your own EUL and you attempt to create a new one, Discoverer Administration Edition tells you that you must delete your existing EUL. If you are creating an EUL for another user who already owns another EUL, Discoverer Administration Edition asks if you want to delete their existing EUL. If you click Yes, Discoverer Administration Edition deletes their existing EUL before building the new one.
Discoverer Administration Edition displays the Commit Status progress bar and tells you that it is creating a new EUL for the EUL owner's user ID.
Discoverer Administration Edition asks you if you want to install the tutorial data in the EUL. See Section 5.6, "Installing the Tutorial Data" for more information.
|
NOTE: This feature is not available with non-Oracle databases. If you are using a non-Oracle database, ask your database administrator to create the necessary user IDs on the database. |
This starts the Create EUL Wizard.
Discoverer Administration Edition displays the Commit Status progress bar and tells you that it is creating a new EUL for the EUL owner's user ID.
Discoverer Administration Edition asks you if you want to install the tutorial data in the EUL. See Section 5.6, "Installing the Tutorial Data" for more information.
As Discoverer administrator, you maintain an EUL using Discoverer Administration Edition. This involves creating business areas, giving meaningful names to objects, choosing items to see or hide from users, creating calculations and summaries, and all of the other things you do to make it easy for your users to view and analyze their data. This chapter specifically describes how to manage access to the different EULs you have in your database.
Only the owner of an EUL has the privilege to delete it. To delete an EUL:
This starts the Load Wizard.
This opens the Delete EUL dialog box which asks you to verify that you want to delete the current EUL.
When you click OK, Discoverer Administration Edition warns you that this action will delete all EUL tables, all EUL information and workbooks in the database, and all summary data and information.
If you click Yes, Discoverer Administration Edition warns you that this action will close all work areas and disconnect you from the database.
If you click Yes, the current EUL is deleted. Discoverer Administration Edition displays a progress bar. At the end of the deletion, Discoverer Administration Edition confirms that the EUL has been deleted.
This section describes how you can use the command line interface to export EUL elements (Business Areas, Workbooks, Folders, items etc.) from one database and import them into another. For example when moving from development to production.
To copy EUL elements from one database to another:
D:\orant\Discvr4\Disadm.exe /connect eulowner/eulowner@orcl.world /export "D:\Vidstr.eex" "Video Store Tutorial" /workbook "Vistr4 - Video Tutorial Workbook" /workbook "Vidaf4 - Analytic Function Examples"
See Appendix D.9.21, "Exporting EUL elements to an EEX File" for further details.
If you are new to Discoverer Administration Edition, we recommend that you work through Chapter 4, "Tutorial".
Before a user can complete the tutorial the user ID VIDEO4 must already exist on the database. This can be achieved by installing the tutorial which creates the user ID VIDEO4 and places the tutorial tables with relevant video data in VIDEO4's tablespace in the database. All subsequent users will then be able to complete the tutorial.
|
NOTE: If you are using a non-Oracle database, you or your database administrator must create VIDEO4 in your database before installing the tutorial. |
When you log in to Discoverer Administration Edition for the very first time, you are asked if you want to create an EUL (see Section 5.2.2, "Creating an EUL for an Existing User" or Section 5.2.3, "Creating an EUL for a New User"). When this EUL has been successfully created, Discoverer Administration Edition asks if you want to install the tutorial. If you decide not to install the tutorial at that time, you can install it later.
Installing the tutorial in the EUL makes it available to all users who have access privileges to that EUL.
This section consists of the following topics:
To install the tutorial data in the current EUL, you must have the following database privileges (if the Video4 user has not already been created):
If you are running against an Oracle 8.1.6+ database you need the following privileges (granted in the script [ORACLE_HOME]\discvr4\sql\eulasm.sql). The script eulasm.sql sets up the privileges required for summary management and ASM in Discoverer 4.1:
Other privileges required (also granted in eulasm.sql):
If you are installing the tutorial immediately after creating the EUL, start at step 2 of the following procedure. If you are installing the tutorial some time after creating the EUL, ensure that you are logged in as the owner of the EUL that you want to load the tutorial data into and start at step 1.
Clicking Next opens the Install Tutorial Wizard: Step 2.
If the Confirm Password field is available, this means the VIDEO4 user does not exist in the database.
If you are using an Oracle database:
|
TIP: If you are creating the new user, VIDEO4, make a note of the password; you will need it if you uninstall or reinstall this tutorial. |
If you are not using an Oracle database:
This displays the Install Tutorial Wizard: Step 3. If you are not creating the new user VIDEO4, Discoverer Administration Edition skips this wizard.
If you installed the tutorial data as part of creating an EUL, you can now connect to that EUL. If you choose not to connect to that EUL, Discoverer Administration Edition returns you to the EUL Manager.
You can install the tutorial in more than one EUL. You may want to do this if some of your users don't have access to the EUL containing your original tutorial installation.
Each time you install a copy of the tutorial in a different EUL, a copy of the tutorial business area is created in that EUL. However, all copies of the tutorial business area access data in the same set of tables in the database. Only one copy of each table is created in the database (in the VIDEO4 user's tablespace).
To install the tutorial in a different EUL:
If you have previously uninstalled the tutorial, you can reinstall it by following the steps in Section 5.6.3, "Installing the Tutorial Data in several EULs."
Uninstalling the tutorial removes the business area from an EUL and the tables from the database. The user ID (VIDEO4) is not removed from the database.
If you have installed the tutorial in more than one EUL in this database, the business areas stored in the other EULs remain. However, the tables those business areas point to are gone.
To uninstall the tutorial data:
Discoverer Administration Edition warns you that uninstalling the tutorial removes the tutorial data and tables from the database, and the tutorial business area from your EUL.
You can reinstall the tutorial at any time, using the steps in Section 5.6.3, "Installing the Tutorial Data in several EULs."
|
|
![]() Copyright © 2000 Oracle Corporation. All Rights Reserved. |
|