Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

planner: refactor net seek cost calculation for IndexScan and TableScan #33727

Closed
qw4990 opened this issue Apr 6, 2022 · 0 comments · Fixed by #33717
Closed

planner: refactor net seek cost calculation for IndexScan and TableScan #33727

qw4990 opened this issue Apr 6, 2022 · 0 comments · Fixed by #33717
Labels
sig/planner SIG: Planner type/enhancement The issue or PR belongs to an enhancement.

Comments

@qw4990
Copy link
Contributor

qw4990 commented Apr 6, 2022

Enhancement

Now net seek costs for IndexScan and TableScan are calculated with scan costs together in getOriginalPhysicalTableScan and getOriginalPhysicalIndexScan. Better to calculate them together with net I/O costs in convertToRootTask and finishIndexPlan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/planner SIG: Planner type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant