Mroonga System Variables
This page documents system variables related to the Mroonga storage engine. See Server System Variables for instructions on setting them.
See also the Full list of MariaDB options, system and status variables.
mroonga_action_on_fulltext_query_error
mroonga_action_on_fulltext_query_errorDescription: Action to take when encountering a Mroonga fulltext error.
ERROR: Report an error without logging.ERROR_AND_LOG: Report an error with logging (the default)IGNORE: No logging or reporting - the error is ignored.IGNORE_AND_LOG: Log the error without reporting it.
Command line:
--mroonga-action-on-fulltext-query-error=valueScope: Global, Session
Dynamic: Yes
Data Type:
enumDefault Value:
ERROR_AND_LOG
mroonga_boolean_mode_syntax_flags
mroonga_boolean_mode_syntax_flagsDescription: Flags to customize syntax in BOOLEAN MODE searches. Available flags:
DEFAULT: (=SYNTAX_QUERY,ALLOW_LEADING_NOT)ALLOW_COLUMN: AllowsCOLUMN:...syntax in query syntax, an incompatible change to the regular BOOLEAN MODE syntax. Permits multiple indexes in oneMATCH () AGAINST (). Can be used in other operations besides full-text search, such as equal, and prefix search. See Groonga query syntax for more details.ALLOW_LEADING_NOTPermits using theNOT_INCLUDED_KEYWORDsyntax in the query syntax.ALLOW_UPDATE: Permits updating values with theCOLUMN:=NEW_VALUEsyntax in the query syntax.SYNTAX_QUERY: Mroonga will use Groonga's query syntax, compatible with MariaDB's BOOLEAN MODE syntax. UnlessSYNTAX_SCRIPTis specified, this mode is always in use.SYNTAX_SCRIPT: Mroonga will use Groonga's script syntax, a JavaScript-like syntax. If bothSYNTAX_QUERYandSYNTAX_SCRIPTare specified,SYNTAX_SCRIPTwill take precedence..
Command line:
--mroonga-boolean-mode-syntax-flags=valueScope: Global, Session
Dynamic: Yes
Data Type:
enumDefault Value:
DEFAULT
mroonga_database_path_prefix
mroonga_database_path_prefixDescription: The database path prefix.
Command line:
--mroonga-database-path-prefix=valueScope: Global
Dynamic: Yes
Data Type:
stringDefault Value: (Empty)
mroonga_default_parser
mroonga_default_parserDescription: The fulltext default parser, for example
TokenBigramSplitSymbolAlphaDigitorTokenBigram(the default). See the list of options at Mroonga Overview:Parser. Deprecated since Mroonga 5.04, use mroonga_default_tokenizer instead.Command line:
--mroonga-default-parser=valueScope: Global
Dynamic: Yes
Data Type:
stringDefault Value:
TokenBigramDeprecated: MariaDB 10.1.6, Mroonga 5.0.4
mroonga_default_tokenizer
mroonga_default_tokenizerDescription: The fulltext default parser, for example
TokenBigramSplitSymbolAlphaDigitorTokenBigram(the default). See the list of options at Mroonga Overview:Parser.Command line:
--mroonga-default-tokenizer=valueScope: Global, Session
Dynamic: Yes
Data Type:
stringDefault Value:
TokenBigramIntroduced: MariaDB 10.1.6, Mroonga 5.0.4
mroonga_default_wrapper_engine
mroonga_default_wrapper_engineDescription: The default engine for wrapper mode.
Command line:
--mroonga-default-wrapper-engine=valueScope: Global
Dynamic: No
Data Type:
stringDefault Value: (Empty)
mroonga_dry_write
mroonga_dry_writeDescription: If set to
on, (offis default), data is not actually written to the Groonga database. Only really useful to change for benchmarking.Command line:
--mroonga-dry-write[={0|1}]Scope: Global, Session
Dynamic: Yes
Data Type:
booleanDefault Value:
off
mroonga_enable_operations_recording
mroonga_enable_operations_recordingDescription: Whether recording operations for recovery to the Groonga database is enabled (default) or not. Requires reopening the database with FLUSH TABLES after changing the variable.
Command line:
--mroonga-enable-operations-recording={0|1}Scope: Global
Dynamic: Yes
Data Type:
booleanDefault Value:
ONIntroduced: MariaDB 10.2.11, MariaDB 10.1.29
mroonga_enable_optimization
mroonga_enable_optimizationDescription: If set to
on(the default), optimization is enabled. Only really useful to change for benchmarking.Command line:
--mroonga-enable-optimization={0|1}Scope: Global, Session
Dynamic: Yes
Data Type:
booleanDefault Value:
on
mroonga_libgroonga_embedded
mroonga_libgroonga_embeddedDescription: Whether libgroonga is embedded or not.
Command line: None
Scope: Global
Dynamic: No
Data Type:
booleanDefault Value:
ONIntroduced: MariaDB 10.1.6
mroonga_libgroonga_support_lz4
mroonga_libgroonga_support_lz4Description: Whether libgroonga supports lz4 or not.
Command line: None
Scope: Global
Dynamic: No
Data Type:
booleanDefault Value:
OFF
mroonga_libgroonga_support_zlib
mroonga_libgroonga_support_zlibDescription: Whether libgroonga supports zlib or not.
Command line: None
Scope: Global
Dynamic: No
Data Type:
booleanDefault Value:
ON
mroonga_libgroonga_support_zstd
mroonga_libgroonga_support_zstdDescription: Whether libgroonga supports Zstandard or not.
Command line: None
Scope: Global
Dynamic: No
Data Type:
booleanDefault Value:
OFFIntroduced: MariaDB 10.2.11, MariaDB 10.1.29
mroonga_libgroonga_version
mroonga_libgroonga_versionDescription: Groonga library version.
Command line: None
Scope: Global
Dynamic: No
Data Type:
string
mroonga_lock_timeout
mroonga_lock_timeoutDescription: Lock timeout used in Groonga.
Command line:
--mroonga-lock-timeout=#Scope: Global
Dynamic: Yes
Data Type:
numericDefault Value:
900000Range:
-1to2147483647
mroonga_log_file
mroonga_log_fileDescription: Name and path of the Mroonga log file.
Command line:
--mroonga-log-file=valueScope: Global
Dynamic: Yes
Data Type:
stringDefault Value:
groonga.log
mroonga_log_level
mroonga_log_levelDescription: Mroonga log file output level, which determines what is logged. Valid levels include:
NONENo output.EMERG: Only emergency error messages, such as database corruption.ALERT: Alert messages, such as internal errors.CRIT: Critical error messages, such as deadlocks.ERROR: Errors, such as API errors.WARNING: Warnings, such as invalid arguments.NOTICE: Notices, such as a change in configuration or a status change.INFO: Information messages, such as file system operations.DEBUG: Debug messages, suggested for developers or testers.DUMP: Dump messages.
Command line:
--mroonga-log-level=valueScope: Global
Dynamic: Yes
Data Type:
enumDefault Value:
NOTICE
mroonga_match_escalation_threshold
mroonga_match_escalation_thresholdDescription: The threshold to determine whether the match method is escalated.
-1means never escalate.Command line:
--mroonga-match-escalation-threshold=#Scope: Global, Session
Dynamic: Yes
Data Type:
numericDefault Value:
0Range:
-1to9223372036854775807
mroonga_max_n_records_for_estimate
mroonga_max_n_records_for_estimateDescription: The max number of records to estimate the number of matched records
Command line:
--mroonga-max-n-records-for-estimate=#Scope: Global, Session
Dynamic: Yes
Data Type:
numericDefault Value:
1000Range:
-1to2147483647
mroonga_query_log_file
mroonga_query_log_fileDescription: Query log file for Mroonga.
Command line:
--mroonga-query-log-file=filenameScope: Global
Dynamic: Yes
Data Type:
stringDefault Value: (Empty string)
Introduced: MariaDB 10.2.11
mroonga_vector_column_delimiter
mroonga_vector_column_delimiterDescription: Delimiter to use when outputting a vector column. The default is a white space.
Command line:
--mroonga-vector-column-delimiter=valueScope: Global
Dynamic: Yes
Data Type:
stringDefault Value: `` (white space)
mroonga_version
mroonga_versionDescription: Mroonga version
Command line: None
Scope: Global
Dynamic: No
Data Type:
string
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?

