Pervasive logo

Prev Pervasive Products and Services Next

Relational Model


The relational database model represents data to the user in the form of tables. Each table is related to other tables in the database in some way. This relationship enables the end user to search the database for particular pieces of information that may not co-exist in the same table.

The relational database model is currently very popular. This is because of the level of abstraction that it provides from the actual data. End users do not see, nor do they need to know about, the file-level operations that the database engine performs. Instead, an end user deals with a conceptual layer that makes the data appear to have a certain logical organization.

The basic structures of a relational database (as defined by the relational model developed by E.F. Codd) are entities and attributes:

In the relational model shown below, the end user perceives and manipulates data as tables, consisting of rows and columns. A database usually consists of several tables, with all information in a given table being related in some way. For example, in the sample database, there is a Class table. Each row in the table contains columns of information relevant to each class, such as class ID, name, section, maximum size, and so on.

 
Table 3-1 Relational Database Table


ID

Name

Section
Max Size
Start Date
Start Time
Finish Time
Building Name
Room Number

Faculty ID
91
ENG 305
001
50
06/06/95
02:00 PM
04:50 PM
Bartold Building
210
110-65-25-96

When searching for information in a relational database, the results are generated as a new table, using information from existing tables. This new table is called a derived table, or view, which in turn can itself be used to generate another, different view.

For more information about Pervasive.SQL and relational databases, refer to Chapter 5, Product Architecture.


Prev
Database Models
Contents
Up
Next
Transactional Model