다른 컴퓨터에 2 대의 SQL Server 2008이 있습니다. 각 컴퓨터에서 동일한 SQL 쿼리를 실행합니다 (500000 개의 행이있는 테이블에서 선택). 첫 번째 기계 실행 시간은 1 분 9 초입니다. 두 번째 기계에서는 이번이 2:45입니다. 두 번째 시스템의 하드웨어가 첫 번째 시스템의 하드웨어보다 낫습니다. 두 번째 시스템에서 실행 시간이 더 긴 이유는 무엇입니까? 어쩌면 SQL Server 성능에 의존하는 옵션이 있습니까?Sql Server 2008 성능
HDD에있을 수 있습니까? HDD 문제는 어떻게 확인할 수 있습니까? 아래
참조 쿼리 통계 :
1 :
Client Execution Time 16:25:21
Query Profile Statistics
Number of INSERT, DELETE and UPDATE statements 0 0.0000
Rows affected by INSERT, DELETE, or UPDATE statements 0 0.0000
Number of SELECT statements 2 2.0000
Rows returned by SELECT statements 407354 407354.0000
Number of transactions 0 0.0000
Network Statistics
Number of server roundtrips 3 3.0000
TDS packets sent from client 3 3.0000
TDS packets received from server 18077 18077.0000
Bytes sent from client 738 738.0000
Bytes received from server 7.403454E+07 74034540.0000
Time Statistics
Client processing time 3859 3859.0000
Total execution time 3859 3859.0000
Wait time on server replies 0 0.0000
2 일 :
Client Execution Time 08:21:24
Query Profile Statistics
Number of INSERT, DELETE and UPDATE statements 0 0.0000
Rows affected by INSERT, DELETE, or UPDATE statements 0 0.0000
Number of SELECT statements 2 2.0000
Rows returned by SELECT statements 399952 399952.0000
Number of transactions 0 0.0000
Network Statistics
Number of server roundtrips 3 3.0000
TDS packets sent from client 3 3.0000
TDS packets received from server 17833 17833.0000
Bytes sent from client 738 738.0000
Bytes received from server 7.29937E+07 72993700.0000
Time Statistics
Client processing time 5688 5688.0000
Total execution time 5734 5734.0000
Wait time on server replies 46 46.0000
두 시스템 모두에서 HDD 성능을 테스트했습니다. 2 차 기계에서 2 회 더 빨리 작업 읽기 – Egor4eg