Re: Need suggestion - Mailing list pgsql-general

From Carl von Clausewitz
Subject Re: Need suggestion
Date
Msg-id BANLkTikLBj_zpyE5dCvG9ycHEf3ahX8Ncw@mail.gmail.com
Whole thread Raw
In response to Re: Need suggestion  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Responses Re: Need suggestion
List pgsql-general
Thanks for the replies, and suggestion from Ognjen, Ben Chobot, John R Pierce, Tomás, and Karsten... I checked the links, and I decided, that I cannot decide :-) because I don't know, how large could be the infrastructure for this. If I store the images, and scanned docus in the database, a radically larger enviroment will be needed, than if I store only the link. My boss will decide, and I will implement anything, that he wants, I just wanted to collect some experience, that you have, and that you have provided form me, and many thanks for it :-) 

Thanks again,
Regards,
Carl. 

2011/6/3 Karsten Hilbert <Karsten.Hilbert@gmx.net>
On Fri, Jun 03, 2011 at 07:15:40AM +0200, tomas@tuxteam.de wrote:

> but you wouldn't have large blobs of data clobbering your "regular" queries.

You would want to write better queries than

       select * from my_table_with_bytea_column;

anyway.

> You could pass the scans and pics piecemeal between client and database

At least for retrieval even BYTEA can be accessed piecemeal:

       select substring(bytea_column from <start> for <number_of_bytes>)

Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: PostgreSQL service won't start after bad computer time
Next
From: "Rob Richardson"
Date:
Subject: Re: PostgreSQL service won't start after bad computer time