1 Geog 357: Data models and DBMS. Geographic Decision Making.

Slides:



Advertisements
Similar presentations
Introduction to Databases
Advertisements

Lecture-7/ T. Nouf Almujally
1 Introduction to Database Systems CSE444 Instructor: Scott Vandenberg University of Washington Winter 2000.
Database Management Systems 1 Ramakrishnan & Gehrke Introduction to Database Systems Chapter 1 Instructor: Mirsad Hadzikadic.
Chapter 1 Instructor: Murali Mani Database Management Systems.
Introduction to Databases
Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
Introduction to Databases
1 Pertemuan 01 Pengantar tentang database Matakuliah: >/ > Tahun: > Versi: >
Introduction to Databases
1 Minggu 1, Pertemuan 1 Introduction to Database Matakuliah: T0206-Sistem Basisdata Tahun: 2005 Versi: 1.0/0.0.
1 Introduction to Database Systems Ref. Ramakrishnan & Gehrke Chapter 1.
Introduction to Databases Transparencies
1 CENG 302 Introduction to Database Management Systems Nihan Kesim Çiçekli URL:
Chapter 1 INTRODUCTION TO DATABASE.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Database Management Systems Chapter 1 Instructor: Ethan Jackson
Chapter 1 Introduction to Databases
Introduction and Conceptual Modeling
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Introduction to Databases
Introduction to Database Systems 1.  Assignments – 3 – 9%  Marked Lab – 5 – 10% + 2% (Bonus)  Marked Quiz – 3 – 6%  Mid term exams – 2 – (30%) 15%
IST Databases and DBMSs Todd S. Bacastow January 2005.
Introduction to Database
DBMS By Narinder Singh Computer Sc. Deptt. Topics What is DBMS What is DBMS File System Approach: its limitations File System Approach: its limitations.
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Sistem Basis Data (DATABASE) Siauw Yohanes Darmawan
Chapter 1 Introduction to Databases Pearson Education ©
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 1 DATABASE SYSTEMS (Cont’d) Instructor Ms. Arwa Binsaleh.
1 CSBP430 – Database Systems Chapter 1: Databases and Database Users Mamoun Awad College of Information Technology United Arab Emirates University
 DATABASE DATABASE  DATABASE ENVIRONMENT DATABASE ENVIRONMENT  WHY STUDY DATABASE WHY STUDY DATABASE  DBMS & ITS FUNCTIONS DBMS & ITS FUNCTIONS 
