Logical Data Modeling - Data Structure

1 - About

A data structure is a single data instance that:

Data Type vs Structure:
All complex data type have at minimal a structure whereas primary data type have no structure. The two may be used as synonym but they are not.
Bad programmers worry about the code. Good programmers worry about data structures and their relationships.
Linus Torvalds

3 - Primitive

All physical data structures are implemented with three basic type primitives:

A type showing a structure (created from this primitive type) is called a complex type

In computer science, a data structure is a particular way of organizing data in a computer so that it can be used efficiently.

4 - Schema

Every data has a structure that is expressed through a schema

5 - Example

Every data structure represents a logical model element such as:

or any corresponding set (entity set, relationship set)

5.1 - Relation

A relation (table) is a logical data structure composed:

  • of row (entity)
  • and columns (attributes) and column where each rows must have the same number of columns.

that may be physically represented by:

  • an array of columns
  • or an array of rows

A matrix is also a rows and columns structure.

5.2 - Nodes and edges

A graph is a logical data structure composed of:

  • node (entity)
  • and edges (relation)

that are represented as set: more … see Graph - Data Structure (Physical Representation)

Data Science
Data Analysis
Data Science
Linear Algebra Mathematics

Powered by ComboStrap