forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb71761d
committed
Reduce eqsel()'s fudge-factor for estimating the frequency of values
other than the most common value in a column. We had had 0.5, make it0.1 to make it more likely that an indexscan will be chosen. Reallyneed better statistics instead, but this should stem the bleedingmeanwhile ...1 parentbe6e771 commitb71761d
1 file changed
+6
-3
lines changedLines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 |
| |
59 | 62 |
| |
60 | 63 |
| |
| |||
190 | 193 |
| |
191 | 194 |
| |
192 | 195 |
| |
193 |
| - | |
| 196 | + | |
194 | 197 |
| |
195 | 198 |
| |
196 | 199 |
| |
| |||
209 | 212 |
| |
210 | 213 |
| |
211 | 214 |
| |
212 |
| - | |
| 215 | + | |
213 | 216 |
| |
214 | 217 |
| |
215 | 218 |
| |
|
0 commit comments
Comments
(0)