Re: BLOBS in DB and MDB

From: Date: Thu, 20 Mar 2003 11:06:10 +0000
Subject: Re: BLOBS in DB and MDB
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4326@lists.php.net to get a copy of this message
<M.Kaening@osram.de> wrote : > Hi Jeroen, > >> How do people store their binary data (pdf's, word docs etc) in >> Postgres? I noticed you can store it in a TEXT field (up to 1GB IIRC), >> but also using OID's. Which techniques do MDN/DB use? > as far as I know it is recommended never to store binary data like this > directly in a database, instead rather store there location in a file > system. This speeds everything up dramatically and is safer, assuming the > file system is held consistent with the DB. AFAIK, that's wrong with Oracle at least. You can store BLOB in database without speed or security loss. It is even recommended, if you use Oracle Text to index your files. I don't know about PostgreSQL behaviour. Bertrand Mansion Mamasam

« previous php.pear.general (#4326) next »