

 Amazon Redshift 將不再支援從修補程式 198 開始建立新的 Python UDFs。現有 Python UDF 將繼續正常運作至 2026 年 6 月 30 日。如需詳細資訊，請參閱[部落格文章](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/)。

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 最佳實務
<a name="iceberg-writes-best-practices"></a>

當您寫入 Apache Iceberg 資料表時，請考慮下列最佳實務：
+ 對於小型、頻繁的寫入或串流工作負載，請考慮使用 AWS Glue Data Catalog 或 Amazon S3 資料表提供的壓縮功能來最佳化讀取的檔案大小。
+ `DROP TABLE` 命令會從 AWS Glue Data Catalog 或 Amazon S3 資料表目錄取消註冊資料表，但您的檔案仍會保留。您可以使用 AWS Glue 和 Amazon S3 資料表中的功能來移除孤立的檔案。對於 AWS Glue，請參閱[刪除孤立檔案](https://docs.aws.amazon.com/glue/latest/dg/orphan-file-deletion.html)。如需 Amazon S3 資料表，請參閱[資料表維護](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-maintenance.html)。