Database: organized collection of data (Managed by DBMS)
Database schema: description of the structure of the database
Database management system (DBMS) - software that manages creation, update, querying and administration of databases.
Database model: conceptual view (abstraction) of the database
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
Database systems
Steps
A
Step 1: User Step 2: Application software Step 3: Database management system Step 4: Actual database
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
The relational model
A
Data is conceptually stored in table representing relations
Tables have columns representing attributes and rows representing instances (records/tuples)
The relational model for database management is an approach to managing data using a structure and language consistent with first order predicate logic.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
Relational operations
A
Select: Choose rows
Project: Choose columns
Join: Assemble information from two or more tables (relations)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
SQL (Structured query language)
What is a SQL?
Difference between SQL and DBMS
A
What is a SQL? SQL is used to communicate with a database and it’s the standard language for relational database management.
Difference between SQL and DBMS We use the DBMS system along with SQL for querying data in the database. In SQL we can see the data we want by asking a query, while DBMS optimizes the query and shows us the data.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
Operations to manipulate tables (relations)
A
INSERT DELETE UPDATE SELECT
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
Object-oriented databases
A
Object oriented database is constructed by applying the object-oriented paradigm.
Each entity is stored as a persistent object, which could contain methods
DBMS maintains inter-object links/references
Matches the paradigm of object-oriented programming
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
Maintaining database integrity
A
Transaction: sequence of operations, which should all together either succeed or fail
Commit: the point at which a transaction is complete, confirmed and effectuated in the database
Roll-back: undo the operations of a transaction (instead of committing them) because of a transaction conflict.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
Data mining
Data warehouse
Strategies
A
Data mining: deals with discovering patterns in collections of data
Data warehouse: static database, which can be mined