forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitda08a65
committed
Refactor bitmap heap scan estimation of heap pages fetched.
Currently, we only need this logic in order to cost a Bitmap HeapScan. But a pending patch for Parallel Bitmap Heap Scan also usesit to help figure out how many workers to use for the scan, whichhas to be determined prior to costing. So, move the logic toa separate function to make that easier.Dilip Kumar. The patch series of which this is a part has beenreviewed by Andres Freund, Amit Khendekar, Tushar Ahuja, RafiaSabih, Haribabu Kommi, and me; it is not clear from the emaildiscussion which of those people have looked specifically at thispart.Discussion:http://postgr.es/m/CAFiTN-v3QYNJEZnnmKCeATuLbN-h9tMVfeEF0+BrouYDqjXgwg@mail.gmail.com1 parent350cb92 commitda08a65
File tree
2 files changed
+72
-41
lines changed- src
- backend/optimizer/path
- include/optimizer
2 files changed
+72
-41
lines changedLines changed: 70 additions & 41 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
813 | 813 |
| |
814 | 814 |
| |
815 | 815 |
| |
816 |
| - | |
817 | 816 |
| |
818 | 817 |
| |
819 | 818 |
| |
| |||
837 | 836 |
| |
838 | 837 |
| |
839 | 838 |
| |
840 |
| - | |
841 |
| - | |
842 |
| - | |
843 |
| - | |
844 |
| - | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
845 | 842 |
| |
846 | 843 |
| |
| 844 | + | |
847 | 845 |
| |
848 | 846 |
| |
849 | 847 |
| |
850 | 848 |
| |
851 | 849 |
| |
852 | 850 |
| |
853 |
| - | |
854 |
| - | |
855 |
| - | |
856 |
| - | |
857 |
| - | |
858 |
| - | |
859 |
| - | |
860 |
| - | |
861 |
| - | |
862 |
| - | |
863 |
| - | |
864 |
| - | |
865 |
| - | |
866 |
| - | |
867 |
| - | |
868 |
| - | |
869 |
| - | |
870 |
| - | |
871 |
| - | |
872 |
| - | |
873 |
| - | |
874 |
| - | |
875 |
| - | |
876 |
| - | |
877 |
| - | |
878 |
| - | |
879 |
| - | |
880 |
| - | |
881 |
| - | |
882 |
| - | |
883 |
| - | |
884 |
| - | |
885 |
| - | |
886 |
| - | |
887 |
| - | |
888 | 851 |
| |
889 | 852 |
| |
890 | 853 |
| |
| |||
4820 | 4783 |
| |
4821 | 4784 |
| |
4822 | 4785 |
| |
| 4786 | + | |
| 4787 | + | |
| 4788 | + | |
| 4789 | + | |
| 4790 | + | |
| 4791 | + | |
| 4792 | + | |
| 4793 | + | |
| 4794 | + | |
| 4795 | + | |
| 4796 | + | |
| 4797 | + | |
| 4798 | + | |
| 4799 | + | |
| 4800 | + | |
| 4801 | + | |
| 4802 | + | |
| 4803 | + | |
| 4804 | + | |
| 4805 | + | |
| 4806 | + | |
| 4807 | + | |
| 4808 | + | |
| 4809 | + | |
| 4810 | + | |
| 4811 | + | |
| 4812 | + | |
| 4813 | + | |
| 4814 | + | |
| 4815 | + | |
| 4816 | + | |
| 4817 | + | |
| 4818 | + | |
| 4819 | + | |
| 4820 | + | |
| 4821 | + | |
| 4822 | + | |
| 4823 | + | |
| 4824 | + | |
| 4825 | + | |
| 4826 | + | |
| 4827 | + | |
| 4828 | + | |
| 4829 | + | |
| 4830 | + | |
| 4831 | + | |
| 4832 | + | |
| 4833 | + | |
| 4834 | + | |
| 4835 | + | |
| 4836 | + | |
| 4837 | + | |
| 4838 | + | |
| 4839 | + | |
| 4840 | + | |
| 4841 | + | |
| 4842 | + | |
| 4843 | + | |
| 4844 | + | |
| 4845 | + | |
| 4846 | + | |
| 4847 | + | |
| 4848 | + | |
| 4849 | + | |
| 4850 | + | |
| 4851 | + |
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
183 | 183 |
| |
184 | 184 |
| |
185 | 185 |
| |
| 186 | + | |
| 187 | + | |
186 | 188 |
| |
187 | 189 |
| |
188 | 190 |
| |
|
0 commit comments
Comments
(0)