SYMPTOM:
In Strategy 10.x and newer versions, slow performance has been observed while querying tables that have columns set to varchar(max) or char(max) data types using the Strategy ODBC Driver for Amazon Redshift Wire Protocol.
CAUSE:
Strategy Intelligence Server uses an ODBC Call (SQLDescribeCol) to determine the proper resources to allocate for the query results coming back from Amazon Redshift. In cases where the column datatype is varchar(max) the call to SQLDescribeCol will return a value of 65535 bytes.
If the SQL is bringing back values with varchar(max) dataype, the Strategy Intelligence Server will have to allocate a lot of memory resources to fetch back the data causing degradation in query performance or out of memory issues. Similar issue is observed where there is a large precision for varchar or char columns (varchar(20000) or char(max) for example).
WORKAROUND:
For DSN Connection
Windows

Linux

For DSN-Less Connection
Article Reference Number: KB441623