Data Source Quotas - Amazon QuickSight

Data Source Quotas

Data sources that you use with Amazon QuickSight must conform to the following quotas.

SPICE Quotas for Imported Data

When you create a new dataset in Amazon QuickSight, SPICE limits the number of rows you can add to a dataset. You can ingest data into SPICE from a query or from a file. Each file can have up to 2,000 columns. Each column name can have up to 127 Unicode characters. Each field can have up to 2,047 Unicode characters.

To retrieve a subset of data from a larger set, you can deselect columns or apply filters to reduce the size of the data. If you are importing from Amazon S3, each manifest can specify up to 1,000 files.

Quotas for SPICE are as follows:

  • 2,047 Unicode characters for each field

  • 127 Unicode characters for each column name

  • 2,000 columns for each file

  • 1,000 files for each manifest

  • For Standard edition, 25 million (25,000,000) rows or 25 GB for each dataset

  • For Enterprise edition, 250 million (250,000,000) rows or 500 GB for each dataset

In rare cases, if you're ingesting large rows into SPICE, you might reach the quota for gigabytes per dataset before you reach the quota on rows. The size is based on the SPICE capacity the data occupies after ingestion into SPICE. You can calculate your capacity by using the formula described in Capacity Planning for SPICE Datasets.

Quotas for Direct SQL Queries

If you aren't importing data into SPICE, different quotas apply for space and time. For operations such as connecting, sampling data for a dataset, and generating visuals, timeouts can occur. In some cases, these are timeout quotas set by the source database engine. In other cases, such as visualizing, Amazon QuickSight generates a timeout after 2 minutes.

However, not all database drivers react to the 2-minute timeout, for example Amazon Redshift. In these cases, the query runs for as long as it takes for the response to return, which can result in long-running queries on your database. When this happens, you can cancel the query from the database server to free up database resources. Follow the instructions for your database server about how to do this. For example, for more information on how to cancel queries in Amazon Redshift, see Canceling a Query in Amazon Redshift, and Implementing Workload Management in Amazon Redshift in the Amazon Redshift Database Developer Guide.

Each result set from a direct query can have up to 2,000 columns. Each column name can have up to 127 Unicode characters. If you want to retrieve data from a larger table, you can use one of several methods to reduce the size of the data. You can deselect columns, or apply filters. In a SQL query, you can also use predicates, such as WHERE, HAVING. If your visuals time out during a direct query, you can simplify your query to optimize execution time or you can import the data into SPICE.

Quotas for queries are as follows:

  • 127 Unicode characters for each column name.

  • 2,000 columns for each dataset.

  • 2-minute quota for generating a visual, or an optional dataset sample.

  • Data source timeout quotas apply (varies for each database engine).