Databases Flashcards
Entity (definition)
Category of objects of interest to an organisation, about which data is to be recorded
Attribute (definition)
One piece of data collected about the entities in a database
Entity descriptor (definition)
An entity and all the attributes related to it
Entity descriptor for a book (example)
Book (BOOK_ID, title, author, date of publishing)
Entity identifier (definition)
The attribute responsible for uniquely identifying an entity, usually an ID number
Primary key (definition)
Unique identifier of an entity in a relational database
Secondary key (definition)
Set of attributes that can uniquely identify rows in a table (but not the primary key)
Flat file database (definition)
Singular file, can only specify attributes for one entity at a time
Record (definition)
Single item in a database
Relational Database (definition)
Data is held in tables (relations) and the tables are linked by common attributes
Explain indexing (2)
Index is kept of the position of each record according to its primary key Indexes may be created for secondary keys for any attribute commonly used as search criterion (e.g. title of a book). Searching this way is faster than searching sequentially
Secondary/alternate key (definition)
A set of attributes other than the primary key which can be used to uniquely identify attributes
Entity relationship (definition)
The correlation between two entities
Entity relationship modelling (definition)
Producing a data model for describing data or information aspects of a business domain or its process requirements, in an abstract way
Foreign key (definition)
Column of attributes linking two tables together (i.e. attributes appearing in more than one table)