Configuring databases for use with the staging utilities
Configure the staging utilities for use with your staging environment database.
Procedure
-
Configure the database:
- Determine the optimum buffer pool size based on your DB2 database
size and available memory. Run the following commands in a DB2 command window to change the default
buffer pool size:
wheren is the optimum buffer pool size.db2 connect to db_name db2 alter bufferpool IBMDEFAULTBP size n db2 terminate
For more information, see the following topics: - If you set up your staging or authoring server on a system other than your production server,
the remote database must be configured:
- If you plan to run staging utilities from the staging or authoring server, ensure that you can access the production database from the staging server.
- Catalog the remote production database on the staging or authoring server.
- If you plan to run staging utilities from the production server, you need to configure the production-ready data as the remote database in your production server. To configure a remote database, see the DB2 Version 10.5 for Linux, UNIX, and Windows English manuals.
- Determine the optimum buffer pool size based on your DB2 database
size and available memory. Run the following commands in a DB2 command window to change the default
buffer pool size:
-
Configure the database:
- If you set up your staging or authoring server on a system other than your production server,
the remote database must be configured:
- If you plan to run staging utilities from the production server, you need to configure the production-ready data as the remote database in your production server.
- To configure a remote database, refer to your Oracle documentation.
- If you set up your staging or authoring server on a system other than your production server,
the remote database must be configured:
-
Configure the database:
- Log on as a user profile with SECOFR authority and CCSID with a value other than 65535.
- Grant DBADM authority to the production databases schema owner on the staging or authoring databases and grant DBADM authority to the staging or authoring databases schema owner on the production databases.
For example, if the staging or authoring databases are SW01DB1 - SW01DB4 with a schema owner of SCHEMA1 and the production databases are SW02DB1 - SW02DB4 with a schema owner of SCHEMA2, then database administrator would issue the following commands:GRANT DBADM ON SW01DB1 TO SCHEMA2; GRANT DBADM ON SW01DB2 TO SCHEMA2; GRANT DBADM ON SW01DB3 TO SCHEMA2; GRANT DBADM ON SW01DB4 TO SCHEMA2; GRANT DBADM ON SW02DB1 TO SCHEMA1; GRANT DBADM ON SW02DB2 TO SCHEMA1; GRANT DBADM ON SW02DB3 TO SCHEMA1; GRANT DBADM ON SW02DB4 TO SCHEMA1;