OSDN Git Service

Adjust cost_nonsequential_access() to have more reasonable behavior
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 10 Jun 2004 21:02:00 +0000 (21:02 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 10 Jun 2004 21:02:00 +0000 (21:02 +0000)
commit3485cc3a7c33f1b6f0ed3bf3dadc46b2501b8995
treee04cf6a47b49e3a051eba5d0f50a8de5e0d3621d
parent387b38bec468b88a3e4652124e283fca4a699fb8
Adjust cost_nonsequential_access() to have more reasonable behavior
when random_page_cost has a small value.  Per Manfred Koizar, though
I didn't use his equation exactly.
src/backend/optimizer/path/costsize.c