Storing Data
Flat files contain tabular data in plain text format with one data record per line and each record or line having one or more fields. These fields are separated by delimiters, like commas, tabs, or colons.
Advantages of flat files include:
They're text files and therefore human readable.
Lightweight.
Simple to understand.
Software that can read/write text files is ubiquitous, like text editors.
Great for small datasets.
Disadvantages of flat files, in comparison to relational databases, for example, include:
Lack of standards.
Data redundancy.
Sharing data can be cumbersome.
Not great for large datasets (see "When does small become large?" in the Cornell link in More Information).
The advantages and disadvantages of flat files were discussed earlier in the lesson in the Flat File Structure concept. One of the advantages:
Great for small datasets.
And one of the disadvantages:
Sharing data can be cumbersome.
Last updated
Was this helpful?