| From: | Richard Huxton <dev(at)archonet(dot)com> |
|---|---|
| To: | "msmbarabino(at)virgilio(dot)it" <msmbarabino(at)virgilio(dot)it> |
| Cc: | pgsql-performance(at)postgresql(dot)org |
| Subject: | Re: Very slow bytea data extraction |
| Date: | 2007-02-23 10:46:14 |
| Message-ID: | 45DEC5F6.4000101@archonet.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-performance |
msmbarabino(at)virgilio(dot)it wrote:
> Hi all,
> I'm using Postgresql 8.2.3 on a Windows XP system.
>
> I need to
> write and retrieve bytea data from a table.
> The problem is that, while
> data insertion is quite fast, bytea extraction is very slow.
> I'm trying
> to store a 250KB image into the bytea field.
> A simple select query on a
> 36-row table takes more than one minute to execute.
Where is the problem?
Is it in executing the query (what does EXPLAIN ANALYSE show)?
Is it in fetching/formatting the data (what does the equivalent COUNT(*)
show)?
How are you accessing the database: odbc,jdbc,other?
Does it do this with psql too?
--
Richard Huxton
Archonet Ltd
| From | Date | Subject | |
|---|---|---|---|
| Next Message | msmbarabino@virgilio.it | 2007-02-23 12:19:56 | R: Very slow bytea data extraction |
| Previous Message | msmbarabino@virgilio.it | 2007-02-23 10:10:13 | Very slow bytea data extraction |