Should you store database files?
- Is it a good idea to store files in DB?
- Where should databases be stored?
- Why is it better to store data in a database rather than in the file system?
Is it a good idea to store files in DB?
Also, keep in mind that Web servers are cheap and you can easily add more to balance the load, whereas the database is the most expensive and hardest to scale part of a web architecture usually. There are some opposite examples (e.g., Microsoft Sharepoint), but usually, storing files in the database is not a good idea.
Where should databases be stored?
Database tables and indexes may be stored on disk in one of a number of forms, including ordered/unordered flat files, ISAM, heap files, hash buckets, or B+ trees. Each form has its own particular advantages and disadvantages. The most commonly used forms are B-trees and ISAM.
Why is it better to store data in a database rather than in the file system?
Easy access to data – Database systems manages data in such a way so that the data is easily accessible with fast response times. Easy recovery: Since database systems keeps the backup of data, it is easier to do a full recovery of data in case of a failure.
Related Questions
-
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago