# IntroductionToDB Concepts NCV CS IT (1)

> IntroductionToDB Concepts NCV CS IT (1), 73 pages. Read online or get the free PDF download.

- Page: https://www.hlayiso.com/library/introductiontodb-concepts-ncv-cs-it-1/58ba7398-458e-4860-88e2-08e1477bc7f5
- Updated: 2026-10-10
- Grade: Multiple grades
- Document type: Study guide
- Curriculum: TVET
- Pages: 73

Breadcrumbs: [Home](https://www.hlayiso.com/) › [Library](https://www.hlayiso.com/library) › [IntroductionToDB Concepts NCV CS IT (1)](https://www.hlayiso.com/library/introductiontodb-concepts-ncv-cs-it-1/58ba7398-458e-4860-88e2-08e1477bc7f5)

## About this document

Study guide, 73 pages. Read online or download the PDF.

Read it free online on the page above; download the PDF from there.

## Document text

Text extracted from the PDF. Layout, diagrams and tables may not survive extraction.

### Page 1

Introduction to
                          Database (DB)
                          Concepts for NCV
                          CS/IT Students &
                          Lecturers
                         Bertie Buitendag
                         Edited by Fotiene Avrakotos

              Downloaded from hlayiso.com
Open Rubric

### Page 2

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

Foreword

The following set of notes comprising of two lessons covers various SOs and LOs from the subjects
Computer Programming Levels 3 and 4 and Systems Analysis and Design Levels 3 and 4 as part of
the NCV Computer Programming and Information Technology programme.

There is a cross curricular overlap between some of the SOs and LOs prescribed as part of the
aforementioned subjects.

In some cases, the SO and LO are covered in full within the text and in other cases partially.

The intention of these notes is not to substitute any existing text and prescribed textbook but should
be regarded as additional supportive learning and teaching material.

The table below presents a summary of some of the partial SOs and LOs covered in these lessons.

It should also be noted that some of the content presented as part of these lessons are for further
enrichment and clarification and are not necessarily part of any of the required SOs and LOs for the
applicable subjects at hand,

 Systems Analysis and Design                              Computer Programming
 Level 3                                                  Level 3

 SO 1.1     Describe data processing and                  SO 5.1   Plan and design a database to provide a
            Information systems.                                   solution to a given problem

 LO 6.1.1   Define the term model.
 LO 6.1.2   Define the term modelling.

 SO 6.3     Demonstrate an understanding of the
            concept of data modelling.

 Systems Analysis and Design                              Computer Programming
 Level 4                                                  Level 4

 LO 4.2.8   Different techniques used for describing      SO 5.1   Design database access for a computer
            data structures are identified and                     application
            explained.
 LO 4.4.1   Different techniques used for describing
            data structures are identified and
            explained.
 LO 4.4.2   Analyse various source documents (or
            descriptions) towards the identification of
            entities, attributes and relationships
 LO 4.4.3   Differentiate between different types of
            relationships
            (Range: 1:1, 1:M, M:N)

                    Downloaded from hlayiso.com
                                                                                                      1

### Page 3

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

 LO 4.4.4    Differentiate between different types of
             entities Range (Strong Entity, Weak Entity
             and an Associate Entity (Bridging entity))
 LO 4.4.5    Demonstrate how M:N relationships are
             catered for in relational modelling and
             design
 LO 4.4.6    Differentiate between different types of
             keys and their purpose. (Range: Primary
             Keys, Super Key, Alternate key,
             Composite Key, Foreign Key)
 LO 4.4.7    Differentiate between the Chen and
             crows foot Notation
 LO 4.4.8    Construct an ERD as part of the analysis
             process or scenario indicating various
             keys, relationships, attributes as well as
             the possible cardinalities
 LO 4.4.9    Adapt (modify) an existing ERD to new
             specifications
 LO 4.4.10   Interpret and ERD
 LO 4.4.11   Demonstrate the concept of
             normalisation within the design of an ERD
             (Max 3rd Normal form)

I trust that this will be a valuable resource in your own study endeavours and development as a TVET
scholar.

The author

                     Downloaded from hlayiso.com
                                                                                               2

### Page 4

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

Contents
1.     LESSON: Introduction to Database (DB) concepts ................................................................................ 6
     1.1       Living a world driven by information ............................................................................................... 7
       1.1.1      Information systems and the organisation ................................................................................. 7
       1.1.2      Information systems ....................................................................................................................... 9
     1.2       Database organisation ................................................................................................................... 11
       1.2.1      Data .............................................................................................................................................. 11
       1.2.2      Information ................................................................................................................................... 12
       1.2.3      Field ............................................................................................................................................... 12
       1.2.4      Record .......................................................................................................................................... 13
       1.2.5      Table ............................................................................................................................................. 13
       1.2.6      Database ..................................................................................................................................... 14
     1.3       The information cycle ..................................................................................................................... 14
     1.4       Data organisation ........................................................................................................................... 15
       1.4.1      Elements of data organisation................................................................................................... 15
       1.4.2      Data warehouses and data marts ............................................................................................ 16
     1.5       Components of a DB system environment .................................................................................. 17
       1.5.1      Data .............................................................................................................................................. 17
       1.5.2      Users .............................................................................................................................................. 18
       1.5.3      Hardware...................................................................................................................................... 18
       1.5.4      Software........................................................................................................................................ 19
       1.5.5      Procedures ................................................................................................................................... 19
     1.6       The Database Administrator and other users as part of the DBMS operating environment . 20
       1.6.1      The Database Administrator (DBA) ........................................................................................... 20
       1.6.2      The functions of the DBA and his or her interaction with other IT staff members ................ 20
     1.7       Common DBMS functionality and advantages .......................................................................... 21
       1.7.1      General tasks of the DBMS ......................................................................................................... 21
       1.7.2      Accessing data in the DB for processing though the DBMS .................................................. 22
       1.7.3      How the DBMS facilitate access to a DB .................................................................................. 22
       1.7.4      Functions of DBMS ....................................................................................................................... 23
       1.7.5      Additional DBMS functions and benefits .................................................................................. 27
     1.8       Components of a DBMS ................................................................................................................. 28

                               Downloaded from hlayiso.com
                                                                                                                                                                 3

### Page 5

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

     1.9       Lesson Bibliography ......................................................................................................................... 30
2.     LESSON Relational DB Concepts and design principles ...................................................................... 31
     2.1       The relational DB .............................................................................................................................. 32
       2.1.1      Structures in a relational DB........................................................................................................ 32
       2.1.2      Relationships................................................................................................................................. 38
       2.1.3      How relational DB design help to eliminate data redundancy ............................................ 39
       2.1.4      The use, role and importance of keys in the relational DB environment ............................. 41
       2.1.5      The concept of referential integrity and relational DB design .............................................. 44
     2.2       Modelling a DB with ERDs ............................................................................................................... 46
       2.2.1      The concept of business rules to derive entities and relationships ........................................ 46
       2.2.2      Different types of relationships ................................................................................................... 50
       2.2.3      Constructing a basic ERD ........................................................................................................... 53
       2.2.4      Constructing a basic ERD from a source document .............................................................. 58
     2.3       Principles of good relational DB design ........................................................................................ 63
       2.3.1      Normalisation ............................................................................................................................... 64
     2.4       Other data models.......................................................................................................................... 69
       2.4.1      Object Oriented DB modelling and design ............................................................................. 70
       2.4.2      Multi-dimensional DB designs ..................................................................................................... 70
     2.5       Lesson Bibliography ......................................................................................................................... 72

                               Downloaded from hlayiso.com
                                                                                                                                                          4

### Page 6

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

                Downloaded from hlayiso.com
                                                                            5

### Page 7

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

1.        LESSON: Introduction to
          Database (DB) concepts

       CONTENT LINK

       Database concepts

       •Use of databases
       •Importance of databases

After completing this lesson, you should be able to:

   ✓   Define the term database
   ✓   Define the term database management software
   ✓   Describe the concept of a data hierarchy. (Range: Bits, bytes, fields, records, tables,
       databases, data warehouses, data marts)
   ✓   Describe the purpose of databases within the information cycle
   ✓   Describe common features that a database offer, in relation to the storage of data for
       processing
   ✓   Define the concept data integrity
   ✓   Describe the common components of a Database Management System
   ✓   Describe the common components of a database. Range: Tables, Queries, Views, Users
       including (User rights)
   ✓   Define the term transaction and describe how transactions effect the data that is stored
       and processed

                   Downloaded from hlayiso.com
                                                                                              6

### Page 8

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

1.1       Living a world driven by information

We live in a world driven by information and decisions that people
make are based on the information provided to them. Just think
about how easy it is to lookup your bank balance and to decide how
to pay a particular account using online or cell-phone banking.

Larger companies and organisations use data, which is collected in
various ways to make decisions and change the way that they
operate. If a retail company see that they have sold a big number of
a certain item, then they could decide to order more.
Companies utilise database (DB) applications (a form of information
systems and decision support systems) to help them achieve their
organisational goals.

1.1.1     Information systems and the organisation
Data need to be organised in specific ways to be useful and to
provide information for the user. When data is organised in a useful
way, it can be used to obtain lots of results.
One way of organising data is to plan, design and develop a
database so that data can be manipulated to provide the user with
meaningful results.
To be able to provide these results a program (database application
or information system) is needed to prepare results and reports
requested by the user.

Another definition: A DB can be described as a collection of data or
facts regarding a specific topic, e.g. details of a CD collection or
details concerning clients such as learner drivers. A database contains   Database: A DB is a collection of
tables of related facts or data (including resources or objects) that     electronically stored, integrated
                                                                          -that is, cross-referenced - data
allow us to use the database.                                             that can be retrieved and
We need to understand that DBs are used as part of an information         manipulated to produce
                                                                          information.
system.

Scenario – Quick Banana Driving School

                  Downloaded from hlayiso.com
                                                                                                       7

### Page 9

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

An example is a system
could be used by a driving
school to manage the
data of all potential
learners, driving instructors and driving instruction bookings.
Two figures of the driving school application appear below.

                Figure 1 Data management form - Instructors

                 Figure 2 Data management form - Learners

From the figures above we can see that the users of the system are
allowed to browse and manage the data of the driving instructors
(figure 1) and view the data of all the learner clients that the driving
school has (figure 2).
The system allows users to generate a report which shows which
learners' licence has expired, as shown in Figure 3.

                   Downloaded from hlayiso.com
                                                                             8

### Page 10

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

                         Figure 3 Example of an report

1.1.2     Information systems
An information system is a powerful business tool used for day-to-day
operations or to project important business decisions. This is done by
analysing data stored within a database.                                                     Information System: Software
An information system typically has the components presented in the                          that enables people to manage
                                                                                             and organise data. It helps to
next figure.                                                                                 answer questions and allow for
                                                                                             better decision making.
                 Data                                                                        Information systems comprise
                 • Raw unprocessed facts                                                     various components: Data,
                 • Example: List of clients                                                  Software Processes, People and
                                                                                             Communication Technology

                 Processes (Procedures)
                 • Organisational rules and tasks that govern the operations
                 • Example: How an order is processed

                 People
                 • Various users that are involved in with the system
                 • Examples: Managers, Users (Such as a cashier in a Point of Sale – POS
                   system

                 Software
                 • Various programs that work with the hardware and storage to process
                   the data
                 • Examples: POS (Point of Sale System), College Management System

                 Communication Technology (Network)
                 • Technologies that allow the system to communicate with other components
                   and other systems
                 • Example, internet, internal network, routers etc.

Figure 4 Components of an information system

                   Downloaded from hlayiso.com
                                                                                                                       9

### Page 11

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

The data in a database (to which an information system connects)
can be manipulated to enable the user to access and get the
information required.
A typical information system (such as the driving school application)
allows users to:
    • Insert new data (E.g. Adding the data of a new learner (client)
        to the driving school system)
    • Update data (E.g. Changing the date of a lesson booking)
    • Query data (E.g. Determining which instructors are available for
        a lesson)
    • Delete data (E.g. Removing a learner (client) from the
        database)

                 Downloaded from hlayiso.com
                                                                            10

### Page 12

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

1.2        Database organisation
In order to fully understand the value of a database we must first know
how a database is constructed and organised. A database typically
comprises the following components:

1.2.1     Data
In all walks of life, data has a value of its own. Each organisation has
certain resources that gets utilised to meet certain goals and
objectives. Data are raw facts that do not mean anything by itself, but
with the proper manipulation it is a valuable business asset. For          Data: Raw, unprocessed facts.
example, your name is a piece of data, but it does not hold any value      These raw facts are processed
                                                                           into a useful and meaningful
by itself. If you combine your name and surname, you are able to           form to produce information.
identify yourself. Combining those two pieces of data gives more
purpose than separating the two pieces.

                                   Instructor
                                                             Data
              Data       Name      Surname        DOB

                         Barbara     Smith      1971/10/02
                                                                           Data is the Latin word that
                          David      King       1965/02/15                 means facts and is in plural
                         Michael     Young      1984/05/25
                                                                           form. The singular form of data is
                                                                           datum which translate to fact.
                                                                           In the Afrikaans language to ask
                         Figure 5 Examples of data
                                                                           the date is to ask a fact. Today’s
                                                                           date is a fact.
Data is a resource since its essential to the operation of an              “Wat is vandag se datum?”
organisation, and should follow to the following points.

   ✓    Shareable: The same data should be available to multiple
        people.
   ✓    Transportable: Data should be able to be transferred from one
        point to another so that decisions can be made. E.g. faxing
        through documentation.
   ✓    Secure: Data should be protected from destruction and
        unauthorised users.
   ✓    Accurate: Data should be reliable and precise. E.g. data held
        by airlines has to be precise in order to facilitate correct
        bookings, flight-schedules, etc.
   ✓    Timely: Data should be current and up to date, because:
            o Strategic planners need historical data to plan.
            o Operational managers need current, “real time" data
                 to make decisions.
   ✓    Relevant: Data should be appropriate in order to make
        decisions.

                     Downloaded from hlayiso.com
                                                                                                         11

### Page 13

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

1.2.2     Information
Information is the strategic combination and manipulation of data so
that it has value to the person that owns the data. Thus, information is
data in a processed form.
The financial statements of a company are an example of information.
The content of the financial statements is derived from the data
gathered throughout the year. This then forms a report which may be            Data are converted into
used to determine the financial stance of the company.                         information, by using a
                                                                               computer program, for
Figure 6 shows an example of a report of all the learners whose                example. Using knowledge,
licenses expired from the driving school. The process forms part of a          information is then interpreted
                                                                               to reach a conclusion.
software application presented to the user and is one of the
functionalities of the system.

                                                          Report

                                                                               The Information Cycle relates to
                                                                               the constant storing (capturing)
                                                                               of data and the processing
          Data                     Process               Information           thereof to useful information
          • Learner client         • Determine           • List of learners    which a company could use to
            data                     who’s licenses        who’s licenses      make informed decisions
                                     expired               expired

                             Figure 6 Examples of data

The capacity to use this information is called knowledge. People use
information to help them make decisions.
For example, the driving school may see which learners’ licenses will
expire soon, then arrange for extra lessons and their driving licence
test.

1.2.3     Field
Within a database system, a piece of data is referred to as a field. For
example, the “DOB” is called a field and stores the birthdate data
which may look like, “1971/10/02”. In other words, a piece of data is          A field, is also referred to as a
labelled so that we can identify it. This type of identification is called a   column in DB terms.
                                                                               Each field represents a single
field. See Figure 7.                                                           attribute of an entity.

                       Downloaded from hlayiso.com
                                                                                                               12

### Page 14

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

                                      Instructor
                                                                      Field

                   Name               Surname            DOB

                   Barbara              Smith         1971/10/02

                    David                King         1965/02/15

                   Michael              Young         1984/05/25

                              Figure 7 Example of a field

1.2.4     Record
A record is the combination of more than one field. By carefully
combining certain fields, it is possible to describe a record with the
data available. For example, the record contains the “Name”,                  A Record, is also referred to as a
“Surname”, and “DOB” of a driving instructor and this can easily be           row in DB terms.
                                                                              Each row represents the
described and identified using the data.                                      attributes which describes a
                                                                              unique entity.

                                      Instructor

                   Name               Surname           DOB
                                                                     Record

                   Barbara              Smith         1971/10/02

                    David               King          1965/02/15

                   Michael              Young         1984/05/25

                            Figure 8 Example of a record

1.2.5     Table
A table is a collection of related records. Several instructors’ pieces of
data arranged into records is grouped together to form a table.
                                                                     Table
                                                                              A record, is also referred to as a
                                                                              row in DB terms.
                                         Instructor                           Each row represents several
                                                                              entities of data to describe a
                            Name          Surname         DOB                 unique entity.

                            Barbara         Smith       1971/10/02

                             David             King     1965/02/15

                            Michael        Young        1984/05/25

                             Figure 9 Example of a table

                   Downloaded from hlayiso.com
                                                                                                             13

### Page 15

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

1.2.6     Database
A database consists of two or more tables that can refer to one
another. These tables do not both contain the same data, but only a
link or a relationship between one another.                                A DB is a collection of related
                                                                           tables.

                                    Database

                                                                           The recognised
                     Instructors
                                                                           shape used to
                                                 Bookings                  represent a DB is a
                                                                           cylinder. This could
                                                                           be due to the fact that drum or
                                                                           cylinder storage was used in the
                             LearnerClients
                                                                           early days of computing.

                  Figure 10 Example of a DB with 3 tables

1.3       The information cycle
The information processing cycle speaks about how information and
transaction processing systems allow users to capture data. This data is
transformed into useful information. The data stored could be used in
other processes to generate the required output.

                                      Input

                                   Information
                   Storage          Processing     Process
                                       Cycle

                                     Output

                  Figure 11 Information processing cycle

                  Downloaded from hlayiso.com
                                                                                                         14

### Page 16

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

1.4         Data organisation
We have seen how a database is organised, but we could also
present the organisation of this data in a hierarchy of layers.

1.4.1      Elements of data organisation
The following elements represents the components of the data
hierarchy:
    ✓ Bit: A bit - or binary digit - is either a 1 (''on") or a 0 (''off") in data
        representation.
    ✓ Byte: A collection of bits, operated and grouped as a unit.
        (Usually in groups of eight.)
    ✓ Character: A character (sometimes called a byte) is a single
        character and a single position of computer storage. It can
        consist of a letter, number or special character. Examples are
        A, 1, or *. A simple character is made up of bits (usually eight).
    ✓ Field: A field is a single item consisting of one or more logically
        related characters. (Related means that it has a common
        purpose). Examples include your last name, your enrolment
        number or your ID number. A field is sometimes called an
        attribute or a data element. A field may be Numeric or
        Alphanumeric. A Numeric field is composed of numbers. It is
        used for mathematical calculations. An Alphanumeric field
        made up of numbers, letters and other symbols (such as
        punctuation marks). Alphanumeric fields cannot be used for
        mathematical calculations.
    ✓ Record: A record is a collection of related fields. Examples
        inlcude all information on your report card or student card. A
        record is sometimes called an entity, the name of any object
        or concept about which an organisation wishes to store data.
    ✓ Table: A table is a collection of related records. Examples
        inlcude all the information of the learner clients of a driving
        school or students in a school.
    ✓ Database (DB): A DB is a collection of electronically stored,
        integrated (that means cross-referenced) data that can be
        retrieved and manipulated to produce information. Examples
        include the database used by a school of all the students,
        teachers, registrations, subjects offered and classes

                     Downloaded from hlayiso.com
                                                                                     15

### Page 17

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

                                                                                               • Collection of related tables
                                                   Database
                                                                                          • Collection of related rows. Each
                                                  Table (File)                              row represents an entity

  Smaller in size
                                                                                   • Described by various fields (each field
                        IN02   David   King     Record (Entity)                      represents an attribute of an entity)

                                                                                                                                 Larger in size
                               Name                                           • Attribute with a particular datatype. Fields

                               David                  Field                     are normally made up of different characters

                                                                        • Represented by a collection of bytes. A character

                               v                   Character              could be numeric, alphabetic or a special symbols

                                                                   • Collection of bits

                          01110110                    Byte
                                                              • Bit – Binary digit, smallest amount of information that can be

                                1                       Bit     stored, either a 0 or 1

                    Figure 12 Simple data hierarchy database and its components

1.4.2                 Data warehouses and data marts
Organisations use a data warehouse (DW) to store and manipulate
data from several sources (which could also be other databases) in a
central warehouse (which could be a database) to support the                                                  A DB is typically designed and
storage of very large amounts of data. One example could be the                                               implemented to perform Online
                                                                                                              Transactional Processing (OLTP),
transaction and call history of all customers in different countries of a                                     and a DW for Online Analytical
particular cell phone network provider.                                                                       Processing. (OLAP). OLAP
                                                                                                              applications rely on the
                                                                                                              application of datamining
The cell phone provider company can then perform various data                                                 techniques.
analysis procedures to pick up patterns and trends for example on the
                                                                                                              A DB is normally managed by a
use of the network and usage trends of customers. This may lead to                                            Relational Database
for example the role-out of new products and services to their                                                Management System (RDBMS)
                                                                                                              and are concerned with real-
customers. Big data is used.                                                                                  time data. A DW on the other
Performing analysis on large amounts of data to discover new patterns                                         hand mainly works with historical
                                                                                                              data,
and trends is called data mining.
Where a DW is a large collection of data and data sources, a data
mart (DM) is a simple form of a DW, which stores less data and is more
localised. E.g. For a cell phone company this could be only the data
from a particular region. In the case of a large retail organisation, it
could be the data of only one store instead of all the stores of the
company.

                                 Downloaded from hlayiso.com
                                                                                                                                                  16

### Page 18

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

In order to populate a DW a process known as ETL (Extract Transform                                                ETL is used to migrate data from
                                                                                                                   one database to another, to
Load) is applied. ETL has three different functions that a database                                                form data marts and data
warehouse system utilises to process the data from various databases                                               warehouses and to convert
                                                                                                                   databases from one format or
and other sources into the DW. The transform process ensures that the                                              type to another. (Beal, 2017)
data read from the various sources conform to the design of the DW
repository for the loading process. The load process involves the writing
of the transformed data into the applicable DW repository.
The next figure presents the typical architecture of a DW in an                                                    Moving data from one
organisation.                                                                                                      database to another or form
                                                                                                                   one form of storage and format
                                                                                                                   to another is called migrating
                                                                                                                   the data.
                                   Opera-
                                 tional DB

 Company (Organisational) Data
                                                                           Data warehouse
                                 Customer
                                    DB
                                                                                                Data Access and
                                                                                                 Analysis tools:
                                                                         Metadata
                                                       ETL Process                              ▪   Queries
                                 Historical                                                     ▪   Reporting
                                    DB                                              Raw Data    ▪   OLAP
                                                                                                ▪   Data mining
                                                                         Historic
                                    Text                                  data
                                   based
                                    data
                                 (Flat files)

 External Data
                                  External
                                    Data                                Information directory

                                                       Figure 13 Typical architecture of a DW

1.5                                             Components of a DB system environment
There are five components in a database system environment which
makes up an information system, (also see 1.1.2) i.e.
   1. Data
   2. Users
   3. Hardware
   4. Software
   5. Procedures

1.5.1                                           Data
We are familiar with the concept of data as raw facts and that data is
the main resource in any information driven organisation. Data could
however be managed and stored in different ways, think of storing                                                  Data redundancy, the
data in text-files or in spreadsheets. The data contained therein could                                            unnecessary duplication and
                                                                                                                   storing of data which could
be useful to you as a person, but it is normally difficult to manage and                                           lead to problems such as data
share amongst many people.                                                                                         anomalies.

                                                       Downloaded from hlayiso.com
                                                                                                                                                17

### Page 19

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

Organisations choose to store their data in a DB. This approach differs
from other systems in two distinct ways, i.e. a DB is integrated and
shared. Integrated means that each application doesn't make use of
it 's own files, but all files are shared amongst applications. This partly
eliminates redundancy. Because of sharing, the same data can be
accessed by all the applications at the same time. This is known as
Concurrent sharing of data.

Due to concurrent sharing, it is easier for systems to integrate. While
one application enters data into a DB, another can access and
update it. For example, while one person deposits an x-amount into
your account, an application updates your balance. Simultaneously
you can withdraw a y-amount from your account, and another
application updates your balance. Your balance at the bank will thus
be current.

1.5.2     Users
The users of the system are the people that are involved with the day-
to-day operations of the system. The users access the data and
interact with the various user interfaces provided by the system to
facilitate the operations of the company or organisation that they
work with.

There are three different categories of users in a DB environment:

   ✓    End Users: Interact with the DB by running application
        programs

   ✓    Database Administrators (DBA's): DB Administrators have the
        final control over the DB by controlling access to the DB. They
        decide whether a certain piece of data should be duplicated
        or not, thus controlling data redundancy. Not only must the
        DBA have knowledge of the DB itself, but also of the entire
        organisation and its requirements.

   ✓    Programmers: Develop programs and applications that use
        the data stored in the DB.

1.5.3     Hardware
The hardware in a DB environment refers to all the physical
components, servers, network hardware which enable the DB to run
communicate and function.

                   Downloaded from hlayiso.com
                                                                              18

### Page 20

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

1.5.4                Software
DB software can be divided into 2 major categories:

1) DBMS - A Database Management System (DBMS) is a
comprehensive software tool (that allow users to create, maintain,
and manipulate a database to produce useful information).                                                   Some popular examles of DBMS
                                                                                                            soltware include. MSAccess,
                                                                                                            Oracle, DB2, mySQL, Microsoft
The DBMS software represents the interface between the user and the                                         SQL Server.

computer's operating system and database.

                                            Group -
                                      Developers                         DBGroup
             User                     Programmers                        Administrator
                                                                         & Designer
                                                      SPECIALIST USERS

                                                                                     Database
             Group
                                                                                              Metadata

                                                      DBMS
 END USERS
                                                                                  Table

                          Information flows                                                         Table

                          & Data requests
                                                                                          Table

             User

             User

                                  Figure 14 DBMS and its users

2) APPLICATION SOFTWARE - applications and programs written by the
programmers for the end-users. Application software makes use of the
DBMS software to add, delete or modify data held in a DB.

1.5.5                Procedures
Procedures relate to the various operational instructions that manage
the DB and the design thereof. The various users that operate and use
the DBMS and the subsequent DB need instructions and guidelines on
how to effectively run the DBMS. Some examples could include
instructions on how to log in to the system, how to and when to
perform backups, how to change the structure of the DB and how and
what naming scheme is followed.

                          Downloaded from hlayiso.com
                                                                                                                                      19

### Page 21

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

1.6       The Database Administrator and other users as
          part of the DBMS operating environment

The database administrator (DBA) plays a key role in the management
and maintenance of the DBMS.

1.6.1     The Database Administrator (DBA)
The fact that the data is so big leads to the need of management and
control thereof. Hence, a need arises for what we call a Database
Administrator (DBA).                                                        CHOOSING AN IDEAL DBA
                                                                            • The function of the DBA is
For effective functioning of the DBMS, interaction with the various
                                                                              ultimately to control and
entities such as end-users, systems analysts and programmers need to          ensure smooth or
take place.                                                                   uninterrupted functioning of
                                                                              the DBMS applications.
Each entity has their individual responsibilities, so a co-ordinator is     • To achieve this goal, the DBA
required to oversee all these functions, and this is the role of the DBA.     should be able to negotiate
                                                                              with management as well as
                                                                              end-users, system analysts
Being part of management, he or she should:                                   and programmers.
                                                                            • The DBA's status should
                                                                              therefore be equivalent to
Be able to gain trust and confidence from the end-users                       that of management in
Know the functioning and intricate details of the organisation well.          order for the DBA to have
                                                                              the necessary credibility to
Be able to settle disputes and give effective solutions to negotiations       give orders and to have
between management and end-users.                                             them fulfilled effectively.

1.6.2     The functions of the DBA and his or her interaction with other IT
          staff members

The functions of the DBA
   ✓    Helps in the design of the DB                                       CHOOSING AN IDEAL DBA
   ✓    Selecting security control                                          • The function of the DBA is
                                                                              ultimately to control and
   ✓    Choosing ideal software and hardware                                  ensure smooth or
   ✓    Maintaining the various DB entities                                   uninterrupted functioning of
                                                                              the DBMS applications.
   ✓    Provide expert assistance                                           • To achieve this goal, the DBA
   ✓    Ensuring efficient functioning of the DB                              should be able to negotiate
                                                                              with management as well as
   ✓    Maintaining a balance - between end-users & management
                                                                              end-users, system analysts
                                                                              and programmers.

                  Downloaded from hlayiso.com
                                                                                                       20

### Page 22

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

                                                                                  •   The DBA's status should
Tools of the DBA                                                                      therefore be equivalent to
                                                                                      that of management in
Tools of the DBA would mainly include the DBMS itself, the data                       order for the DBA to have
dictionary and many other entities used for maintenance, design and                   the necessary credibility to
                                                                                      give orders and to have
data manipulation.
                                                                                      them fulfilled effectively.
These tools enable the DBA to develop logical and physical data
designs and structures.

The interaction of the DBA with the 'IT' staff
The DBA is a centralised figure who liaises both with management as
well as the IT staff.
The IT staff includes employees such as:
    ✓ Systems Analysts which ensure that the DBMS meets the
         organisation's daily requirements.
    ✓ Application Developers use standard programming languages
         and build systems.
    ✓ DB Designers are concerned with the technical aspects of the
         DB - designing structures to satisfy the organisation's needs.
    ✓ End-users are people who ultimately access the DB in the
         course of their daily work.

1.7        Common DBMS functionality and advantages

To create, gain access to and modify the database, the special
software known as the Database Management System (DBMS) is
required. A DBMS may be thought of as a layer of software for
accessing the database files. A (DBMS) is a collection of software that
allow users to create, maintain, and manipulate a database to
produce useful information. For example, if a user needs to access
data stored in a DB, it is done through the DBMS. Refer to Figure 14
(DBMS and its users) on page 16.

1.7.1     General tasks of the DBMS
A DMBS presents the following generic functions to its users:

   ✓    Allows users to set up their DB.
   ✓    Processes all data requests.
   ✓    Allows multiple users to access the same data stored in the DB.
   ✓    In the event of a system failure, it has backup and recovery
        facilities to return the DB to its original state prior to the failure.

                    Downloaded from hlayiso.com
                                                                                                                21

### Page 23

Introduction to Database (DB) Concepts for NCV CS/IT Students & Lecturers

1.7.2           Accessing data in the DB for processing though the DBMS
One of the main functions of a DBMS is to provide its users with a
mechanism to access and retrieve the data contained within the DB
that the DBMS manages. To accomplish this the DBMS provides a
query language. A query language is a language that allows users to
ask questions about or retrieve information from a database. (SQL is
an example of this.) This language may be used interactively to
retrieve information, or it may be embedded into a program written in
Java, C++, Python, Delphi, Cobol or C for example.

1.7.3           How the DBMS facilitate access to a DB

There is a relationship between the Operating System (OS) and the
DBMS. The DBMS relies and is normally based in an OS to provide
access and other management operations to the various files
(including the data files) required by the DBMS. The OS is also known as
the file-handling sub-system. The DBMS is not part of the OS, but
interfaces with it. The DBMS can be found between the OS
and the user programs. It provides a connection between the OS and
the various application or information system programs.

 End users                                                         Database

                                     Operating
                                                 DBMS
                  Application

                                      System
                  Programs

                                                                              SQL (Structured Query
                                                                              Language) is a standardised
                                                                              programming language used
  DBAs,                                                                       for managing relational
  Developers,                                                                 databases and performing
  Designers         DBMS                                                      various operations on the data
                  Interface                                                   in them. Initially created in the
                                                                              1970s, SQL is used by database
                  Figure 15 Relationship between the OS and DBMS              administrators (DBA), as well as
                                                                              by developers writing data
                                                                              integration scripts and data
                                                                              analysts looking to set up and
Accessing the DB                                                              run analytical queries. (Rouse,
                                                                              2017)

There are four steps involved when an application attempts to access
the DB.

                        Downloaded from hlayiso.com
                                                                                                            22

Text truncated here. Open the document page to read the rest.

## Related documents

- [English FAL Level 2 Module 6](https://www.hlayiso.com/library/english-fal-level-2-module-6/a9affac2-de6a-4ad4-9a1b-a5ca107fea50) — English · Guide · Eng
- [English FAL Level 2 Module 7](https://www.hlayiso.com/library/english-fal-level-2-module-7/c005ed93-13d6-4ec8-828e-8e3afa7a0f55) — English · Guide · Eng
- [L2 Agribusiness Module 2 Gaining Access to Markets](https://www.hlayiso.com/library/l2-agribusiness-module-2-gaining-access-to-markets/ff38bb0c-5b7a-451e-8710-369e449af90f) — Agribusiness · Guide
- [L2 Agribusiness Module 2 Importance of Marketing](https://www.hlayiso.com/library/l2-agribusiness-module-2-importance-of-marketing/53222d71-ecec-4499-a435-17b8e32c8a73) — Agribusiness · Guide
- [L2 Animal Production Diseases in Poultry](https://www.hlayiso.com/library/l2-animal-production-diseases-in-poultry/6bc62a68-443e-4522-9c00-9b134e83ad59) — Animal Production · Guide
- [L2 Art Science of Teaching Topic 2](https://www.hlayiso.com/library/l2-art-science-of-teaching-topic-2/35a1d8bc-92d1-4957-952b-5fc9691606a6) — Art Science · Guide

## More from this subject

- [L2 Art Science of Teaching Topic 2 Learning Contexts Diversity](https://www.hlayiso.com/library/l2-art-science-of-teaching-topic-2-learning-contexts-diversity/df07e648-cff0-4c1b-a2c1-db4a256ee2a6) — Guide
- [L2 Business Practice Module 10](https://www.hlayiso.com/library/l2-business-practice-module-10/9eb9c38e-b2c3-40a8-acae-fd5c92c0c4a3) — Guide
- [L2 Business Practice Module 13](https://www.hlayiso.com/library/l2-business-practice-module-13/47440b67-bb9b-44b1-9e2f-3f2aafc36c15) — Guide
- [L2 Business Practice Module 15](https://www.hlayiso.com/library/l2-business-practice-module-15/93848695-8e49-499f-9cc7-887a35747fe3) — Guide
- [L2 Business Practice Module 6](https://www.hlayiso.com/library/l2-business-practice-module-6/f863d9c6-6db4-4a08-906c-97c48b43d1f6) — Guide
- [L2 Business Practice Sickness in the workplace](https://www.hlayiso.com/library/l2-business-practice-sickness-in-the-workplace/d4cd2a6c-d147-42eb-abcc-ba31c3dc936d) — Guide

## Collection

- [TVET PLP](https://www.hlayiso.com/tvet/plp)

---

Hlayiso: free CAPS and IEB past papers, memos, notes and study guides for South African learners. When citing, link the page URL above, not a PDF or /api/ URL.
