Databases. MRM Website www.abdn.ac.uk/mrm Real World DATABASE A data model is a methodology for storing and retrieving data.

Slides:



Advertisements
Similar presentations
Content 15.1 Basic features Types of database Data structures 15.2 Creating a database Screen layout Entering data Editing data 15.3 Displaying data Searching.
Advertisements

Organisation Of Data (1) Database Theory
Chapter 10: Designing Databases
What is a Database By: Cristian Dubon.
C6 Databases.
Database Management3-1 L3 Database Management Santa R. Susarapu Ph.D. Student Virginia Commonwealth University.
3-1 Chapter 3 Data and Knowledge Management
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
What is Where? u Getting Started With Geographic Information Systems u Chapter 5.
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
8/28/97Information Organization and Retrieval Files and Databases University of California, Berkeley School of Information Management and Systems SIMS.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 7 Information System Data Management.
Attribute databases. GIS Definition Diagram Output Query Results.
Databases and Database Management Systems
Attribute Data Input and Management
Relational Databases What is a relational database? What would we use one for? What do they look like? How can we describe them? How can you create one?
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
It refers to the software used to manage the database.
Microsoft Access Ervin Ha.
Microsoft Access Intro Class 1 Database Concepts.
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
2.3 Organising Data for Effective Retrieval
Databases C HAPTER Chapter 10: Databases2 Databases and Structured Fields  A database is a collection of information –Typically stored as computer.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
ASP.NET Programming with C# and SQL Server First Edition
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
1 Advanced Computer Programming Databases. Overview What is a database? Database Basics Database Components Data Models Normalization Database Design.
© Paradigm Publishing Inc. 9-1 Chapter 9 Database and Information Management.
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
Databases. Database A database is an organized collection of related data.
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
© Paradigm Publishing Inc. 9-1 Chapter 9 Database and Information Management.
Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
Lead Black Slide Powered by DeSiaMore1. 2 Chapter 7 Information System Data Management.
Information Systems & Databases 2.2) Organisation methods.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Introduction to Computers Lesson 10B. home Database A collection of related data or facts.
Introduction to Computers Lesson 10B. home Database A collection of related data or facts.
Databases. What is a database?  A database is used to store data. The word DATA is actually Latin for FACTS. A database is, therefore, a place, or thing.
Database Management Systems.  Database management system (DBMS)  Store large collections of data  Organize the data  Becomes a data storage system.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
ITGS Databases.
Introduction to Database Tonga Institute of Higher Education NOS 215.
+ Information Systems and Databases 2.2 Organisation.
Database Concepts Track 3: Managing Information using Database.
Database Management Systems (DBMS)
Database and Information Management Chapter 9 – Computers: Understanding Technology, 3 rd edition.
Chapter 10 Database Management. Data and Information How are data and information related? p Fig Next processing data stored on disk Step.
CIS 250 Advanced Computer Applications Database Management Systems.
Instructor: Pavlos Pavlikas1 How Data is Stored Chapter 8.
Introduction to Databases Angela Clark University of South Alabama.
PREPARED BY: PN. SITI HADIJAH BINTI NORSANI. LEARNING OUTCOMES: Upon completion of this course, students should be able to: 1. Understand the structure.
Relational Database Systems Bartosz Zagorowicz. Flat Databases  Originally databases were flat.  All information was stored in a long text file, called.
uses of DB systems DB environment DB structure Codd’s rules current common RDBMs implementations.
Managing Data Resources File Organization and databases for business information systems.
Databases.
What is a Database and Why Use One?
MANAGING DATA RESOURCES
Database.
Database Design Hacettepe University
Introduction to Databases & SQL
Spreadsheets, Modelling & Databases
DATABASES WHAT IS A DATABASE?
Presentation transcript:

Databases

MRM Website

Real World DATABASE A data model is a methodology for storing and retrieving data

Real World (GIS) DATABASE

