1 APPLICATION OF DATA MODELING In natural resources and forest management Yujia Zhang and Bruce E. Borders.

Slides:



Advertisements
Similar presentations
Three-Step Database Design
Advertisements

Relational Database and Data Modeling
Chapter 10: Designing Databases
Management Information Systems, Sixth Edition
IS605/606: Information Systems Instructor: Dr. Boris Jukic
Chapter 3 The Relational Model Transparencies © Pearson Education Limited 1995, 2005.
ETEC 100 Information Technology
Oct 31, 2000Database Management -- Fall R. Larson Database Management: Introduction to Terms and Concepts University of California, Berkeley School.
Database Management: Getting Data Together Chapter 14.
Chapter 3. 2 Chapter 3 - Objectives Terminology of relational model. Terminology of relational model. How tables are used to represent data. How tables.
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
BUSINESS DRIVEN TECHNOLOGY
The Relational Model Codd (1970): based on set theory Relational model: represents the database as a collection of relations (a table of values --> file)
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Database Architecture The Relational Database Model.
IST Databases and DBMSs Todd S. Bacastow January 2005.
Database Lecture # 1 By Ubaid Ullah.
Lecture 2 The Relational Model. Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical relations.
© Pearson Education Limited, Chapter 2 The Relational Model Transparencies.
DATABASE MANAGEMENT SYSTEMS BASIC CONCEPTS 1. What is a database? A database is a collection of data which can be used: alone, or alone, or combined /
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
6-1 DATABASE FUNDAMENTALS Information is everywhere in an organization Information is stored in databases –Database – maintains information about various.
 Definition  Components  Advantages  Limitations Contents  DBMS DBMS  Functions Functions  Architecture Architecture.
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
Database Technical Session By: Prof. Adarsh Patel.
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
Chapter 9 Designing Databases Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Introduction to Database Systems
2005 SPRING CSMUIntroduction to Information Management1 Organizing Data John Sum Institute of Technology Management National Chung Hsing University.
Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
CODD’s 12 RULES OF RELATIONAL DATABASE
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
1.file. 2.database. 3.entity. 4.record. 5.attribute. When working with a database, a group of related fields comprises a(n)…
Storing Organizational Information - Databases
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
Chapter 1 Introduction to Databases. 1-2 Chapter Outline   Common uses of database systems   Meaning of basic terms   Database Applications  
CIS 210 Systems Analysis and Development Week 6 Part II Designing Databases,
Databases Shortfalls of file management systems Structure of a database Database administration Database Management system Hierarchical Databases Network.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
Chapter 9 Database Systems Introduction to CS 1 st Semester, 2014 Sanghyun Park.
CPSC 603 Database Systems Lecturer: Laurie Webster II, M.S.S.E., M.S.E.E., M.S.BME, Ph.D., P.E. Lecture 4 Introduction to a First Course in Database Systems.
The Relational Model. 2 Relational Model Terminology u A relation is a table with columns and rows. –Only applies to logical structure of the database,
Mining real world data RDBMS and SQL. Index RDBMS introduction SQL (Structured Query language)
Object storage and object interoperability
Chapter 13.3: Databases Invitation to Computer Science, Java Version, Second Edition.
6.1 © 2007 by Prentice Hall Chapter 6 (Laudon & Laudon) Foundations of Business Intelligence: Databases and Information Management.
Bruce E. Borders Yujia Zhang OVERVIEW Consortium for Accelerated Pine Production Studies (CAPPS) makes use of existing field sites and data from Acid.
Fundamentals of Information Systems, Sixth Edition Chapter 3 Database Systems, Data Centers, and Business Intelligence.
Chapter 4 The Relational Model Pearson Education © 2009.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
Fundamental of Database Systems
Client/Server Databases and the Oracle 10g Relational Database
Fundamentals of Information Systems, Sixth Edition
Databases and Database Management Systems Chapter 9
CSCI-100 Introduction to Computing
Chapter 4 Relational Databases
Databases and Information Management
Chapter 2 Database Environment.
Database.
Databases.
Database Design Hacettepe University
Presentation transcript:

1 APPLICATION OF DATA MODELING In natural resources and forest management Yujia Zhang and Bruce E. Borders

2 INTRODUCTION A database is a collection of related data. In forestry, Data are typically stored in electronic files with additional information stored on field tally sheets.

3 During data collection, data formats may be changed, or files may be revised by users individually without informing others, which causes problems in data storage and analysis.

