Settings

From MemCP
Revision as of 23:03, 17 May 2024 by Carli (talk | contribs)
Jump to navigation Jump to search

Settings are changed by:

(settings "key" "value")

And read by:

(settings "key")

The following settings are available:

  • "Backtrace": true or false whether to print backtraces from Scheme. Using true decreases the performance by ~10% but gives you better debugging capabilities.
  • "PartitionMaxDimensions": number from 0 to 10 how many partitioning dimensions are allowed at max. 0 means, don't partition shards for values (use it to workaround bugs), 1 means only one-dimensional partitioning.
  • "DefaultEngine": one of "memory" "sloppy" "logging" "safe" that defines which persistency level to choose if a CREATE TABLE statement is executed without the ENGINE parameter