English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

3 answers

You can have a look at this site. It provides both differences and advantages of DBMS over file processing

2007-05-19 03:13:38 · answer #1 · answered by TBS 3 · 0 0

In a database, the information is already indexed in at least one way, or maybe several ways, depending on how you set it up...like, say, a mailing address database might be indexed by lastname, by firstname, by phone number, by email, and on, and on. So the program might query the database for phone number 555-1212 and search the index for that phone number quickly, and find all the other information associated with that phone number...

...whereas, with a non-indexed, file, the program would have to read each *entire* record, substring the part containing the phone number of each record, and compare it against 555-1212, and if not successful, read another record, and on and on...much more memory intensive...

In other words, with a database, some of the processing is done, beforehand...

2007-05-19 05:34:41 · answer #2 · answered by fjpoblam 7 · 1 0

Databases are organized and ready for quick information results. File processing has to take the time to determine what can be indexed, then actually do it. Information might not be indexed in the process resulting in a less reliable system.

2007-05-19 02:46:56 · answer #3 · answered by orlandobillybob 6 · 0 0

fedest.com, questions and answers