From: Filip Wuytack <filip@wuytack.net>
To: Tomas Skäre <tomas@nocrew.org>
Cc: Ludek Finstrle <luf@pzkagis.cz>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Out of memory troubles with version 8.01.01.02
Date: Tue, 13 Dec 2005 17:03:31 +0000
Message-ID: <439EFEE3.2000509@wuytack.net> (raw)
In-Reply-To: <80zmn5ggyt.fsf@junk.nocrew.org>
References: <439E948B.1080703@wuytack.net>
<20051213141808.GA5689@soptik.pzkagis.cz>
<80zmn5ggyt.fsf@junk.nocrew.org>
Hi all,
Thank you all for your prompt replies.
I tried about all the versions I could find (ranging from 7.3.200 to
till 8.1.1.03) and they all gave the same trouble.
Then I tried the latest snapshot, 8.1.1.04,and youhouuuuu, it worked!!!
Me a very happy man.
I'm not sure what you did we these dlls, but I just pulled in a +/- 25
milj row table in sas through the odbc (is against a postgresql 8.0.3
amd64 on freebsd 6.0) and it worked perfectly. Memory consumption never
went over 45M in windows. The table takes up 8.6GB of harddisk space in
windows.
Just for future references (in case someone ever has the same error), I
used the following settings:
PostgreSQL ANSI
with the following options:
- disable genetic optimizer
- KSQO
- Recognize Uniq Index
- Use Declare/Fetch
- Inknown sizes: max
- Bools as char
- maxvarchar: 254
- cache: 100
- max long varchar: 8190
- systableprefixes: dd_;
- show system tables
- LF <-> CR/LF
- row versioning
- int8 as default
- protocol >= 6.4
- OID options: show column & fake index
Thanks again,
Filip
Tomas Skäre wrote:
> Ludek Finstrle <luf@pzkagis.cz> writes:
>
>
>> I know about this limitation. There is problem ODBC keep all rows
>> in memory (+ result from libpq = 2 x result). Please try check
>> Use Declare/Fetch option. There is no twice result in memory in psqlODBC.
>> If it doesn't help you can try older releases which mayde do not do this.
>> Please try 8.00.X or even 7.03.209 (if you find it somewhere).
>> I know we're suggesting 8.01.X but few people work with so big
>> datasets.
>>
>
> Does it keep everything in memory when using cursors too?
>
>
> Tomas
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: filip@wuytack.net, tomas@nocrew.org, luf@pzkagis.cz
Subject: Re: Out of memory troubles with version 8.01.01.02
In-Reply-To: <439EFEE3.2000509@wuytack.net>
References: <439E948B.1080703@wuytack.net> <20051213141808.GA5689@soptik.pzkagis.cz> <80zmn5ggyt.fsf@junk.nocrew.org> <439EFEE3.2000509@wuytack.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox