From: Jesper Krogh <jesper@krogh.cc>
To: pgsql-performance@postgresql.org
Subject: Storing binary data.
Date: Wed, 11 Aug 2004 14:29:46 +0000 (UTC)
Message-ID: <cfdagq$lol$1@sea.gmane.org> (raw)
Hi.
Please be a bit patient.. I'm quite new to PostgreSQL.
I'd like some advise on storing binary data in the database.
Currently I have about 300.000 320.000 Bytes "Bytea" records in the
database. It works quite well but I have a feeling that it actually is
slowing the database down on queries only related to the surrounding
attributes.
The "common" solution, I guess would be to store them in the filesystem
instead, but I like to have them just in the database it is nice clean
database and application design and if I can get PostgreSQL to "not
cache" them then it should be excactly as fast i assume.
The binary data is not a part of most queries in the database only a few
explicitly written to fetch them and they are not accessed very often.
What do people normally do?
Thanks, Jesper
--
./Jesper Krogh, jesper@krogh.cc
Jabber ID: jesper@jabbernet.dk
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: jesper@krogh.cc
Subject: Re: Storing binary data.
In-Reply-To: <cfdagq$lol$1@sea.gmane.org>
* 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