Re: [GENERAL] Blob fields and backups

2006-11-30 Thread Jim Nasby

On Nov 30, 2006, at 5:15 AM, [EMAIL PROTECTED] wrote:
I have an Oracle DB, where my backup file is 280 GB and growing. I  
also have a
lot of blob fields there. When i make a backup recover, the blob  
fields are

there, and my boss is alive.

I want to know how postgresql's backup utilities deal with blob  
fields...


Most people that deal with binary data in PostgreSQL use bytea, which  
to PostgreSQL is JustAnotherField. It'll dump and restore just fine.  
The one downside is that a lot of binary values get escaped into  
octal, ie '\000', which adds a lot of size to the dump. Though, the  
custom dump type might get around that. I think that support for  
large objects (which are more akin to Oracle blobs/clobs) is in  
pg_dump as well, but I've never actually used them.


Ultimately, if you've got a 300G database, you probably don't want to  
be using pg_dump anyway; instead use Point In Time Recovery.

--
Jim Nasby[EMAIL PROTECTED]
EnterpriseDB  http://enterprisedb.com  512.569.9461 (cell)



---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


Re: [GENERAL] Blob Fields

2005-03-04 Thread Ulrich Schwab
Alexandre da Siva wrote:

> Blobs is not Implemented on PostgreSQL, but I need to this field type on
> PosgreSQL databases, how I can to use this? I'm using delphi...
> 
> 
> ps: I readed PosgreSQL Manual and other lists and sites, but not get a
> answer for my specific problem
PostgreSQL has large objects, most probably this is what You want.
See this file in the docs:
pgsql/doc/html/largeobjects.html

---(end of broadcast)---
TIP 8: explain analyze is your friend


Re: [GENERAL] Blob Fields

2005-03-04 Thread J. Greenlees
Alexandre da Siva wrote:
Blobs is not Implemented on PostgreSQL, but I need to this field type on 
PosgreSQL databases, how I can to use this?
I'm using delphi...
ps: I readed PosgreSQL Manual and other lists and sites, but not get a 
answer for my specific problem
http://www.postgresql.org/docs/8.0/interactive/datatype-binary.html
definitions for blob, with usage.


smime.p7s
Description: S/MIME Cryptographic Signature