The following table describes IBM DB2 database configuration considerations.
Product | Tablespace Considerations |
---|---|
General—All products | Minimum tablespace requirements:
Increase settings as follows:
|
Shared Services and Essbase Studio |
|
Performance Management Architect |
|
Planning | Before you configure Planning, you must configure the database with a large enough tablespace (having a page size of at least 32 K) in order to support the Planning tables. The following sample SQL script creates the necessary buffer pool and tablespace. Change the names and the disk location to reflect your needs. By default, the tablespace is named HSPSPACE8_1 and is created in the C:\DB2DATA\HSPSPACE8_1 directory. The other settings are also defaults; the administrator should adjust the settings as appropriate for the environment. Example: CREATE BUFFERPOOL hsppool8_1 SIZE 250 PAGESIZE 32 K; CREATE REGULAR TABLESPACE hspspace8_1 PAGESIZE 32 K MANAGED BY SYSTEM USING ('c:\db2data\hspspace8_1') EXTENTSIZE 32 OVERHEAD 24.1 PREFETCHSIZE 8 TRANSFERRATE 0.9 BUFFERPOOL HSPPOOL8_1; The database administrator must ensure that the user who logs on to the Planning relational database has rights to use the new tablespace. |
You must complete the following procedure before you configure Performance Scorecard.
To prepare the IBM DB2 server:
Modify this script with information specific to your database:
SET HPSDB=<hpsdatabase> SET ADMIN=<adminusername> SET ADMINPWD=<adminpassword> SET TBSFILE=<table space file location> SET TMPFILE=<temp file location> DB2 CONNECT TO %HPSDB% USER %ADMIN% USING %ADMINPWD% DB2 UPDATE DATABASE CONFIGURATION FOR %HPSDB% USING APPLHEAPSZ 512 DB2 CREATE BUFFERPOOL HPS_BP SIZE 250 PAGESIZE 32 K DB2 TERMINATE DB2STOP DB2START DB2 CONNECT TO %HPSDB% USER %ADMIN% USING %ADMINPWD% DB2 CREATE REGULAR TABLESPACE HPS_SPACE1 PAGESIZE 32 K MANAGED BY SYSTEM USING ('%TBSFILE%') EXTENTSIZE 32 OVERHEAD 24.1 PREFETCHSIZE 32 TRANSFERRATE 0.9 BUFFERPOOL HPS_BP DB2 COMMENT ON TABLESPACE HPS_SPACE1 IS 'HPS Table Space' DB2 GRANT USE OF TABLESPACE HPS_SPACE1 TO PUBLIC DB2 CREATE SYSTEM TEMPORARY TABLESPACE HPS_TEMP PAGESIZE 32 K MANAGED BY SYSTEM USING ('%TMPFILE%') EXTENTSIZE 32 OVERHEAD 24.1 PREFETCHSIZE 32 TRANSFERRATE 0.9 BUFFERPOOL HPS_BP DB2 COMMENT ON TABLESPACE HPS_TEMP IS 'HPS Temporary Table Space' DB2 TERMINATE DB2STOP DB2