Reference: magma (GUC)

The magma special configuration item is saved in the magma-site.xml file, which is located in the directory /usr/local/hawq/etc.

The configuration takes effect in the following three ways:

  • initdb: It takes effect on initdb, and cannot be changed later.
  • restart: It takes effect on restart, and the changes will not be detected after start.
  • autocheck: Automatically reload the changes when the configuration file is updated.

nodes_file

The name of file under GPHOME/etc specifying magma node hosts.

Value Range Default Set Classifications
String slaves initdb

node_data_directory

Magma service locations on magma node.

Value Range Default Set Classifications
String   initdb

node_log_directory

Magma service locations on magma node.

Value Range Default Set Classifications
String   initdb

node_address_port

Magma service port on magma node.

Value Range Default Set Classifications
integer(1~65535) 6666 initdb

magma_datadir_capacity

Set Magma data dir capacity of deploying range groups.

Value Range Default Set Classifications
integer(1~16) 3 initdb

magma_range_number

Set default Magma table range number per range group.

Value Range Default Set Classifications
integer(0~32768) 2 initdb

magma_replica_number

Set member size of a full raft group in Magma.

Value Range Default Set Classifications
integer(1~3) 3 initdb

blacklist_log_threshold

Set the maximum gap of an offline node measured by log size in MB behind its corresponding leaders before moving it into blacklist.

Value Range Default Set Classifications
integer 81920 autocheck

compact_cleanup_worker_limit_perrg

Set the limit of runnings concurrent compact workers for cleaning up jobs in one range group.

Value Range Default Set Classifications
integer 16 autocheck

compact_data_worker_limit_pernode

Set the limit of running concurrent compact workers in one node.

Value Range Default Set Classifications
integer 4 autocheck

compact_data_worker_limit_perrg

Set the limit of running concurrent compact workers in one range group.

Value Range Default Set Classifications
integer 1 autocheck

compact_trigger_ap_ratio_limit

Set the invalid rate as threshold of triggering compact in MagmaAP format.

Value Range Default Set Classifications
floating point < 1.0 0.5 autocheck

compact_trigger_tp_ratio_limit

Set the invalid rate as threshold of triggering compact in Magma catalog format.

Value Range Default Set Classifications
floating point < 1.0 0.5 autocheck

fts_node_timeout

Set the timeout in second of a live node.

Value Range Default Set Classifications
integer 60 autocheck

nbuffers

Set the number of buffer pages reserved by buffer manager at range group level,Default number is 10240(×16K=160MB).

Value Range Default Set Classifications
integer 10240 restart

raft_election_timeout

Set the timeout of raft election in second.

Value Range Default Set Classifications
integer 120 autocheck

rg_checkpoint_threshold

Set the minimum size in KB of accumulated raft log items should trigger checkpoint in one range group.

Value Range Default Set Classifications
integer 204800 autocheck