Transaction Server and Logging Configuration
Use the configuration questions in create_config.py to configure Transaction Server and system logging behavior.
Parameter | Description | Default Value |
---|---|---|
System Log Level | The global log level used for logging MATRIXX Engine information.
The default log level is set to info so critical, error, warning, and general information messages are written to the system log. If you set
the log level higher than info, the same information is written to the mtx_debug.log file with the addition of debug
messages. The possible log levels, in order of more verbose information, are:
Important: The log level must be set to info at a minimum to allow for
troubleshooting issues. Note: You can dynamically change this log level during runtime to enable more
intensive logging that includes debug and trace messages. What log level do you want to use? |
info |
Transaction Log Format |
The following log formats are listed in order of
impact, from least system-intensive to highest system-intensive.
Do you want to use the default log formats and log file names (y/n)?y |
text_sync |
Transaction Log Filename | Transaction logs are named transaction_log_%y_%m_%d_%p_%t_%s.log, where %y_%m_%d_%p_%t_%s add the
following information to the file:
The checkpoint task relies on the log file names to determine which transaction logs must be replayed to update the database. The default value must not be changed in a production environment. Do you want to use the default log formats and log file names (y/n)? Note: If
the gtc_sorted_txn_logging_enabled parameter is enabled, the transaction log filename is in the format
txn_<log_create_time><min_gtc><max_gtc>.log. |
transaction_log_%y_%m_%d_%p_%t_%s.log |
Transaction Logging Characteristics | Transaction logs are created with the following default characteristics that you can change by answering no (n) to the question TransactionServer:Do you
want to use the default transaction logging characteristics
(y/n)?
|
|
Transaction Server Hash Index | Hash index merging and rebalancing can be configured manually by changing the answer
to the following questions to n and
answering the following questions.
Note: Hash index
configuration must not be changed unless a MATRIXX
configuration expert has instructed you to do so. Wrong
values can affect the operation of the system.
|
y |
Input Queue Size |
|
|
Default Number of Threads |
|
|
Transaction Server's restart mode | The restart mode
determines how each Transaction Server populates its databases and joins the
transaction protocol when a cluster starts.
In production
systems, this value must be set to create_config.info question: What is the Transaction Server's restart mode? |
init |
Fast Restart Database Copy Network | To specify the network interface to use for fast database
restarts, answer txn,
mgmt, or data
in response to the create_config.info
question: Which network interface for fast restart database copies? |
txn |
GTC Sorter Size for Processing Server | Specify the GTC Sorter size (a count of the number of records
to process) on the processing server for sorted transaction
logging. create_config.info question: TransactionServer:What is the gtc sorter size for sorted transaction logging? |
25000 |
GTC Sorter Size for Publishing Server | Specify the GTC Sorter size (a count of the number of records
to process) on the publishing server for sorted transaction
logging. create_config.info question: TransactionServer:What is the gtc sorter size for sorted transaction logging on publishing server? |
25000 |
<resolve_pending_transaction_interval_in_micros>
<resolve_pending_transaction_maximum_retries>
By default, the Transaction Server on each server looks every 60 seconds (60000000
microseconds) for transactions that has been idle once and tries to resolve any that
are pending. If the same transaction cannot be resolved after the maximum number of
retries (default is 3), it logs a critical message and stops trying to resolve the
transaction. This might require a manual restart of the server that has not approved
the transaction commit. The parameter gtc_sorted_txn_logging_enabled
is for use in systems and
logging. It has a Boolean value of 1 or 0. gtc_sorted_txn_logging_enabled Parameter describes the impact of
gtc_sorted_txn_logging_enabled
in MEF files.
General | MEF |
---|---|
Processing servers continue to create log files but do not support
gtc_sorted_txn_logging_enabled . |
The parameter is enabled by default, and cannot be disabled. |
batch_level_compression_enabled
parameter in a sed
command to specify whether to enable or disable batch-level compression for
transactions. Batch-level compression is enabled by default.