Amazon Redshift 的新功能,會自動在背景重新排序資料以增加效能:「Amazon Redshift introduces Automatic Table Sort, an automated alternative to Vacuum Sort」。
版本要到更新到 1.0.11118,然後預設就會打開:
This feature is available in Redshift 1.0.11118 and later.
Automatic table sort is now enabled by default on Redshift tables where a sort key is specified.
重新排序的運算會在背景處理,另外帶一些行為學習分析:
Redshift runs the sorting in the background and re-organizes the data in tables to maintain sort order and provide optimal performance. This operation does not interrupt query processing and reduces the compute resources required by operating only on frequently accessed blocks of data. It prioritizes which blocks of table to sort by analyzing query patterns using machine learning.
算是丟著讓他跑就好的東西,升級上去後可以看一下 CloudWatch 的報告,這邊沒有特別講應該是還好... XD