Professional Documents
Culture Documents
Supply Chain
Intelligence
Database Setup
Guidelines
2013
Supply Chain Intelligence
This documentation, as well as the software described in it, is furnished under license and may be used
or copied only in accordance with the terms of such license. The information in this documentation is
furnished for informational use only, is subject to change without notice, and should not be construed as a
commitment by Manhattan Associates, Inc. (“Manhattan”). No third party patent liability is assumed with
respect to the use of the information contained herein. While every precaution has been taken in the
preparation of this documentation, Manhattan assumes no responsibility for errors or omissions.
Except as permitted by license, no part of this documentation may be reproduced, stored in a retrieval
system, or transmitted, in any form by any means, electronic, mechanical, recording, or otherwise, without
the prior written permission of Manhattan Associates.
All other brands, products, or services are trademarks, registered trademarks, or service marks of their
respective companies or organizations.
Contact Address:
http://www.manh.com/
Unsure whom to contact? Call +1 404.965.4025 and you will be routed to the appropriate support
group.
Table of Contents
Oracle Database Setup Guidelines ........................................................................................................... 4
Oracle Installation .................................................................................................................................. 4
Application/Database Server Time Zone Settings ................................................................................. 4
Pre-requisites for Oracle DB Creation ................................................................................................... 5
Configuring parameters for Oracle ........................................................................................................ 5
Creating table spaces ............................................................................................................................ 7
Content data store setup ....................................................................................................................... 7
Creating users and schema ................................................................................................................... 8
Remote Support: Database Server ........................................................................................................ 8
Backup Requirements: Database Server .............................................................................................. 8
DB2 Database Setup Guidelines ............................................................................................................... 9
DB2 Installation ...................................................................................................................................... 9
Application/Database Server Time Zone Settings ................................................................................. 9
Table space creation............................................................................................................................ 10
Configuring basic parameters for DB2................................................................................................. 11
User creation ........................................................................................................................................ 12
Recommended parameters for DB2 optimal performance .................................................................. 12
Remote Support: Database Server ...................................................................................................... 18
Backup Requirements: Database Server ............................................................................................ 18
Appendix for DB2 Environments: Verifying recommended parameters are implemented properly........ 19
Note: Manhattan Associates works with the customer to evaluate the sizing needs of the Database
Server if the customer wants to run additional applications on the same server.
Oracle Installation
Install the required Oracle version as per the vendor’s installation manual (Oracle AIX/Linux/HP-UX install
document.) Detailed explanation on the installation and setup of database servers is beyond the scope of
this installation guide.
Note: System Administrator root level privilege is essential for the Oracle server software installation.
Note: The server hosting the Application Server should have the required database client software
installed.
db_block_size 16384
*.db_files=500
*.open_cursors=2048
*.open_links=16
*.session_cached_cursors=1024
*.Processes=2000
*.db_file_multiblock_read_count=32
*.aq_tm_processes=1
*.db_file_multiblock_read_count=32
*.query_rewrite_enabled=TRUE
*.query_rewrite_integrity=trusted
*.star_transformation_enabled=TRUE
*.plsql_optimize_level=1
*.filesystemio_options=SETALL
*.DB_WRITER_PROCESSES=4
*.audit_trail=db_extended
*.nls_length_semantics=CHAR
*.nls_timestamp_format='YYYY-MM-DD HH24:MI:SS:FF'
*.deferred_segment_creation=FALSE
undo_management AUTO
optimizer_mode ALL_ROWS
For more information about changing an instance configuration parameter, see the Oracle
Documentation.
NLS_LENGTH_SEMANTICS=CHAR
(This could be changed after DB creation but before SCI schema setups )
NLS_CHARACTERSET=AL32UTF8
NLS_NCHAR_CHARACTERSET=AL16UTF16
Tip: To host more than one content store on your Oracle instance that will e used at the same
time, use a different user account for each content store to ensure that each Cognos 8 instance is
fully isolated from the others.
Table spaces needed Purpose of the table space Example Tablespace Name
The tablespace that would hold SCI_DT_TBS
Data Tablespace the SCI schema tables and data
It is recommended to use auto extend on all tablespaces for any production database.
Note: Enable Automatic Memory Management upon database creation. Set the memory_target,
memory_max_size and pga_aggregate_target parameters to the upper limit allowed by Oracle for this
database. Oracle automatically increases and decreases memory parameters as needed, to give
maximum performance.
Set the properties of the table’s space individual entries in createschema.properties before installing SCI.
See the below example – on how to configure it in createschema.properties file. (Refer SCI 2013
Installation Guide for more details).
Example:
_tablespace=SCI_DT_TBS
_temp_tablespace=TEMP
_index_tablespace=SCI_IDX_TBS
Note: It is critical that each tablespace be successfully created. Failure to do so results in errors further Database Setup Guidelines 2013
along the SCI installation process.
For details refer to the section Oracle Installation of the document SCI_2013 installation guide.
Refer Manhattan Associates’ SCI 2013 Installation guide for more detail.
Refer Manhattan Associates’ SCI 2013 Installation guide for more detail.
Note: Manhattan Associates works with the customer to evaluate the sizing needs of the Database
Server if the customer wishes to run additional applications on the same server.
DB2 Installation
Install the required DB2 version (see SCI 2013 Technical Components guide for the certified/supported
versions) as per the vendor’s installation manual. (DB2 AIX install document.) Detailed explanation on the
installation and setup of database servers is beyond the scope of this installation guide.
Note: System Administrator root level privilege is essential for the DB2 server software installation. Root
privileges needed for DB2Connect install as well.
Note: The server hosting the Application Server should have the required database client software
installed.
Set the properties of the table space individual entries in createschema.properties before installing SCI.
Refer to the below example on how to configure in createschema.properties file.
Example,
_tablespace=SCI_DT_TBS
_temp_tablespace=TEMP
_index_tablespace=SCI_IDX_TBS
Note: It is critical that each tablespace be successfully created. Failure to do so results in errors further
10
2. If the codepage is not Unicode, create a new database that has a codepage value of 1208.
3. Ensure that you set the following database configuration parameters. These settings are also
provided in the scripts mentioned in the section further below.
Property Settings
Application heap AUTOMATIC
size(applheapsz)
LOCK Timeout 4 min. (or 240 sec).
Note: Do not set this to an
infinite timeout value.
Note: More configuration parameters recommended for optimal performance are listed under section –
Recommended parameters for DB2 optimal performance.
4. If you have already created the content store and are now creating a logging database, create an
additional regular user tablespace with a page size of 8K.
5. Determine which user account Cognos 8 will use to access the database.
6. Grant creates and drop table privileges on the database to the user account.
o Ensure that the user account has CREATETAB, CONNECT and IMPLICITSCHEMA
privileges for the database.
o Ensure that the user account has USE privileges for the USER TEMPORARY tablespace
and other appropriate tablespaces associates with the database.
o Ensure that the user account has GRANT privileges for the USER TEMPORARY
tablespace.
11
User creation
Create UNIX users corresponding to the DB2 DB schema before installing SCI.
Note: Refer DB2 Installation section in SCI Installation Guide for details of DB schema configuration in
createschema.properties file
db2set DB2COMM=tcpip
db2set DB2_COMPATIBILITY_VECTOR=0F
db2set DB2_EVALUNCOMMITTED=ON
db2set DB2_FORCE_NLS_CACHE=TRUE
db2set DB2_PARALLEL_IO=*
db2set DB2_SELUDI_COMM_BUFFER=ON
db2set DB2_SKIPDELETED=ON
db2set DB2_SKIPINSERTED=ON
db2set DB2_USE_ALTERNATE_PAGE_CLEANING=ON
db2set DB2_USE_IOCP=OFF
12
Apply the below database manager configuration settings to your SCI database.
db2 update dbm cfg using DIAGPATH < Diagnostic data directory path >
13
db2 update dbm cfg using SVCENAME < TCP/IP service name >
14
db2 detach
15
16
db2 update db cfg using NEWLOGPATH < Location of log files >
db2 update db cfg using AUTO_DEL_REC_OBJ OFF Database Setup Guidelines 2013
17
Note: Once the settings are applied recycle the SCI database instance
Note: Runstats is performed internally by SCI application, so no need to explicitly perform it.
Production DBA can alter the buffer pools. To determine the best size for your buffer pools, run your
workload with the buffer pool sizes set to different values and measure the differences in operations
per second.
Refer Manhattan Associates’ SCI 2013 Installation guide for more detail.
Refer Manhattan Associates’ SCI 2013 Installation guide for more detail.
18
(VALUES
('DB2COMM', 'TCPIP'),
('DB2_COMPATIBILITY_VECTOR', '0F'),
('DB2_EVALUNCOMMITTED', 'ON'),
('DB2_FORCE_NLS_CACHE', 'TRUE'),
('DB2_PARALLEL_IO', '*'),
('DB2_SELUDI_COMM_BUFFER', 'ON'),
('DB2_SKIPDELETED', 'ON'),
('DB2_SKIPINSERTED', 'ON'),
('DB2_USE_ALTERNATE_PAGE_CLEANING', 'ON'),
('DB2_USE_IOCP', 'OFF')
MINUS
19
WHERE
OR
OR
OR
20
OR
OR
OR
OR
OR
OR
21
OR
OR
OR
OR
OR
OR
22
OR
OR
OR
OR
OR
23
WHERE
24
(UPPER(NAME) = 'NUM_IOSERVERS' AND (UPPER(VALUE) <> 'AUTOMATIC' AND Database Setup Guidelines 2013
UPPER(VALUE_FLAGS) <> 'AUTOMATIC')) OR
25
26
27