![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I was wondering what would be more prudent (performance-wise): to use the bytea datatype in postgres 8.3 or to use an xfs filesystem for storing images of about 10KB each? The solution should be able to scale up to millions of images whilst affecting performance as little as possible... There will be some updates to a little subset of the images...probably every minute. I'm curious to read which solution others would prefer... |
#3
| |||
| |||
|
|
I was wondering what would be more prudent (performance-wise): to use the bytea datatype in postgres 8.3 or to use an xfs filesystem for storing images of about 10KB each? The solution should be able to scale up to millions of images whilst affecting performance as little as possible... There will be some updates to a little subset of the images...probably every minute. I'm curious to read which solution others would prefer... Personally I prefer storing them in the database for various reasons: 1) you get the full transactional control over the storage process 2) you don't have to worry about the number of files in a directory 3) you only need to backup a single source 4) you don't need to control (and manage) access to the data in two different places (O/S security for the files and DBMS security) |
#4
| |||
| |||
|
|
Personally I prefer storing them in the database for various reasons: 1) you get the full transactional control over the storage process 2) you don't have to worry about the number of files in a directory 3) you only need to backup a single source 4) you don't need to control (and manage) access to the data in two different places (O/S security for the files and DBMS security) |
![]() |
| Thread Tools | |
| Display Modes | |
| |