What is a file based database?

后端 未结 1 1184
迷失自我
迷失自我 2021-01-28 07:29

I am enrolled in a course about relational databases. I was asked to research the advantage of a file based approach versus relational databases.

I find it easier to un

相关标签:
1条回答
  • 2021-01-28 08:09

    When we refer to file-based databases we mean databases that we interact with/update directly (via an SQL abstraction offered by the JDBC driver) but in essence we just read/write to a file directly. Example would be SQLite

    No, CSV is a comma separated values file which allows data to be saved in a table structured format.

    A "flat file" database allows the user to specify data attributes (columns, datatypes, etc) for one table at a time, storing those attributes independantly of an application. dBase III and Paradox were good examples of this kind of database in the CP/M and MS-DOS environments, and the original FileMaker was a good Mac O/S example.

    A relational database takes this "flat file" approach several logical steps further, allowing the user to specify information about multiple tables and the relationships between those tables, and often allowing much more declarative control over what rules the data in those tables must obey.

    Database systems are mechanisms that mediate between file systems and an API based on RDBMS principles. Without getting into detail about the specific sets of rules that together make up an RDBMS, we can say that these mostly provide a way to organize and access information stored in files. The most noticeable features of databases compared with raw file-systems are structure and indexing.

    0 讨论(0)
提交回复
热议问题