P106-90 PG-Strom
이 결과는...P106-90 3G보다 G3260???1+1<2 ?????
또한 CPU 1개에 100% GPU 1개에 80% 다른 1개에 30%-40%...왜 그랬을까?
explain analyze SELECT
a.*
FROM
public.bmsql_oorder a, public.bmsql_oorder b where a. o_c_id<>b.o_c_id;
"Custom Scan (GpuJoin) on bmsql_oorder a (cost=9011757.37..9011757.37 rows=899700000 width=36) (actual time=2213.061..191736.416 rows=899700000 loops=1)"
" Outer Scan: bmsql_oorder a (cost=0.00..542.00 rows=30000 width=36) (actual time=1.181..1.181 rows=603792 loops=1)"
" Depth 1: GpuNestLoop (plan nrows: 30000...899700000, actual nrows: 603792...919287067)"
" JoinQuals: (a.o_c_id <> b.o_c_id)"
" KDS-Heap (size plan: 2226.64KB, exec: 1289.14KB)"
" GPU Preference: GPU0 (P106-090)"
" -> Seq Scan on bmsql_oorder b (cost=0.00..542.00 rows=30000 width=4) (actual time=0.013..3.063 rows=30000 loops=1)"
"Planning time: 0.478 ms"
"Execution time: 216690.748 ms"
"Nested Loop (cost=0.00..13501159.00 rows=899700000 width=36) (actual time=0.018..125453.434 rows=899700000 loops=1)"
" Join Filter: (a.o_c_id <> b.o_c_id)"
" Rows Removed by Join Filter: 300000"
" -> Seq Scan on bmsql_oorder a (cost=0.00..542.00 rows=30000 width=36) (actual time=0.010..6.958 rows=30000 loops=1)"
" -> Materialize (cost=0.00..692.00 rows=30000 width=4) (actual time=0.000..1.074 rows=30000 loops=30000)"
" -> Seq Scan on bmsql_oorder b (cost=0.00..542.00 rows=30000 width=4) (actual time=0.003..3.702 rows=30000 loops=1)"
"Planning time: 0.947 ms"
"Execution time: 148207.334 ms"
"Custom Scan (GpuJoin) on bmsql_oorder a (cost=9011757.37..9011757.37 rows=899700000 width=36) (actual time=2204.191..169322.990 rows=899700000 loops=1)"
" Outer Scan: bmsql_oorder a (cost=0.00..542.00 rows=30000 width=36) (actual time=1.199..1.199 rows=633792 loops=1)"
" Depth 1: GpuNestLoop (plan nrows: 30000...899700000, actual nrows: 633792...1816994118)"
" JoinQuals: (a.o_c_id <> b.o_c_id)"
" KDS-Heap (size plan: 2226.64KB, exec: 1289.14KB)"
" GPU Preference: GPU0 (P106-090)"
" -> Seq Scan on bmsql_oorder b (cost=0.00..542.00 rows=30000 width=4) (actual time=0.039..5.516 rows=30000 loops=1)"
"Planning time: 10.279 ms"
"Execution time: 192661.638 ms"
"Nested Loop (cost=0.00..13501159.00 rows=899700000 width=36) (actual time=0.020..124936.745 rows=899700000 loops=1)"
" Join Filter: (a.o_c_id <> b.o_c_id)"
" Rows Removed by Join Filter: 300000"
" -> Seq Scan on bmsql_oorder a (cost=0.00..542.00 rows=30000 width=36) (actual time=0.012..6.534 rows=30000 loops=1)"
" -> Materialize (cost=0.00..692.00 rows=30000 width=4) (actual time=0.000..1.051 rows=30000 loops=30000)"
" -> Seq Scan on bmsql_oorder b (cost=0.00..542.00 rows=30000 width=4) (actual time=0.002..3.823 rows=30000 loops=1)"
"Planning time: 0.699 ms"
"Execution time: 147828.463 ms"
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
다양한 언어의 JSONJSON은 Javascript 표기법을 사용하여 데이터 구조를 레이아웃하는 데이터 형식입니다. 그러나 Javascript가 코드에서 이러한 구조를 나타낼 수 있는 유일한 언어는 아닙니다. 저는 일반적으로 '객체'{}...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.