Databases Definition A database is structured collection of data. Card indices, printed catalogues of archaeological artefacts and telephone directories are all examples of databases Your Christmas card list is a database, as is your address book!!! Databases may be stored on a computer and examined using a program called `a database management systems (DBMS)

Databases Software DBASE MS-Access ORACLE FoxPro Paradox ClarisWorks Many others besides Industry Standards

Databases Database (Storage) Database Management System (DBMS) Tables (e.g. attributes) Fields Records

Databases RecordsField If a spatial database (such as a GIS) then two additional fields for X,Y co-ordinates (Northings (N) and Eastings (E) OR Latitude and Longitude Attributes

Databases Data Fields Numbers, Characters (strings), Alphanumeric Date, Name, Formatting & Calculation Data Records Functionality: Sorting, Selection, Query

Databases Flat File Hierarchical Network Relational Object-Oriented (OO)

Flat-File Databases One large table of data Good example is a Spreadsheet Ideal for small amounts of data that needs to be human readable or edited by hand Good for storing simple lists and data values Complicated for more complex data structures and can be more costly in time and processing power compared to a relational database; methods for storing more complex data types can make the file unreadable and un-editable to anyone looking after the database Database is usually split up using a common delimiter e.g. comma Very prone to corruption Flat-files can be combined to emulate some of the behaviour of a relational database but slow in practice For small amounts of data, rarely updated, relational database solution is overkill

Flat-File Databases Field Record Spatial co-ordinates Attributes

Hierarchical Databases Data organised at different levels One-to-Many Association In a hierarchical database (HDBMS) have a strictly defined tree of data nodes Each node can contain some identifying data, plus a set of subnodes of a specific child type The number of subnodes can vary between sibling nodes at the same level, but the type of all "cousins" is identical In hierarchical databases, data access is utterly predictable in structure; therefore both retrieval and updates can be highly optimized by a DBMS.

Databases One-to-One Relationship: When one record in a table relates to only one record in another table and vice versa One-to-Many Relationship: When one record in one table relates to many records in another

Databases One to One

Databases One to Many

Databases One-to-many

Databases One-to-many

Databases Many to Many

Hierarchical Databases

Relational Databases The relational database was invented by E. F. Codd at IBM in 1970 Collection of Tables or Relations Connected by keys One or more fields or attributes that uniquely identify a record in a table Connects the tables Tables can be used to represent real world objects, with each field acting like an attribute Relations can be quite complex in nature, and are hard to replicate in the standard flat-file format Relational databases also have functions "built in" that help them to retrieve, sort and edit the data in many different ways The standard user and application program interface to a relational database is the structured query language (SQL) SQL statements are used both for interactive queries for information from a relational database and for gathering data for reports

Relational Databases

As well as having primary keys, tables typically have some secondary keys The secondary keys correspond with primary keys in other tables The BOOKS table has secondary keys AuthorID and PubID. These, in turn, serve as primary keys for the AUTHORS and PUBLISHERS tables The idea here is that every BOOKS row has a distinct ISBN value, each AUTHORS a unique AuthorID, and each PUBLISHERS a unique PubID Any relational database package normally uses an index of some sort for faster access to the data

Relational Databases Record Tools Record Selection Field Field Selection Table

Advantages/Disadvantages Advantages: Easy to set up Easy to understand Disadvantages: May require entering the same information in many records. A text database is hard to read. A single record in a spreadsheet database may not fit across the screen. FLATFILE

Advantages/Disadvantages Advantages: Reduces the duplication in data entry. Faster searches. Can create forms and reports that display only the data you want to see. Can create queries to answer questions that are hard or impossible to answer in flat databases. Disadvantages: Can be complex to set up, using many tables. It is harder to understand how all the parts relate to each other. RELATIONAL

Data Models Setting up a Database usually requires considerable planning Fields and attributes Data Models A data model is a "description" of both a container for data and a methodology for storing and retrieving data from that container. Data models are abstractions e.g. mathematical algorithms and concepts. Provide a clear plan of what will be collected: e.g. number, text etc.. Useful EXAMPLE: ESRI ArcGIS Marine Data Model

Data Models

SDIs etc… Access to data (particularly online) requires: Spatial Data Infrastructures (SDIs) Data Quality Standards (e.g. ISO) for Data Formats, Data Models Metadata (information about data/information)

Database Tutorial MS-Access Download from Link on website Task Requirement – Answer the Questions on the Question Sheet (also on website)

ArcMarine: The ArcGIS Marine Data Model for the oceans, seas, and coastal regions of our planet... Task: find, download and read the paper – Chapter in Marine Geography by J. Breman, D. Wright, P. Halpin The Inception of the ArcGIS Marine Data Model

Find Out More Use Google to search for information One good example is: