

 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/)。

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

# SVL\_RESTORE\_ALTER\_TABLE\_PROGRESS
<a name="r_SVL_RESTORE_ALTER_TABLE_PROGRESS"></a>

使用 SVL\_RESTORE\_ALTER\_TABLE\_PROGRESS 在傳統調整 RG 或 RA3 節點大小期間，監控叢集中每個資料表的遷移進度。它會在調整大小作業期間擷取資料遷移的歷史輸送量。如需傳統調整大小為 RG 或 RA3 節點的詳細資訊，請前往[傳統調整大小](https://docs.aws.amazon.com/redshift/latest/mgmt/managing-cluster-operations.html#classic-resize-faster)。

只有超級使用者可以看見 SVL\_RESTORE\_ALTER\_TABLE\_PROGRESS。如需詳細資訊，請參閱[系統資料表和檢視中資料的可見性](cm_chap_system-tables.md#c_visibility-of-data)。

此資料表中的部份或所有資料也會在 SYS 監控檢視 [SYS\_RESTORE\_LOG](SYS_RESTORE_LOG.md) 中找到。SYS 監視檢視中的資料會格式化為更易於使用和理解。我們建議您使用 SYS 監控檢視進行查詢。

**注意**  
進度為 `100.00%` 或 `ABORTED` 的列會在 7 天後刪除。若資料表的列是在傳統調整大小期間或之後捨棄，則仍會出現在 SVL\_RESTORE\_ALTER\_TABLE\_PROGRESS 中。

## 資料表欄
<a name="r_SVL_RESTORE_ALTER_TABLE_PROGRESS-table-columns"></a>


| 欄名稱  | 資料類型  | 說明  | 
| --- | --- | --- | 
| tbl | integer | 資料表的 ID。 | 
| 進度 | char(32) | 資料表重新分佈進度的狀態。可能的值是從 0.00% 到 100.00% 的百分比且訊息為 ABORTED。ABORTED 表示重新分佈已停止但未完成，原因會在 message 欄中說明。 | 
| message | char(256) | 與資料表重新分佈進度相關聯的訊息。 | 

## 範例查詢
<a name="r_SVL_RESTORE_ALTER_TABLE_PROGRESS-sample-queries"></a>

下列查詢會傳回執行中和佇列中的查詢。

```
select * from svl_restore_alter_table_progress;

tbl     | progress |                          message                          
--------+----------+-----------------------------------------------------------
105614  | ABORTED  | Abort:Table no longer contains the prior dist key column.
105610  | ABORTED  | Abort:Table no longer contains the prior dist key column.
105594  | 0.00%    | Table waiting for alter diststyle conversion.
105602  | ABORTED  | Abort:Table no longer contains the prior dist key column.
105606  | ABORTED  | Abort:Table no longer contains the prior dist key column.
105598  | 100.00%  | Restored to distkey successfully.
```