System Settings Reference

This section provides reference information for each of the AnzoGraph Basic system configuration settings. For instructions on changing settings, see Changing System Settings.

Note AnzoGraph provides other Advanced configuration settings that are intended only for system administrators or users with an advanced level of knowledge about AnzoGraph or databases in general. See the configuration file, install_path/config/settings.conf, for descriptions of the Advanced settings.
Setting Description Default Value (Type)
enable_persistence Specifies whether to enable AnzoGraph's save data to disk option. true (boolean)
enable_sparql_protocol Specifies whether to enable the SPARQL HTTP protocol service. The sparql_protocol_port setting controls the port to use if this option is set to true. true (boolean)
enable_ssl_protocol Specifies whether to enable the secure SPARQL HTTPS service for SSL connections. The ssl_protocol_port setting controls the port to use. true (boolean)
internal_directory The directory where AnzoGraph should save internal database's operational cache files. Not set (char)

The default directory for internal operational data is install_path/internal.

max_memory Specifies the amount of memory (in MB) that is available for AnzoGraph. The default is system-based; at startup, AnzoGraph determines the amount of RAM that is available and sets max_memory. In test environments where AnzoGraph may be co-located with other programs, you can set the max_memory value to put a limit on the amount of memory AnzoGraph can use. However, Cambridge Semantics recommends that you do not set max_memory unless instructed by Support. System-based (int)
output_format Specifies the default output format for AnzoGraph responses. Valid values are xml, json, or csv. xml (char)
persistence_directory The directory where AnzoGraph should save data when it is persisted to disk. Not set (char)

The default directory for persisted data is install_path/persistence

sparql_protocol_port Specifies the SPARQL service HTTP port to use if enable_sparql_protocol is set to true. 7070 (int)
sparql_spec_default_graph Controls the default scope of SPARQL queries when FROM clauses are excluded from a query. When false, queries without FROM clauses target the default graph (DEFAULTSET) only. Triples in named graphs will not be included in the scope of the query. When true, queries without FROM clauses target all graphs in the database. Triples in the default graph and any named graph are included in the scope of the query. For more information, see Changing the Default FROM Clause Behavior. false (boolean)
spill_directory The directory where AnzoGraph should save temporary query files that spill to disk.
ImportantAnzoGraph uses O_DIRECT to read spill files into the database. If you relocate the spill directory, place it on an ext4 file system that supports O_DIRECT.
Not set (char)

The default directory for spill files is install_path/spill

ssl_protocol_port Specifies SPARQL service HTTPS port to use if enable_ssl_protocol is set to true. 8256 (int)
startup_info Specifies how verbose the startup message is: - 0-quiet, 1-ready, 2-ports, 3-more. 1 (int)
stop_timeout The number of seconds to wait for queries to finish before stopping the database with a -stop request. 30 (int)
truncate_clob Specifies whether to truncate large strings to the maximum string size (1 MB). false (boolean)
use_custom_ssl_files Specifies whether to use custom SSL files containing fully qualified domain names. false (boolean)
user_queues Sets the limit on the number of queries that can run concurrently. 40 (int)
enable_unbound_variables Controls whether AnzoGraph returns an empty result or an error if a query references a missing graph or includes unbound variables. This value is set to false by default, which means AnzoGraph returns an error. For more information, see Ignoring Missing Graphs. false (boolean)
auto_restart_directory Specifies the base location of the auto_restart directory, which contains the grey_listed, black_listed, and unanalyzed_queries directories. For more information about the auto-restart feature, see Managing the Automatic Restart Feature. Not set (char)

The default location for the auto_restart directory is install_path/internal.

auto_restart_max_attempts Specifies the number of times the system manager should attempt to start the database after a crash. The default value is 5, which means the system manager will attempt to restart the database a maximum of 5 times. Changing auto_restart_max_attempts to 0 disables the auto-restart feature. For more information about the auto-restart feature, see Managing the Automatic Restart Feature. 5 (int)
auto_restart_time Specifies the number of seconds to spend attempting to restart the database. If all attempts fail and this time limit is reached, the system manager stops trying to restart the database. The default value is 600, which means that the system manager will attempt to restart the database for a maximum of 600 seconds (10 minutes). For more information about the auto-restart feature, see Managing the Automatic Restart Feature. 600 (int)
Related Topics