From: Doug McNaught <doug@mcnaught.org>
To: Rick Gigger <rick@alpinenetworking.com>
Cc: Keith C. Perry <netadmin@vcsn.com>
Cc: PgSQL General ML <pgsql-general@postgresql.org>
Subject: Re: uploading files
Date: 18 Nov 2003 14:36:24 -0500
Message-ID: <87islhqxjb.fsf@asmodeus.mcnaught.org> (raw)
References: <1069164075.986.239.camel@bbking.uio.no>
<20031118142919.GI4953@libertyrms.info>
<1069180780.2769.91.camel@haggis.homelan>
<019301c3ae07$d714e220$0700a8c0@trogdor>
<1069183501.3fba720d48aba@webmail.vcsn.com>
<019f01c3ae0a$46bd1a50$0700a8c0@trogdor>
"Rick Gigger" <rick@alpinenetworking.com> writes:
> I will search the archives but does anyone know off the top of their head
> which performs better?
It really depends on what you are trying to do. If you are always
fetching the entire file from the database, 'bytea' *might* have a
little less overhead, but it's not clearcut.
Both of them will be ultimately limited by how fast you can get data
off the disk and and pump it through your client connection.
-Doug
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-admin@postgresql.org
Cc: doug@mcnaught.org, rick@alpinenetworking.com, netadmin@vcsn.com, pgsql-general@postgresql.org
Subject: Re: uploading files
In-Reply-To: <87islhqxjb.fsf@asmodeus.mcnaught.org>
References: <1069164075.986.239.camel@bbking.uio.no> <20031118142919.GI4953@libertyrms.info> <1069180780.2769.91.camel@haggis.homelan> <019301c3ae07$d714e220$0700a8c0@trogdor> <1069183501.3fba720d48aba@webmail.vcsn.com> <019f01c3ae0a$46bd1a50$0700a8c0@trogdor> <87islhqxjb.fsf@asmodeus.mcnaught.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