pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: beyaNet Consultancy <beyanet@ntlworld.com>
To: pgsql-sql@postgresql.org
Cc: pgsql-novice@postgresql.org
Subject: Binary retrieval - *Best practice* recommendations...
Date: Fri, 20 Feb 2004 15:22:50 +0000
Message-ID: <A5260E9A-63B8-11D8-9F4F-0003938366A4@ntlworld.com> (raw)

Hi,
I have a table in postgreSQL, ver. 7.4.1, which serves up image 
data(JPEG) to users browsers. In various posts I have read there has 
been a favour towards storing image data as bytea (byte[]) instead of 
storing the filesystem  location of the image, or whatever binary data 
is, in the database. I have decided to store my images on the database 
and wanted to know what *best practice* performance tweaks you suggest 
I make to postgreSQL in terms of minimising the time it takes to serve 
binary data to users?

many thanks in advance




Message-ID: <A5260E9A-63B8-11D8-9F4F-0003938366A4@ntlworld.com>
Permalink:  ../A5260E9A-63B8-11D8-9F4F-0003938366A4@ntlworld.com/
Also on:    postgresql.org/message-id/A5260E9A-63B8-11D8-9F4F-0003938366A4@ntlworld.com

 · 

reply

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-sql@postgresql.org
  Cc: beyanet@ntlworld.com, pgsql-novice@postgresql.org
  Subject: Re: Binary retrieval - *Best practice* recommendations...
  In-Reply-To: <A5260E9A-63B8-11D8-9F4F-0003938366A4@ntlworld.com>
  References: <A5260E9A-63B8-11D8-9F4F-0003938366A4@ntlworld.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