4 The traditional data storage approach results in redundancy in data storage. For example, stand information stored in a tree level file takes large storage space and increases storage cost.

5 Relational database management systems (RDBMS) provide a powerful tool to store and update forest data, review relationships among individual components, and model forest dynamics.

6 Data modeling is a conceptual or logical design of a database. A data model is a set of concepts that refers to types, relations, constraints, and operations of data. DATA MODELING

7 The basic operations of a data model include accessing and updating the database. We use an entity-relation (ER) data model for conceptual analysis and implementation of database.

8 The concepts involved in the ER model are entities, attributes, and relationships. An entity is an object, attributes are descriptions of the properties of the entity, and relationships are interactions among entities.

9 Data are stored in tables. A row in a table is called a tuple, a column header is called an attribute, and a table is called a relation. The data illustrated here are from the Consortium for Accelerated Pine Plantation Studies (CAPPS).

10 The CAPPS plantations were established in The applied silvicultural treatments are herbicide (H), fertilization (F), herbicide and fertilization (HF), and control (C).

11 A relation schema R of degree n can be denoted as: R (A 1, A 2, …, A n ) where R is the name of the relation and A 1, A 2, …, A n are attributes. RELATION SCHEMA

12 The relation schemas in our data model are: STAND (PlOT_ID, Location, Block, Plot, FirstGrowingSeason, Treatment); TREE (ID, PlantationAge, TreeNumber, DBH, Height, CrownHeight, CronartiumQuartileCode, TipMothCode, DamageCode, Plot_ID);

13 GROUNDCOVER (ID, SubPlot, PlantationAge, PercentAndropogon, HeightAndropogon, PercentGrass, HeightGrass, PercentBroadLeaf, HeightBroadLeaf, Plot_ID) SMALLCOMPETITOR (ID, SubPlot, PlantationAge, Species, TreeHeight, CrownLength, CrownWidth, Plot_ID)

14 LARGECOMPETITOR (ID, Subplot, PlantationAge, Species, TreeHeight, DBH, CrownHeight, BaseHeight, Plot_ID));

15 A relation is a set of tuples. An attribute with distinct value can be used as a primary key to identify a tuple. The value of the primary key must not be null, which is called the entity integrity constraint.

16 A foreign key is needed to maintain the consistency among relations. For example, tree level information and stand level information can be combined together using a foreign key, PLOT_ID.

17 The operations for a relational database include select, project, and join. The notation for operation select is:  ( ) To select trees with DBH larger than 10 cm, we use:  DBH>10 (TREE)

18 Operation project selects certain columns from a table:  ( ) To list tree number, plantation age, and tree height, we use:  TreeNumber, PlantationAge, Height (TREE)

19 Operation join combines two tuples from two relations together: R|  | S To access all trees from location Athens, we use: (TREE)|  | LOCATION=ATH (STAND)

20 The RDBMS installed on the server is Oracle8 Enterprise. Each user can access the database over a network. Data files used by each user can be stored either in the server or PC, or in other external devices.

21 The implementation of a data model includes establishing relations and queries. The following query is used to obtain some stand level information from relations STAND and TREE. DATA MODEL IMPLEMENTATION

22 Assuming a forester wants to know the number of trees per plot, average DBH and average height for each age in stands located in Athens that have accepted herbicide and fertilization, the regarding query is:

23 select s.Location, s.Block, s.Plot, s.FirstGrowingSeason, s.Treatment, t.PlantationAge, count(t.TreeNumber), avg(t.DBH), avg(t.Height) from STAND s, TREE t where s.Plot_ID = t.Plot_ID and s.Location = 'ATH' and s.Treatment = 'HF' group by s.Location, s.Block, s.Plot, t.PlantationAge;

24

25

26 Forest data are characterized with large size of records, complicated relationships, and a diversity of data types. The traditional approach is far from satisfactory for data storage and manipulation. SUMMARY

27 In our database, The relations among data files eliminate redundancy in data storage. All files are stored in a server, which ensures updated data available for each user.

28 For data safety, the redundant hard disks in the server store the mirrored data that can be recovered when the server is down. Also, Oracle8 backup manager can backup the whole database to external storage devices.

29 Users can be granted privileges at different levels by the database administrator (DBA) to view, revise, and transfer files. The database is protected from unauthorized access.

30 Data modeling helps establish a comprehensive database including tree, soil, hydrology, GIS, and wildlife data, which facilitates natural resources and forest management.