다음을 통해 공유


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

적용 대상: SQL Server

이 문서에서는 Azure Arc 지원 SQL Server가 Microsoft에 전송하는 데이터에 대해 설명합니다. Azure Arc 지원 SQL Server는 이 문서 및 Azure Arc 지원 SQL Server 모니터링에 설명된 대로 사용량 현황 데이터를 수집합니다.

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

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

  • Azure Arc 지원 서버

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

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

설명 속성 이름 속성 유형
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

설명 속성 이름 속성 유형
데이터베이스 이름 name string
데이터 정렬 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 Extension의 경우 로그 파일은 다음과 같습니다.

unifiedagent.log

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

ExtensionLog_0.log

마이그레이션 평가 메트릭

마이그레이션 평가는 Azure로의 마이그레이션에 대한 평가를 자동으로 생성합니다. 마이그레이션 평가(프리뷰)를 사용하여 최적의 Azure SQL 대상 선택 - Azure Arc 지원 SQL Server에서 자세히 알아보세요.

  • 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분
수집된 카운터:

  • Active Temp Tables
  • Active Transactions
  • Background Writer pages/sec
  • Batch Requests/sec
  • Buffer cache hit ratio
  • 캐시 적중률
  • Checkpoint pages/sec
  • Errors/sec
  • Free Space in tempdb (KB)
  • Granted Workspace Memory (KB)
  • Latch Waits/sec
  • Lazy writes/sec
  • Lock Memory (KB)
  • Locked page allocations (KB)
  • Log Bytes Flushed/sec
  • Log Flushes/sec
  • Logical Connections
  • Logins/sec
  • Logouts/sec
  • Number of Deadlocks/sec
  • OS available physical memory (KB)
  • Out of memory count
  • 페이지 예상 수명
  • Page reads/sec
  • Page writes/sec
  • Process physical memory in use (KB)
  • Process physical memory low
  • Processes blocked
  • Readahead pages/sec
  • SQL Attention rate
  • SQL Compilations/sec
  • SQL Re-Compilations/sec
  • System memory signal state high
  • System memory signal state low
  • Target Server Memory (KB)
  • Temp Tables Creation Rate
  • Total Server Memory(KB)
  • Transactions/sec
  • User Connections
  • Write Transactions/sec

성능 카운터(상세)

설명: SQL Server에서 기록한 자세한 성능 카운터를 포함합니다.
데이터 세트 이름: SqlServerPerformanceCountersDetailed
수집 빈도: 1분
수집된 카운터:

  • 평균 대기 시간(밀리초)
  • Backup/Restore Throughput/sec
  • Bulk Copy Rows/sec
  • Bulk Copy Throughput/sec
  • Cache Object Counts
  • Connection Memory (KB)
  • Data File Size (KB)
  • Database pages
  • Errors/sec
  • Failed Auto-Params/sec
  • Free list stalls/sec
  • Large page allocations (KB)
  • Local Node page lookups/sec
  • Lock Timeouts (timeout > 0)/sec
  • Log File Size (KB)
  • Log File Used Size (KB)
  • Log Flush Wait Time
  • Log Growths
  • Log Shrinks
  • 최적화 메모리(KB)
  • Page lookups/sec
  • Percent Log Used
  • Process virtual memory low
  • Remote node page lookups/sec
  • Shrink Data Movement Bytes/sec
  • Temp Tables For Destruction
  • Version Cleanup rate (KB/s)
  • Version Generation rate (KB/s)
  • Version Store Size (KB)
  • XTP Memory Used (KB)

Storage 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

대기 통계

참고 항목

현재 성능 대시보드에서는 대기 통계를 시각화할 수 없습니다. 대기 통계에 대한 지원은 향후 릴리스에서 추가될 예정입니다.

설명: 데이터베이스 엔진 인스턴스에 대한 대기 유형 및 대기 통계를 포함합니다.
데이터 세트 이름: 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