# Quotas and system limits

Google Cloud Cortex Framework uses quotas and system limits to maintain fair resource
allocation, prevent service overloads, and help you manage resource use.

Quotas and system limits are similar but differ in the following ways:

- *Quotas* have default values, but you can typically request adjustments.
- *System limits* are fixed values that can't be changed.

Google Cloud uses quotas to help maintain fairness and reduce
spikes in resource use and availability. A quota restricts how much of a
Google Cloud resource your Google Cloud project can use. Quotas
apply to a range of resource types, including hardware, software, and network
components. For example, quotas can restrict the number of API calls to a
service, the number of load balancers used concurrently by your project, or the
number of projects that you can create. Quotas protect the community of
Google Cloud users by preventing the overloading of services. Quotas also
help you to manage your own Google Cloud resources.

The Cloud Quotas system does the following:

- Monitors your consumption of Google Cloud products and services
- Restricts your consumption of those resources
- Provides a way to [request changes to the quota value](https://docs.cloud.google.com/docs/quotas/help/request_increase) and [automate quota adjustments](https://docs.cloud.google.com/docs/quotas/quota-adjuster.md.txt)

In most cases, when you attempt to consume more of a resource than its quota
allows, the system blocks access to the resource, and the task that
you're trying to perform fails.

Quotas generally apply at the Google Cloud project
level. Your use of a resource in one project doesn't affect
your available quota in another project. Within a Google Cloud project, quotas
are shared across all applications and IP addresses.


For more information, see the
[Cloud Quotas overview](https://docs.cloud.google.com/docs/quotas/overview.md.txt).

## Quotas

Google Cloud Cortex Framework builds on top of several Google Cloud products. For
detailed quota and limit information, see the respective Google Cloud
product quota pages.

### Cortex Framework version 7 services

- [BigQuery](https://docs.cloud.google.com/bigquery/quotas.md.txt), including [BigQuery Reservations](https://docs.cloud.google.com/bigquery/quotas.md.txt#reservations) and [BigQuery sharing (formerly Analytics Hub)](https://docs.cloud.google.com/bigquery/quotas.md.txt#analytics-hub)
- [BigLake](https://docs.cloud.google.com/lakehouse/docs/quotas.md.txt)
- [Dataform](https://docs.cloud.google.com/dataform/docs/quotas.md.txt)
- [Knowledge Catalog](https://docs.cloud.google.com/dataplex/docs/quotas)
- [Data Catalog](https://docs.cloud.google.com/data-catalog/docs/resources/quotas) (`datacatalog.googleapis.com`, used for column-level security policy tags)
- [Conversational analytics (Conversational Analytics API)](https://docs.cloud.google.com/gemini/data-agents/conversational-analytics-api/quotas.md.txt) and [Gemini for Google Cloud](https://docs.cloud.google.com/gemini/docs/quotas.md.txt) (`cloudaicompanion.googleapis.com`)
- [Gemini Enterprise](https://docs.cloud.google.com/gemini/enterprise/docs/quotas-and-pay-as-you-go-usage.md.txt) and [Discovery Engine](https://docs.cloud.google.com/generative-ai-app-builder/quotas.md.txt)
- [Cloud Storage](https://docs.cloud.google.com/storage/quotas.md.txt) (used when seeding demo sample data)

### Cortex Framework version 6 legacy services

- [Cloud Build](https://docs.cloud.google.com/build/quotas.md.txt)
- [Dataflow](https://docs.cloud.google.com/dataflow/quotas.md.txt)
- [Managed Service for Apache Airflow](https://docs.cloud.google.com/composer/quotas.md.txt)
- [Managed Service for Apache Spark](https://docs.cloud.google.com/dataproc/quotas)
- [Gemini](https://docs.cloud.google.com/vertex-ai/quotas)
- [Secret Manager](https://docs.cloud.google.com/secret-manager/quotas.md.txt)

When installing multiple Cortex Framework version 6 workloads with
Cloud Build, you might need to increase the following Cloud Build
quotas:

| Resource | Description | Default limit | Can be increased | Scope |
|---|---|---|---|---|
| CPU | Number of concurrent Build and Operation Get requests | 600 | Yes (up to 1200) | Per minute |
| CPU | Number of concurrent Build and Operation Get requests | 600 | Yes (up to 1200) | Per user |

## Framework limits

In addition to upstream Google Cloud service quotas,
Cortex Framework enforces the following configuration and runtime
limits:

| Resource or setting | Limit | Notes |
|---|---|---|
| Conversational analytics `options.maxBilledBytes` | 500 GB maximum (`500,000,000,000` bytes) | Defaults to 10 GiB (`10,737,418,240` bytes); sets `big_query_max_billed_bytes` on the agent data source. |
| Table clustering columns (`clusterDetails.columns`) | 4 columns per table | Matches the BigQuery `CLUSTER BY` limit. |
| Resource labels | 64 labels per resource; 63 characters per value | `bigQueryLabels` entries longer than 63 characters fail schema validation; framework-generated module labels and pass-through `bigquery.labels` maps truncate longer values to a 54-character prefix plus an underscore (`_`) and an 8-character SHA-256 suffix (63 characters total). |
| Generated assertion action name | 1,024 characters | Applies to `<moduleId>_<tableName>_assert_<ruleName>` matching BigQuery view ID limits. |
| SAP DDIC domain values | 200 values per domain | Excess fixed domain values are truncated during SAP Data Dictionary metadata extraction. |

## Request a quota adjustment

To adjust most quotas, use the Google Cloud console.
For more information, see
[Request a quota adjustment](https://docs.cloud.google.com/docs/quotas/help/request_increase).