Preview

Dbms

Better Essays
Open Document
Open Document
1079 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Dbms
Comparison of Traditional File-Based Approach and Database Approach

At the beginning, you should understand the rationale of replacing the traditional file-based system with the database system.

File-based System

File-based systems were an early attempt to computerize the manual filing system. File-based system is a collection of application programs that perform services for the end-users. Each program defines and manages its data.

However, five types of problem are occurred in using the file-based approach:

Separation and isolation of data

When data is isolated in separate files, it is more difficult for us to access data that should be available. The application programmer is required to synchronize the processing of two or more files to ensure the correct data is extracted.

Duplication of data

When employing the decentralized file-based approach, the uncontrolled duplication of data is occurred. Uncontrolled duplication of data is undesirable because:

i. Duplication is wasteful ii. Duplication can lead to loss of data integrity

Data dependence

Using file-based system, the physical structure and storage of the data files and records are defined in the application program code. This characteristic is known as program-data dependence. Making changes to an existing structure are rather difficult and will lead to a modification of program. Such maintenance activities are time-consuming and subject to error.

Incompatible file formats

The structures of the file are dependent on the application programming language. However file structure provided in one programming language such as direct file, indexed-sequential file which is available in COBOL programming, may be different from the structure generated by other programming language such as C. The direct incompatibility makes them difficult to process jointly.

Fixed queries / proliferation of application programs

File-based systems are very dependent upon

