Welcome to YLOAN.COM
yloan.com » Data Recovery » Flat File Database
Games Personal-Tech Data Entry registry cruise torrent mac code virus storage uninstaller systems cisco bugs wireless codes maintenance dell update communication trojan atlanta Data Backup Data Storage Data Protection Data Recovery Anti-Virus Windows Linux Software Hardware Mobil-Computing Certification-Tests Computers & Internet Internet

Flat File Database

A flat file database is one in which data is stored in plain text format

. It is usually used to store and retrieve a small amount of data in a local text file.

Need of flat file database:

Most free web host do not allow their users to use MYSQL database for free. In that case flat file database is an alternative solution.

How to store data:

In a database data are stored in tabulated form. An example of typical table database is given below.

NameClass Age

John 915

Susan611

Emili 1015

When we store such a table in a flat file database file structure will be as follows.

John^^9^^15

Susan^^6^^11

Emili^^10^^15

Here I use a new string "^^" as column separator, and new line character is used for row separation. While selecting such a separator we must confirm that data itself not contain that string. So we have to filter-out data from such string before any write operation.

Problems of flat file database:

1. A flat file is a SISO (serial in serial out) memory system. New data can only be entered at the end of the file. So if we want to edit or delete a record from our database; or if we want to insert a new record in-between two records, we have to rearrange and then rewrite the entire database file. So speed of operation lowers with the size of database file. Actually flat file database should not be used for size more than 5mb.

2. Flat file database is not very safe in multi-user environment like blog, guestbook etc. where many users sharing the same database from different ends.

by: susen
Data Recovery From Earthquake Damaged Computers Function Of Data Cabinets Server Racks Comms Cabinet How To- Recover Lost Data From Apple Mac Computer Data Recovery post Powerpoint File Corruption Cisco Switches Damaged Hard Drive Partition Resulting In Data Loss Network Switches Options For Laptop Data Recovery Database Repair Post table Error: Page P_id... Error Message How To Recover Lost Image From Canon Cameras Stop Error 0x0000c1f5 May Cause Partition Loss In Windows Vista
print
www.yloan.com guest:  register | login | search IP(18.225.72.113) Ljubljana / Ljubljana Processed in 0.009855 second(s), 5 queries , Gzip enabled , discuz 5.5 through PHP 8.3.9 , debug code: 34 , 1686, 165,
Flat File Database Ljubljana