On 05/08/2014 02:09 PM, Vincent de
Phily wrote:
I would bet you have another copy of the code running without the limit. Maybe on a cron job.The problem is that sometimes (once every few days at about 2-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. To prove this, modify the log statement slightly and see if this statement is really returning more then 5000 rows. LOG.debug("1 - Fetched %d rows", rlen) or similar. |
- [GENERAL] Receiving many more rows than expected Vincent de Phily
- Re: [GENERAL] Receiving many more rows than expected Sim Zacks
- Re: [GENERAL] Receiving many more rows than expe... Vincent de Phily
- Re: [GENERAL] Receiving many more rows than expected Adrian Klaver
- Re: [GENERAL] Receiving many more rows than expe... Vincent de Phily
- Re: [GENERAL] Receiving many more rows than ... Adrian Klaver
- Re: [GENERAL] Receiving many more rows t... Vincent de Phily
- Re: [GENERAL] Receiving many more r... Tom Lane
- Re: [GENERAL] Receiving many mo... Vincent de Phily
- Re: [GENERAL] Receiving man... David G Johnston
- Re: [GENERAL] Receiving man... Adrian Klaver
- Re: [GENERAL] Receiving man... Vincent de Phily