Best practices for configuring the database connection
The Cognos® Business Intelligence server supports four database types, including IBM DB2 (LUW), IBM DB2 (z/OS), Oracle, and the Microsoft SQL server. You can configure these database connections with your Cognos Business Intelligence server.
The Cognos Business Intelligence server is embedded as part of the IBM® Control Center product installation. See the Detailed System Requirements to view which version of the Cognos Business Intelligence server is supported in IBM Control Center. The Cognos Business Intelligence server offers reporting capabilities as one of the features in IBM Control Center. The Cognos Business Intelligence server requires its own database, with preferences on supporting the collation settings, character set, and code page. The following list contains the different database types the Cognos Business Intelligence server supports:
- IBM DB2 (LUW)
- IBM DB2 (z/OS)
- Oracle
- Microsoft SQL server
The following tables detail the best practices for configuring the database connection to the Cognos Business Intelligence server.
Parameter | Description |
---|---|
dbname | Name of the database. Use SID for a non-RAC database, and service name for a RAC database. |
username | User that has access to the database. |
password | Password to access the database. |
hostname | Host where the database server is located. |
port | Port where the database server is listening for connections. |
Database type | Component | Requirement |
---|---|---|
All databases | SQL statement privileges | The database user must be able to execute the following types of SQL statements:
|
Oracle | Database user privileges | CREATE SESSION UNLIMITED_TABLESPACE |
Oracle | Database settings | IBM Control
Center requires the
following parameter settings in your Oracle database:
|
Microsoft SQL server | Database user privileges | Grant the database owner database role to the database user, and grant DB_DDLADMIN database role to the user. |
Microsfot SQL server | Database settings | IBM Control
Center requires the
following parameter settings in your MS SQL database:
|
DB2 | Database user privileges | Grant database administrator authority (DBADM) to the database user on this database. |
DB2 | Database settings | IBM Control
Center requires the
following parameter settings in your DB2 database:
|
Database type | Operating system | Information |
---|---|---|
DB2 | Windows or UNIX | Each of the DB2 databases must have the following properties:
|
DB2 | z/OS or OS/390 | Each of the DB2 databases must have the following properties:
|
Microsoft SQL | Windows | Download and install the Microsoft SQL Server JDBC drivers setup.exe program. |
Oracle | UNIX or Windows | Determine the location of the ojdbc7.jar Oracle database driver file. |