Software Development  ·  Level 6
Computerised Database Systems Management

Chapter 1: Design database system

📚 7 Topics
⚑ What you will be able to do

By the end of this chapter, you will be able to:

  • Identify different database design approaches by following workplace procedures.
  • Choose the right database design tools based on what users need.
  • Determine database structures accurately according to given specifications.
  • Develop a database design architecture that meets user requirements.
  • Perform database normalization correctly to fit application needs.
  • Create clear database model diagrams that satisfy both user and application requirements.
  • Generate a complete and professional database design report following workplace procedures.

These skills will help you build strong, efficient database systems that make managing information easier and more reliable in any workplace.

Compiled by: John Okoth

1.1 Identification of Database design approaches

A database design approach is the strategy a designer follows to move from a business problem to a finished database design: where to start, in what order to work and who does the work. Choosing the approach before anything is drawn matters because it decides how requirements are gathered, how the tables are discovered and how much rework is needed later. Example: a courier company that wants to track parcels may begin from the questions its managers ask, such as "where is this parcel now?", or from the paper waybill its clerks already fill in. Those two starting points lead to two different approaches.

Four approaches are identified in this topic. Two describe the direction of the work (top-down and bottom-up) and two describe how the work is organised across people and sites (centralised and decentralised). A real project often combines one from each pair, for example a centralised team that works top-down.

1.1.1 Design approaches

A design approach answers three practical questions: what is the starting point, who does the design and how the pieces are put together. The tools, models, normalisation rules and diagrams met in the rest of this chapter are the same whichever approach is chosen; only the order in which they are used changes.

Approach Starting point Direction of work Who designs
Top-down Business processes and the whole organisation General to detailed: entities first, attributes later Analysts with managers and users
Bottom-up Existing forms, reports and data items Detailed to general: attributes first, tables later Developers working from documents
Centralised One set of requirements for the whole organisation One design produced in one place One designer or one team
Decentralised Separate requirements for each department or branch Local designs produced separately, then merged Several teams

1.1.1.1 Top – down design method

The top-down method starts with a broad view of the organisation and refines it step by step. The designer first identifies the main things the business keeps information about (entities), then the relationships between them, and only afterwards fills in the attributes, keys and finally the tables. It follows the path from conceptual design, to logical design, to physical design.

Example: for a car hire company the designer starts from the business sentence "customers book cars for a period". That gives the entities Customer, Car and Booking and the relationships between them, long before anyone decides on column names or data types.

Steps in the top-down method:

  1. Define the purpose, scope and users of the system by interviewing managers and staff.
  2. List the business rules and the questions the database must answer.
  3. Identify the entities and the relationships between them.
  4. Draw the conceptual model as an entity relationship diagram.
  5. Add the attributes of each entity and choose a key for each.
  6. Convert the diagram into tables, which is the logical design.
  7. Normalise the tables, then choose data types, indexes and storage, which is the physical design.

Strengths and limits of the method:

  • Complete view: The whole organisation is considered, so no major entity is forgotten.
  • Early agreement: Managers can check a simple diagram before any technical work begins.
  • Less rework: Tables come from a reviewed model, so large changes late in the project are rare.
  • Needs good analysis: It depends on analysts who understand the business well enough to name the entities correctly.
  • Slow to show results: Users see no working screens until the later stages.

1.1.1.2 Bottom – up design method

The bottom-up method starts with the smallest pieces of data, the attributes, and builds upwards. The designer collects every data item from existing forms, reports, spreadsheets and files, finds out which items depend on which, and groups items that belong together into tables. The grouping is done with the normalisation rules, and the tables are then linked with keys.

Example: a hardware shop keeps its stock in a spreadsheet with columns such as item code, item name, supplier name, supplier phone, buying price and quantity. A bottom-up designer studies these columns and notices that supplier name and supplier phone depend on the supplier, not on the item, so a separate Supplier table is formed.

Steps in the bottom-up method:

  1. Collect every form, report, register and spreadsheet used in the current system.
  2. List all the data items (attributes) that appear in them and remove duplicates.
  3. Record which items determine other items, for example item code determines item name.
  4. Group items with the same determinant into candidate tables.
  5. Choose a primary key for each table and link the tables with foreign keys.
  6. Check that every form and report can be produced from the new tables.
  7. Review the result with users and correct missing or misplaced attributes.

Strengths and limits of the method:

  • Quick start: Real documents give concrete data from the first day.
  • Suits small systems: It works well when a paper or spreadsheet system is being replaced by a database.
  • Accurate attributes: Every attribute comes from something users already record.
  • Risk of gaps: Entities that are not visible on any current form can be missed.
  • Risk of confusion: In a large organisation the number of data items becomes too big to group by hand without an overall plan.

1.1.1.3 Centralised design

