Introduction to Database systems

Slides:



Advertisements
Similar presentations
Chapter 3 Database Management
Advertisements

CSCI 260 Database Applications Chapter 1 – Getting Started.
CSCI 150 Database Applications Chapter 1 – Getting Started.
1 Introduction The Database Environment. 2 Web Links Google General Database Search Database News Access Forums Google Database Books O’Reilly Books Oracle.
Getting Started (Excerpts) Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
A Guide to SQL, Seventh Edition. Objectives Understand the concepts and terminology associated with relational databases Create and run SQL commands in.
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
M1G Introduction to Database Development 1. Databases and Database Design.
Attribute databases. GIS Definition Diagram Output Query Results.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Chapter 4: Organizing and Manipulating the Data in Databases
5.1 © 2007 by Prentice Hall 5 Chapter Foundations of Business Intelligence: Databases and Information Management.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2012 (September 5, 2012)
 Introduction Introduction  Purpose of Database SystemsPurpose of Database Systems  Levels of Abstraction Levels of Abstraction  Instances and Schemas.
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
Database Technical Session By: Prof. Adarsh Patel.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
5 5 Data types Logical/Boolean Has only two alternatives: Yes or no, on or off true or false Text/Alphanumeric Refers to all letters and numbers and other.
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 2: Basic Concepts.
Dimu' Rumpak © 2009 by Prentice Hall 1 Getting Started Didimus Rumpak, M.Si. Database Concepts Chapter 1 1.
1 A Guide to SQL Chapter 2. 2 Introduction Mid-1970s: SQL developed under the name SEQUEL at IBM by San Jose research facilities to be the data manipulation.
Getting Started Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Foundations of Business Intelligence: Databases and Information Management.
Introduction to Databases Three File Processing Systems DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 1-2.
Chapter 10 Database Management. Data and Information How are data and information related? p Fig Next processing data stored on disk Step.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
5/12/  It is a repository where organizations keep their data.  Every org maintains data about its business, its employees, and other relevant.
The purpose of a CPU is to process data Custom written software is created for a user to meet exact purpose Off the shelf software is developed by a software.
Management Information Systems by Prof. Park Kyung-Hye Chapter 7 (8th Week) Databases and Data Warehouses 07.
Fundamental of Database Systems
Introduction to Microsoft Access
INTRODUCTION TO DATABASES (MICROSOFT ACCESS)
Introduction To DBMS.
Lesson 10 Databases.
Chapter 1 Introduction.
Chapter 5 Introduction to SQL.
Introduction to Database
Introduction to Database
Building A Web-based University Archive
Database Management  .
Database Basics An Overview.
Database Management System (DBMS)
What is a Database and Why Use One?
Database Processing: David M. Kroenke’s Chapter One: Introduction
Big Data The huge amount of data being collected and stored about individuals, items, and activities and to the process of drawing useful information from.
Basic Concepts in Data Management
What is Database? A database is a collection of data with defined structure and purpose. Data can easily be accessed, managed, and updated. Data can be.
Chapter 1 Database Systems
Database Processing: David M. Kroenke’s Chapter One: Introduction
BTM 382 Database Management Chapter 1: Database systems
What Are Databases? Organized by Dr. Farrokh Alemi PhD
Chapter 1: The Database Environment
Structured Query Language
Intro to Relational Databases
Chapter 10 ADO.
Chapter 1: The Database Environment
The Database Environment
Introduction to Databases & SQL
Spreadsheets, Modelling & Databases
Working With Databases
Database Management Systems
DATABASES WHAT IS A DATABASE?
Getting Started Chapter One DATABASE CONCEPTS, 5th Edition
DATABASE TECHNOLOGIES
Chapter 3 Database Management
Getting Started Chapter One DATABASE CONCEPTS, 4th Edition
Review Test 3 CS 101 Spring 2019.
INTRODUCTION A Database system is basically a computer based record keeping system. The collection of data, usually referred to as the database, contains.
Database management systems
Presentation transcript:

Introduction to Database systems Week 2

What is a database? A base of data, collected in some sort of a file system Flat-file Text file Comma Seperated (CSV) XML - formats Code files Books Advanced filecollections Spreadsheet DBMS filesystems

Textbased command system What is a DBMS? Database management system Textbased command system - Ability to provide advanced interaction of data - Manages users - Manages access - Manages rules - Manages events - Security And a lot more Database manager UI Service setup UI Advanced reporting UI Programs Services File formats Event management Linking services Broadcasting Proprietary system of storing data

The landscape of databases Vendor Major DBMS Minor DBMS Microsoft SQL server Access / SQL server express (free) Oracle OracleDB ? IBM DB2 MySQL (oracle) MySQL (free?) MySQL (free) Free versions usually have limitations built in! There are other DB-systems and vendors out there!

What is data? A piece of information, which cannot hold more than one meaning Examples: Name Age Street City economic numbers

What is data? Redundancy Inconsistency - Concurrency issues Name Postalnr City Jens 7100 Vejle Lotte Hanne 6000 Kolding Børge Name Postalnr City Jens 6000 Vejle 7100 Hanne 6200 Aabenraa Børge 6400 Sønderborg - Error prone - Time waste - Concurrency issues

Exercise Can redundancy be a good thing? Is there any form of data where its a good thing to have redundant but concurrent databases? Sure they hold same versions of data!

What is Metadata? Examples Maximum length Text No text Between values Data that describes the properties and expectations towards data Examples Maximum length Text No text Between values Must be filled

Exercise Name Age Birtday Address Possible metadata ?

Types of database usage (academic) Single user / desktop Desktop programs Online and nonline games Multiuser Services x programs at any time Online games Centralised vs. Distributed Operational / production database Economic data DB for industrial production Banking databases Historical database Old data kept for warehouse purposes Data warehouse Statistical collections Strategic data

A bit about ORM´s Object relation management Problem! Creating code to handle getting data to and from a database is cumberson and timeconsuming Solutions! Automation via metadata-mapping More or less automation of CRUD operations Create Read Update Delete

Elements of a database Data Typical valuetypes of data (name may vary) Text – variable length of characters Integer – a number with no , or . separation (whole number) Decimal – a number with room for , or . separation

Elements of a database Table Column Column / domain xyz Row / Tuple Field / datafield Data in field Table A set of data from a row together = record

Elements of a database File Physical file (server) The actual bunch of 0 and 1 on the harddrive Virtual file (server / app) A file that only exist in the RAM Dataset (app) A virtual file consisting of tables Table (server / app) A collection of rows/records of data

Elements of a database server A server can mean different things Physical machine You can touch this Virtual machine OS instances living in RAM Software Instances of programs living in RAM