- Newest
- Most votes
- Most comments
Hi there.
There is no error on your part. This is a documented limitation when using Amazon Redshift as a target. The documentation reads:
Amazon Redshift doesn't support VARCHARs larger than 64 KB. LOBs from traditional databases can't be stored in Amazon Redshift.
As a workaround, I recommend storing this particular table in a different database engine, for example Aurora MySQL, then use federated queries in Amazon Redshift.
By using federated queries in Amazon Redshift, you can query and analyze data across operational databases, data warehouses, and data lakes. With the Federated Query feature, you can integrate queries from Amazon Redshift on live data in external databases with queries across your Amazon Redshift and Amazon S3 environments. Federated queries can work with external databases in Amazon RDS for PostgreSQL, Amazon Aurora PostgreSQL-Compatible Edition, Amazon RDS for MySQL, and Amazon Aurora MySQL-Compatible Edition.
I hope this helps.
Relevant content
- asked 3 years ago
- Accepted Answerasked 5 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago
Ah, I missed that in the documentation. I thought I read somewhere else something that suggested it would work with chunks larger than 64K, but only in inline mode.
If I understand your workaround correctly, synchronize specific tables with a database supported by federated queries (which cannot work with Oracle directly) then expose the data in Redshift via a federated query. Interesting, if not convoluted. I'll keep that in my back-pocket as a possible solution.
Thank you for the response!