다음을 통해 공유


Azure Arc 지원 SQL Server에 대한 데이터 수집 및 보고

적용 대상:SQL Server

이 문서에서는 Azure Arc 지원 SQL Server가 Microsoft에 전송하는 데이터에 대해 설명합니다. Specifically:

  • Azure Arc 지원 SQL Server는 이 문서 및 Azure Arc 지원 SQL Server 모니터링에 설명된 대로 사용량 현황 데이터를 수집합니다.
  • Azure Connected Machine Agent는 *.<region>.arcdataservices.com에 설명된 대로 이 데이터를 로 전송합니다.

Azure Arc 지원 SQL Server는 PII(개인 식별 정보) 또는 최종 사용자 식별 정보를 수집하거나 고객 데이터를 저장하지 않습니다.

Azure Arc 지원 SQL Server는 다음 제품을 사용합니다.

  • Azure Arc 지원 서버

Azure Arc 인스턴스에서 사용되는 SQL Server

Azure Arc 인스턴스 지원 SQL Server에 대해 다음 데이터가 수집됩니다.

Description 속성 이름 부동산 유형
SQL Server 버전 Edition string
서버 리소스용 호스팅 Azure Arc의 리소스 ID ContainerResourceId string
리소스가 만들어진 시간 CreateTime string
SQL Server 인스턴스에서 사용하는 논리 프로세서의 수 VCore string
클라우드 연결 상태 Status string
SQL Server 업데이트 수준 PatchLevel string
SQL Server 데이터 정렬 Collation string
SQL Server 현재 버전 CurrentVersion string
SQL Server 인스턴스 이름 InstanceName string
SQL Server에서 사용되는 동적 TCP 포트 TcpDynamicPorts string
SQL Server에서 사용되는 정적 TCP 포트 TcpStaticPorts string
SQL Server 제품 ID ProductId string
SQL Server 프로비전 상태 ProvisioningState string

다음 JSON 문서는 SQL Server - Azure Arc 리소스의 예입니다.

{
    "name": "<server name>",
    "version": "SQL Server 2022",
    "edition": "Enterprise",
    "containerResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/arc-eastasia/providers/Microsoft.HybridCompute/machines/<server name>",
    "vCore": "8",
    "status": "Connected",
    "patchLevel": "16.0.1000.6",
    "collation": "SQL_Latin1_General_CP1_CI_AS",
    "currentVersion": "16.0.1000.6",
    "instanceName": "<instance name>",
    "tcpDynamicPorts": "61394",
    "tcpStaticPorts": "",
    "productId": "00488-00010-05000-AB944",
    "licenseType": "PAYG",
    "azureDefenderStatusLastUpdated": "2023-02-08T07:57:37.5597421Z",
    "azureDefenderStatus": "Protected",
    "provisioningState": "Succeeded"
}

SQL Server 데이터베이스 - Azure Arc

Description 속성 이름 부동산 유형
데이터베이스 이름 name string
Collation collationName string
데이터베이스 생성 날짜 databaseCreationDate System.DateTime
호환성 수준 compatibilityLevel string
데이터베이스 상태 state string
읽기 전용 모드 isReadOnly boolean
복구 모드 recoveryMode boolean
자동 닫기 사용 isAutoCloseOn boolean
자동 축소 사용 isAutoShrinkOn boolean
자동 통계 만들기 사용 isAutoCreateStatsOn boolean
자동 통계 업데이트 사용 isAutoUpdateStatsOn boolean
원격 데이터 보관 사용 isRemoteDataArchiveEnabled boolean
메모리 최적화 사용 isMemoryOptimizationEnabled boolean
암호화 사용 isEncrypted boolean
신뢰할 수 있는 모드 사용 isTrustworthyOn boolean
백업 정보 backupInformation object
프로비전 상태 provisioningState string

다음 JSON 문서는 SQL Server 데이터베이스 - Azure Arc 리소스의 예입니다.

{
    "name": "newDb80",
    "collationName": "SQL_Latin1_General_CP1_CI_AS",
    "databaseCreationDate": "2023-01-09T03:40:45Z",
    "compatibilityLevel": 150,
    "state": "Online",
    "isReadOnly": false,
    "recoveryMode": "Full",
    "databaseOptions": {
        "isAutoCloseOn": false,
        "isAutoShrinkOn": false,
        "isAutoCreateStatsOn": true,
        "isAutoUpdateStatsOn": true,
        "isRemoteDataArchiveEnabled": false,
        "isMemoryOptimizationEnabled": true,
        "isEncrypted": false,
        "isTrustworthyOn": false
    },
    "backupInformation": {},
    "provisioningState": "Succeeded"
}

확장 로그

확장은 확장 이벤트에 대한 로그를 Azure로 보냅니다.

