Configuration options
Set configuration options to customize your Db2® Warehouse environment. Some configuration options can be set only during deployment.
Configuration options that can be set only during deployment
DB_CODESET=code_set This option specifies the code set. The default value is UTF-8. For the complete list of values, see the code set columns in the tables in Supported territory codes and code pages. You can change
the value of the DB_CODESET option only if you use the docker
run or podman run command in the following two cases:
|
DB_COLLATION_SEQUENCE=collation_sequence This option specifies the collating sequence. The default value is IDENTITY. For the complete list of values, see the collation columns in the tables in Supported territory codes and code pages. Specify the collating sequence by using the SYSTEM_number value, such as SYSTEM_819, or the SYSTEM_number_territoryID value, such as SYSTEM_923_DK. You can change the value of this option only if you use the docker
run or podman run command in the following two cases:
|
DB_PAGE_SIZE=size When the value of the
TABLE_ORG option is ROW, use the
DB_PAGE_SIZE option to set the page size in bytes:
|
DB_TERRITORY=territory This option specifies the territory identifier. The default value is US. For the complete set of values, see the territory identifiers in the descriptions of the tables in Supported territory codes and code pages. You can change
the value of this option only if you use the docker run or podman
run command in the following two cases:
|
ENABLE_ORACLE_COMPATIBILITY=NO|YES By default, Oracle compatibility is not enabled. To enable applications that were written for an Oracle database to use Db2 Warehouse without having to be a rewritten, set this option to YES. Setting this option to YES takes effect only
if you use the docker run or podman run command in the
following two cases:
If you change the value of this option to YES, you cannot change the value back to NO. For more information about Oracle compatibility, see Compatibility features for Oracle. |
TABLE_ORG=ROW|COLUMN By default, this option is set to COLUMN, which means that tables in the Db2 Warehouse database use column-organized storage. Column-organized storage is best for analytic workloads. If you prefer to use row-organized storage, set this option to ROW when deploying Db2 Warehouse. Row-organized of storage is best for OLTP workloads. The following restrictions apply:
|
RUNTIME_ENV=LOCAL|CLOUD The
type of runtime environment:
|
Configuration options that can be set during or after deployment
DISABLE_SPARK=NO|YES The Db2 Warehouse product contains an integrated Apache Spark environment. Spark is disabled by default. If you want to use Spark with Db2 Warehouse, enable Spark by setting the DISABLE_SPARK option to NO. When Spark is enabled, the amount of system memory that is reserved for Spark applications depends on the total amount of system memory:
|
GUARDIUM_INFO=collector_IPaddr_or_hostname[:collector_port] IBM® Security Guardium® software helps provide comprehensive data protection. You can use this option to specify a Guardium collector. For the collector, specify either the IP address or host name, optionally followed by a colon and the port number of the collector. If you do not specify a port number, port 16018 if is used if TLS can be used to communicate with the collector; otherwise, port 16016 is used for plain-text communication. |
TIMEZONE=new_timezone By default, the time zone
for Db2 Warehouse is Coordinated Universal Time (UTC).
You can use this option to specify a different time zone. To retrieve a list of supported time
zones, issue the following command:
|
PRUNE_LOGS_SCHEDULE By default on a new deployment, the container
schedule will be set to every 4 hours. On upgrades, this setting will not be set. To enable it, you
will need to pass the following in your Docker or Podman run command to turn this behavior on in the
log pruning schedule.
|