Oracle (is there anyone working on the DBconnector? :S) introduced a fast DB file storage method: SecureFiles
Since it's faster than regular Linux file system (in many cases, mainly in Drupal - we have now 1 query + 1 filesystemread, after implementing this it changes to 1query per file read), we schould include this feature.
Comments
Comment #1
alippai commentedSorry for the priority.
Comment #2
drewish commentedI don't think this will happen any time soon. First of all, it's an Oracle only feature and there's no way to have a plug-able filesystem. Second, webservers transfer files very efficiently from a disk, having to load it from the db and then pass it to the webserver is a step backwards. I'm going to mark this as won't fix but perhaps postponed would be better.
Comment #3
alippai commentedYeah, a plug-able filesystem would be nice and IMHO we will need it. Since we don't have many options, it can be postponed. Oracles solution is backwards compatible (storing LOBs in DB - it exists in MySQL too, it's onlz too slow), so if I create a patch for storing files in DB can it get commited, or there is no chance for it?
Comment #4
drewish commentedyou can always create a patch and might find some other oracle users to use it but the odds of it being committed are awful low. working on some kind of a plugable filesystem would be your best bet.
Comment #5
alippai commentedThis can be done easily in a contrib module with: #227232: Support PHP stream wrappers (if I missed something correct me please)