Re: Slow query after upgrades
| От | Oliver Jowett |
|---|---|
| Тема | Re: Slow query after upgrades |
| Дата | |
| Msg-id | 4761C641.30308@opencloud.com обсуждение исходный текст |
| Ответ на | Re: Slow query after upgrades (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Slow query after upgrades
Re: Slow query after upgrades |
| Список | pgsql-jdbc |
Tom Lane wrote: > It looks pretty obvious from the peanut gallery: in the parameterized > query, the planner daren't choose an indexscan, because for the vast > majority of the possible values of the parameter an indexscan would > suck. The JDBC driver is using an unnamed statement in this case, shouldn't the planner end up using index selectivity estimates based on the actual parameter values? From the explain output that just came through it looks like a type mismatch problem on the timestamp parameter. -O
В списке pgsql-jdbc по дате отправления: