Chapters 1-3 Flashcards
What are the Limitations of File-based Systems
- Separated and Isolated Data
- Duplication of Data
- Data Dependency
What is a DBMS
Database Management System, a software package/system that manages and organizes databases
What is a Data Record
Collection of information organized in a table
What is a Data Element
Specifies the type of data in a column
What is a Datatype
Attribute that specifies the held object’s datatype
What are the Main Characteristics of the Database Approach
- Self Describing
- Insulation Between Programs and Data
- Data Abstraction
- Support Multiple Views of the Data
- Sharing of Data and Multi-user Transaction
How is a Database System Self-describing
A database is structured in such a way that it contains the database and metadata of data.
What is Metadata?
Data that provides information about other data
What is a Database
Collection of structured inter-related data
What are the Advantages of a DBMS
- Controls Data Redundancy
- Data Sharing
- Easy Maintenance
- Reduce Time
- Multiple User Interface
What are the Disadvantages of DBMS
- Cost of Hardware and Software
- Complexity
- Higher Impact of Failure
What are the Types of Databases
- Centralized Database
- Distributed Database
- Relational Database
- NoSQL Database
- Cloud Database
- Object-oriented Database
- Hierarchical Database
- Network Database
- Personal Database
- Operational Database
- Enterprise Database
What are the Two Approaches in Maintaining Databases
- Traditional File Based Approach
- Centralized DBMS Approach
What is a File-based System
- Early Attempt using COBOL
- Data is stored in flat files
Who are the Actors in a Database?
- Database Administrator: monitoring, maintaining, authorizing
- Database Designers: Define content, structure, and constraints of database
- End Users: people whose jobs require database access
- System Analysts: Determine end-user requirements
- Application Programmers: implement specifications
- DBMS System Designers and Implementers: design and implement software packages
- Tool Developers: Design and implement tools
- Operators and Maintenance Personnel: Responsible for the actual running and maintenance of hardware and software
Advantages of Using the DBMS Approach
- Controlling Redundancy
- Reduced Application Development Time
- Flexibility to Change Data Structures
- Availability of Current Information
- Economies of Scale
When not to Use a DBMS
- Simple Data storage
- Low Data Volume
- Limited Resources
- Simple Read-only Applications
- Cost Considerations
- Complexity of Implementation
What is Data
Collection of raw facts
What is a RDBMS
A relational database management system stores data in a tabular form (relations)
What are the Parts of a Table
- Columns: Attributes
- Rows: Records
What is a Primary Key
Unique identifier that makes each row unique
What is a Foreign Key
Used to create a relationship between two tables
What are Relationships
Data in different tables linked using primary and foreign keys
What are the 3 common types of relationships?
- One-to-One: one record to one record
- One-to-Many: one record to many records
- Many-to-Many: multiple records in one table to multiple others in another table