확장 로그 파일은 다음에 있습니다.

C:\ProgramData\GuestConfig\extension_logs\Microsoft.AzureData.WindowsAgent.SqlServer\

로그 파일 이름은 SQL Server용 Azure 확장 프로그램 버전에 따라 달라집니다. 최신 버전의 SQL Server용 Azure 확장 프로그램의 경우 로그 파일은 다음과 같습니다.

unifiedagent.log

확장 버전 1.1.24724.69 및 이전 버전의 경우 로그 파일은 다음과 같습니다.

ExtensionLog_0.log

마이그레이션 평가 메트릭

마이그레이션 평가는 Azure로의 마이그레이션에 대한 평가를 자동으로 생성합니다. Azure Arc에서 사용하도록 설정된 SQL Server 마이그레이션 평가를 사용하여 최적의 Azure SQL 대상을 선택에 대해 자세히 알아보세요.

  • CPU 사용률(%)
  • 메모리 사용률(%)
  • 읽기 IO/s 및 쓰기 IO/s(데이터 및 로그 파일)
  • 읽기 MB/s 및 쓰기 MB/s(처리량)
  • IO 작업의 대기 시간
  • 총 DB 크기 및 데이터베이스 파일 조직

데이터 모니터링

에이전트는 SQL Server 모니터링 데이터를 Azure로 자동으로 보냅니다. 수집되는 모니터링 데이터를 사용하지 않도록 설정할 수 있습니다. Azure Arc 지원 SQL Server 모니터링(프리뷰)을 참조하세요.

다음 목록은 모니터링 기능을 사용할 때 Azure Arc 지원 SQL Server의 DMV 데이터 세트로부터 수집되는 모니터링 데이터를 반영합니다. PII(개인 식별 정보), EUII(최종 사용자 식별 정보) 또는 고객 콘텐츠가 수집되지 않습니다.

활성 세션

설명: 요청을 실행 중이거나 차단기가 있거나 트랜잭션이 열려 있는 세션입니다.

데이터 세트 이름:SqlServerActiveSessions

수집 빈도: 30초

수집된 필드:

  • connection_id
  • database_id
  • database_name
  • machine_name
  • sample_time_utc
  • session_id
  • session_status
  • sql_server_instance_name

CPU 사용률

설명: 시간에 따른 CPU 사용률입니다.

데이터 세트 이름:SqlServerCPUUtilization

수집 빈도: 10초

수집된 필드:

  • avg_cpu_percent
  • idle_cpu_percent
  • machine_name
  • other_process_cpu_percent
  • process_sample_time_utc
  • sample_time_utc
  • sql_process_cpu_percent
  • sql_server_instance_name

데이터베이스 속성

설명: 데이터베이스 옵션 및 기타 데이터베이스 메타데이터를 포함합니다.

데이터 세트 이름:SqlServerDatabaseProperties

수집 빈도: 5분

수집된 필드:

  • collation_name
  • collection_time_utc
  • compatibility_level
  • containment_desc
  • count_suspect_pages
  • create_date
  • database_id
  • database_name
  • delayed_durability_desc
  • force_last_good_plan_actual_state
  • is_accelerated_database_recovery_on
  • is_auto_create_stats_on
  • is_auto_shrink_on
  • is_auto_update_stats_async_on
  • is_auto_update_stats_on
  • is_broker_enabled
  • is_cdc_enabled
  • is_change_feed_enabled
  • is_distributor
  • is_encrypted
  • is_in_standby
  • is_ledger_on
  • is_merge_published
  • is_parameterization_forced
  • is_primary_replica
  • is_published
  • is_read_committed_snapshot_on
  • is_read_only
  • is_subscribed
  • last_good_checkdb_time
  • log_reuse_wait_desc
  • machine_name
  • notable_db_scoped_configs
  • page_verify_option_desc
  • query_store_actual_state_desc
  • query_store_query_capture_mode_desc
  • recovery_model_desc
  • sample_time_utc
  • snapshot_isolation_state
  • sql_server_instance_name
  • state_desc
  • updateability
  • user_access_desc

데이터베이스 스토리지 사용률

설명: 스토리지 사용량 및 영구 버전 저장소를 포함합니다.

데이터 세트 이름:SqlServerDatabaseStorageUtilization

수집 빈도: 1분

수집된 필드:

  • collection_time_utc
  • count_data_files
  • count_log_files
  • data_size_allocated_mb
  • data_size_used_mb
  • database_id
  • database_name
  • is_primary_replica
  • log_size_allocated_mb
  • log_size_used_mb
  • machine_name
  • online_index_version_store_size_mb
  • persistent_version_store_size_mb
  • sample_time_utc
  • sql_server_instance_name

메모리 사용률

설명: 메모리 클럭 및 클럭별 메모리 사용량입니다.

