Exchanging Data- S4 Flashcards
Compression
reduce the storage space of files on disk.
Why is compressing important?
Compression is Important when transmitting data as Internet Service Providers often have limits. Images on websites need to be compressed to enable the web site to load quickly to reduce buffering.
Lossy compression
non-essential information is removed from the original file.
Lossless compression
retains all information required to replicate the original file exactly.
Entity
is a category of object, person, event or thing of interest to an organisation about which data is to be recorded. (E.g Employee, Actor, Product).
Attribute
a property or characteristic of an entity.
Flat file database
consists of a single file (one entity).
Relational database
different entities in a system may be linked in some way, and the two entities are said to be related.
Primary Key
An entity’s unique identifier, normally a numeric ID.
Secondary Key
An index so that something can be quickly searched up. It would be quicker to search a secondary key like a name than a primary key ID.
Index
so that a record can be quickly located in the database an index is maintained so that it will give the position of each record. Primary keys and other things that are often searched (secondary keys) are indexed.
Foreign Key
the attribute that links the two entities/table (attribute that is common in both tables, can be more than one.)
Composite Primary Key
A primary key which consists of more than one attribute. (used when there is a many to many relationship between entities.)
Referral integrity
states relationships must be consistent, so when a primary key field changes so does the foreign key that has the link. And ensuring a primary key that is responsible for the link is not deleted
Normalisation
a process used to come up with the best possible design for a relational database.