Chapter 7 Flashcards
Database fundamentals
What is data persistence?
Data is permanently available.
A user is granted permission to access a database. What is this an example of?
Data definition
What type of database stores images?
Non relational database (dbms)
Is document database is what type of database?
Non relational database
Pictures with meta data are classified ad what type of data?
Semi-structured data
What are csv files used for?
Reporting
What dimension is a flat file?
2 dimensions
What would drive the need to use Database?
Multiple users Scalability Speed Holding variety of data Number of records Data persistence
What happens when a user tries to write to a flat file?
The file is locked
How can speed be increased when using databases?
By placing the database and their log file on SSD rather than HDD
True or false
With databases all changes are saved after each cell of data is edited
True
Is Relational database an example of structured data?
Yes
How does RDBMS ensure data integrity?
No duplicated rows
Null values used when there is no data
Column values must not be repeating
What does a null value mean?
The absence of data
What is a schema?
Rules and structure of a database.
What are the 2 types of schema in relational database?
Logical schema
Physical schema
Which should exist first? The logical schema or the physical schema?
Logical schema
What does the schema define?
Tables Forms Reports Queries data type allowed Macro and module
What is a row in a table?
Record
What are the columns in a table called?
Fields
What makes a table in a database relational?
It must be a primary key
Who places constraints on fields?
The database administrator
What do macro and modules do for databases?
Let you add functionalities to a database, for example a set time to run a report
Which database stores values as blobs?
Key/value database