Introduction: Databases and Database Users
Database Management Systems 1 Ramakrishnan & Gehrke Introduction to Database Systems Chpt 1 Instructor: Xintao Wu.
Database Management Systems 1 Ramakrishnan & Gehrke Introduction to Database Systems Chpt 1 Instructor: Weichao Wang.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
Database Management Systems
GUS: 0262 Fundamentals of GIS Lecture Presentation 3: Relational Data Model Jeremy Mennis Department of Geography and Urban Studies Temple University.
Instructor: Dema Alorini Database Fundamentals IS 422 Section: 7|1.
HND Agri DBMS Introduction MH Mohamed Nafas 1. Why DBMS? 2  Suppose we need to develop a Information system.  How do we  store the data? (use file.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
Chapter 1 Introduction to Databases © Pearson Education Limited 1995, 2005.
Introduction to Database AIT632 Chapter 1 Sungchul Hong.
1-1 Chapter 1 Databases and Database Users 1.1 Introduction 1.2 An Example 1.3 Characteristics of the Database Approach 1.4 Actors on the Scene 1.5 Workers.
1 Introduction to Databases. 2 Examples of Database Applications u Purchases from the supermarket u Purchases using your credit card u Booking a holiday.
1 Chapter 1 Introduction to Databases Transparencies.
GIS Data Models GEOG 370 Christine Erlien, Instructor.
1 TOPIC 6 DATABASE 6.1 Introduction to Database 6.2 Basic Concept of Database 6.3 Database Object DATABASE.
Introduction to Databases Transparencies © Pearson Education Limited 1995, 2005.
Introduction to Databases Dr. Osama AL Rababah. Objectives In this capture you will learn: Some common uses of database systems. The characteristics of.
1 CS462- Database Systems Sang H. Son
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Database Management Systems Chapter 1.
1 CENG 351 CENG 351 Introduction to Data Management and File Structures Department of Computer Engineering METU.
1 Lecture1 Introduction to Databases Systems Database 1.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases Transparencies
Introduction to Databases
Databases and DBMSs Todd S. Bacastow January
Instructor: Elke Rundensteiner
Introduction to Databases
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases
Introduction to Databases
Database Management Systems CSE594
Introduction to Databases
Introduction to Databases
Introduction to Databases Transparencies
Introduction to Database Systems
Presentation transcript:

1 Geog 357: Data models and DBMS

Geographic Decision Making

Ways of storing digital data File structures –simple –ordered sequential –indexed Data models Databases –hierarchical –network –relational

File structures Basic terms –record data items related to a single logical entity (e.g. a student record) (row in a table) –field a place for a data item in a record (first name field in a student record) (column in a table) –file a sequence of records of the same type (the table)

File structures 3 Smith Jane A 1 Wood Bob C 2 Kent Chuck B 4 Boone Dan B ID Last First Grade record field A file: “STUDENT”

File structures Simple list –list of entries in which the order of entry into the list determines the order of the list 3 Smith Jane A 1 Wood Bob C 2 Kent Chuck B 4 Boone Dan B ID Last First Grade

File structures Search of a simple list entails going through each record until search is satisfied (linear search), which is inefficient 3 Smith Jane A 1 Wood Bob C 2 Kent Chuck B 4 Boone Dan B ID Last First Grade

File structures Ordered sequential files –list of entries ordered in some way (e.g. numerically or alphabetically) 1 Wood Bob C 2 Kent Chuck B 3 Smith Jane A 4 Boone Dan B ID Last First Grade

File structures Search of an ordered sequential list can use a binary search method - but only for the ordered field 1 Wood Bob C 2 Kent Chuck B 3 Smith Jane A 4 Boone Dan B ID Last First Grade

File structures Indexes provide a reference to records based on an index field, which is ordered Boone * Kent * Smith * Wood * 1 Wood Bob C 2 Kent Chuck B 3 Smith Jane A 4 Boone Dan B ID Last First GradeLast Pointer

Data models A data model is a particular way of conceptually organizing multiple data files in a database –hierarchical –network –relational

Hierarchical data model Class Student Grade Instructor ID Parent-child relationship (one-to-one or one-to-many) among data Department

Hierarchical data model Advantages easy to search can add new branches easily Disadvantages must establish the types of search prior to development of the hierarchical structure

Network data model Class Student Grade Instructor ID One-to-one, one-to-many, many-to-one, or many-to-many relationships possible Department

Network data model Advantages flexible, fast, efficient Disadvantages complex restructuring can be difficult because of changing all the pointers

Data models Hierarchical and network data models have generally been replaced by the relational data model Relational databases (and their derivatives) dominate the (non-GIS) database market: Oracle, Informix

Databases A database is a collection of data files that is structured (organized) to facilitate data storage, manipulation, and retrieval. A database management system (DBMS) is a software package that performs these database functions

Why Databases?? Shift from computation to information – Focus on the way to structure information Datasets increasing in diversity and volume. – Digital libraries, interactive video, e-commerce –... need for DBMS exploding DBMS encompasses most of the information technology – OS, languages, theory, multimedia, logic, web ?

Database - Definition A very large, integrated collection of data. A shared collection of logically related data designed to meet the information needs of an organization Models real-world enterprise – Entities (e.g., students, courses) – Relationships (e.g., Madonna is taking CS564)

Database - Definition Three key elements of database definition: –Shared –Interrelated –Predefined applications Side notes: –Database is NOT the real world Database is an abstraction –Database  Information Data becomes information only when they are used to provide answers to queries

Database Management System (DBMS) DBMS: A software system that enables users to define, create, and maintain the database and which provides controlled access to this database. Provide a layer between user application programs and the data –Data Definition Language (DDL) –Data Manipulation Language (DML)

File-based Processing

Problems with File-based Systems Inconsistencies!Same data is stored in multiple places. Inconsistencies! We need to write special programs for each user question Data can be corrupted due to system crash while change is made. User programs are not easy to share data or evolve.

Database Management System (DBMS)

Advantages of Database Approach Control of data redundancy –Have a central depository of all data and their descriptions –Same information stored only once Data Integrity Controlled access to database Data independence Concurrent Access Crash recovery

Disadvantages of DBMS Complexity Cost of DBMS software, hardware and data conversion Performance Higher impact of a failure When NOT to use DBMS? No data sharing Small scale Real-time constraints

Roles in the Database Environment Data Administrator (DA) Database Administrator (DBA) Database Designers (Logical and Physical) Application Programmers End Users (native and sophisticated)

Summary Databases are collections of inter-related data. DBMS used to maintain, query large datasets. Benefits include recovery from system crashes, concurrent access, quick application development, data integrity and security. The advantages and disadvantages of DBMSs. The personnel involved in the DBMS environment Database management is one of the broadest, most important areas in IST.