Setting Up the AWR Warehouse

Ensure that these prerequisites are satisfied before designating a database as the AWR Warehouse:

  1. From the Targets drop-down menu, select Databases.

    The Databases page appears with a list of the available target databases.

  2. Access the Database Home page for the target database.

    See “Accessing the Database Home Page” for more information.

  3. On the Databases page, click Performance drop-down, then select AWR Warehouse.

    If it has not previously been configured, a workflow diagram appears with aConfigure button in the right-hand pane. If it has been configured, the tool icon takes you to the configuration page.

    Prior to warehouse setup, the page displays a feature workflow on the left and configuration access on the right.

    AWR configuration screen already configured.

    Note: When adding a new AWR source database, you can specify dump locations for extract. The location should be a valid directory inside the source database host (or a shared location in case of a cluster) and accessible by the host credential specified. By default, the field is empty and means the dump file location is the default agent directory.

    After setup, the right side of the page summarizes the warehouse configuration and graphically depicts space used as a percentage of space available.

    Screen shot of the AWR Warhouse dashboard.

  4. Click Configure in the pane to the right of the workflow diagram. The first configuration page (Repository) appears.

  5. Click the search icon to select the database to serve as the AWR Warehouse.

  6. Select the preferred or named credentials established for the target database. You can also provide new credentials.

    You can specify a password compliant with password policy for staging schema during warehouse configuration. If none specified, a complex random password is used by default.

  7. Select the preferred or named credentials established for the target database host. You can also provide new credentials.

  8. Click Next. The second configuration page (AWR Snapshot Management) appears.

  9. Set the retention period to a number of years. Optionally, you can choose to retain the data indefinitely.

  10. Set the snapshot upload interval. The default is 24 hours The minimum interval is one hour. You can also upload snapshots on-demand.

  11. Select where on the warehouse database host to save exported dump files. For a single instance database, the location defaults to the agent state directory. For a cluster database, you have to specify a location that is accessible to all nodes.

  12. Click Submit. This submits a job with the prefix CAW_LOAD_SETUP_.

After initial setup, the AWR Warehouse page becomes a dashboard where you can perform the following tasks: