> For the complete documentation index, see [llms.txt](https://docs.tonic.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tonic.ai/app/workspace/workspace-configuration-settings/advanced-overrides.md).

# Advanced workspace overrides

For self-hosted instances, Structural provides [environment settings](/app/admin/environment-variables-setting.md) to configure features that include:

* Consistency across runs and databases
* Data generation performance

The **Advanced Workspace Overrides** section of the workspace details view allows you to override those environment settings for an individual workspace.

For example, the environment setting `TONIC_TABLE_PARALLELISM` determines the number of tables that Structural processes simultaneously. You can then override that value within individual workspaces.

The workspace overrides are available on both self-hosted instances and on Structural Cloud.

## **Configuring the overrides** <a href="#workspace-overrides-configure" id="workspace-overrides-configure"></a>

By default, the list is collapsed.

<figure><img src="https://3378426797-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSQCLFQ4bslJ-HYc8c3%2Fuploads%2FCaptbQzKUFbmPAxaF3WI%2FAdvancedWorkspaceOverridesCollapsed.png?alt=media&amp;token=4662a70a-7ea9-441e-b5ee-49e0f75e049e" alt=""><figcaption><p>Initial collapsed display of the Advanced Workspace Overrides section</p></figcaption></figure>

To display the available override settings, expand the list.

<figure><img src="https://3378426797-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSQCLFQ4bslJ-HYc8c3%2Fuploads%2F4xWQTbDW3bYkR226yx23%2FAdvancedWorkspaceOverrides.png?alt=media&amp;token=df96bcf0-6176-4790-9254-2a54c8c6c2fa" alt=""><figcaption><p>Expand list of settings in the Advanced Workspace Overrides section for a workspace</p></figcaption></figure>

### Enabling and setting an override <a href="#override-set-initial" id="override-set-initial"></a>

You can use the search field to find a specific setting. The search looks for matches in both the setting name and the setting description.

<figure><img src="https://3378426797-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSQCLFQ4bslJ-HYc8c3%2Fuploads%2F4QZhPTynLwwhxDnKXgz8%2FAdvancedWorkspaceOverridesSearch.png?alt=media&amp;token=4a75377f-5845-4bdb-92d1-321e7665f8da" alt=""><figcaption><p>Applying a search filter to the advanced workspace overrides</p></figcaption></figure>

For information on how to configure the statistics seed, go to [Enabling consistency](/app/generation/generators/generator-characteristics/consistency.md#consistency-cross-run-workspace-override).

For other settings, to enable the override and set the override value:

1. Toggle the setting to the on position.

<figure><img src="https://3378426797-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSQCLFQ4bslJ-HYc8c3%2Fuploads%2FDCAik4z8a7xLqMARGxsp%2FOverrideNewValue.png?alt=media&amp;token=2bf6141a-52f6-4a96-913b-f51b9e4b639b" alt=""><figcaption><p>Enabling and setting an override value</p></figcaption></figure>

2. Set the value.

On the workspace settings page, the configured settings display above the collapsed list of unset settings.

<figure><img src="https://3378426797-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSQCLFQ4bslJ-HYc8c3%2Fuploads%2F7nuD35j1j1B0HUAcGd79%2FAdvancedWorkspaceOverridesWithSetting.png?alt=media&amp;token=047117b1-4e48-483d-951f-e2b4ef9327a5" alt=""><figcaption><p>Advanced Workspace Overrides section with a configured setting</p></figcaption></figure>

### Removing an override <a href="#override-remove" id="override-remove"></a>

To remove the override, toggle the setting to the off position.

## Available overrides <a href="#overrides-available" id="overrides-available"></a>

### **Workspace statistics seed for cross-run consistency** <a href="#workspace-statistics-seed" id="workspace-statistics-seed"></a>

For generators where [consistency](/app/generation/generators/generator-characteristics/consistency.md) is enabled, a statistics seed enables consistency across data generation runs. The Structural-wide statistics seed value ensures consistency across both data generation runs and workspaces.

You use the **Override Statistics Seed** setting to override the Structural-wide statistics seed value.

You can either disable consistency across data generations, or provide a seed value for the workspace. The workspace seed value ensures consistency across data generation runs for that workspace, and across other workspaces that have the same seed value.

For details about using seed values to ensure consistency across data generation runs and databases, go to [Enabling consistency](/app/generation/generators/generator-characteristics/consistency.md#enabling-consistency-across-runs-or-multiple-databases).

### Collection and sensitivity scan timeouts

For document-based databases, you can configure the maximum amount of time in seconds to scan a schema.

For sensitivity scans, you can configure the number of minutes after which a scheduled scan times out.

From **Advanced Workspace Overrides**, you can override both of these timeouts.

### Data generation performance settings <a href="#data-gen-performance" id="data-gen-performance"></a>

Structural provides environment settings to manage [data generation performance](/app/workflows/performance.md). For example, these settings include configuration for parallel processing and client-side compression.

From **Advanced Workspace Overrides**, you can override some of these data generation performance settings for an individual workspace.

### Data encryption and decryption keys <a href="#encryption-decryption-keys" id="encryption-decryption-keys"></a>

To use Structural data encryption, you must [provide encryption and decryption keys](/app/generation/generators-assign-config/generators-data-encryption-config.md#data-encryption-keys).

You use the **Override Data Decryption Key** and **Override Data Encryption Key** settings to override the Structural-wide keys that are provided in the environment settings.

### Destination database schema creation

Some data connectors allow you to configure whether you provide the schema for the destination database. For more information, go to related information for [Databricks](/app/setting-up-your-database/databricks/before-you-create-a-databricks-workspace/databricks-config-create-dest-schema.md), [MySQL](/app/setting-up-your-database/mysql/mysql-before-create-workspace.md#mysql-schema-creation-config), [Oracle](/app/setting-up-your-database/oracle/oracle-before-workspace-creation.md#oracle-config-skip-db-creation), [Snowflake](/app/setting-up-your-database/snowflake.md), and [SQL Server](/app/setting-up-your-database/sql-server/sql-server-before-create-workspace.md#sql-server-skip-db-creation).

From **Advanced Workspace Overrides**, you can override the instance-wide configuration.

### Overwrite handling for Databricks <a href="#databricks-emr-overwrite-handling" id="databricks-emr-overwrite-handling"></a>

Databricks allows you to configure how Structural handles overwrites of existing data.&#x20;

You use the **Workspace Default Error on Override** and **Workspace Default Save Mode** settings to override the instance-wide configuration.

### Enable or disable event-based sensitivity scans

Structural provides an environment setting to determine whether to [automatically run a sensitivity scan](/app/generation/identify-sensitive-data/running-the-structural-sensitivity-scan.md#sensitivity-scan-automatic) when you create a workspace, copy a workspace, or change the connection details.

From **Advanced Workspace Overrides**, you can override the instance-wide configuration.

### Enable or disable LLM-based sensitivity detection on Structural Cloud

By default, LLM-based sensitivity detection is enabled on Structural Cloud.

You use the **Tonic LLM Enable Enhanced Recommendations** setting to determine whether to enable LLM-based sensitivity detection in the workspace.

For information about LLM-based sensitivity detection, go to [Running the Structural sensitivity scan](/app/generation/identify-sensitive-data/running-the-structural-sensitivity-scan.md#llm-based-sensitivity-detection-medium-confidence).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.tonic.ai/app/workspace/workspace-configuration-settings/advanced-overrides.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
