# Cassandra System Variables

{% hint style="info" %}
The Cassandra storage engine was removed in MariaDB 10.6.
{% endhint %}

This page documents system variables related to the [Cassandra storage engine](https://mariadb.com/docs/server/server-usage/storage-engines/legacy-storage-engines/cassandra). See [Server System Variables](https://mariadb.com/docs/server/server-management/variables-and-modes/server-system-variables) for a complete list of system variables and instructions on setting them.

#### `cassandra_default_thrift_host`

* Description: Host to connect to, if not specified on per-table basis.
* Scope: Global
* Dynamic: Yes
* Data Type: `string`

#### `cassandra_failure_retries`

* Description: Number of times to retry on timeout/unavailable failures.
* Scope: Global, Session
* Dynamic: Yes
* Data Type: `numeric`
* Default Value: `3`
* Valid Values: `1` to `1073741824`

#### `cassandra_insert_batch_size`

* Description: INSERT batch size.
* Scope: Global, Session
* Dynamic: Yes
* Data Type: `numeric`
* Default Value: `100`
* Valid Values: `1` to `1073741824`

#### `cassandra_multiget_batch_size`

* Description: Batched Key Access batch size.
* Scope: Global, Session
* Dynamic: Yes
* Data Type: `numeric`
* Default Value: `100`
* Valid Values: `1` to `1073741824`

#### `cassandra_read_consistency`

* Description: Consistency to use for reading. See [Datastax's documentation](https://www.datastax.com/documentation/cassandra/2.0/cassandra/dml/dml_config_consistency_c.html) for details.
* Scope: Global, Session
* Default Value: `ONE`
* Valid Values: `ONE`, `TWO`, `THREE`, `ANY`, `ALL`, `QUORUM`, `EACH_QUORUM`, `LOCAL_QUORUM`, \`\`

#### `cassandra_rnd_batch_size`

* Description: Full table scan batch size.
* Scope: Global, Session
* Default Value: `10000`
* Valid Values: `1` to `1073741824`

#### `cassandra_write_consistency`

* Description: Consistency to use for writing. See [Datastax's documentation](https://www.datastax.com/documentation/cassandra/2.0/cassandra/dml/dml_config_consistency_c.html) for details.
* Scope: Global, Session
* Default Value: `ONE`
* Valid Values: `ONE`, `TWO`, `THREE`, `ANY`, `ALL`, `QUORUM`, `EACH_QUORUM`, `LOCAL_QUORUM`, \`\`

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mariadb.com/docs/server/server-usage/storage-engines/legacy-storage-engines/cassandra/cassandra-system-variables.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