데이터 세트 이름:SqlServerMemoryUtilization

수집 빈도: 10초

수집된 필드:

  • machine_name
  • memory_size_mb
  • memory_clerk_name
  • memory_clerk_type
  • sample_time_utc
  • sql_server_instance_name

성능 카운터(일반)

설명: SQL Server가 기록하는 일반적인 성능 카운터를 포함합니다.

데이터 세트 이름:SqlServerPerformanceCountersCommon

수집 빈도: 1분

수집된 카운터:

  • 활성화된 임시 테이블
  • 활성 트랜잭션
  • Background Writer pages/sec
  • 일괄 처리 요청/초
  • 버퍼 캐시 적중률
  • 캐시 적중률
  • 체크포인트 페이지/초
  • Errors/sec
  • tempdb의 여유 공간 (KB)
  • 할당된 작업 공간 메모리 (KB)
  • 래치 대기/초
  • 지연된 쓰기/초
  • 메모리 잠금 (KB)
  • 잠긴 페이지 할당 (KB)
  • 로그 바이트 플러시/초
  • 로그 플러시/초당
  • 논리 연결
  • Logins/sec
  • Logouts/sec
  • 초당 교착 상태 수
  • OS 사용 가능한 물리 메모리 (KB)
  • 메모리 부족 횟수
  • 페이지 예상 수명
  • 초당 페이지 읽기
  • 페이지 쓰기/초
  • 사용 중인 프로세스 물리 메모리 (KB)
  • 프로세스 물리적 메모리 부족
  • 차단된 프로세스
  • Readahead 페이지/초 (선행 읽기 페이지/초)
  • SQL 주의 수준
  • SQL 컴파일/초 (초당 SQL 컴파일 수)
  • 초당 SQL 재컴파일 횟수
  • 시스템 메모리 신호 상태 높음
  • 시스템 메모리 신호 상태 낮음
  • 대상 서버 메모리 (KB)
  • 임시 테이블 생성 속도
  • Total Server Memory(KB)
  • Transactions/sec
  • 사용자 연결
  • 쓰기 거래/초

성능 카운터(상세)

설명: SQL Server가 기록하는 자세한 성능 카운터를 포함합니다.

데이터 세트 이름:SqlServerPerformanceCountersDetailed

수집 빈도: 1분

수집된 카운터:

  • 평균 대기 시간(밀리초)
  • Backup/Restore 처리량/초
  • 대량 복사 행/초
  • 대량 복사 처리량/초
  • 캐시 객체 수
  • 연결 메모리(KB)
  • 데이터 파일 크기(KB)
  • 데이터베이스 페이지
  • Errors/sec
  • 실패한 자동 매개변수/초
  • 초당 자유 목록 정지현상
  • 대형 페이지 할당 (KB)
  • Local Node page lookups/sec
  • 잠금 시간 초과 (timeout > 0)/초
  • 로그 파일 크기 (KB)
  • 로그 파일 사용 크기 (KB)
  • 로그 플러시 대기 시간
  • 로그 파일 증가
  • 로그 축소
  • 최적화 메모리(KB)
  • 페이지 조회/초
  • 사용된 로그 백분율
  • 프로세스 가상 메모리가 부족함
  • 원격 노드 페이지 조회/초
  • 데이터 이동 축소 바이트/초
  • 파괴를 위한 임시 테이블
  • 버전 정리 속도 (KB/s)
  • 버전 생성 속도 (KB/s)
  • 버전 저장소 크기 (KB)
  • XTP 메모리 사용(KB)

스토리지 I/O

설명: 누적 초당 입출력(IOPS), 처리량 및 대기 시간 통계를 포함합니다.

데이터 세트 이름:SqlServerStorageIO

수집 빈도: 10초

수집된 필드:

  • database_id
  • database_name
  • file_id
  • file_max_size_mb
  • file_size_mb
  • file_type
  • io_stall_queued_read_ms
  • io_stall_queued_write_ms
  • io_stall_read_ms
  • io_stall_write_ms
  • machine_name
  • num_of_bytes_read
  • num_of_bytes_written
  • num_of_reads
  • num_of_writes
  • sample_time_utc
  • size_on_disk_bytes
  • sql_server_instance_name

대기 통계

Note

현재 성능 대시보드에서는 대기 통계를 시각화할 수 없습니다.

설명: 데이터베이스 엔진 인스턴스에 대한 대기 유형 및 대기 통계를 포함합니다.

데이터 세트 이름:SqlServerWaitStats

수집 빈도: 10초

수집된 필드:

  • machine_name
  • max_wait_time_ms
  • resource_wait_time_ms
  • sample_time_utc
  • signal_wait_time_ms
  • sql_server_instance_name
  • wait_category
  • wait_time_ms
  • wait_type
  • waiting_tasks_count