Model Repository Database Requirements
Informatica services and clients store data and metadata in the Model repository. Configure a separate Model repository to store monitoring statistics. Before you create the Model Repository Service, set up a database and database user account for the Model repository.
The Model repository supports the following database types:
- •IBM DB2 UDB
- •Microsoft SQL Server
- •Microsoft Azure SQL Database
- •Oracle
- •PostgreSQL
Allow 3 GB of disk space for DB2. Allow 200 MB of disk space for all other database types.
For more information about configuring the database, see the documentation for your database system.
IBM DB2 Database Requirements
Use the following guidelines when you set up the repository on IBM DB2:
- •Specify the tablespace name when you use IBM DB2 as the Model Repository database.
- •If the repository is in an IBM DB2 database, verify that IBM DB2 Version 10.5 is installed.
- •On the IBM DB2 instance where you create the database, set the following parameters to ON:
- - DB2_SKIPINSERTED
- - DB2_EVALUNCOMMITTED
- - DB2_SKIPDELETED
- - AUTO_RUNSTATS
- •On the database, set the configuration parameters.
The following table lists the configuration parameters that you must set:
Parameter | Value |
---|
logfilsiz | 8000 |
maxlocks | 98 |
locklist | 50000 |
auto_stmt_stats | ON |
- •Set the tablespace pageSize parameter to 32768 bytes.
In a single-partition database, specify a tablespace that meets the pageSize requirements. If you do not specify a tablespace, the default tablespace must meet the pageSize requirements.
In a multi-partition database, specify a tablespace that meets the pageSize requirements. Define the tablespace in the catalog partition of the database.
- •Set the NPAGES parameter to at least 5000. The NPAGES parameter determines the number of pages in the tablespace.
- •Verify that the database user has CREATETAB, CONNECT, and BINDADD privileges.
- •Informatica does not support IBM DB2 table aliases for repository tables. Verify that table aliases have not been created for any tables in the database.
- •In the DataDirect Connect for JDBC utility, update the DynamicSections parameter to 3000.
The default value for DynamicSections is too low for the Informatica repositories. Informatica requires a larger DB2 package than the default. When you set up the DB2 database for the domain configuration repository or a Model repository, you must set the DynamicSections parameter to at least 3000. If the DynamicSections parameter is set to a lower number, you can encounter problems when you install or run Informatica services.
Microsoft SQL Server Database Requirements
Use the following guidelines when you set up the repository:
- • Set the allow snapshot isolation and read committed isolation level to ALLOW_SNAPSHOT_ISOLATION and READ_COMMITTED_SNAPSHOT to minimize locking contention.
To set the isolation level for the database, run the following commands:
ALTER DATABASE DatabaseName SET ALLOW_SNAPSHOT_ISOLATION ON
ALTER DATABASE DatabaseName SET READ_COMMITTED_SNAPSHOT ON
To verify that the isolation level for the database is correct, run the following commands:
SELECT snapshot_isolation_state FROM sys.databases WHERE name=[DatabaseName]
SELECT is_read_committed_snapshot_on FROM sys.databases WHERE name = DatabaseName
- •The database user account must have the CONNECT, CREATE TABLE, and CREATE VIEW privileges.
Oracle Database Requirements
Use the following guidelines when you set up the repository on Oracle:
PostgreSQL Database Requirements
Use the following guidelines when you set up the repository on PostgreSQL:
- •Verify that the database user account has CONNECT, CREATE TABLE, and CREATE VIEW privileges.
- •Specify the database schema name when you use PostgreSQL as the database.
- •Ensure that PostgreSQL has sufficient disk space for the data files. By default, the data files are present in the following location:
<PostgreSQL installation directory>/data
- •On the database, set the configuration parameters.
The following table lists the minimum and recommended values for the configuration parameters that you must set:
Parameter | Minimum Value | Recommended Value |
---|
max_connections | 200 | 4000 |
shared_buffers | 2 GB | 16 GB |
max_locks_per_transaction | 1024 | 1024 |