Skip to content

Storage Settings

Set cluster-wide or table-specific default storage locations.

A Hydrolix storage object is defined by both an existing S3-compatible bucket and a path.

To configure additional storage locations, see vendor storage configuration.

Storage settings attributes⚓︎

Performance mode⚓︎

The io_perf_mode storage setting tunes the parallelism and striping behavior when reading data from a defined storage location. It supports three possible settings:

Keyword Integer Value Behavior
aggressive 0 (default) Smaller range requests, more read operations
moderate 1
relaxed 2 Larger range requests, fewer read operations

The io_perf_mode can be specified as a keyword or an integer. The default is aggressive.

Choose a performance mode setting based on cloud storage limits, such as IOPS or billing.

"storage" : {
    "name": "hdx_primary",
    "description": "The initial bucket that comes up with the hdx cluster",
    "org": "<example org>"
    "settings": {
        "bucket_name": "<example name>",
        "bucket_path": "/",
        "region": "<example region>",
        "cloud": "<vendor",
        "endpoint": "<endpoint URL>",
        "io_perf_mode": "moderate"
    }
}

Set default storage for a cluster⚓︎

The cluster-wide default storage serves as the backing store for many cluster operations like log storage and application backups, for example, Keycloak.

Use settings.is_default to assign a default storage bucket for a Hydrolix cluster:

"storage" : {
    "name": "hdx_primary",
    "description": "The initial bucket that comes up with the hdx cluster",
    "org": "<example org>"
    "settings": {
        "bucket_name": "<example name>",
        "bucket_path": "/",
        "region": "<example region>",
        "cloud": "<vendor",
        "endpoint": "<endpoint URL>",
        "is_default": true
    }
}

A cluster can't operate without a defined default storage. If you don't specify a default storage location and your cluster only contains a single storage definition, Hydrolix automatically assigns it as the default.

Set default storage for a table⚓︎

You can configure a default storage bucket for any table in your Hydrolix cluster.

This snippet assigns a unique ID of the storage location as the default for a table. All partitions for the table are written to the bucket and path defined in the storage object.

1
2
3
4
5
6
7
"example_table": {
  "name": "<example_table_name>",
  ...
  "storage_map": {
    "default_storage_id": "<example_storage_id>",
  }
}

Use Hydrolix UI to configure default table storage⚓︎

  1. Log into the UI, hosted at https://${myhost}.hydrolix.live.
  2. Click Data in the left sidebar.
  3. Click the name of the project that contains the table you want to configure.
  4. Click the name of the table that you want to configure.
  5. Under Advanced Options, click the to the right of bucket settings.
  6. In the dropdown, click Edit.
  7. In the right sidebar, under Default Storage ID, select the ID of the storage you would like to use as the default storage.
  8. Click Save changes to persist your default storage setting for the table.