DB2 Flashcards
What is a Database?
A database is an organized collection of structured information, or data, typically stored electronically in a computer system
What is a Database usually controlled by?
A DBMS
What is a DBMS?
A DBMS serves as an interface between the database and its end users or programs, allowing users to retrieve, update, and manage how the information is organized and optimized
Noem 7 DBMSystems
MySQL
Microsoft Access
Microsoft SQL Server
Oracle Database
Neo4J
MangoDB
PostgreSQL
What is a Database Software?
Database software is used to create, edit, and maintain database files and records, enabling easier file and record creation, data entry, data editing, updating, and reporting. The software also handles data storage, backup and reporting, multi-access control, and security.
What are the 5 types of databases?
Relational dB, Object-oriented Db, Data Warehouses, NOSQL Db, Graph DB
What is a RDBMS?
A relational database is a type of database that stores and provides access to data points that are related to one another.
What are the benefits of RDBMS?
Data Consistency
Commitment and atomicity
What are the ACID properties?
Atomicity defines all the elements that make up a complete database transaction.
Consistency defines the rules for maintaining data points in a correct state after a transaction.
Isolation keeps the effect of a transaction invisible to others until it is committed, to avoid confusion.
Durability ensures that data changes become permanent once the transaction is committed.
What are Data Models?
Conceptual tools to describe data.
Entity
An entity can be a real-world object, that can be easily identifiable. For example, in a school database: students, teachers, classes, and courses offered can be considered as entities.
Attributes
Things that describe the Entity. ( student name, age, birthday …)
Relationship
The association among entities is called a relationship. For example, an employee works at a department, a student enrolls in a course.
Cardinality
Defines the numerical attributes of the relationship between two entities or entity sets. The three main cardinal relationships are one-to-one, one-to-many, and many-many.
ER-Diagram
An Entity Relationship (ER) Diagram is a type of flowchart that illustrates how “entities” such as people, objects or concepts relate to each other within a system.