KNOWLEDGE BASE

Amazon Redshift Error Fetch size <number> exceeds the limit of 1000 for a single node configuration on Windows OS


Published: 09 Feb 2023
Last Modified Date: 09 Feb 2023

Issue

When running an extract or Live connection using Amazon Redshift connection, the following error message occurs:

Fetch size <number> exceeds the limit of 1000 for a single node configuration. Reduce the client fetch/cache size or upgrade to a multi node installation.

This can happen with any variety of interactions with a Redshift connection and larger tables, such as when creating an extract

Environment

  • Tableau Server 2022.3.2
  • Windows 10
  • Amazon Redshift

Resolution

Option 1

If the driver is not the latest version as per amazon then update the driver to the latest version
This issue can be resolved by upgrading the windows Amazon Redshift drivers found here.

Option 2

If the driver is already in the updated version, try the following steps to configure DSN.

1. In the Start menu, open ODBC Data Sources.

Make sure that you choose the ODBC Data Source Administrator that has the same bitness as the client application that you are using to connect to Amazon Redshift.

2. In the ODBC Data Source Administrator, choose the Driver tab and locate the driver folder:

Amazon Redshift ODBC Driver (64-bit)
Amazon Redshift ODBC Driver (32-bit)

3. Choose the System DSN tab to configure the driver for all users on the computer, or the User DSN tab to configure the driver for your user account only.

4. Choose Add. The Create New Data Source window opens.

5. Choose the Amazon Redshift ODBC driver, and then choose Finish. The Amazon Redshift ODBC Driver DSN Setup window opens.

6. Under Connection Settings, enter the following information:

Data source name
Enter a name for the data source. You can use any name that you want to identify the data source later when you create the connection to the cluster. For example, if you followed the Amazon Redshift Getting Started Guide, you might type exampleclusterdsn to make it easy to remember the cluster that you associate with this DSN.

Server
Specify the endpoint for your Amazon Redshift cluster. You can find this information in the Amazon Redshift console on the cluster's details page. For more information, see Configuring connections in Amazon Redshift.

Port
Enter the port number that the database uses. Use the port that the cluster was configured to use when it was launched or modified.

Database
Enter the name of the Amazon Redshift database. If you launched your cluster without specifying a database name, enter dev. Otherwise, use the name that you chose during the launch process. If you followed the Amazon Redshift Getting Started Guide, enter dev.

6. Under Authentication, specify the configuration options to configure standard or IAM authentication. For information about authentication options, see "Configuring Authentication on Windows" in Amazon Redshift ODBC Connector Installation and Configuration Guide.

7. Under SSL Settings, specify a value for the following:

SSL authentication:
Choose a mode for handling Secure Sockets Layer (SSL). In a test environment, you might use prefer. However, for production environments and when secure data exchange is required, use verify-ca or verify-full. For more information about using SSL on Windows, see "Configuring SSL Verification on Windows" in Amazon Redshift ODBC Connector Installation and Configuration Guide.

8. Under Addition Option Select the Option Declare/Fetch and Enter the Cache option as 998.

9. In Logging Options, specify values for the logging option. For more information, see "Configuring Logging Options on Windows" in Amazon Redshift ODBC Connector Installation and Configuration Guide.

Then choose OK.

10 .Under Data Type Options, specify values for data types. For more information, see "Configuring Data Type Options on Windows" in Amazon Redshift ODBC Connector Installation and Configuration Guide.

Then choose OK.

11. Choose Test. If the client computer can connect to the Amazon Redshift database, you see the following message: Connection successful.

12. Click OK to Save and exit the configuration.

Now run the extract it will be successful.
 

Cause

This issue can occur when the fetch size exceeds the default set in Amazon Redshift data source. 
Did this article resolve the issue?