ALERT

Stop Ransomware Mid-Flight

Flat File Database

Definition - What does Flat File Database mean?

A flat file database is a type of database that stores data in a single table. This is unlike a relational database, which makes use of multiple tables and relations. Flat file databases are generally in plain-text form, where each line holds only one record. The fields in the record are separated using delimiters such as tabs and commas.

Techopedia explains Flat File Database

Flat file database tables can be set in various application types, including HTML documents, simple word processors or worksheets in spreadsheet applications. The tables within a flat file database can be sorted based on column values. These tables serve as a solution for simple database tasks.

In spite of the limitations associated with flat files, flat file databases are used internally by various computer applications to store data related to configuration. Most of the applications permit users to store and retrieve information from flat files based on a predefined set of fields.

Flat files include data types common to other databases. A few features of the data in flat file databases include:

  • Database Management System: The text data represent an intermediate style of data before being loaded into the database.
  • Separated Columns: Flat file databases are based on fixed-width data formatting. Columns are separated using delimiter characters.
  • Data Types: Columns in the database tables are restricted to a particular data type and are not indicated, unless the data is passed on to a relational database.
  • Relational Algebra: Records in flat file database tables meet tuple definitions under relational algebra.
Share this: