From c61776abf3f8a000988f93a6bf20dc17d1045659 Mon Sep 17 00:00:00 2001 From: Jet Hughes Date: Thu, 22 Sep 2022 09:54:01 +1200 Subject: [PATCH] vault backup: 2022-09-22 09:54:01 --- content/notes/13-databases-1.md | 47 +++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 content/notes/13-databases-1.md diff --git a/content/notes/13-databases-1.md b/content/notes/13-databases-1.md new file mode 100644 index 000000000..10041106b --- /dev/null +++ b/content/notes/13-databases-1.md @@ -0,0 +1,47 @@ +--- +title: "13-databases-1" +aliases: +tags: +- cosc203 +- lecture +--- + +# What is a database +- an integrated collection of data +- implicit properties + - represents some aspect of th real world, called miniworld + - is a coherent collection of data with inherent meaning + - is designed built and populated with data for a specific purpose + +## DBMS +- a software system designed to store, manage, and facilitate access to the database +- Oracle, SQL erver, MySQL, MonogDB + +## Application program +- a program that provides access to the dtabase by sending queries and requests for data to the DBMS + +![data base system diagram|400](https://i.imgur.com/3xzWCw6.png) + +# This course +- modelling and design of DBs +- programming (SQL + appliation development) +- DBMS implementation + +specifiically *relational databases* +- ER modelling +- datbase normalisation +- SQL + +# + + +# Data modelling +first step in designing database +- create a data model for a specific problem domain + +a model is Defn: a collection of concepts that can be used to describe the structure of a database such as data types, relationsips, and contraints that should hold for the data + +schema Defn: a collection of metadata that describes the logical view of a database + +noSQL databases are either schema-free or have relaxed schemas +