Modern Industrial Automation Software Design

Chapter 6.1 - Database Systems

6.1 DATABASE SYSTEMS

A database can be thought of as a collection of associated files, and their connection style is determined by the database model used [1]. Two representative database models used in the early database systems are hierarchical model and network model. In the hierarchical model, files are associated with one another based on the parent/child structure. In the network model, files are connected based on the relationships between owners and members. After the 1970s, the relational database model was proposed and it soon became the most commonly used database model in practical applications. In the relational database model, files are related to each other through a common field, which provides high flexibility to the database model. Although in recent years certain emerging database models were proposed, the most widely used database model nowadays is still the relational database system. Its representative products include SQL Server, DB2, Oracle, Sybase, Informix, and so on.

  • User interface: In the flat files, the file storage format and record structure should be known prior to accessing the data. In the database system, these details are taken care of by the database system so that users do not need to know about the exact file storage format and record structure in database operations. The user only needs to provide the nonprocedural SQL clauses, which state what kind of data the user wants to query. The database operations are conducted through the Database Management System (DBMS).
  • Concurrency control: Flat file does not support concurrency operations, which tremendously restricts the effective utilization of system resources. Database systems offer the concurrency mechanism. Therefore, multiple users can access the database simultaneously.
  • Data integrity constraints: As the data in the database are persistent and shared, the data correctness is of great importance. For instance, in the industrial automation software systems, nearly all of the monitored variables are physical parameters so they may have different units. In the database system, their data types and units can be explicitly defined and managed in a unified manner to avoid the possible errors.

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Machine Control Software
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.