적용 대상: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(개인 식별 정보) 또는 최종 사용자 식별 정보를 수집하거나 고객 데이터를 저장하지 않습니다.
Related products
Azure Arc 지원 SQL Server는 다음 제품을 사용합니다.
- Azure Arc 지원 서버
Azure Arc 인스턴스에서 사용되는 SQL Server
Azure Arc 인스턴스 지원 SQL Server에 대해 다음 데이터가 수집됩니다.
Description | Property name | Property type |
---|---|---|
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 | Property name | Property type |
---|---|---|
Database name | name |
string |
Collation | collationName |
string |
데이터베이스 생성 날짜 | databaseCreationDate |
System.DateTime |
Compatibility level | compatibilityLevel |
string |
Database state | state |
string |
Readonly mode | isReadOnly |
boolean |
Recovery mode | recoveryMode |
boolean |
자동 닫기 사용 | isAutoCloseOn |
boolean |
자동 축소 사용 | isAutoShrinkOn |
boolean |
자동 통계 만들기 사용 | isAutoCreateStatsOn |
boolean |
자동 통계 업데이트 사용 | isAutoUpdateStatsOn |
boolean |
원격 데이터 보관 사용 | isRemoteDataArchiveEnabled |
boolean |
메모리 최적화 사용 | isMemoryOptimizationEnabled |
boolean |
Encryption enabled | isEncrypted |
boolean |
신뢰할 수 있는 모드 사용 | isTrustworthyOn |
boolean |
Backup information | backupInformation |
object |
Provisioning state | 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"
}
Extension logs
확장은 확장 이벤트에 대한 로그를 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 SQL 대상 선택 - Azure Arc 지원 SQL Server에서 자세히 알아보세요.
- CPU 사용률(%)
- 메모리 사용률(%)
- 읽기 IO/s 및 쓰기 IO/s(데이터 및 로그 파일)
- 읽기 MB/s 및 쓰기 MB/s(처리량)
- IO 작업의 대기 시간
- 총 DB 크기 및 데이터베이스 파일 조직
Monitoring data
에이전트는 SQL Server 모니터링 데이터를 Azure로 자동으로 보냅니다. 수집되는 모니터링 데이터를 사용하지 않도록 설정할 수 있습니다. Azure Arc 지원 SQL Server 모니터링(프리뷰)을 참조하세요.
다음 목록은 모니터링 기능을 사용할 때 Azure Arc 지원 SQL Server의 DMV 데이터 세트로부터 수집되는 모니터링 데이터를 반영합니다. PII(개인 식별 정보), EUII(최종 사용자 식별 정보) 또는 고객 콘텐츠가 수집되지 않습니다.
Active sessions
설명: 요청을 실행 중이거나 차단기가 있거나 트랜잭션이 열려 있는 세션입니다.
Dataset name:SqlServerActiveSessions
수집 빈도: 30초
Collected fields:
connection_id
database_id
database_name
machine_name
sample_time_utc
session_id
session_status
sql_server_instance_name
CPU utilization
설명: 시간에 따른 CPU 사용률입니다.
Dataset name:SqlServerCPUUtilization
수집 빈도: 10초
Collected fields:
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
Database properties
설명: 데이터베이스 옵션 및 기타 데이터베이스 메타데이터를 포함합니다.
Dataset name:SqlServerDatabaseProperties
수집 빈도: 5분
Collected fields:
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
데이터베이스 스토리지 사용률
설명: 스토리지 사용량 및 영구 버전 저장소를 포함합니다.
Dataset name:SqlServerDatabaseStorageUtilization
수집 빈도: 1분
Collected fields:
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
Memory utilization
설명: 메모리 클럭 및 클럭별 메모리 사용량입니다.
Dataset name:SqlServerMemoryUtilization
수집 빈도: 10초
Collected fields:
machine_name
memory_size_mb
memory_clerk_name
memory_clerk_type
sample_time_utc
sql_server_instance_name
성능 카운터(일반)
설명: SQL Server가 기록하는 일반적인 성능 카운터를 포함합니다.
Dataset name:SqlServerPerformanceCountersCommon
수집 빈도: 1분
Collected counters:
- 활성화된 임시 테이블
- Active Transactions
- Background Writer pages/sec
- Batch Requests/sec
- 버퍼 캐시 적중률
- 캐시 적중률
- Checkpoint pages/sec
- Errors/sec
- tempdb의 여유 공간 (KB)
- 할당된 작업 공간 메모리 (KB)
- Latch Waits/sec
- Lazy writes/sec
- 메모리 잠금 (KB)
- 잠긴 페이지 할당 (KB)
- 로그 바이트 플러시/초
- Log Flushes/sec
- Logical Connections
- Logins/sec
- Logouts/sec
- 초당 교착 상태 수
- OS 사용 가능한 물리 메모리 (KB)
- 메모리 부족 횟수
- 페이지 예상 수명
- Page reads/sec
- Page writes/sec
- 사용 중인 프로세스 물리 메모리 (KB)
- 프로세스 물리적 메모리 부족
- Processes blocked
- Readahead pages/sec
- SQL 주의 수준
- SQL Compilations/sec
- SQL Re-Compilations/sec
- 시스템 메모리 신호 상태 높음
- 시스템 메모리 신호 상태 낮음
- 대상 서버 메모리 (KB)
- 임시 테이블 생성 속도
- Total Server Memory(KB)
- Transactions/sec
- User Connections
- Write Transactions/sec
성능 카운터(상세)
설명: SQL Server가 기록하는 자세한 성능 카운터를 포함합니다.
Dataset name:SqlServerPerformanceCountersDetailed
수집 빈도: 1분
Collected counters:
- 평균 대기 시간(밀리초)
- Backup/Restore Throughput/sec
- 대량 복사 행/초
- 대량 복사 처리량/초
- 캐시 객체 수
- 연결 메모리(KB)
- 데이터 파일 크기(KB)
- Database pages
- Errors/sec
- Failed Auto-Params/sec
- 초당 자유 목록 정지현상
- 대형 페이지 할당 (KB)
- Local Node page lookups/sec
- 잠금 시간 초과 (timeout > 0)/초
- 로그 파일 크기 (KB)
- 로그 파일 사용 크기 (KB)
- 로그 플러시 대기 시간
- Log Growths
- Log Shrinks
- 최적화 메모리(KB)
- Page lookups/sec
- 사용된 로그 백분율
- 프로세스 가상 메모리가 부족함
- 원격 노드 페이지 조회/초
- 데이터 이동 축소 바이트/초
- 파괴를 위한 임시 테이블
- 버전 정리 속도 (KB/s)
- 버전 생성 속도 (KB/s)
- 버전 저장소 크기 (KB)
- XTP 메모리 사용(KB)
Storage I/O
설명: 누적 초당 입출력(IOPS), 처리량 및 대기 시간 통계를 포함합니다.
Dataset name:SqlServerStorageIO
수집 빈도: 10초
Collected fields:
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
Wait statistics
Note
현재 성능 대시보드에서는 대기 통계를 시각화할 수 없습니다.
설명: 데이터베이스 엔진 인스턴스에 대한 대기 유형 및 대기 통계를 포함합니다.
Dataset name:SqlServerWaitStats
수집 빈도: 10초
Collected fields:
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