From: kvrao@motorola.com
To: pgsql-odbc@postgresql.org
Subject: Fixed pool of memory for SQLGetData
Date: 29 Sep 2003 04:25:30 -0700
Message-ID: <26dca42d.0309290325.2baa30f8@posting.google.com> (raw)
Hi All,
I am facing a strange problem. We are using postgres on linux. Our
application code uses ODBC API (Driver: unixODBC)
We observed that process size shoots up when a SQLGetData is done from
application code on a table(s) with more than a 100,000 rows. Upon
experimentation we found that if we restrict the SQLGetData to work on
< 20,000 rows at a time then the size didn't grow. But since we
couldn't hard code the number of rows in application, we want to know
if there is a way to call SQLGetData() (or other equivalent ODBC API)
where in a fixed pool of memory can be specified by the application.
With this the driver will return the SQLGetData call once the buffer
size max is reached. This will be a generic solution for us.
Could some one let us know if some kind of solution is possible?
PS: In case some one knows of any other news group please let me know
so that I can post it there too.
thanks in advance,
--kv
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: kvrao@motorola.com
Subject: Re: Fixed pool of memory for SQLGetData
In-Reply-To: <26dca42d.0309290325.2baa30f8@posting.google.com>
References: <26dca42d.0309290325.2baa30f8@posting.google.com>
* 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