Select Cache or Physical mode by selecting the appropriate tab in the left pane.

7-30 System Administrators Guide for Oracle Business Intelligence Enterprise Edition The Oracle BI Server must have read and write permission on the event polling table. The server reads the event table at specified intervals to look for changed data. Applications add rows to the event table when database tables are modified for DatabaseName CHAR or VARCHAR The name of the database where the physical table that was updated resides. This is the name of the database as it is defined in the Physical layer of the Administration Tool. For example, if the physical database name is 11308Production, and the database name that represents it in the Administration Tool is SQL_Production, then the polled rows in the event table must contain SQL_Production as the database name. Populate the DatabaseName column only if the event table does not reside in the same database as the physical tables that were updated. Otherwise, set it to the null value. Other CHAR or VARCHAR Reserved for future enhancements. This column must be set to a null value. SchemaName CHAR or VARCHAR The name of the schema where the physical table that was updated resides. Populate the SchemaName column only if the event table does not reside in the same database as the physical tables being updated. Otherwise, set it to a null value. TableName CHAR or VARCHAR The name of the physical table that was updated. The name must match the name that is defined for the table in the Physical layer of the Administration Tool. Values cannot be null. UpdateTime DATETIME The time when the update to the event table occurs. This must be a key unique value that increases for each row that is added to the event table. To ensure a unique and increasing value, specify the current timestamp as a default value for the column. For example, specify DEFAULT CURRENT_TIMESTAMP for Oracle Database. Values cannot be null. Note: Because this column must be a unique value that increases for each row that is added to the event table, you might need to set a very high precision if you require many inserts per second. Because of this, you might want to adjust the database feature FRACTIONAL_SECOND_PRECISION to allow fractional seconds to be used in the filters on the UpdateTime column. The Oracle BI Server truncates the timestamps to the number of digits that are defined by FRACTIONAL_SECOND_PRECISION. For example, for Oracle Database or Teradata, you might want to change FRACTIONAL_SECOND PRECISION from 0 to 6. UpdateType INTEGER Specify a value of 1 in the update script to indicate a standard update. Other values are reserved for future use. Values cannot be null. Table 7–6 Cont. Event Polling Table Column Names Event Table Column Data Type Description Managing Performance Tuning and Query Caching 7-31 example, during a load operation. When there are rows in the event table, there is changed data in the underlying databases. The server then invalidates any cache entries that correspond to the changed physical tables and periodically deletes obsolete rows from the event table. The next time it checks the event table, the process repeats. To enable the Oracle BI Server to have write access to the event polling table but not to any other tables in a database, perform the following tasks: ■ Create a separate physical database in the Physical layer of the Administration Tool with a privileged connection pool. ■ Assign a user to the connection pool that has delete privileges. ■ Populate the privileged database with the event table. The Oracle BI Server has write access to the event polling table, but not to any tables that are used to answer user queries.

7.8.1.2 Sample Event Polling Table CREATE TABLE Statements

This section provides sample CREATE TABLE statements for SQL Server and Oracle Database. These CREATE TABLE statements create the structure that is required for an Oracle BI Server event polling table. In these statements, the table that is created is named UET. It resides in the same database as the physical tables that are being updated. The following is a sample CREATE TABLE statement for SQL Server: SQL Server Syntax create table UET UpdateType Integer not null, UpdateTime datetime not null DEFAULT CURRENT_TIMESTAMP, DBName char40 null, CatalogName varchar40 null, SchemaName varchar40 null, TableName varchar40 not null, Other varchar80 null DEFAULT NULL The following is a sample CREATE TABLE statement for Oracle Database: Oracle Database syntax create table UET UpdateType Integer not null, UpdateTime date DEFAULT SYSDATE not null, DBName char40 null, CatalogName varchar40 null, SchemaName varchar40 null, TableName varchar40 not null, Note: In a clustered Oracle Business Intelligence deployment, a single event polling table is shared by every Oracle BI Server node in the cluster. However, a single event polling table cannot be shared by multiple Oracle BI Server clusters. Note: The column lengths must be large enough to represent the object names in the repository.