Skip to end of metadata
Go to start of metadata


This document describes the properties of the file for effective use of Altibase, and how to specify values. This document does not include a description of the hidden property.

This document was prepared based on Altibase version 7 or later. It is recommended that users refer to the following documents:

  1. System Resource Capacity Planning Guide for Altibase
  2. Altibase Replication Configuration Guide

For errors and improvements related to this document, please contact the technical support portal or technical support center.


Altibase Configuration Items

For a more detailed description of each property, please refer to the General Reference manual.

Refer to the link below for the manual.

Property Inquiry and Configuration

Each property can be inquired as follows.

Alternatively, it can also be inquired in the $ALTIBASE_HOME/conf/ file. However, when inquiring with a file, some of the hidden property values are not known, and in order to accurately find out the currently applied value, it is recommended to inquire with the above SQL.

The change of each property value can be described in the configuration file or can be changed in real time with the DCL statement (ALTER SYSTEM/ALTER SESSION statement). Some properties are read-only values and some cannot be changed while operating. If a property is changed, the following error occurs.

When changing the properties in the configuration file, the following format is used.

For example, when changing with a DCL, proceed as follows. (Case-insensitive)

In the case of DCL, there are items that can be changed at the session level and the system level. However, in both cases, if Altibase is restarted, it is reset to the value described in the configuration file, so in order to reflect it permanently, the configuration file needs to be changed. (Items that cannot be changed after creating a DB are introduced later in this document.)

Altibase Configuration Guide

Each item described in the $ALTIBASE_HOME/conf/ file is summarized by each category and the recommendations are described.

Because the user's system has a wide variety of environments, this recommendation is recommended for general experience. Therefore it is recommended to change and apply the configuration file with prior consultation with Altibase engineers.

Properties that must be changed when creating DB

The items that the user must configure at least when creating the DB are as follows. For the sake of understanding, it is assumed that the disk volume is configured as follows.

Disk volumeDescription
/home/altibasePath where Altibase is installed
/home/altidataDirectory where data files will be saved
/home/altilogDirectory where transaction log files will be saved

Assuming the above volume configuration, it can be set as follows.

Configuration ItemDescription
DB_NAMEConfigure to any name by the user


ARCHIVE_DIRIt is recommended to specify the backup directory when the archive mode is set. (ex:/home/altibackup/arch_log)


It is set to the size predicted by calculating the capacity. (ex: 8G)
BUFFER_AREA_SIZEWhen using a disk table, the size of the buffer is closely related to performance, so set it large within the range of available physical memory. 1G or more is recommended.
PORT_NOSet a port that is not being used by other processes in the system, such as 20300.

If it is set to 1, it is automatically reflected in the DB after DML is executed, so if the user wants to control it directly, set it to 0.


This is the maximum size of the SQL plan cache. The more replicate SQL is, the more effective the SQL plan cache is to save memory.
REPLICATION_PORT_NOWhen replication is required, specify the port.

Properties that cannot be changed after creating DB

Once after creating Altibase, there are some properties that Altibase cannot be restarted if it is changed in any form from the initial configuration value. Therefore, it is recommended to configure these properties carefully when initially configuring them.

Configuration itemDescription
DB_NAMEmydb (Specify when creating)
LOG_FILE_SIZE10M (Specify when creating)
EXPAND_CHUNK_PAGE_COUNT128 (Specify when creating)
TRANSACTION_TABLE_SIZE1024 (Only upward adjustment is possible)
CHARACTERSETSpecify when creating DB

File path configuration properties

This section only deals with files with configuration paths for transaction log files and data files. Generally, if the transaction log file and data file are specified to use the same disk on one disk, performance degradation occurs due to simultaneous disk I/O. Therefore, it is recommended to change each configuration item by referring to the following document.

Reference: Configuration Guide For Minimizing Disk I/O Contention

Configuration itemDescription
LOG_DIRDirectory where transaction log files are created
MEM_DB_DIRDirectory where data files of the memory DB are created unless the user does not explicitly specify it.
DEFAULT_DISK_DB_DIRDirectory where disk files of the disk DB are created unless the user does not explicitly specify it.

It is recommended that the above three paths and each data file to be created by the user in the future use a disk that is physically separated from LOG_DIR.

Session properties


The properties related to the session are the following items.

Configuration itemDescription
MAX_CLIENTBecause there is a limit of sessions to connect to the DB at the same time, if it is expected that more sessions will be connected than this value, increase this value and restart the Altibase server.
MULTIPLEXING_THREAD_COUNTThis value specifies the number of service threads. If not set, threads as much as the number of cores of the CPU is automatically created in the startup stage. If many sessions are internally connected, it is automatically created when it is determined that more service threads are needed., but the distribution of tasks at the time of creation can cause temporary performance jitter, so it is important to configure to obtain a sufficient number in advance.