In centralised design one designer or one design team collects the requirements of the whole organisation and produces a single database design. All decisions about names, data types, keys and rules are taken in one place, so the result is consistent from the start.

Example: a small tailoring business with one shop and four staff asks one developer to design its database. The developer interviews the owner, the cutters and the person who handles payments, and produces one design covering customers, orders, measurements and payments.

Features of centralised design:

  • One authority: A single person or team owns the design and settles disagreements.
  • Common standards: One naming convention and one set of data types is used throughout.
  • Single conceptual schema: There is nothing to merge, so there are no conflicts between designs.
  • Easy control: Changes to the design are approved in one place and recorded in one design report.
  • Limits: The designer may not understand every department, the work can become a bottleneck, and the method is slow when the organisation is large.

1.1.1.4 Decentralised design

In decentralised design each department, branch or project team designs the part of the database it understands best. The local designs are then compared and merged into one global design. This merging is called view integration.

Example: a courier company has a branch office team that designs tables for parcel intake, a depot team that designs tables for sorting and loading, and a delivery team that designs tables for riders and routes. All three designs contain a Parcel entity, and the integration step decides what the single Parcel table will contain.

Steps in decentralised design:

  1. Divide the organisation into areas and give each area to a team.
  2. Each team gathers its own requirements and designs a local schema.
  3. Compare the local schemas and list the conflicts between them.
  4. Resolve naming conflicts: synonyms (two names for the same thing, such as Client and Customer) and homonyms (one name for two different things, such as Route meaning a delivery road in one team and a network route in another).
  5. Resolve type and structure conflicts, for example one team storing a phone number as text and another as a number.
  6. Merge the local schemas into one global conceptual schema and remove duplicated entities and attributes.
  7. Check the global schema with every team and approve it.

Advantages and limits:

  • Local knowledge: Each team designs the part it knows best.
  • Parallel work: Teams work at the same time, which shortens the project.
  • Integration effort: Merging needs careful comparison and can be difficult if teams used different names and types.
  • Risk of duplication: The same fact may be stored in several local designs until integration removes it.
  • Not the same as distributed storage: Decentralised design describes how people share the design work. Where the data is stored is a different question, answered by the Distributed DBMS architecture.

Choosing between the approaches

The approaches are chosen to fit the project, not the other way round. A small organisation with one site and a short timetable can work centralised, and either top-down or bottom-up depending on whether documents already exist. A large organisation with several branches may work decentralised, and needs a top-down overall plan so that the local designs can be merged. Many designers also mix directions: they model the core entities top-down, then check the model bottom-up by confirming that every existing form and report can be produced from it.

The rest of this chapter
🔒

Create a free account to open more of this chapter.

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒1.2 Identification of database design tools

Database design tools are the paper aids and the software used to capture requirements, draw the design, check it and record it. A good tool lets the designer change a table or relationship in one place and see the effect on the whole design, produces a diagra…

🔒1.3 Database structures

A database structure is the way data is organised, stored and linked inside a database, from the smallest item to the whole collection. A data model is the set of concepts and rules used to describe that structure, and a schema is the actual description of one…

🔒1.4 Database design architecture

Database design architecture is the overall structure that decides how a database is described, how the database management system (DBMS) is organised into layers and components, and how data, users and servers are arranged across machines and networks. A good…

🔒1.5 Database normalisation

Normalisation is the process of organising the tables of a relational database so that each fact is stored in one place only. It works by examining which columns depend on which, and splitting a table whenever a column depends on something other than the key o…

🔒1.6 Entity Relationship diagrams

An entity relationship diagram (ERD) is a picture of the data a system must store: the entities, their attributes and the relationships between them. It is drawn during conceptual design, before any table is created, so that designers and users can agree on wh…

🔒1.7 Database design report

A database design report is the written record of the design: what the database must do, how it is structured and why the designer chose that structure. It is the document that the client signs off before development starts, that developers build from and that…

Chapter Practical Activities

Practical 1: Establish Database Requirements for a School Management System

