latest--storage-schema
shared
Type:
object
config for the mlos_bench storage service
Properties
class
enum
required
The name of the storage class to use.
config
object
required
The storage driver specific config.
$schema
string
The schema to use for validating the storage config (accepts both URLs and local paths).
pattern=/schemas/storage/storage-schema.json$
description
string
Optional description of the config.
resolve_config_property_paths
string | array
An array of properties in the config that should be resolved to their full paths using the mlos_bench search path logic.
minItems=1uniqueItems=true
One of
1.
variant
Definitions
config_sql_storage
object
drivername
string
required
The driver to use.
database
string
required
The database to use.
log_sql
boolean
Whether to log SQL queries.
username
string
The username to use.
password
string
The password to use.
host
string
The host to use.
port
integer
The port to use (e.g. 3306 for mysql or 5432 for postgres).
lazy_schema_create
boolean
Whether or not to create the schema lazily.