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
  • Good Essays

    * A DBMS reduces the amount of data duplication by ensuring that a physical piece of data is available to all programs authorized to have access to it, whereas data written by one program in a file-processing system may not be readable by another program.…

    • 579 Words
    • 3 Pages
    Good 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

    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
  • 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

    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
  • 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
  • Powerful Essays

    About Hris

    • 5386 Words
    • 22 Pages

    Traditional file systems are cumbersome in that they do not allow users to easily edit files or send information to others. Paper files often cannot be edited directly, forcing users to make new copies to update old files. To distribute data on paper files, users must mail, fax or scan the data.…

    • 5386 Words
    • 22 Pages
    Powerful 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
  • 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

    In large multi-user systems the same file or record may need to be accessed by multiple users simultaneously. Handling this in file-based systems is difficult.…

    • 4599 Words
    • 19 Pages
    Better Essays
  • Good Essays

    It is quite useful of this type structuring system while the files are non-sequential that can be depicted as data storage spaces and which are subdivided into the compartments that is named buckets. Data then issued to the buckets relying on the main value computed by hash effect. It is quite important at this pint well computed hash effect as it would allow crowding. The hashed files map datas to HDD places not by applying an index, yet via an algorithm alteration that is advantageous in decreasing the dimensional consumptions made by the index as well as and time wasting that are caused by extra access and binary search. The OS holds a key to save, recall and map the datas. Thus it is optimization completed on the process to eliminate space overheads by applying means such as partitioning the key by a initial digital to obtain the file 's unique addresses.…

    • 708 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

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

    • 377 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Data models support data and computer systems by providing the definition and format of data. If this is done consistently across systems then compatibility of data can be achieved. If the same data structures are used to store and access data then different applications can share data. The results of this are indicated above. However, systems and interfaces often cost more than they should, to build, operate, and maintain. They may also constrain the business rather than support it. Data models for different systems are arbitrarily different. The result of this is that complex interfaces are required between systems that share data. These interfaces can account for between 25-70% of the cost of current…

    • 1017 Words
    • 5 Pages
    Better 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