Re: question regarding image processing
..oO(The Natural Philosopher)
Not necessarily. You can keep entire databases in memory (can't get any
faster) or even store multiple databases in a single file, which is what
InnoDB does for example. But for the user and often even for the admin
it's of no interest how the database actually stores the data. Messing
with that and directly accessing the container files in case of a disk-
based DB calls for trouble. Real trouble!
Micha
..oO(The Natural Philosopher)
>Jerry Stuckle wrote:
A database *is* files, Jerry.
>Peter H. Coffin wrote:
>>
>Only the first time. But it makes backups easier - you don't have to
>back up files and database. Just the database.
>>
>>On Fri, 23 May 2008 07:40:37 -0400, Jerry Stuckle wrote:
>>>Álvaro G. Vicario wrote:
>>>>Some guys adore storing binary data in databases but of course
>>>>that's a good old discussion. I particularly find no benefits in it
>>>>(you can't do searches like "WHERE category_id=20 AND picture
>>>>PORTRAITS A 'black cat'") and it add an annoying overhead in all
>>>>related tasks.
>>>>>
>>>>>
>>>The ability to search is not the only reason to store things in
>>>databases. And if you have hundreds of thousands of images, a
>>>database can be more efficient.
>>>
>>It's a little rough on the incremental backups, though... (:
>>>
>>>Álvaro G. Vicario wrote:
>>>>Some guys adore storing binary data in databases but of course
>>>>that's a good old discussion. I particularly find no benefits in it
>>>>(you can't do searches like "WHERE category_id=20 AND picture
>>>>PORTRAITS A 'black cat'") and it add an annoying overhead in all
>>>>related tasks.
>>>>>
>>>>>
>>>The ability to search is not the only reason to store things in
>>>databases. And if you have hundreds of thousands of images, a
>>>database can be more efficient.
>>>
>>It's a little rough on the incremental backups, though... (:
>>>
>Only the first time. But it makes backups easier - you don't have to
>back up files and database. Just the database.
>>
faster) or even store multiple databases in a single file, which is what
InnoDB does for example. But for the user and often even for the admin
it's of no interest how the database actually stores the data. Messing
with that and directly accessing the container files in case of a disk-
based DB calls for trouble. Real trouble!
Micha
Comment