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.
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:
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.
Use Hydrolix UI to configure default table storage⚓︎
- Log into the UI, hosted at
https://${myhost}.hydrolix.live. - Click Data in the left sidebar.
- Click the name of the project that contains the table you want to configure.
- Click the name of the table that you want to configure.
- Under Advanced Options, click the to the right of bucket settings.
- In the dropdown, click Edit.
- In the right sidebar, under Default Storage ID, select the ID of the storage you would like to use as the default storage.
- Click Save changes to persist your default storage setting for the table.