Database Systems Flashcards
Flat file database
Flat file database consists of a single table and contains files, records, fields and characters. Simple to create, easy to use, and inexpensive. Increased data redundancy and inconsistency
Relational database
Relational database is comprised of multiple entities, contains attributes and relationships. Reduced data redundancy, consistency, shared data centralised security. Takes time to set up.
Primary key
A primary key is a field that is unique to any given record.
Foreign key
A foreign key is any field in table which is the primary key in another table
Databases
Databases are a persistent and organised store of data.
Database benefits
Makes processing more efficient. Reduces storage requirements by avoiding redundancy. Allows different users to only see relevant data.
Database Management System
A manipulation language to change and access data. Integrity to ensure efficiency and structure is not compromised. An interface for other programs to access the data.
Entity Relationship Modelling
Entity relationship modelling entails taking a real world situation and representing it using an entity relationship diagram. There are 3 types of relationships: 1 to 1, 1 to many or many to 1 and many to many.
Indexing
An index is a data structure used to shorten the length of times it takes to search a database.
Database Views
A database view allows a number of tables and records to be restricted so that only certain users can see certain sets of data.
Data dictionary
Describes the structure and attributes of data to be used within a database.