It is recommended for MULTIPLEXING_THREAD_COUNT to be (CPU Core Count * 2) by default, but this value should be set according to the situation.

Resource limit related properties


The resources used by Altibase refer to resources such as physical memory/disk space and logical tablespace. This section describes each property that flexibly limits query execution, such as a large number of changes at the session/system level, which can lead to resource shortages. It is recommended that these properties be operated to change//apply only necessary sessions with configuration change at the session-level rather than changing the default configuration.

Configuration itemDescription


When performing a bulk change operation on a memory DB table, if the size of the changed record exceeds this property value, a table lock is acquired and a query is executed (Can only be changed at the system-level)


If the amount of transaction log created by query processing is more than this property value, the following error is returned:

The update log size '10485873' is bigger than TRX_UPDATE_MAX_LOGSIZE '10485760'


If the amount of memory used in the prepare stage by query processing is more than this property value, the following error is returned:

The memory size allocated for the statement has exceeded the maximum limit ( Name : Query_Prepare, Wanted Memory Size : 1073741832, Max size : 1073741824 )


If the amount of memory used in the execute stage by query processing is more than this property value, the following error is returned:

The memory size allocated for the statement has exceeded the maximum limit ( Name : Query_Execute, Wanted Memory Size : 1073807360, Max size : 1073741824 )


If the time exceeds this property value after executing the query, the following error is returned:

Client's query exceeded the execution time limit.


In the process of exchanging the result set created after the query was normally executed, if communication does not occur even after this property value elapses between the previous communication and the next communication, the session is terminated.

The session has been closed by the server


After the change query is executed, if the execution of Commit/Rollback does not occur even after as much time as this property value, the session is terminated.

The transaction has exceeded the lock timeout specified by the user.


If the session is maintained as much as this property value without any action, the session is forcibly terminated.

The session has been closed by the server.

An example of how to change is as follows.

  • Since all the QUERY/IDLE/UTRANS/FETCH Timeout properties and errors related to the session are recorded in altibase.boot.log, find the session and take action when it occurs.
  • Notes/Considerations for ALTER SYSTEM and ALTER SESSION: ALTER SYSTEM changes will take effect from the subsequent sessions. Therefore, since the currently connected session is not applied, the desired result can be applied only by performing ALTER SESSION for individual connected sessions.

Disk I/O Performance-related properties

This describes the property items related to Altibase's disk I/O performance.

Configuration itemDescription
BUFFER_AREA_SIZESpecify the buffer size of the disk DB. If there is enough memory in the system, it is recommended to set it as large as possible.
BUFFER_FLUSHER_CNTThis is a thread that writes a buffer to the disk to secure dirty pages in the disk DB or free space in the buffer, and adjusts according to the number of CPUs or disk I/O performance of the system.

A separate thread creates an empty log file to record the transaction log. If this value is too small, performance may be degraded if the transaction progress has to wait for the creation of an empty log file. Therefore, if thhe LF_PREPARE_WAIT_COUNT value of v$lfg appears to be larger, the value must be adjusted accordingly. Even if it is set too large, disk I/O load that actually creates an empty log file will occur, so it is recommended to change it carefully by testing.




When it is determined that performance is degraded due to the disk I/O that occurs because there are many pages to be written when the memory DB checkpoint is in progress, the amount of disk I/O of the checkpoint can be distributed with this property value. In other words, after writing the page as much as the value specified in CHECKPOINT_BULK_WRITE_PAGE_COUNT, it waits for (CHECKPOINT_BULK_WRITE_SLEEP_SEC + CHECKPOINT_BULK_WRITE_SLEEP_USEC) and then writes again. This property can be effective on equipment with low disk performance.



In the process of writing to a data file with the file cache, it may be difficult to predict two disk writes (file cache, disk sync) and when the file cache will be synced to the disk. As a result, there may be an unexpected performance degradation when the operating system empties the file cache. If DIRECT IO is set, it can be completed with one write. However, it is recommended to set this setting only when the disk performance is high enough.




Specify the maximum amount of memory that can be allocated so that disk DB sorting or hashing operations can be performed simultaneously. (TOTAL_WA_SIZE)

If SORT_AREA_SIZE and HASH_AREA_SIZE are increased appropriately, the performance of the disk DB can be improved.

PBT(Problem Tracking) related properties

This section describes properties necessary for tracking when a problem occurs in Altibase.

Configuration itemDescription
QP_MSGLOG_FLAGIf it is set to 2, all DDL performance records can be checked, so when a problem occurs, which can be helpful for analysis if DDL performance is based.
RP_CONFLICT_MSGLOG_FLAGIf it is set to 6, a log of DML occurs when a replication conflict is recorded. which can be helpful for analysis.

The default value is 0. To know the execution times of each SQL statement related to performance, it can be activated in real time as follows.

iSQL> ALTER SYSTEM SET timed_statistics = 1 ;

When activated, the execution times of each SQL statement start to be recorded in v$statement.


  • No labels