Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/mlos-config-mlos-jsonc-mlos-json5-mlos-json/_shared/latest--storage-schema.json
Parent schema mlos-config-mlos-jsonc-mlos-json5-mlos-json
Type: object

config for the mlos_bench storage service

Properties

class enum required

The name of the storage class to use.

Values: "mlos_bench.storage.sql.storage.SqlStorage"
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.

Examples: "sqlite", "duckdb", "mysql+mysqlconnector", "postgres+psycopg2"
database string required

The database to use.

Examples: "mlos_bench.sqlite", "mlos_bench.duckdb", "mlos_bench"
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.

Examples: "localhost", "db.example.com"
port integer

The port to use (e.g. 3306 for mysql or 5432 for postgres).

Examples: 3306, 5432
lazy_schema_create boolean

Whether or not to create the schema lazily.