# Result: T1bd : Optimization for: plan #pCB3

Settings

### Optimization path:

# exclusive inclusive rows x rows loops node
1. 0.000 0.317 ↓ 1.8 7 1

(cost=2.38..54.54 rows=4 width=266) (actual time=0.201..0.317 rows=7 loops=1)

2.

Initplan (forNested Loop)

3. 0.002 0.052 ↑ 1.0 1 1

(cost=0.53..0.54 rows=1 width=32) (actual time=0.052..0.052 rows=1 loops=1)

4.

Initplan (forResult)

5. 0.001 0.050 ↑ 1.0 1 1

(cost=0.43..0.53 rows=1 width=8) (actual time=0.049..0.050 rows=1 loops=1)

6. 0.049 0.049 ↑ 1,500,000.0 1 1

Index Only Scan using index_price on orders orders_1 (cost=0.43..153,534.08 rows=1,500,000 width=8) (actual time=0.049..0.049 rows=1 loops=1)

• Index Cond: (o_totalprice IS NOT NULL)
• Heap Fetches: 1
7. 0.004 0.303 ↓ 1.8 7 1

(cost=1.70..53.37 rows=4 width=166) (actual time=0.195..0.303 rows=7 loops=1)

8. 0.002 0.194 ↓ 1.8 7 1

(cost=1.42..52.16 rows=4 width=140) (actual time=0.174..0.194 rows=7 loops=1)

9. 0.001 0.131 ↑ 1.0 1 1

(cost=0.98..17.04 rows=1 width=135) (actual time=0.130..0.131 rows=1 loops=1)

10. 0.001 0.101 ↑ 1.0 1 1

(cost=0.85..16.88 rows=1 width=35) (actual time=0.100..0.101 rows=1 loops=1)

11. 0.064 0.064 ↑ 1.0 1 1

Index Scan using index_price on orders (cost=0.43..8.45 rows=1 width=16) (actual time=0.064..0.064 rows=1 loops=1)

• Index Cond: (o_totalprice = \$1)
12. 0.036 0.036 ↑ 1.0 1 1

Index Scan using pkcustomer on customer (cost=0.42..8.44 rows=1 width=27) (actual time=0.036..0.036 rows=1 loops=1)

• Index Cond: (c_custkey = orders.o_custkey)
13. 0.029 0.029 ↑ 1.0 1 1

Index Scan using pknation on nation (cost=0.14..0.16 rows=1 width=108) (actual time=0.029..0.029 rows=1 loops=1)

• Index Cond: (n_nationkey = customer.c_nationkey)
14. 0.061 0.061 ↑ 2.3 7 1

Index Scan using pklineitem on lineitem (cost=0.43..34.96 rows=16 width=13) (actual time=0.043..0.061 rows=7 loops=1)

• Index Cond: (l_orderkey = orders.o_orderkey)
15. 0.105 0.105 ↑ 1.0 1 7

Index Scan using pksupplier on supplier (cost=0.29..0.30 rows=1 width=34) (actual time=0.015..0.015 rows=1 loops=7)

• Index Cond: (s_suppkey = lineitem.l_suppkey)
16. 0.007 0.007 ↑ 1.0 1 7

Index Scan using pknation on nation nation_1 (cost=0.14..0.16 rows=1 width=108) (actual time=0.001..0.001 rows=1 loops=7)

• Index Cond: (n_nationkey = supplier.s_nationkey)