Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

Latest commit

 

History

History
60 lines (42 loc) · 1.2 KB

notes.md

File metadata and controls

60 lines (42 loc) · 1.2 KB

DBMS

  • interface between data and software
  • foloows ACID (Atomicity,Consistency, Isolation, Durability)

Types of database

  • Hierachical (tree-like structure)
  • Network
  • Relational
  • Object Oriented

Database Architecture

  • 1-Tier Architecture - database on your machine for instance
  • 2 Tier Architecture - presentaion layer runs on client, data stored on server, end user is not exposed directly
  • 3 Tier Architecture - client-server(application layer)-database

system development life cycle

  • problem identifcation
  • analysis
  • logical ddesign
  • physical design mapping
  • implemetation
  • testing and maintaince

File Based System

Database

Database management system

Database system

Three level / Schema Architecture

External - what user see

Conceptual - logical model

Internal - physical model

ERD - Entity relationship Diagram

  • Entities - Rectangle
  • Attributes - Ellipse
  • Relationship - Diamond

Relational Constrains

  • Domain Constrains
  • Key Constrains
  • Referential Integrity Constrains

operation in Relational Model

  • Insert
  • Delete
  • Modify
  • Select

Strong Vs Weak Entity