When should you use a database instead of a file?
- Why are databases used instead of files?
- When should you use a database?
- When should you not use a database?
Why are databases used instead of files?
A database is generally used for storing related, structured data, with well defined data formats, in an efficient manner for insert, update and/or retrieval (depending on application). On the other hand, a file system is a more unstructured data store for storing arbitrary, probably unrelated data.
When should you use a database?
A database is typically designed so that it is easy to store and access information. A good database is crucial to any company or organisation. This is because the database stores all the pertinent details about the company such as employee records, transactional records, salary details etc.
When should you not use a database?
In my experience, you shouldn't use a relational database when any one of these criteria are true:your data is structured as a hierarchy or a graph (network) of arbitrary depth,the typical access pattern emphasizes reading over writing, or.there's no requirement for ad-hoc queries.When shouldn't you use a relational database? [closed] - Stack Overflow
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