SYSTEM$GET_COMPUTE_POOL_STATUS

컴퓨팅 풀의 상태를 검색합니다.

참고 항목:

컴퓨팅 풀 작업하기

구문

GET_COMPUTE_POOL_STATUS( '<computePoolName>' )
Copy

인자

필수:

computePoolName

컴퓨팅 풀 이름입니다.

반환

상태 정보를 JSON 오브젝트로 반환합니다. JSON 필드는 다음과 같습니다.

  • status. 컴퓨팅 풀 상태입니다.

  • recommendation. 상태와 관련된 메시지입니다(있는 경우). 그렇지 않으면 이 필드는 비어 있습니다.

  • notReadyServices. 예약되었지만 아직 시작되지 않은 서비스 수입니다.

  • notReadyJobs. 예약되었지만 아직 시작되지 않은 작업 수입니다.

사용법 노트

  • 상태 정보를 가져오려면 현재 역할에 컴퓨팅 풀에 대한 MONITOR 권한이 있어야 합니다.

다음 함수는 《mypool》 컴퓨팅 풀에 대한 상태 정보를 검색합니다.

SELECT SYSTEM$GET_COMPUTE_POOL_STATUS('mypool');
Copy

예제 출력:

  • 최소/최대 노드 2에서 1로 수정된 컴퓨팅 풀입니다.

    {"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}
    
    Copy
  • 컴퓨팅 풀이 일시 중단되었습니다.

    {"status":"Compute pool is in state suspended","recommendation":"", "notReadyServices":0, "notReadyJobs":0}
    
    Copy
  • 모든 컴퓨팅 풀 노드가 사용 중입니다.

    {"status":"Compute pool is in state active","recommendation":"Compute Pool is at full capacity. Current_node=1, max_node=1.","notReadyServices":0,"notReadyJobs":1}
    
    Copy
  • 최소/최대 노드를 1에서 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}
    
    Copy
  • 컴퓨팅 풀은 양호하지만 최대 노드 수에 도달했습니다.

{"status":"Compute pool is in state active", "recommendation":"Compute pool is at max node count of 2", "notReadyServices":0, "notReadyJobs":0}
Copy
  • 컴퓨팅 풀이 클라우드 공급자로부터 VM을 프로비저닝할 수 없습니다.

    {"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}
    
    Copy