Amazon Redshift non supporterà più la creazione di nuove UDF Python a partire dal 1º novembre 2025. Se desideri utilizzare le UDF Python, creale prima di tale data. Le UDF Python esistenti continueranno a funzionare normalmente. Per ulteriori informazioni, consulta il post del blog
STV_WLM_CLASSIFICATION_CONFIG
Contiene le regole di classificazione correnti per WLM.
STV_WLM_CLASSIFICATION_CONFIG è visibile solo agli utenti con privilegi avanzati. Per ulteriori informazioni, consultare Visibilità dei dati nelle tabelle e nelle viste di sistema.
Colonne di tabella
| Nome colonna | Tipo di dati | Descrizione |
|---|---|---|
| id | integer | ID classe di servizio. Per un elenco degli ID delle classi di servizio, consultare ID classe di servizio WLM. |
| condition | character(128) | Condizioni di query. |
| action_seq | integer | Riservate per il sistema. |
| action | character(64) | Riservate per il sistema. |
| action_service_class | integer | La classe di servizio in cui viene eseguita l’operazione. |
Query di esempio
select * from STV_WLM_CLASSIFICATION_CONFIG; id | condition | action_seq | action | action_service_class ---+---------------------------------------------+------------+--------+--------------------- 1 | (system user) and (query group: health) | 0 | assign | 1 2 | (system user) and (query group: metrics) | 0 | assign | 2 3 | (system user) and (query group: cmstats) | 0 | assign | 3 4 | (system user) | 0 | assign | 4 5 | (super user) and (query group: superuser) | 0 | assign | 5 6 | (query group: querygroup1) | 0 | assign | 6 7 | (user group: usergroup1) | 0 | assign | 6 8 | (user group: usergroup2) | 0 | assign | 7 9 | (query group: querygroup3) | 0 | assign | 8 10 | (query group: querygroup4) | 0 | assign | 9 11 | (user group: usergroup4) | 0 | assign | 9 12 | (query group: querygroup*) | 0 | assign | 10 13 | (user group: usergroup*) | 0 | assign | 10 14 | (querytype: any) | 0 | assign | 11 (4 rows)