Re: how to secure documents in server
The Natural Philosopher wrote:
I have tested this and I have found it slightly slower to get files from a
database table than from the file system. Then again, it is slightly slower
building pages dynamically with php/MySQL than it is to serve fixed html
pages. So basically, when I find that storing files in a database is the
best way to handle the application I am writing, that's the way I do it.
The Natural Philosopher wrote:
J.O. Aho wrote:
Ok, why should it take longer to pull a large file out of one locatin
in a database than one location in a filesssytem?
>
IME the things that slow databases down are not getting data out of
them, its performing complex relational queries.
>>
>The idea of storing binary files in a database is quite good, but it
>will affect the sql server in a negative way, specially the larger
>the binary files are.
>>
>The idea of storing binary files in a database is quite good, but it
>will affect the sql server in a negative way, specially the larger
>the binary files are.
>>
in a database than one location in a filesssytem?
>
IME the things that slow databases down are not getting data out of
them, its performing complex relational queries.
database table than from the file system. Then again, it is slightly slower
building pages dynamically with php/MySQL than it is to serve fixed html
pages. So basically, when I find that storing files in a database is the
best way to handle the application I am writing, that's the way I do it.
Comment