Best practices - Amazon Redshift
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Amazon Redshift will no longer support the creation of new Python UDFs starting November 1, 2025. If you would like to use Python UDFs, create the UDFs prior to that date. Existing Python UDFs will continue to function as normal. For more information, see the blog post .

Best practices

Consider the following best practices when you write to an Apache Iceberg table:

  • For small, frequent writes or streaming workloads, consider using compaction features provided by Amazon Glue Data Catalog or Amazon S3 tables to optimize file sizes for reads.

  • The DROP TABLE command deregisters the table from the Amazon Glue Data Catalog or the Amazon S3 tables catalog, but your files still remain. You can use features in Amazon Glue and Amazon S3 tables to remove orphaned files. For Amazon Glue, see Deleting orphan files. For Amazon S3 tables, see Table maintenance.