Databases Flashcards
What is a database?
A persistent organised store of related data on a computer system.
In terms of databases, what is meant by the term persistent/
It is stored in secondary storage so that it can be accessed later.
Why is a database organised?
So that data can be easily processed/queried.
What are databases handled by?
Software called a DBMS.
What does DBMS stand for?
Database management system.
What must a database be able to do?
Create,Retrieve(Read), Update, Delete.
What two things does the DBMS do to ensure data integrity?
Validation and Validation.
What happens if data is entered incorrectly?
Integrity is lost.
What is validation?
Check g to see if data is correct when it is first input.
What validation could be used for an email address?
Checking for an @ symbol and a .co.uk/.com etc at the end.
What is validation handled by?
The DBMS.
What does the DBMS provide? (6)
Access to the database through different applications.
Control of the data. - security features to limit what people can do.
Backup and the ability to restore from backup in the event of a disaster.
Force referential integrity.
It controls concurrency.
Supports different query languages.
What is referential integrity?
A concept of relational databases which states that the table relationships must always be consistent.
What is concurrency?
Locking the database so only one user can edit the data.
What is a table also known as?
An entity.