Database design for a farmers herd book.

Authors Avatar

Advanced VCE ICT


Contents

Task 1        

Introduction        

Explanation of databases and why they would be of use to this system        

What is a database?        

Data and information        

Databases on computer        

Relational Databases        

How a database will aid this system        

Task 2        

Explanation of the entities and attributes        

Logical data models        

Entity Relationship-diagram        

Task 3        

Explanation of normalisation        

Task 4        

User Documentation        

Deleting a record        

Adding a record        

Amending a record        

How to use a form        

Technical documentation        

Entering data into the database        

Creating the forms        

Creating the reports        

Creatingc a macro        

Creating the main menu        

Data Dictionary        

Output from queries and reports        

Database Structure        

Acceptable data        

Task 5        

Testing of the Database        

Time Management        


Task 1

Introduction

In this unit I have chosen to do my database on a herd book.  The reason that I chose a herd book is because I have a lot of interest in cattle and in the farm that I work on my father’s farm.  I think that from the paper work end of farming it would be much better if a small computerised system was introduced it would save me and my father a lot of time.  I was talking to my father about making a database system and explained to him what a database system is and how a database would save him a lot of time and a lot less usage of paper work and he would benefit from using a database system.  

Explanation of databases and why they would be of use to this system

What is a database?

 A database is a collection of data of related data held in an organised way.  A database is used to store large amounts of data so that the user can obtain the information needed when required and in an easy to understand form.

Data and information

One piece of data becomes meaningful other data has to be available.  The data has to be processed in this case calculations have to be made to provide information.

Databases on computer

Computer databases store unprocessed information.  A good example would be a class with test results; it would have the maximum possible marks and the pass mark.  Putting either a “pass” or a “fail” mark next to it, could then further this.

This type of presentation is called a report.  A report is any output, which is produced from the data held electronically in the computer system.  Figure 1. 1 will help you understand this process;


Relational Databases

Most database you will come across are called “relational database”.  The data in these databases is held in a table.

Each of the rows in a table is called a record and the items in the columns are called fields.

In these relational databases there will be an assortment of tables – one for each entity type; i.e. there could be a table for patients, suppliers and one for products.  I also have to define the not only the relationships between tables but also the relationship between products and suppliers and patients will be defined.  All of these table can then be linked together to form the relational database.

How a database will aid this system

The system that is currently in use is very outdated as they are using filing cabinets that are not only hard to navigate, but aren’t very space efficient.  I feel that the advantage and disadvantages of a new system would be best described in a table;


Task 2

Explanation of the entities and attributes

Entities

An entity is a thing or object of importance about which data must be captured. All things aren't entities — only those about which information should be captured.

Information about an entity is captured in the form of attributes and/or relationships. If something is a candidate for being an entity and it has no attributes or relationships, it isn't an entity.

Database entities appear in a data model as a box with a title. The title is the name of the entity.

.

Entities are limited to the following five types:

1 – Person - Person entities are limited to humans. A person may be a single individual or a group.

2 – Organisation - Organisation entities are limited to those with an established organisational structure.

 
3 – GPE. (A Geographical-Political Entity) - GPE entities are politically defined geographical regions.


4 – Location - Location entities are limited to geographic entities with physical extent.


5 – Facility - Facility entities are human-made artefacts in the domains of architecture and civil engineering


Attributes

Some databases use a specific list of subject terms called controlled vocabulary to organise their contents by subject. In order to retrieve relevant information, the user must be aware of this special terminology.

These databases may have their own thesaurus, which lists the specific subject terms used.

The Library of Congress Subject Headings is an example of a controlled vocabulary. It is used to assign the subject headings in TROPICAT.

MEDLINE and other health databases use the controlled vocabulary of MSH (Medical Subject Headings). 

Most databases allow you to search two ways:

  • by subject - using controlled vocabulary

  • by keyword - using words that you choose

There are advantages and disadvantages to each method.

Join now!

I will draw up a table that will help you understand the entity types;

Cattle

Transfers

Farmer

Calfing

Logical data models

I am now going to take a look at the different entities and attributes and show all of the different relationships and hopefully eliminate the different many to many relationships.

Logical data modelling is a graphic-intensive technique that results in a data model representing the definition, characteristics, and relationships of data in a business, technical, or conceptual environment. Its purpose is ...

This is a preview of the whole essay