
When an Ocient System starts, the system automatically creates a default system storage space for persistent metadata, such as system catalog tables. This default storage space is immutable, meaning you cannot delete or modify it.The name of the metadata storage space is
systemStorageSpace in the sys.storage_spaces system catalog table.User-Defined Storage Spaces
For storage other than metadata, you must create one or more separate storage spaces. The creation of storage spaces is necessary before loading data or performing other operations. User-defined storage spaces are configurable for extra resiliency or storage based on your system needs. A storage space represents how the storage cluster spreads data across Foundation Nodes to balance storage and fault tolerance. In general terms, the storage cluster configuration defines how the storage cluster behaves for these attributes:- Regular data storage operations (see Segment Group Width)
- Query resiliency (see Parity Width)
- Load resiliency (see Overprovision)
Segment Group Width
Storage space parameter:WIDTH
The Segment Group Width determines the number of segments that comprise a segment group. Functionally, this setting defines how many Foundation Nodes perform read and write operations for a segment group.
Within a Segment Group, the system assigns each segment to a different node. Hence, the Segment Group Width cannot exceed the number of nodes in your system.
In most circumstances, Segment Group Width should comprise most of your Foundation Nodes. On system startup, the default Segment Group Width is three, which is the minimum number of nodes required for an Ocient System.
Parity Width
Storage space parameter:PARITY_WIDTH
You can assign a subset of the Segment Group Width to Parity Width.
The Parity Width of a storage space determines its fault tolerance, defining the number of parity coding bits to use for each segment group. This number determines how many nodes can fail before the cluster is disabled.
Parity Width protects system querying capabilities. If any nodes fail, the system can execute and complete queries as long as the number of failed nodes is less than or equal to the Parity Width. When deployed in conjunction with overprovisioned nodes, Parity Width also provides fault tolerance for loading operations.
The PARITY WIDTH requires additional storage overhead, which is calculated by the formula (PARITY WIDTH) / (SEGMENT GROUP WIDTH - PARITY WIDTH).
Overprovision
The Ocient System overprovisions any Foundation Nodes in the cluster in excess of the Segment Group Width by default. These nodes can include any nodes not configured in the storage space or any nodes added later. Overprovisioned nodes protect loading operations from node failure, although they must be used in conjunction with Parity Width. In the event of node failures, loading operations can continue as long as the number of failed nodes does not exceed the Parity Width nodes or the number of overprovisioned nodes. For this reason, providing fault tolerance for loading requires a balance of Parity Width and overprovisioned nodes. Unlike Segment Group Width and Parity Width, you do not explicitly define a value for overprovisioning. Instead, any Foundation Nodes in the cluster in excess of the number allocated toward Segment Group Width or Parity Width become overprovisioned by default.Degraded Loading
Under normal operation, loading data requires all segments in a segment group to be successfully written across the number of nodes defined by the Segment Group Width. If any target node is unavailable and there are no overprovisioned nodes to absorb the failure, loading fails entirely. Degraded loading extends the fault tolerance of loading operations beyond what overprovisioning alone provides. When you enable degraded loading, the system can commit a segment group even if some segments cannot be written because nodes are unavailable. The system commits the segment group as long as the number of missing segments does not exceed the Parity Width. In this case, the system records the segment group using theDAMAGED state, and the system fills the missing segments with virtual segments that the system can reconstruct later.
This behavior allows loading to continue through node outages without requiring additional overprovisioned nodes, aligning loading resiliency more closely with query resiliency.
Enable or Disable Degraded Loading
Degraded loading is disabled by default in version 27.0 and earlier of the Ocient System. For a new cluster that you bootstrap in version 28.0, degraded loading is enabled by default. For a migration from a cluster with version 27.0 or later to version 28.0, degraded loading retains its previous value; it is disabled unless you explicitly enabled it before the migration. Enable degraded loading using theALTER SYSTEM ALTER CONFIG SET SQL statement.
SQL
SQL
SQL
Rebuild Degraded Segment Groups
Segment groups written in a degraded state remain queryable because the available data and parity information are sufficient to reconstruct the missing segments at the time of query execution. However, the system does not automatically restore degraded segment groups to a fully intact state. After the unavailable nodes come back online, you must manually issue a rebuild task to restore the damaged segment groups.SQL
Monitor Degraded Segment Groups
Query thesys.degraded_segment_groups system catalog table to identify segment groups in a damaged state. This table shows all segment groups with the DAMAGED or UNAVAILABLE state, along with the locations of clusters and tables.
SQL
Limitations
Degraded loading does not remove all limitations related to node outages:- Query availability is still required for loading. Pipeline loading requires access to the system catalog tables, and CTAS and IAS operations require access to the source tables. If the number of offline nodes exceeds the Parity Width of the relevant storage space, queries fail, and loading also fails regardless of the degraded loading setting.
- Delete operations are independent of degraded loading. Deleting rows from a table requires a strict majority of nodes to be online and query availability (fewer than Parity Width unavailable nodes). In some configurations, a delete operation might fail even though loading can continue in a degraded state.
- Node transitions during loading might cause temporary failures. If a node goes offline while a CTAS or IAS query is in progress, the query might fail because the system cannot guarantee success when the storage cluster configuration changes mid-operation. Execute the query again to resolve this.
Storage Space Configuration Examples
This section demonstrates different configurations for storage spaces. The examples each go through different scenarios for node failures to show the fault tolerance of each setup. For information on the syntax for storage spaces, see CREATE STORAGESPACE.10-Node Cluster
This example assumes you have a storage cluster of 10 Foundation Nodes.SQL
- The
WIDTH = 10parameter means the system stores a segment group on 10 different nodes. - The
PARITY_WIDTH = 2parameter means each segment in the group contains enough parity bits to restore lost data for up to two nodes. In effect, this means parity bits comprise 20 percent of storage.
- If one node fails, loading fails, and querying can continue.
- If two nodes fail, loading fails, and querying can continue.
- If three nodes fail, loading and querying both fail.
- If one node fails, loading continues with data committed in a degraded state, and querying can continue.
- If two nodes fail, loading continues with data committed in a degraded state, and querying can continue.
- If three nodes fail, loading and querying both fail.
12-Node Cluster
This example assumes a storage cluster of 12 Foundation Nodes.SQL
- The
WIDTH = 10parameter means the system stores a segment group on 10 of the 12 nodes. - The two remaining nodes are overprovisioned.
- The
PARITY_WIDTH = 2parameter means each segment in the group contains enough parity bits to restore lost data for up to two nodes. In effect, this means parity bits comprise 16.6 percent of storage.
- If one node fails, loading and querying continues.
- If two nodes fail, loading and querying continues.
- If three nodes fail, loading and querying both fail.
12-Node Cluster with More Parity Width
This example assumes a storage cluster of 12 Foundation Nodes with more nodes allocated to parity.SQL
- The
WIDTH = 10parameter means the system stores a segment group on 10 of the 12 nodes. - The two remaining nodes are overprovisioned.
- The
PARITY_WIDTH = 3parameter means each segment in the group contains enough parity bits to restore lost data for up to three nodes. In effect, this means parity bits comprise 42 percent of storage.
- If one node fails, both loading and querying continue.
- If two nodes fail, both loading and querying continue.
- If three nodes fail, loading fails, and querying continues.
- If four nodes fail, both loading and querying fail.
- If one node fails, both loading and querying continue.
- If two nodes fail, both loading and querying continue.
- If three nodes fail, loading continues with data committed in a degraded state, and querying continues.
- If four nodes fail, loading and querying both fail.
15-Node Cluster
This example assumes a cluster of 15 Foundation Nodes. The configuration in this setup includes five overprovisioned nodes, exceeding the Parity Width nodes. This number of overprovisioned nodes would be inefficient in a real system and increases storage metadata overhead that can impact stability at scale. However, this example demonstrates what happens if you added extra nodes at a later time to a cluster, which the storage space would recognize as overprovisioned.SQL
- The
WIDTH = 10parameter means the system stores a segment group on 10 of the 15 nodes. - The five remaining nodes are overprovisioned.
- The
PARITY_WIDTH = 3parameter means each segment in the group contains enough parity bits to restore lost data for up to three nodes. In effect, this means parity bits comprise 20 percent of storage.
- If one node fails, loading and querying continue.
- If two nodes fail, loading and querying continue.
- If three nodes fail, loading and querying continue.
- If four nodes fail, loading and querying both fail because this breaches the Parity Width tolerance.

