Lecture 1: Introduction to Database - Nubacad.com
Lecture 1: Introduction to Database - Nubacad.com
Lecture 1: Introduction to Database - Nubacad.com
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Past System for Managing Information<br />
The File Systems Approach<br />
• The information is s<strong>to</strong>red in permanent system files.<br />
• A number of application programs are written <strong>to</strong><br />
manipulate the files.<br />
General<br />
Ledger<br />
File<br />
Production<br />
Planning<br />
File<br />
Invoicing<br />
File<br />
Despatch<br />
File<br />
Personnel<br />
File<br />
Payroll<br />
File<br />
Inven<strong>to</strong>ry<br />
File<br />
Order<br />
Entry<br />
File<br />
Sequential Files<br />
File Organisation<br />
• records are s<strong>to</strong>red in a fixed sequence<br />
• records can only be read in that sequence, starting from<br />
the first record<br />
• records can only be added at the end of the file (append)<br />
• sequential files are not efficient<br />
Indexed Files<br />
• Use an index <strong>to</strong> access records in a random fashion.<br />
• Records can be sorted according <strong>to</strong> an attribute or<br />
preference. (e.g Alphabetically, Ascending, Descending,<br />
etc.)<br />
• Indexed files are efficient, and faster <strong>to</strong> access.<br />
9<br />
10<br />
Disadvantages of File Processing System<br />
• Data Redundancy: Data Redundancy means<br />
same information is duplicated in several files.<br />
• Data Inconsistency: Data Inconsistency means<br />
different copies of the same data are not<br />
matching. That means different versions of same<br />
basic data are existing. This occurs as the result<br />
of update operations that are not updating the<br />
same data s<strong>to</strong>red at different places.<br />
• Example: Address Information of a cus<strong>to</strong>mer<br />
is recorded differently in different files.<br />
Disadvantages of File Processing System (cont..)<br />
• Difficulty in Accessing Data: It is not easy <strong>to</strong><br />
retrieve information using a conventional file<br />
processing system. Convenient and efficient<br />
information retrieval is almost impossible using<br />
conventional file processing system.<br />
• Data Isolation: Data are scattered in various files,<br />
and the files may be in different format, writing new<br />
application program <strong>to</strong> retrieve data is difficult.<br />
11<br />
12<br />
3