Re: Receiving many more rows than expected

Поиск
Список
Период
Сортировка
От Sim Zacks
Тема Re: Receiving many more rows than expected
Дата
Msg-id 536B8137.1040808@compulab.co.il
обсуждение исходный текст
Ответ на Receiving many more rows than expected  (Vincent de Phily <vincent.dephily@mobile-devices.fr>)
Ответы Re: Receiving many more rows than expected
Список pgsql-general
<div class="moz-cite-prefix">On 05/08/2014 02:09 PM, Vincent de Phily wrote:<br /></div><blockquote
cite="mid:2347827.4qtYvNo0j6@moltowork"type="cite"><pre wrap="">The problem is that sometimes (once every few days at
about2-300K queries per 
 
day) I get many more rows than the max 5000 I asked for (I've seen up to 25k). 
And I'm getting timeouts and other problems as a result.
</pre></blockquote> I would bet you have another copy of the code running without the limit. Maybe on a cron job.<br />
Toprove this, modify the log statement slightly and see if this statement is really returning more then 5000 rows.<br
/><prewrap="">LOG.debug("1 - Fetched %d rows", rlen) or similar.
 

</pre><br />

В списке pgsql-general по дате отправления:

Предыдущее
От: Asif Naeem
Дата:
Сообщение: Re: Trouble finding libpq on Centos 6.5
Следующее
От: Roxanne Reid-Bennett
Дата:
Сообщение: Re: Analyze against a table with geometry columns runs out of memory