You May Also Find These Documents Helpful

  • Powerful Essays

    Nt1330 Unit 1 Study Guide

    • 1178 Words
    • 5 Pages

    A Database is generally used for storing data in a structured way in an efficient manner for insert, update and retrieval of data in well defined formats. On the other hand, in file system the data stored in unstructured manner with an unrelated data.…

    • 1178 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    Experiment D

    • 502 Words
    • 3 Pages

    5. A) The washes that are performed in part B are necessary because the RTILs are often contaminated with halide slats such as KBr, which would cause the RTIL to be cloudy. In order to remove the halide contamination washes must be performed until the water does not result in cloudiness and is pure.…

    • 502 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    CS-669 Assignment 1

    • 985 Words
    • 4 Pages

    Imagine that a countryside inn maintains its data in flat files on a file system. To assist in reserving rooms and booking guests, the innkeepers use a custom application that accesses these flat files. The innkeepers sometimes access the files directly. With this scenario in mind, address each of the topics below.…

    • 985 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    database mgnt

    • 730 Words
    • 3 Pages

    5. Identify and discuss the serious data redundancy problems exhibited by the file structure shown in Figure P1.5.…

    • 730 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Binary files play an important role in data storage because they are very compact for any given amount of data to be stored. Compactness of storage is critically important for any type of situation involving computers, so binary files are specific to a particular application. New types of data storage must be easy to create and maintain, not just compact. XML plays a part in a process of making data easier to structure and describe. Data structures that can be easily modified or adapted, together with processors that access data contained in those structures, make it easier to create, maintain, and modify data storage than when using binary files alone. (Watt, 2003)…

    • 703 Words
    • 3 Pages
    Good Essays
  • Good Essays

    * Both systems contain a collection of data and a set of programs which access that data. A DBMS coordinates both the physical and the logical access to the data, whereas a file-processing system coordinates only the physical access.…

    • 579 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Chapter 2: Data Manipulation Computer Science: An Overview Eleventh Edition by J. Glenn Brookshear Copyright © 2012 Pearson Education, Inc. Chapter 2: Data Manipulation • • • • • • 2.1 Computer Architecture 2.2 Machine Language 2.3 Program Execution 2.4 Arithmetic/Logic Instructions 2.5 Communicating with Other Devices 2.6 Other Architectures Copyright © 2012 Pearson Education, Inc. 0-2 1 Computer Architecture • Central Processing Unit (CPU) or processor – Arithmetic/Logic unit versus Control unit – Registers • General purpose • Special purpose • B Bus • Motherboard Copyright © 2012 Pearson Education, Inc. 0-3 Figure 2.1 CPU and main memory connected via a bus…

    • 783 Words
    • 4 Pages
    Satisfactory Essays
  • Best Essays

    Structural dependence exists when it is possible to make changes in the file structure without affecting the application program’s ability to access the data.…

    • 2439 Words
    • 17 Pages
    Best Essays
  • Satisfactory Essays

    Real time applications utilize object-oriented programming instead of procedural programming due to the fact that the former increases their efficiency and reliability. Some of the other benefits of object-oriented programming over procedural programming are seen when it comes to upgrading, design approach, security and various other components. Object-oriented programs simplify the upgrading process of a small system to a large system through a few modifications made to the existing data structure or code. Unlike with procedural programming, object-oriented programming uses a data focused design system thereby programmers are able to obtain more details of model structures in executable forms. Data hiding mechanisms in object-operating programs improve the security in programs since they cannot be invaded by codes in various features of the program. In addition, communication concepts between objects in the program simplify the interface definitions in external systems and as a result, complexities of time and space in this paradigm of programming…

    • 372 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    worker

    • 506 Words
    • 2 Pages

    There are many data management issues that need to be considered when dealing with new data, transferring data, or just storing data for long periods of time. For instance, if a corporation or business needs to store data for long periods of time, they may have to come up with multiple ways of storing the data in the event one device or method fails. Also, all things eventually wear out in time. Therefore, servers, hard drives, databases and any other technological data storing equipment or methods, must be constantly upgraded or maintained to prevent data rot and equipment failures.…

    • 506 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Data independence: The network model is better than the hierarchical model in the isolating the programs from the complex physical details. This ensures that the changes in the data characteristics do not require changes storage in the application programs.…

    • 487 Words
    • 2 Pages
    Good Essays
  • Better Essays

    Dbms (Obms & Oracle 91)

    • 4599 Words
    • 19 Pages

    As shown in the figure, in a file-based system, different programs in the same application may be interacting with different private data files. There is no system enforcing any standardized control on the organization and structure of these data files.…

    • 4599 Words
    • 19 Pages
    Better Essays
  • Satisfactory Essays

    Laudon Mis 6ce Ch06

    • 12334 Words
    • 59 Pages

    3) Program-data dependence refers to the coupling of data stored in files and software programs that use this data such that changes in programs require changes to the data.…

    • 12334 Words
    • 59 Pages
    Satisfactory Essays
  • Satisfactory Essays

    To create a system that can record all the data for Ah Chai Mini Cinema.…

    • 377 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Osnotes

    • 18736 Words
    • 75 Pages

    SYLLABUS CS1253 – OPERATING SYSTEMS UNIT I PROCESSES AND THREADS Introduction to operating systems – Review of computer organization – Operating system structures – System calls – System programs – System structure – Virtual machines – Processes – Process concept – Process scheduling – Operations on processes – Cooperating processes – Inter process communication – Communication in client – Server systems – Case study – IPC in linux – Threads – Multi-threading models – Threading issues – Case study – Pthreads library. UNIT II PROCESS SCHEDULING AND SYNCHRONIZATION CPU scheduling – Scheduling criteria – Scheduling algorithms – Multiple – Processor scheduling – Real time scheduling – Algorithm evaluation – Case study – Process scheduling in Linux – Process synchronization – The criticalsection problem – Synchronization hardware – Semaphores – Classic problems of synchronization – Critical regions – Monitors – Deadlock – System model – Deadlock characterization – Methods for handling deadlocks – Deadlock prevention – Deadlock avoidance – Deadlock detection – Recovery from deadlock. UNIT III STORAGE MANAGEMENT Memory management – Background – Swapping – Contiguous memory allocation – Paging – Segmentation – Segmentation with paging – Virtual memory – Background – Demand paging – Process creation – Page replacement – Allocation of frames – Thrashing – Case study – Memory management in linux . UNIT IV FILE SYSTEMS File system interface – File concept – Access methods – Directory structure – Filesystem mounting – Protection – File system implementation – Directory implementation – Allocation methods – Free space management – Efficiency and performance – Recovery – Log-structured file systems – Case studies – File system in linux – File system in Windows XP. UNIT V I/O SYSTEMS I/O systems – I/O hardware – Application I/O…

    • 18736 Words
    • 75 Pages
    Powerful Essays