Re: Query > 1000× slowdown after adding datetime comparison
В списке pgsql-performance по дате отправления:
| От | Tomas Vondra |
|---|---|
| Тема | Re: Query > 1000× slowdown after adding datetime comparison |
| Дата | |
| Msg-id | 55E47E97.1090202@2ndquadrant.com обсуждение исходный текст |
| Ответ на | Query > 1000× slowdown after adding datetime comparison (twoflower <standa.kurik@gmail.com>) |
| Ответы |
Re: Query > 1000× slowdown after adding datetime comparison
|
| Список | pgsql-performance |
On 08/31/2015 06:09 PM, twoflower wrote: > I have the following three tables: ... > This is the query plan: > > <http://postgresql.nabble.com/file/n5864045/qp1.png> > > If I remove the WHERE condition, it returns immediately. > > Am I doing something obviously wrong? Please share explain plans for both the slow and the fast query. That makes it easier to spot the difference, and possibly identify the cause. Also, what PostgreSQL version is this, and what are "basic" config parameters (shared buffers, work mem)? regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера