Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit 1: Basic Data Processing Concepts #46

Open
cheatsheet1999 opened this issue Oct 3, 2021 · 0 comments
Open

Unit 1: Basic Data Processing Concepts #46

cheatsheet1999 opened this issue Oct 3, 2021 · 0 comments

Comments

@cheatsheet1999
Copy link
Owner

cheatsheet1999 commented Oct 3, 2021

Topic: Data Models

Levels of Abstraction

Screen Shot 2021-10-03 at 11 40 38 PM

Many views, single conceptual (logical) schema and physical schema.

  • Views describe how users see the data
  • Conceptual schema defines the logical structure
  • Physical schema describes the files and indexes used

Topic: Entity-Relationship Model (ER)

  • Phase 1: Requirement Analysis
  • Phase 2: Conceptual DB design
  • Phase 3: Logical DB design

ER Model is used at Conceptual DB design

ER model Basics

  • Entity: An entity is described using a set of attributes
  • Entity set: A collection of similar entities, e.g. All employees
    - Entity set has a key
    - Each attribute has a domain
  • Relationship: Association among 2 or more entities
  • Relationship Set: Collection of similar relationships

Key Constriants

Screen Shot 2021-10-04 at 11 43 24 AM

Each dept has AT MOST one manager, according to the Key constraint on Manages

Participation Constraints

  • Does every department have a manager?
    • if yes, this is a participation constraint: the participation of Departments in Manages is said to be total(vs. partial)

Thin line: Key participation
Bold Line: At least once, participation constraint, total participation
Bold Line with an arrow: Exactly once

Weak Entities

  • A weak entity can be identified uniquely only by considering the primary key of another (owner) entity.
    • Owner entity set and weak entity set must participate in a 1 : n relationship set. (One owner, many weak entities)
    • Weak entity set must have total participation in this identifying relationship set

Sum up

  • Conceptual design follows requirements analysis
    • Yields a high-level description of data to be stored

Knowledge Check: Introduction to Big Data and Data Processing Systems

  1. What kind of software should be used if one needs to store data online, make certain parts of it accessible by different user types, and searchable?
  • Word processing software
  • Spreadsheet software
  • [Correct] Database management software (Database management software is designed to implement all of these tasks)
  • Presentation software
kyxg added a commit to kyxg/FrontEndCollection that referenced this issue Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant