Greg Knox
2011-03-31 19:35:30 UTC
Hi,
For costing, I currently have this being outputted from print_plan:
SeqScan(1) rows=7 cost=0.00..1.25
pathkeys: ((emp.dno))
SeqScan(1) rows=7 cost=0.00..1.25
cheapest startup path:
SeqScan(1) rows=7 cost=0.00..1.25
pathkeys: ((emp.dno))
cheapest total path:
SeqScan(1) rows=7 cost=0.00..1.25
pathkeys: ((emp.dno))
And this is part of what is returned from my explain command:
-> Sort (cost=1.35..1.37 rows=7 width=14)
Sort Key: dno
-> Seq Scan on emp (cost=0.00..1.25 rows=7 width=14)
For the print_path part, should the cost outputted at that point be the
cost of the seqscan + sort? So, 1.35..2.62? Or should it just be the
cost of the seqscan with the sort cost being separate?
Thanks!
Greg
For costing, I currently have this being outputted from print_plan:
SeqScan(1) rows=7 cost=0.00..1.25
pathkeys: ((emp.dno))
SeqScan(1) rows=7 cost=0.00..1.25
cheapest startup path:
SeqScan(1) rows=7 cost=0.00..1.25
pathkeys: ((emp.dno))
cheapest total path:
SeqScan(1) rows=7 cost=0.00..1.25
pathkeys: ((emp.dno))
And this is part of what is returned from my explain command:
-> Sort (cost=1.35..1.37 rows=7 width=14)
Sort Key: dno
-> Seq Scan on emp (cost=0.00..1.25 rows=7 width=14)
For the print_path part, should the cost outputted at that point be the
cost of the seqscan + sort? So, 1.35..2.62? Or should it just be the
cost of the seqscan with the sort cost being separate?
Thanks!
Greg