Share via


.show 명령 및 쿼리 명령

.showcommands-and-queries 는 최종 상태에 도달한 클러스터에서 관리자 명령 및 쿼리가 있는 테이블을 반환합니다. 이러한 명령 및 쿼리는 30일 동안 사용할 수 있습니다.

명령의 출력에 표시되는 정보는 명령 및 쿼리와 .show유사 .show 합니다. 그러나 기본적으로 두 결과 집합을 간단한 방식으로 조인할 수 있습니다.

구문

.show commands-and-queries

반환

클러스터의 모든 데이터베이스 및 해당 완료 통계에서 이전에 실행한 관리자 명령 및 쿼리가 포함된 테이블을 반환합니다. KQL 쿼리를 사용하여 결과를 탐색할 수 있습니다.

출력 스키마는 다음과 같습니다.

ColumnName ColumnType
ClientActivityId string
CommandType string
텍스트 string
데이터베이스 string
StartedOn datetime
LastUpdatedOn datetime
Duration timespan
시스템 상태 string
FailureReason string
RootActivityId guid
사용자 string
애플리케이션 string
주 서버 string
ClientRequestProperties dynamic
TotalCpu timespan
MemoryPeak long
CacheStatistics dynamic
ScannedExtentsStatistics dynamic
ResultSetStatistics dynamic
WorkloadGroup string

참고

쿼리의 경우 값 CommandType 은 입니다 Query.