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. |
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.
Restriction: You cannot use the same database user for Business Automation
Studio and any other component, such
as Application
Engine playback server or
IBM Business Automation Workflow. You can use the
same database user for Business Automation
Studio
if the schema of all the databases created are the same. You can use a shared database but you must
use a different database user for each component.
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.