Creating PostgreSQL databases
Create PostgreSQL databases before installing IBM Business Automation Studio.
Before you begin
Use the latest PostgreSQL JDBC driver and make sure the PostgreSQL database is configured correctly for the customer workload.
Adjust the following parameters in the postgresql.conf file of the database server:
| Parameter | Setting | Description |
|---|---|---|
| shared_buffers | minimum 1024 MB | The normal PostgreSQL performance tuning recommendation is to use about 25% of the memory for the shared buffer. Adjustments to the Linux® kernel configuration might also be required; check the PostgreSQL tuning guides. |
| work_mem | minimum 20 MB | This parameter applies to each session, and a large number of user sessions can cause large memory usage. This memory is critical because it is used for sort operations. The running time can increase significantly (over an hour for toolkit deployments, for example) if the value is set too low. |
| max_prepared_transactions | for example, 200 | This value should be at least as large as the max_connections setting. |
| max_wal_size | for example, 6 GB | For larger workloads, the default value must be increased. You can find advice in the PostgreSQL server log files if an increase is required. |
| log_min_duration_statement | for example, 5000 | You can optionally set this parameter. It allows additional logging of statements that exceed the specified running time in milliseconds (which corresponds to 5 seconds in this example) to identify bottlenecks and tuning areas. |
| lock_timeout | for example, 60000 | Abort any statement that waits longer than the specified amount of time while attempting to acquire a lock on a table, index, row, or other database object. The time limit applies separately to each lock acquisition attempt. The limit applies both to explicit locking requests (such as LOCK TABLE, or SELECT FOR UPDATE without NOWAIT) and to implicitly-acquired locks. If this value is specified without units, it is taken as milliseconds. A value of zero (the default) disables the timeout. |
About this task
You must create a database for Application
Engine playback server as well as for
IBM Business Automation Studio before you can
run Business Automation
Studio.
Tip: If you need to know which database versions are supported for your installation, use this IBM Support page to generate a software compatibility
report.