OSDN Git Service

Rowsで外部ファイルを扱う試験を環境に依存しないようにした。
[pghintplan/pg_hint_plan.git] / expected / R_2-1-6.out
1                                                      QUERY PLAN                                                     
2 --------------------------------------------------------------------------------------------------------------------
3  Aggregate  (cost=xxx rows=1 width=4)
4    InitPlan 1 (returns $1)
5      ->  Aggregate  (cost=xxx rows=1 width=4)
6            ->  Nested Loop  (cost=xxx rows=100 width=4)
7                  Join Filter: (b1t2.c1 = b1t1.c1)
8                  ->  Hash Join  (cost=xxx rows=100 width=12)
9                        Hash Cond: (b1t4.c1 = b1t2.c1)
10                        ->  Seq Scan on t4 b1t4  (cost=xxx rows=1100 width=4)
11                        ->  Hash  (cost=xxx rows=100 width=8)
12                              ->  Merge Join  (cost=xxx rows=100 width=8)
13                                    Merge Cond: (b1t3.c1 = b1t2.c1)
14                                    ->  Index Only Scan using t3_i1 on t3 b1t3  (cost=xxx rows=1100 width=4)
15                                    ->  Sort  (cost=xxx rows=100 width=4)
16                                          Sort Key: b1t2.c1
17                                          ->  Seq Scan on t2 b1t2  (cost=xxx rows=100 width=4)
18                  ->  Index Only Scan using t1_i1 on t1 b1t1  (cost=xxx rows=1 width=4)
19                        Index Cond: (c1 = b1t3.c1)
20    InitPlan 2 (returns $3)
21      ->  Aggregate  (cost=xxx rows=1 width=4)
22            ->  Nested Loop  (cost=xxx rows=100 width=4)
23                  ->  Hash Join  (cost=xxx rows=1000 width=12)
24                        Hash Cond: (b2t3.c1 = b2t1.c1)
25                        ->  Merge Join  (cost=xxx rows=1100 width=8)
26                              Merge Cond: (b2t3.c1 = b2t4.c1)
27                              ->  Index Only Scan using t3_i1 on t3 b2t3  (cost=xxx rows=1100 width=4)
28                              ->  Index Only Scan using t4_i1 on t4 b2t4  (cost=xxx rows=1100 width=4)
29                        ->  Hash  (cost=xxx rows=1000 width=4)
30                              ->  Seq Scan on t1 b2t1  (cost=xxx rows=1000 width=4)
31                  ->  Index Only Scan using t2_i1 on t2 b2t2  (cost=xxx rows=1 width=4)
32                        Index Cond: (c1 = b2t1.c1)
33    InitPlan 3 (returns $5)
34      ->  Aggregate  (cost=xxx rows=1 width=4)
35            ->  Nested Loop  (cost=xxx rows=100 width=4)
36                  Join Filter: (b3t1.c1 = b3t3.c1)
37                  ->  Hash Join  (cost=xxx rows=100 width=12)
38                        Hash Cond: (b3t1.c1 = b3t2.c1)
39                        ->  Merge Join  (cost=xxx rows=1000 width=8)
40                              Merge Cond: (b3t1.c1 = b3t4.c1)
41                              ->  Index Only Scan using t1_i1 on t1 b3t1  (cost=xxx rows=1000 width=4)
42                              ->  Index Only Scan using t4_i1 on t4 b3t4  (cost=xxx rows=1100 width=4)
43                        ->  Hash  (cost=xxx rows=100 width=4)
44                              ->  Seq Scan on t2 b3t2  (cost=xxx rows=100 width=4)
45                  ->  Index Only Scan using t3_i1 on t3 b3t3  (cost=xxx rows=1 width=4)
46                        Index Cond: (c1 = b3t4.c1)
47    ->  Nested Loop  (cost=xxx rows=100 width=4)
48          Join Filter: (bmt1.c1 = bmt4.c1)
49          ->  Hash Join  (cost=xxx rows=100 width=12)
50                Hash Cond: (bmt3.c1 = bmt1.c1)
51                ->  Seq Scan on t3 bmt3  (cost=xxx rows=1100 width=4)
52                ->  Hash  (cost=xxx rows=100 width=8)
53                      ->  Merge Join  (cost=xxx rows=100 width=8)
54                            Merge Cond: (bmt1.c1 = bmt2.c1)
55                            ->  Index Only Scan using t1_i1 on t1 bmt1  (cost=xxx rows=997 width=4)
56                                  Filter: ((c1 <> $1) AND (c1 <> $3) AND (c1 <> $5))
57                            ->  Sort  (cost=xxx rows=100 width=4)
58                                  Sort Key: bmt2.c1
59                                  ->  Seq Scan on t2 bmt2  (cost=xxx rows=100 width=4)
60          ->  Index Only Scan using t4_i1 on t4 bmt4  (cost=xxx rows=1 width=4)
61                Index Cond: (c1 = bmt3.c1)
62 (59 rows)
63
64                                                      QUERY PLAN                                                     
65 --------------------------------------------------------------------------------------------------------------------
66  Aggregate  (cost=xxx rows=1 width=4)
67    InitPlan 1 (returns $1)
68      ->  Aggregate  (cost=xxx rows=1 width=4)
69            ->  Nested Loop  (cost=xxx rows=1 width=4)
70                  Join Filter: (b1t2.c1 = b1t1.c1)
71                  ->  Hash Join  (cost=xxx rows=1 width=12)
72                        Hash Cond: (b1t4.c1 = b1t2.c1)
73                        ->  Seq Scan on t4 b1t4  (cost=xxx rows=1100 width=4)
74                        ->  Hash  (cost=xxx rows=1 width=8)
75                              ->  Merge Join  (cost=xxx rows=1 width=8)
76                                    Merge Cond: (b1t3.c1 = b1t2.c1)
77                                    ->  Index Only Scan using t3_i1 on t3 b1t3  (cost=xxx rows=1100 width=4)
78                                    ->  Sort  (cost=xxx rows=100 width=4)
79                                          Sort Key: b1t2.c1
80                                          ->  Seq Scan on t2 b1t2  (cost=xxx rows=100 width=4)
81                  ->  Index Only Scan using t1_i1 on t1 b1t1  (cost=xxx rows=1 width=4)
82                        Index Cond: (c1 = b1t3.c1)
83    InitPlan 2 (returns $3)
84      ->  Aggregate  (cost=xxx rows=1 width=4)
85            ->  Nested Loop  (cost=xxx rows=1 width=4)
86                  ->  Hash Join  (cost=xxx rows=1 width=12)
87                        Hash Cond: (b2t1.c1 = b2t3.c1)
88                        ->  Seq Scan on t1 b2t1  (cost=xxx rows=1000 width=4)
89                        ->  Hash  (cost=xxx rows=1 width=8)
90                              ->  Merge Join  (cost=xxx rows=1 width=8)
91                                    Merge Cond: (b2t3.c1 = b2t4.c1)
92                                    ->  Index Only Scan using t3_i1 on t3 b2t3  (cost=xxx rows=1100 width=4)
93                                    ->  Index Only Scan using t4_i1 on t4 b2t4  (cost=xxx rows=1100 width=4)
94                  ->  Index Only Scan using t2_i1 on t2 b2t2  (cost=xxx rows=1 width=4)
95                        Index Cond: (c1 = b2t1.c1)
96    InitPlan 3 (returns $5)
97      ->  Aggregate  (cost=xxx rows=1 width=4)
98            ->  Nested Loop  (cost=xxx rows=1 width=4)
99                  Join Filter: (b3t1.c1 = b3t3.c1)
100                  ->  Hash Join  (cost=xxx rows=1 width=12)
101                        Hash Cond: (b3t1.c1 = b3t2.c1)
102                        ->  Merge Join  (cost=xxx rows=1 width=8)
103                              Merge Cond: (b3t1.c1 = b3t4.c1)
104                              ->  Index Only Scan using t1_i1 on t1 b3t1  (cost=xxx rows=1000 width=4)
105                              ->  Index Only Scan using t4_i1 on t4 b3t4  (cost=xxx rows=1100 width=4)
106                        ->  Hash  (cost=xxx rows=100 width=4)
107                              ->  Seq Scan on t2 b3t2  (cost=xxx rows=100 width=4)
108                  ->  Index Only Scan using t3_i1 on t3 b3t3  (cost=xxx rows=1 width=4)
109                        Index Cond: (c1 = b3t4.c1)
110    ->  Nested Loop  (cost=xxx rows=1 width=4)
111          Join Filter: (bmt1.c1 = bmt4.c1)
112          ->  Hash Join  (cost=xxx rows=1 width=12)
113                Hash Cond: (bmt3.c1 = bmt1.c1)
114                ->  Seq Scan on t3 bmt3  (cost=xxx rows=1100 width=4)
115                ->  Hash  (cost=xxx rows=1 width=8)
116                      ->  Merge Join  (cost=xxx rows=1 width=8)
117                            Merge Cond: (bmt1.c1 = bmt2.c1)
118                            ->  Index Only Scan using t1_i1 on t1 bmt1  (cost=xxx rows=997 width=4)
119                                  Filter: ((c1 <> $1) AND (c1 <> $3) AND (c1 <> $5))
120                            ->  Sort  (cost=xxx rows=100 width=4)
121                                  Sort Key: bmt2.c1
122                                  ->  Seq Scan on t2 bmt2  (cost=xxx rows=100 width=4)
123          ->  Index Only Scan using t4_i1 on t4 bmt4  (cost=xxx rows=1 width=4)
124                Index Cond: (c1 = bmt3.c1)
125 (59 rows)
126