SYSTEM$GET_COMPUTE_POOL_STATUS¶
Ruft den Status eines Computepools ab.
- Siehe auch:
Syntax¶
GET_COMPUTE_POOL_STATUS( '<computePoolName>' )
Rückgabewerte¶
Gibt Statusinformationen als JSON-Objekt zurück. Die JSON-Felder sind:
status
. Status des Computepools.recommendation
. Gegebenenfalls für den Status relevante Meldung. Andernfalls ist dieses Feld leer.notReadyServices
. Anzahl der geplanten, aber noch nicht gestarteten Dienste.notReadyJobs
. Anzahl der geplanten, aber noch nicht gestarteten Jobs.
Nutzungshinweise¶
Die aktuelle Rolle muss die Berechtigung MONITOR für den Computepool haben, um die Statusinformationen abzurufen.
Beispiele¶
Die folgende Funktion ruft Statusinformationen für den Computepool „mypool“ ab.
SELECT SYSTEM$GET_COMPUTE_POOL_STATUS('mypool');
Beispielausgaben:
Computepool von Min/Max-Knoten von 2 auf 1 geändert.
{"status":"Compute pool is in state resizing","recommendation":"OK : Compute pool is starting/resizing for last 0 minutes","notReadyServices":0,"notReadyJobs":0}{"status":"Compute pool is in state resizing","recommendation":"OK : Compute pool is starting/resizing for last 2 minutes","notReadyServices":0,"notReadyJobs":0}
Computepool wird angehalten.
{"status":"Compute pool is in state suspended","recommendation":"", "notReadyServices":0, "notReadyJobs":0}
Alle Computepool-Knoten sind in Verwendung.
{"status":"Compute pool is in state active","recommendation":"Compute Pool is at full capacity. Current_node=1, max_node=1.","notReadyServices":0,"notReadyJobs":1}
Zurücksetzen der Min/Max-Knoten von 1 auf 2.
{"status":"Compute pool is in state resizing","recommendation":"Compute Pool is at full capacity. Current_node=1, max_node=2.","notReadyServices":0,"notReadyJobs":1}
Computepool ist in Ordnung, aber die maximale Knotenanzahl ist erreicht.
{"status":"Compute pool is in state active", "recommendation":"Compute pool is at max node count of 2", "notReadyServices":0, "notReadyJobs":0}
Computepool kann VMs nicht vom Cloudanbieter bereitstellen.
{"status":"Compute pool is in state starting","recommendation":"Compute pool is experiencing delay provisioning GPU_10 instance types from the cloud provider.","notReadyServices":0,"notReadyJobs":0}