Console - CONFIG SET

Updates a configuration variable to the given value.

Syntax

CONFIG SET <config-variable> <config-value>
  • <config-variable> Defines the configuration variable you want to change.
  • <config-value> Defines the value you want to set.

Example

  • Display the current value for tx.autoRetry:

    orientdb> CONFIG GET tx.autoRetry
    
    Remote configuration: tx.autoRetry = 1
    

    Change the tx.autoRetry value to 5:

    orientdb> CONFIG SET tx.autoRetry 5
    
    Remote configuration value changed correctly.
    

    Display new value:

    orientdb> CONFIG GET tx.autoRetry
    
    Remote configuration: tx.autoRetry = 5
    

You can display all configuration variables with the CONFIG command. You can view the current value on a configuration variable using the CONFIG GET command.

For more information on other commands, see Console Commands