Data Models Flashcards

1
Q

What is Data modeling

A

the process of creating a specific
data model for a determined problem domain.

A representation, usually graphic, of a
complex “real-world” data structure.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

4 importance of Data modelling and explain.

A
  • Communication tools: allows interaction between designers, programmers and end users
  • enhanced organizational understanding: gain new insights into how different components of a business interconnect
  • Diverse views on data: allows different level of business to view data differently based on their roles

-holistic view: gives a blueprint of the model.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Attribute

A

A characteristic of an
entity or object.

(column)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

relationship

A

Association between entities

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

types of relationships

A

One to one ( 1:1)
One to Many (1:M)
Many to Many (M:N)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define business rules?

A

Brief, precise and unambiguous description of a policy, procedure or principle within a specific organization.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does business rules help with?

A

It helps establish entities, attributes and constraints for our model.

It allows the designer to understand the scope of the data and procedures of the business to create and appropriate model.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

in business rules, nouns and verbs can translate into which data model components?

A

Noun - entity
Verb - relationship

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are Network models

A

Models which represent complex data through a collection of records in 1:M relationships.

  • improve database performance
  • more effective than Hierarchical models.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Who introduced the relational model

A

E.F. Codd in 1970

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Desc the relational model

A

Relation -> Table
Contains tuples (rows) and attributes (cols).

-great idea but huge demand computationally.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

pros of relational model

A

Performs the same functions as the Network and
Hierarchical Models, but makes it easier to implement and understnand

  • Hides complexity from user.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what are the 3 things that a SQL - RDBMS consists of?

A
  • End-user interface
  • Collection of tables stored in the database
  • SQL engine (handles all the queries)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Crows foot notation

A

graphical representation of entity relationship diagrams (ERDs)

lines, unlike chen which got diamond shape between entities.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Explain the Object- Oriented Model.

A
  • Both data and its relationships are contained in single structures (objects)
  • objects with similar characteristics are grouped in classes.
  • typically depicted in Unified Modeling language (UML) class diagrams
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

explain class hierarchy and inheritance in the OO model.

A
  • classes are organized in a class hierarchy. objects within the class hierarchy can inherit the attributes and methods of those above it.
17
Q

Extended relational data model

A

Allows many of OO features such as objects. Better suited for business applications.

18
Q

Characteristics of Big Data databases.

A

Volume: amount of data

Velocity: speed which data grows and is processed

Variety: The different data formats which data is collected in.

19
Q

Relational approach problem with big data challenges.

A

Doesnt always match the needs of big data.

e.g. Its not always possible to fit unstructured data into tables.

20
Q

Solutions to Big data related problems

A
  • Apache Hadoop
  • Hortonworks Data Platform
  • Vertica Advanced Analytics Platform
  • NoSQL
21
Q

Apache Hadoop

A
  • large-scale data processing,
  • unstructured or semi-structured data.
  • ideal when cost-effective storage and batch processing are key considerations.
22
Q

Hortonworks Data Platform

A
  • managing big data within the Apache Hadoop ecosystem.
  • governance, security, and operations alongside Hadoop.
23
Q

Vertica Advanced Analytics Platform

A
  • Excels in high-performance,
  • advanced analytics on massive volumes of data.
  • It’s optimal for use cases requiring fast query performance on large, structured data sets.
24
Q

NoSQL:

A
  • scenarios requiring high scalability and flexibility,
  • particularly when working with unstructured or rapidly changing data.
  • Ideal for web applications, real-time analytics, and handling large volumes of data with varying
    structures.
25
Q

4 Degrees of Data Abstraction

A
  • External
  • Conceptual
  • Internal
  • Physical
26
Q

External model

A

View from the end user.
(ERD)

27
Q

Advantages of the External model

A
  • easy to identify specific date requited for business
  • helps ensure security constraints in the database design.
28
Q

Conceptual Model

A

represents a global view of the entire database. Integrates all the external views.

29
Q

Advantages of the Conceptual Model

A

Provides a bird’s eye view of the data.

  • it is also independent of both the software and hardware.
30
Q

Internal model

A

The representation of the database as seen by the DBMS.
- expressed using SQL
- Dependent on software but not on the hardware.

  • also has logical independence which means a change in the internal model doesnt affect the conceptual model.
31
Q

Physical view

A

requires the definition of both the physical storage and the physical access methods to retrieve data.

  • software and hardware dependent
  • physical independence: changes in the physical model does not affect the internal.