Amazon Redshift non supporterà più la creazione di nuovi Python a UDFs partire dal 1° novembre 2025. Se vuoi usare Python UDFs, crea la UDFs data precedente a quella data. Python esistente UDFs continuerà a funzionare normalmente. Per ulteriori informazioni, consulta il post del blog
Le traduzioni sono generate tramite traduzione automatica. In caso di conflitto tra il contenuto di una traduzione e la versione originale in Inglese, quest'ultima prevarrà.
SYS_INTEGRATION_TABLE_STATE_CHANGE
SYS_INTEGRATION_TABLE_STATE_CHANGE visualizza i dettagli sui registri delle modifiche dello stato della tabella per le integrazioni.
Un utente con privilegi avanzati può visualizzare tutte le righe della tabella.
Per ulteriori informazioni, consulta Lavorare con le integrazioni Zero-ETL.
Colonne di tabella
Nome colonna | Tipo di dati | Descrizione |
---|---|---|
integration_id | character(128) | L'identificatore associato all'integrazione. |
database_name | character(128) | Il nome del database Amazon Redshift. |
schema_name | character(128) | Nome dello schema Amazon Redshift. |
table_name | character(128) | Nome della tabella. |
new_state | character(128) | Lo stato della tabella. I valori possibili sono Synced , ResyncRequired , ResyncInitiated , Deleted , Failed e ResyncDeleted . |
table_last_replicated_checkpoint | character(128) | Le coordinate attuali del log sincronizzato. |
state_change_reason | character(256) | Il motivo dell'ultima transizione dello stato. |
record_time | timestamp | L'ora (UTC) in cui questo record è stato aggiornato. |
Query di esempio
Il seguente comando SQL mostra il log delle integrazioni.
select * from sys_integration_table_state_change;
integration_id | database_name | schema_name | table_name | new_state | table_last_replicated_checkpoint | state_change_reason | record_time --------------------------------------+---------------+-------------+------------+-----------+-------------------------------------+---------------------+---------------------------- 99108e72-1cfd-414f-8cc0-0216acefac77 | perfdb | sbtest80t3s | sbtest79 | Synced | {"txn_seq":9834,"txn_id":126597515} | | 2023-09-20 19:39:50.087868 99108e72-1cfd-414f-8cc0-0216acefac77 | perfdb | sbtest80t3s | sbtest56 | Synced | {"txn_seq":9834,"txn_id":126597515} | | 2023-09-20 19:39:45.54005 99108e72-1cfd-414f-8cc0-0216acefac77 | perfdb | sbtest80t3s | sbtest50 | Synced | {"txn_seq":9834,"txn_id":126597515} | | 2023-09-20 19:40:20.362504 99108e72-1cfd-414f-8cc0-0216acefac77 | perfdb | sbtest80t3s | sbtest18 | Synced | {"txn_seq":9834,"txn_id":126597515} | | 2023-09-20 19:40:32.544084 99108e72-1cfd-414f-8cc0-0216acefac77 | perfdb | sbtest40t3s | sbtest23 | Synced | {"txn_seq":9834,"txn_id":126597515} | | 2023-09-20 15:49:05.186209