Software Development · Level 6
Computerised Database Systems Management
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Gather and document detailed database requirements for a school management system including entities, attributes, and relationships with at least six entities.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
Relational Database Management System (MySQL, PostgreSQL, MS SQL Server etc.)
Data Modelling Tool (Lucidchart, EdrawMax, Draw.io etc.)
Notebook and Pen for notes
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Relational Database Management System (MySQL, PostgreSQL, MS SQL Server etc.)1 Pc per Candidate
2Data Modelling Tool (Lucidchart, EdrawMax, Draw.io etc.)1 Pc per Candidate
3Notebook and Pen for notes1 Pc per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Requirements Gathering
Candidate uses appropriate database requirements gathering techniques (interviews, questionnaires, observation)
(Award 1 mark for each technique correctly applied)
3
Candidate identifies and lists at least six relevant entities for the school management system
(Award 1 mark for each correctly identified entity, max 4)
4
Candidate specifies relevant attributes for each identified entity
(Award 1 mark for each entity with at least 2 appropriate attributes)
6
Candidate defines appropriate relationships between entities with cardinalities
(Award 1 mark for each correctly defined relationship with cardinality, max 4)
4
Candidate documents primary keys for each entity
(Award 1 mark for each entity with correctly specified primary key, max 3)
3
Candidate presents the gathered requirements clearly and logically using the data modelling tool
(Award 3 marks for clear, well-structured documentation and diagrams)
3
Sub-Total23
PRODUCT CHECKLIST
Complete and clear database requirements documentation including entities, attributes, primary keys, and relationships with cardinalities
(Award 7 marks for completeness, clarity, and accuracy of the documented requirements)
7
Sub-Total7
GRAND TOTAL30
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)

Practical 2: Explain DBMS Fundamentals and Key Concepts

Software Development · Level 6
Computerised Database Systems Management
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Prepare a documented explanation of DBMS fundamentals including definitions, functions, and key concepts in a report of minimum 3 pages.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
Relational Database Management System (MySQL 8.0 or PostgreSQL 13)integer
Data Modelling Tool (Draw.io or Lucidchart)varchar
Rewritable Compact Disc (CD-RW)date/time
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Relational Database Management System (MySQL 8.0 or PostgreSQL 13)1 Instance per Candidate
2Data Modelling Tool (Draw.io or Lucidchart)1 License per Candidate
3Rewritable Compact Disc (CD-RW)1 Pc per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Explain DBMS Fundamentals
Candidate defines DBMS and explains its purpose
(Award 1 mark for each correct aspect: definition, purpose, example)
3
Candidate correctly defines key terms: database, DBMS, schema, instance
(Award 1 mark for each term correctly defined)
4
Candidate explains at least four main functions of a DBMS
(Award 1 mark for each function clearly explained: storage, retrieval, security, backup)
4
Candidate demonstrates use of the RDBMS tool to create a sample database schema with at least two tables
(Award marks for correct creation of schema, tables, attributes, and primary keys)
5
Candidate uses Data Modelling Tool to diagrammatically represent the database schema
(Award marks for clear, correct ER diagram with entities, attributes, and relationships)
3
Sub-Total19
TASK 2: Document and Present Findings
Candidate prepares a clear, concise written report explaining DBMS fundamentals
(Award marks for clarity, completeness, and correct terminology)
5
Candidate saves the report and ER diagram on the CD-RW and demonstrates retrieval
(Award marks for correct saving, naming, and retrieval of files)
3
Candidate answers assessor's questions on DBMS concepts confidently
(Award marks for accurate, clear verbal responses)
3
Sub-Total11
PRODUCT CHECKLIST
Written report is well structured, minimum 3 pages, with correct DBMS fundamentals and terminology
(Award marks for content accuracy, structure, and language)
5
Database schema created in RDBMS with at least two tables and primary keys correctly defined
(Award marks for correct schema creation and attribute specification)
5
ER diagram correctly drawn showing entities, attributes, and relationships
(Award marks for completeness and clarity)
5
Report and ER diagram saved and retrieved successfully from CD-RW
(Award marks for file management and demonstration)
4
Sub-Total19
GRAND TOTAL49
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)
🔒

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒Identify and Classify Real-World Database ApplicationsPractical 3
🔒Classification and Explanation of Database Management System TypesPractical 4
🔒Describe and explain the major components of a DBMS environmentPractical 5
🔒Illustrate and explain the three levels of database architecturePractical 6
🔒Comparison of Database Models with Sample ImplementationsPractical 7
🔒Design a Conceptual Database Schema Using ERD for a School Management SystemPractical 8
🔒Physical database design implementation for a school management systemPractical 9
🔒Design a Hierarchical Database Model Diagram for a Library Management SystemPractical 10
🔒Model a network database diagram for a library management systemPractical 11
🔒Design an Object-Oriented Database Model for a Library SystemPractical 12
🔒Design a dimensional database model for sales data warehousePractical 13
Am I competent?

At the start of this chapter we promised you would be able to:

  • Identify different database design approaches by following workplace procedures.
  • Choose the right database design tools based on what users need.
  • Determine database structures accurately according to given specifications.
  • Develop a database design architecture that meets user requirements.
  • Perform database normalization correctly to fit application needs.
  • Create clear database model diagrams that satisfy both user and application requirements.
  • Generate a complete and professional database design report following workplace procedures.

Tick each one you can genuinely do.

So, are you there yet?

You're competent when you can confidently do 50% or more of what this chapter promised.

Sign in to record how you're doing.