Re: How to store text files in the postgresql?

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Emanuel Calvo Franco <postgres(dot)arg(at)gmail(dot)com>
Cc: DimitryASuplatov <genesup(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: How to store text files in the postgresql?
Date: 2009-06-12 14:07:12
Message-ID: 407d949e0906120707o5c21ee52o7e706e89a3e7448f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

This is a recurring debate and there are pros and cons for both sides.
It usually comes down to whether you need transactional guarantees for
these large objects.

There are also practical concerns. Transfering these large objects
over a single database tcp connection limits the application
performance a lot. And the database is often more heavyweight than you
really want to keep tied up to serve up images.

Also, it makes backups a pain since it's a lot easier to back up a
file system than a database. But that gets back to whether you need
transactional guarantees. The reason it's a pain to back up a database
is precisely because it needs to make those guarantees.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andy Colson 2009-06-12 14:15:02 Re: How to store text files in the postgresql?
Previous Message Scott Ribe 2009-06-12 14:01:08 Re: How to store text files in the postgresql?