Why use an RDBMS? ❽ Data maintenance ❽ Standardized access ❽ Multi-user access ❽ Data protection

Size: px
Start display at page:

Download "Why use an RDBMS? ❽ Data maintenance ❽ Standardized access ❽ Multi-user access ❽ Data protection"

Transcription

1 1

2 Why use an RDBMS? ❽ Data maintenance ❽ Standardized access ❽ Multi-user access ❽ Data protection 2

3 RDBMSs offer Data protection ❽ Recovery ❽ Concurrency ❽ Security 3

4 Data protection ❽ Recovery from ❽ User error ❽ Statement or process failure ❽ Instance failure ❽ Media failure ❽ Recovery must be: ❽ Predictable all committed transactions, no uncommitted trans ❽ Reliable ❽ Databases use optional transaction logging to allow recovery to the time just before the point of failure 4

5 Data protection ❽ Concurrency simultaneous access to the same data ❽ Multiple users modifying a table at the same time ❽ Read consistency ❽ Transactions are isolated from each other ❽ Locking 5

6 Data protection ❽ Security ❽ Users are assigned privileges ❿ Privileges on individual objects ❿ Privileges to perform specific actions ❿ Resource usage privileges ❽ Auditing ❿ Tracking the actions a user performs 6

7 RDBMS data storage ❽ All RDBMS need a way to obtain exclusive access to disk resources. ❽ Some systems prefer raw filesystems, others prefer them cooked. ❽ Known as tablespaces, devices, disks, chunks, 7

8 RDBMS organization ❽ Catalog or Data Dictionary ❽ An RDBMS addresses metadata with the same mechanisms as user data. ❽ The catalog of an RDBMS is the set of system objects required to implement itself. 8

9 Relational theory ❽ Relation ❽ The theoretical structure that is implemented as a table Degree (3) PIN STATUS DATE Tuples (rows) APPROVED PENDING DENIED COMPLETED Cardinality (4) Attributes (columns) 9

10 Relational theory ❽ Relation properties: ❽ Each tuple is distinct (no duplicates) ❽ Tuples are unordered (top->bottom) ❽ Attributes are unordered (left->right) ❽ All attribute values are atomic (relations do not contain repeating groups) 10

11 Relational theory ❽ Attribute values are taken from pools of legal values known as domains. ❽ In some cases, it is desirable to mark an attribute value as empty or missing. This can be achieved through the use of NULL values. 11

12 Relational theory ❽ Keys ❽ Candidate ❿ Provide tuple-level addressing system ❿ May be more than one per relation ❽ Primary ❿ One per relation (others are alternate keys) ❽ Foreign ❿ Attribute of a relation which refers to primary key in another relation 12

13 RDBMS organization ❽ Objects ❽ TABLE ❽ VIEW ❽ INDEX ❽ TRIGGER ❽ PROCEDURE 13

14 Relational algebra ❽ Relational theory is a mathematical model. It defines a number of operators and properties for the interaction of relations. ❽ One key concept is closure -- the output of any relational operation is another relation. This makes relational algebra very powerful! 14

15 Relational algebra ❽ Restrict ❽ Produce a tuple subset 15

16 Relational algebra ❽ Project ❽ Produce an attribute subset 16

17 Relational algebra ❽ (Cartesian) Product ❽ Produce all possible combinations a b c x y a a b b c c x y x y x y 17

18 Relational algebra Union Intersection Difference 18

19 Relational algebra ❽ (Natural) Join ❽ Produce all possible tuples which are a non-repeating combination of two tuples based on shared attribute value(s). a1 a2 a3 a4 b1 b2 b3 b3 b1 b2 b3 c1 c2 c3 a1 a2 a3 a4 b1 b2 b3 b3 c1 c2 c3 c3 19

20 Relational algebra ❽ Divide ❽ Given binary and unary relations, produce all values of the noncommon attribute which are present for all unary tuples. a a a b b x y z x y x z a 20

21 SQL ❽ Structured query language ❽ ANSI standard ❽ Broken into two components ❽ Data Definition Language (DDL) ❽ Data Manipulation Language (DML) 21

22 SQL ❽ To create a table use the CREATE TABLE command: CREATE TABLE table_name ( column_def_list ) CREATE TABLE PARCELS ( PARCEL_NO ASSESSED_VALUE INTEGER, FLOAT) ❽ The DROP command is used to remove objects from catalog: DROP TABLE PARCELS 22

23 SQL ❽ The most common SQL command is the SELECT statement. ❽ The basic format of a SELECT statement is: SELECT column_list FROM table_list {WHERE where_clause} {ORDER BY column_list} {GROUP BY column_list} 23

24 SQL ❽ Examples (I) SELECT * FROM PARCELS SELECT PARCEL_NO FROM PARCELS SELECT PARCEL_NO FROM PARCELS WHERE ASSESSED_VALUE > 360 AND TAX_DISTRICT = MRR 24

25 SQL ❽ Examples (II) SELECT b.owner_name as Owner, a.assessment as Cost FROM PARCELS a, OWNERS b WHERE ASSESSED_VALUE > 360 AND TAX_DISTRICT = MRR AND a.parcel_no = b.parcel_no 25

26 SQL ❽ ORDER BY ❽ Applies sort to resulting rows ❽ Example SELECT b.owner_name as Owner, a.assessment as Cost FROM PARCELS a, OWNERS b WHERE ASSESSED_VALUE > 360 AND TAX_DISTRICT = MRR AND a.parcel_no = b.parcel_no ORDER BY OWNER_NAME 26

27 SQL ❽ GROUP BY ❽ Used to summarize one or more rows ❽ column_list must be subset of selected columns ❽ Used in conjunction with summarization functions (SUM, MIN, MAX, ) ❽ Example SELECT a.owner_name as Owner, SUM(b.ASSESSMENT) as Total FROM OWNERS a, PARCELS b WHERE a.parcel_no = b.parcel_no GROUP BY OWNER_NAME 27

28 SQL ❽ Subselects ❽ The closure property allows for substitution of SELECT expressions into SQL statements ❽ Examples INSERT INTO PARCELS_BAK SELECT * FROM PARCELS SELECT PARCEL_NO FROM PARCELS WHERE ASSESSED_VALUE > (SELECT AVG(ASSESSED_VALUE) FROM PARCELS) 28

29 SQL ❽ The basic format for the INSERT command is: INSERT source INTO target(columns) VALUES (value_list) ❽ Example: INSERT INTO PARCELS (PARCEL_NO,ASSESSED_VALUE) VALUES (125,180) 29

30 SQL ❽ The basic format for the UPDATE command is: UPDATE target SET col_val_pair_list {WHERE where_clause} ❽ Example UPDATE PARCELS SET ASSESSED_VALUE = 200 WHERE PARCEL_NO =

31 SQL ❽ The basic format for the DELETE command is: DELETE FROM table {WHERE where_clause} ❽ Example: DELETE FROM PARCELS WHERE PARCEL_NO =

32 Indexing ❽ Queries represent the majority of operations performed on tables. ❽ Exhaustive searching of rows is SLOW! ❽ Indexes are used to store a sorted list of key values, allowing for faster searches. ❽ Examples ❽ CREATE INDEX PARCELS_PN ON PARCELS(PARCEL_NO) ❽ CREATE INDEX PARCELS_AV ON PARCELS(ASSESED_VALUE, PARCEL_NO) 32

33 Performance issues ❽ Many strategies have evolved in order to maximize RDBMS query performance: ❽ Block I/O ❿ Since locating the starting byte of a data page is the slowest part of a I/O request, accessing data in large blocks makes sense. ❽ Caching ❿ Disk access is very slow in comparison to memory access (~10,000x). ❿ A cache is a copy of most recently read pages. ❿ A blown cache penalty can occur if the cache is smaller than the frequentlyread pages. ❽ Indexing and Query optimization ❿ In a complex query, the order of the search is important ❿ Example: it is faster to first search on age, then on sex, to query for the 25 year old males ❿ Rule-based optimization; cost-based optimization; hints 33

34 SDE stores GIS data in an RDBMS ❽ ❽ GIS users want better data management ❽ data integrity ❽ fast access for many simultaneous users ❽ efficient use of the network ❽ common environment to manage spatial and tabular data ❽ SQL standard MIS users want spatial functionality ❽ include spatial data as a managed enterprise asset ❽ support GIS applications ❽ spatially enable applications. Example: ❿ Point-in-polygon query to determine auto insurance rate. ❿ Operator types in address, rate appears on screen. ❿ The operator never sees a map.

35 Traditional GIS data is not stored in RDBMS ❽ Problems coordinating transactions on data ❽ No referential integrity ❽ Different application environments Departmental Data Files Database Integrator or ODBC Enterprise Database Spatial files Tables RDBMS Tables GIS Apps. Database Apps.

36 Features ❽ Features are spatial objects ❽ object with a geometry attribute ❽ Vector model for geographic entities ❽ Features (rows) belong to feature classes (tables) Feature (row) Feature class (table) ROAD OID Shape RoadType 1 X,Y,Z,M,... Highway ❽ Feature location can be stored three ways: ❽ Binary ❽ Normalized ❽ Extended Type 36

37 Feature geometry Points Multipoints Lines Polygons 1 Line 1 Poly ❽ Segments have start/end with a curve in between ❽ Aggregate to paths/rings ❽ Aggregate to lines/polys ❽ Edit at any level 2 Paths Bezier curve Line Segments 3 Rings (closed paths) Circular arc 37

38 Feature coordinates ❽ Feature coordinates are: ❽ X - position in X Z ❽ Y - position in Y ❽ Z - position in Z (optional) X ❿ E.G.; elevation for a point or line segment end ❽ M - a measurement (optional) Y ❿ E.G.; Dynamic Segmentation measures M=30 M=35 M=35 M=42 One line made of two segments ❽ Stored as integer (scaled in Spatial Reference) 38

39 Storing the geodatabase ❽ Personal geodatabase ❽ Stored in an.mdb file Desktop ArcInfo client ❽ Automatically connected through JetEngine server ❽ ArcSDE geodatabase ❽ Stored in an RDBMS ❽ User connects through ArcSDE server ❽ The difference Personal geodatabase MS Access format (free) ❽ Type of RDBMS (and connection method) ArcSDE ArcSDE geodatabase Oracle SQL Server (not free) ❽ Multi-user editing and conflict resolution tools (ArcSDE) ❽ Once loaded, use same tools on either storage type 39

40 Geodatabase basics ❽ Stores tables, feature classes, feature datasets, more ❽ Tables ❽ A collection of attribute rows and columns ❽ Feature classes ❽ A collection of features ❽ Conceptually like a shapefile ❽ Feature datasets ❽ A collection of feature classes ❽ Conceptually like a coverage ❽ Raster datasets ❽ Rules ❽ Domains ❽ Connectivity rules feature dataset feature classes table 40

41 Introducing subtypes and domains ❽ Prevent illegal attribute assignment to features, tables ❽ Subtype - a subset of records within a field ❽ Domain - a definition of valid values for a field or subtype Feature class Streets PowerPoles Subtypes based on CLASS Primary Secondary Wood Steel Domain ST, RD, AV, BLVD Ln, Cir, Pl Height: Height:

42 Subtypes in ArcMap ❽ Add, edit, symbolize by subtype ❽ New features get subtype defaults for attributes Feature class Subtypes Editor target list shows subtypes 42

43 Editing records with coded value domains ❽ Attribute editor only shows valid values ❽ The description is displayed instead of the code Attribute editor shows descriptions... but the underlying table stores the codes 43

44 Editing records that have range domains ❽ Perform edit in ArcMap ❽ Use Validate Selection to verify edit against range ❽ Invalid features remain selected LINE_SIZE has a range domain of

45 Introducing a Geometric network ❽ Feature classes in a single feature dataset ❽ A feature class can only participate in one network ❽ Connectivity based on geometric coincidence Valve Service Feature classes Geometric Network Lateral Main 45

46 Connectivity rules ❽ Validate using validate selection ❽ Edge - Junction ❽ Cardinality Junction B can connect to 3 A edges ❿ Number of junctions connecting to an edge ❿ Number of edges connecting to a junction ❽ Edge - Edge ❽ Default junction is automatically added during editing Edge A can connect to Edge B through junction C A C B B C A A A B A Edge A can have up to 2 B junctions attached Adding B Snap to A C is automatically created 46

47 Relationships ❽ An association between tables or feature classes Line2Maint Maint2Line LINE_ID LINE_MATERIAL Line feature class LINE_ID MAINT_TYPE Maintenance table ❽ Works with the geodatabase and coverages ❽ Tables must be in the same workspace ❽ Same data type 47

48 Accessing related records in ArcMap ❽ Fields in related table appear in Attributes editor Edit all related records Edit single related records ❽ Open related table ❽ Selected records in related table update when table is displayed 48

49 Simple and composite relationships ❽ Simple ❽ Objects exist independently ❽ Composite ❽ Destination objects cannot exist without origin objects (deleted) ❽ Destination features move with origin features Composite relationship, State to County Select state and move it the counties follow 49

50 Multi-user editing ❽ Many users may edit any version simultaneously ❽ You see your edits only ❽ Others see your edits when they save ❽ Version permissions ❽ Private ❿ Owner views and edits ❽ Public ❿ Everyone views and edits ❽ Protected ❿ Everyone views; owner edits Dan Molly Eric Ken Geodatabase Version: Plan 1 Version: Plan 2 Default 50

51 Conflicts ❽ Occur when two users edit the same feature ❽ A coordinate and attribute edit can create a conflict ❽ The second person to save will notice the conflict Molly USA: Plan 1 Dan Edit version (Dan s edit) Conflict version (Molly s edit) Pre-edit version 51

52 Displaying conflicts ❽ Triggered by Save or Reconcile ❽ Dan tried to save after Molly edited the same feature Conflicting feature class Conflicting feature Versions Conflicting fields 52

53 Summary ❽ RDBMS principles ❽ SQL ❽ Performance ❽ SDE ❽ Geodatabase 53

54 54

Key Terms. Attribute join Target table Join table Spatial join

Key Terms. Attribute join Target table Join table Spatial join Key Terms Attribute join Target table Join table Spatial join Lect 10A Building Geodatabase Create a new file geodatabase Map x,y data Convert shape files to geodatabase feature classes Spatial Data Formats

More information

Using the Geodatabase

Using the Geodatabase Using the Geodatabase February 13, 2002 Presented by: John Stroud, ESRI GeoDatabase Geodatabase comes in two flavors Personal mdb format ArcSDE rdbms format ArcGIS is a suite of three products ArcView,

More information

Introduction to Geodatabase and Spatial Management in ArcGIS. Craig Gillgrass Esri

Introduction to Geodatabase and Spatial Management in ArcGIS. Craig Gillgrass Esri Introduction to Geodatabase and Spatial Management in ArcGIS Craig Gillgrass Esri Session Path The Geodatabase - What is it? - Why use it? - What types are there? - What can I do with it? Query Layers

More information

Basant Group of Institution

Basant Group of Institution Basant Group of Institution Visual Basic 6.0 Objective Question Q.1 In the relational modes, cardinality is termed as: (A) Number of tuples. (B) Number of attributes. (C) Number of tables. (D) Number of

More information

Mahathma Gandhi University

Mahathma Gandhi University Mahathma Gandhi University BSc Computer science III Semester BCS 303 OBJECTIVE TYPE QUESTIONS Choose the correct or best alternative in the following: Q.1 In the relational modes, cardinality is termed

More information

Object modeling and geodatabases. GEOG 419: Advanced GIS

Object modeling and geodatabases. GEOG 419: Advanced GIS Object modeling and geodatabases GEOG 419: Advanced GIS CAD Data Model 1960s and 1970s Geographic data stored as points, lines, and areas No attributes; each feature type stored on a different layer No

More information

A7-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

A7-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS A7-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS NOTE: 1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and PART TWO contains FIVE questions. 2. PART ONE is to be answered

More information

Chapter 4. The Relational Model

Chapter 4. The Relational Model Chapter 4 The Relational Model Chapter 4 - Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical relations and relations in the relational model.

More information

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 7 Introduction to Structured Query Language (SQL)

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management Tenth Edition Chapter 7 Introduction to Structured Query Language (SQL) Objectives In this chapter, students will learn: The basic commands and

More information

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel 1 In this chapter, you will learn: The basic commands

More information

8) A top-to-bottom relationship among the items in a database is established by a

8) A top-to-bottom relationship among the items in a database is established by a MULTIPLE CHOICE QUESTIONS IN DBMS (unit-1 to unit-4) 1) ER model is used in phase a) conceptual database b) schema refinement c) physical refinement d) applications and security 2) The ER model is relevant

More information

ENGRG 59910: Introduction to GIS

ENGRG 59910: Introduction to GIS ENGRG 59910: Introduction to GIS Lecture 05: GIS and Databases Basics Acknowledgment: Michael Piasecki Where are we now? Basic geographic concepts Introduction to GIS, coordinate system, projection, datum

More information

Techno India Batanagar Computer Science and Engineering. Model Questions. Subject Name: Database Management System Subject Code: CS 601

Techno India Batanagar Computer Science and Engineering. Model Questions. Subject Name: Database Management System Subject Code: CS 601 Techno India Batanagar Computer Science and Engineering Model Questions Subject Name: Database Management System Subject Code: CS 601 Multiple Choice Type Questions 1. Data structure or the data stored

More information

Data about data is database Select correct option: True False Partially True None of the Above

Data about data is database Select correct option: True False Partially True None of the Above Within a table, each primary key value. is a minimal super key is always the first field in each table must be numeric must be unique Foreign Key is A field in a table that matches a key field in another

More information

Database Management System 9

Database Management System 9 Database Management System 9 School of Computer Engineering, KIIT University 9.1 Relational data model is the primary data model for commercial data- processing applications A relational database consists

More information

B.H.GARDI COLLEGE OF MASTER OF COMPUTER APPLICATION. Ch. 1 :- Introduction Database Management System - 1

B.H.GARDI COLLEGE OF MASTER OF COMPUTER APPLICATION. Ch. 1 :- Introduction Database Management System - 1 Basic Concepts :- 1. What is Data? Data is a collection of facts from which conclusion may be drawn. In computer science, data is anything in a form suitable for use with a computer. Data is often distinguished

More information

Introduction to Relational Databases. Introduction to Relational Databases cont: Introduction to Relational Databases cont: Relational Data structure

Introduction to Relational Databases. Introduction to Relational Databases cont: Introduction to Relational Databases cont: Relational Data structure Databases databases Terminology of relational model Properties of database relations. Relational Keys. Meaning of entity integrity and referential integrity. Purpose and advantages of views. The relational

More information

II B.Sc(IT) [ BATCH] IV SEMESTER CORE: RELATIONAL DATABASE MANAGEMENT SYSTEM - 412A Multiple Choice Questions.

II B.Sc(IT) [ BATCH] IV SEMESTER CORE: RELATIONAL DATABASE MANAGEMENT SYSTEM - 412A Multiple Choice Questions. Dr.G.R.Damodaran College of Science (Autonomous, affiliated to the Bharathiar University, recognized by the UGC)Re-accredited at the 'A' Grade Level by the NAAC and ISO 9001:2008 Certified CRISL rated

More information

SQL functions fit into two broad categories: Data definition language Data manipulation language

SQL functions fit into two broad categories: Data definition language Data manipulation language Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 7 Beginning Structured Query Language (SQL) MDM NUR RAZIA BINTI MOHD SURADI 019-3932846 razia@unisel.edu.my

More information

Review for Exam 1 CS474 (Norton)

Review for Exam 1 CS474 (Norton) Review for Exam 1 CS474 (Norton) What is a Database? Properties of a database Stores data to derive information Data in a database is, in general: Integrated Shared Persistent Uses of Databases The Integrated

More information

Lecturer 2: Spatial Concepts and Data Models

Lecturer 2: Spatial Concepts and Data Models Lecturer 2: Spatial Concepts and Data Models 2.1 Introduction 2.2 Models of Spatial Information 2.3 Three-Step Database Design 2.4 Extending ER with Spatial Concepts 2.5 Summary Learning Objectives Learning

More information

CS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010

CS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010 CS403- Database Management Systems Solved MCQS From Midterm Papers April 29,2012 MC100401285 Moaaz.pk@gmail.com Mc100401285@gmail.com PSMD01 CS403- Database Management Systems MIDTERM EXAMINATION - Spring

More information

Chapter 3B Objectives. Relational Set Operators. Relational Set Operators. Relational Algebra Operations

Chapter 3B Objectives. Relational Set Operators. Relational Set Operators. Relational Algebra Operations Chapter 3B Objectives Relational Set Operators Learn About relational database operators SELECT & DIFFERENCE PROJECT & JOIN UNION PRODUCT INTERSECT DIVIDE The Database Meta Objects the data dictionary

More information

TABLES, ANATOMY OF A TABLE

TABLES, ANATOMY OF A TABLE week 6 TABLES, ANATOMY OF A TABLE topics of the week Table structure Working with tables Table relationships Cardinality, Joins and Relates Table Jargon What is a Database? What is a Table? What is a Record/Row?

More information

CMSC 461 Final Exam Study Guide

CMSC 461 Final Exam Study Guide CMSC 461 Final Exam Study Guide Study Guide Key Symbol Significance * High likelihood it will be on the final + Expected to have deep knowledge of can convey knowledge by working through an example problem

More information

Appendix C: GIS Standards and Procedures

Appendix C: GIS Standards and Procedures APPENDICES Appendix C: GIS Standards and Procedures Akron Sewer Bureau GIS Standards and Procedures Public Utilities Bureau GIS Standards & Procedures TABLE OF CONTENTS 1. INTRODUCTION 9 2. GENERAL INFORMATION

More information

Integrating ArcGIS to Enterprise Oracle Spatial Using Direct Connect

Integrating ArcGIS to Enterprise Oracle Spatial Using Direct Connect Integrating ArcGIS to Enterprise Oracle Spatial Using Direct Connect Michael D. Tsengouras Principal Software Engineer Navigation Technologies Corporation Abstract: Many organizations are adopting Enterprise

More information

Rajiv GandhiCollegeof Engineering& Technology, Kirumampakkam.Page 1 of 10

Rajiv GandhiCollegeof Engineering& Technology, Kirumampakkam.Page 1 of 10 Rajiv GandhiCollegeof Engineering& Technology, Kirumampakkam.Page 1 of 10 RAJIV GANDHI COLLEGE OF ENGINEERING & TECHNOLOGY, KIRUMAMPAKKAM-607 402 DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING QUESTION BANK

More information

Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 8. ATTRIBUTE DATA INPUT AND MANAGEMENT 8.1 Attribute Data in GIS 8.1.1 Type of Attribute Table 8.1.2 Database Management 8.1.3 Type of Attribute Data Box 8.1 Categorical and Numeric Data 8.2 The

More information

LSGI 521: Principles of GIS. Lecture 5: Spatial Data Management in GIS. Dr. Bo Wu

LSGI 521: Principles of GIS. Lecture 5: Spatial Data Management in GIS. Dr. Bo Wu Lecture 5: Spatial Data Management in GIS Dr. Bo Wu lsbowu@polyu.edu.hk Department of Land Surveying & Geo-Informatics The Hong Kong Polytechnic University Contents 1. Learning outcomes 2. From files to

More information

ENGRG Introduction to GIS

ENGRG Introduction to GIS ENGRG 59910 Introduction to GIS Michael Piasecki October 06, 2017 Lecture 05: GIS and Database Basics Where are we now? Basic geographic concepts Introduction to GIS, coordinate system, projection, datum

More information

Streamlining Editing Workflows. Amber Bethell

Streamlining Editing Workflows. Amber Bethell Streamlining Editing Workflows Amber Bethell Workflow for solving geographic problems Ask a question Create or acquire data Validate and update data Analyze data Create cartographic product Act upon knowledge

More information

Relational Model History. COSC 416 NoSQL Databases. Relational Model (Review) Relation Example. Relational Model Definitions. Relational Integrity

Relational Model History. COSC 416 NoSQL Databases. Relational Model (Review) Relation Example. Relational Model Definitions. Relational Integrity COSC 416 NoSQL Databases Relational Model (Review) Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Relational Model History The relational model was proposed by E. F. Codd

More information

Esri s ArcGIS Enterprise. Today s Topics. ArcGIS Enterprise. IT4GIS Keith T. Weber, GISP GIS Director ISU GIS Training and Research Center

Esri s ArcGIS Enterprise. Today s Topics. ArcGIS Enterprise. IT4GIS Keith T. Weber, GISP GIS Director ISU GIS Training and Research Center Esri s ArcGIS Enterprise IT4GIS Keith T. Weber, GISP GIS Director ISU GIS Training and Research Center Today s Topics Part 1: ArcGIS Enterprise architecture Part 2: Storing and serving data for the enterprise

More information

ArcSDE architecture and connections

ArcSDE architecture and connections ArcSDE architecture and connections Lesson overview ArcSDE system components Application Server Connections Direct Connect Geodatabase properties ArcSDE versions What is a version ArcIMS and versions 6-2

More information

Relational Model. Rab Nawaz Jadoon DCS. Assistant Professor. Department of Computer Science. COMSATS IIT, Abbottabad Pakistan

Relational Model. Rab Nawaz Jadoon DCS. Assistant Professor. Department of Computer Science. COMSATS IIT, Abbottabad Pakistan Relational Model DCS COMSATS Institute of Information Technology Rab Nawaz Jadoon Assistant Professor COMSATS IIT, Abbottabad Pakistan Management Information Systems (MIS) Relational Model Relational Data

More information

Solved MCQ on fundamental of DBMS. Set-1

Solved MCQ on fundamental of DBMS. Set-1 Solved MCQ on fundamental of DBMS Set-1 1) Which of the following is not a characteristic of a relational database model? A. Table B. Tree like structure C. Complex logical relationship D. Records 2) Field

More information

Review -Chapter 4. Review -Chapter 5

Review -Chapter 4. Review -Chapter 5 Review -Chapter 4 Entity relationship (ER) model Steps for building a formal ERD Uses ER diagrams to represent conceptual database as viewed by the end user Three main components Entities Relationships

More information

Store and Manage Data in a DBMS With ArcView Database Access. Presented By: Andrew Arana & Canserina Kurnia

Store and Manage Data in a DBMS With ArcView Database Access. Presented By: Andrew Arana & Canserina Kurnia Store and Manage Data in a DBMS With ArcView Database Access Presented By: Andrew Arana & Canserina Kurnia Overview Topics to be Covered: General method for accessing data database themes, database tables

More information

ENGRG Introduction to GIS

ENGRG Introduction to GIS ENGRG 59910 Introduction to GIS Michael Piasecki October 5, 2014 Lecture 05: GIS and Databases Basics Where are we now? Basic geographic concepts Introduction to GIS, coordinate system, projection, datum

More information

SQL Interview Questions

SQL Interview Questions SQL Interview Questions SQL stands for Structured Query Language. It is used as a programming language for querying Relational Database Management Systems. In this tutorial, we shall go through the basic

More information

Database Management Systems Paper Solution

Database Management Systems Paper Solution Database Management Systems Paper Solution Following questions have been asked in GATE CS exam. 1. Given the relations employee (name, salary, deptno) and department (deptno, deptname, address) Which of

More information

Esri s Spatial Database Engine. Today s Topics. ArcSDE. A spatial database engine that works on

Esri s Spatial Database Engine. Today s Topics. ArcSDE. A spatial database engine that works on Esri s Spatial Database Engine IT4GIS Keith T. Weber, GISP GIS Director ISU GIS Training and Research Center Today s Topics Part 1: What is ArcSDE? Why use ArcSDE? ArcSDE Data Structure How is data stored

More information

The Relational Model

The Relational Model The Relational Model What is the Relational Model Relations Domain Constraints SQL Integrity Constraints Translating an ER diagram to the Relational Model and SQL Views A relational database consists

More information

Module 9: Managing Schema Objects

Module 9: Managing Schema Objects Module 9: Managing Schema Objects Overview Naming guidelines for identifiers in schema object definitions Storage and structure of schema objects Implementing data integrity using constraints Implementing

More information

Chapter 11 Database Concepts

Chapter 11 Database Concepts Chapter 11 Database Concepts INTRODUCTION Database is collection of interrelated data and database system is basically a computer based record keeping system. It contains the information about one particular

More information

CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam

CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam Question No: 1 ( Marks: 1 ) - Please choose one Which of the following is NOT a feature of Context DFD?

More information

ArcGIS Network Analyst and Network Dataset. Jim McKinney ESRI

ArcGIS Network Analyst and Network Dataset. Jim McKinney ESRI ArcGIS Network Analyst and Network Dataset Jim McKinney ESRI ArcGIS Network Analyst Everything in ArcView GIS 3x and more Routing Directions Network Analysis Tight Integration with Geoprocessing Models

More information

ArcMap - EXPLORING THE DATABASE Part I. SPATIAL DATA FORMATS Part II

ArcMap - EXPLORING THE DATABASE Part I. SPATIAL DATA FORMATS Part II Week 5 ArcMap - EXPLORING THE DATABASE Part I SPATIAL DATA FORMATS Part II topics of the week Exploring the Database More on the Table of Contents Exploration tools Identify, Find, Measure, Map tips, Hyperlink,

More information

Oracle Syllabus Course code-r10605 SQL

Oracle Syllabus Course code-r10605 SQL Oracle Syllabus Course code-r10605 SQL Writing Basic SQL SELECT Statements Basic SELECT Statement Selecting All Columns Selecting Specific Columns Writing SQL Statements Column Heading Defaults Arithmetic

More information

Introduction to Geographic Information Science. Updates. Last Lecture. Geography 4103 / Database Management

Introduction to Geographic Information Science. Updates. Last Lecture. Geography 4103 / Database Management Geography 4103 / 5103 Introduction to Geographic Information Science Database Management Updates Last Lecture We tried to explore the term spatial model by looking at definitions, taxonomies and examples

More information

D.K.M COLLEGE FOR WOMEN(AUTONOMOUS),VELLORE DATABASE MANAGEMENT SYSTEM QUESTION BANK

D.K.M COLLEGE FOR WOMEN(AUTONOMOUS),VELLORE DATABASE MANAGEMENT SYSTEM QUESTION BANK D.K.M COLLEGE FOR WOMEN(AUTONOMOUS),VELLORE DATABASE MANAGEMENT SYSTEM QUESTION BANK UNIT I SECTION-A 2 MARKS 1. What is meant by DBMs? 2. Who is a DBA? 3. What is a data model?list its types. 4. Define

More information

20762B: DEVELOPING SQL DATABASES

20762B: DEVELOPING SQL DATABASES ABOUT THIS COURSE This five day instructor-led course provides students with the knowledge and skills to develop a Microsoft SQL Server 2016 database. The course focuses on teaching individuals how to

More information

RDBMS-Day3. SQL Basic DDL statements DML statements Aggregate functions

RDBMS-Day3. SQL Basic DDL statements DML statements Aggregate functions RDBMS-Day3 SQL Basic DDL statements DML statements Aggregate functions SQL SQL is used to make a request to retrieve data from a Database. The DBMS processes the SQL request, retrieves the requested data

More information

JSPM s Bhivarabai Sawant Institute of Technology & Research, Wagholi, Pune Department of Information Technology

JSPM s Bhivarabai Sawant Institute of Technology & Research, Wagholi, Pune Department of Information Technology JSPM s Bhivarabai Sawant Institute of Technology & Research, Wagholi, Pune Department of Information Technology Introduction A database administrator (DBA) is a person responsible for the installation,

More information

GIS Data Recap. Databases HOW? Spatial Databases 2/4/2016. GEO327G/386G, UT Austin 1. GIS = Lots and Lots of Tabular Data. Goals:

GIS Data Recap. Databases HOW? Spatial Databases 2/4/2016. GEO327G/386G, UT Austin 1. GIS = Lots and Lots of Tabular Data. Goals: Databases GIS Data Recap Managing Data for Retrieval, Update, & Calculation ID Name Spudded Completed 40 Exxon #1 2/4/96 6/3/96 Production (barrels/day, cfs) 43 Shell #5 3/14/97 6/12/96 ID Oil Gas Water

More information

Microsoft Developing SQL Databases

Microsoft Developing SQL Databases 1800 ULEARN (853 276) www.ddls.com.au Length 5 days Microsoft 20762 - Developing SQL Databases Price $4290.00 (inc GST) Version C Overview This five-day instructor-led course provides students with the

More information

AutoCAD Map 3D and ESRI ArcSDE

AutoCAD Map 3D and ESRI ArcSDE AUTOCAD MAP 3D 2009 WHITE PAPER AutoCAD Map 3D and ESRI ArcSDE Many organizations, such as utilities, telecommunication providers, and government agencies, depend on geospatial data that is stored in a

More information

Understanding ArcSDE. GIS by ESRI

Understanding ArcSDE. GIS by ESRI Understanding ArcSDE GIS by ESRI Copyright 1999, 2001 2002 ESRI All rights reserved Printed in the United States of America The information contained in this document is the exclusive property of ESRI

More information

Microsoft. [MS20762]: Developing SQL Databases

Microsoft. [MS20762]: Developing SQL Databases [MS20762]: Developing SQL Databases Length : 5 Days Audience(s) : IT Professionals Level : 300 Technology : Microsoft SQL Server Delivery Method : Instructor-led (Classroom) Course Overview This five-day

More information

SANBI s Enterprise Geodatabase* * And some of the silly mistakes I ve made

SANBI s Enterprise Geodatabase* * And some of the silly mistakes I ve made SANBI s Enterprise Geodatabase* * And some of the silly mistakes I ve made Sediqa Khatieb July 2015 1 What do we do? South African National Biodiversity Institute (SANBI) National Environmental Management

More information

Databases. Managing Data for Retrieval, Update, & Calculation. Drilling Record ID Name Spudded Completed. 40 Exxon #1 2/4/96 6/3/96

Databases. Managing Data for Retrieval, Update, & Calculation. Drilling Record ID Name Spudded Completed. 40 Exxon #1 2/4/96 6/3/96 Databases Managing Data for Retrieval, Update, & Calculation Drilling Record ID Name Spudded Completed 40 Exxon #1 2/4/96 6/3/96 43 Shell #5 3/14/97 6/12/96 Production (barrels/day, cfs) ID Oil Gas Water

More information

MySQL Database Administrator Training NIIT, Gurgaon India 31 August-10 September 2015

MySQL Database Administrator Training NIIT, Gurgaon India 31 August-10 September 2015 MySQL Database Administrator Training Day 1: AGENDA Introduction to MySQL MySQL Overview MySQL Database Server Editions MySQL Products MySQL Services and Support MySQL Resources Example Databases MySQL

More information

; Spring 2008 Prof. Sang-goo Lee (14:30pm: Mon & Wed: Room ) ADVANCED DATABASES

; Spring 2008 Prof. Sang-goo Lee (14:30pm: Mon & Wed: Room ) ADVANCED DATABASES 4541.564; Spring 2008 Prof. Sang-goo Lee (14:30pm: Mon & Wed: Room 302-208) ADVANCED DATABASES Syllabus Text Books Exams (tentative dates) Database System Concepts, 5th Edition, A. Silberschatz, H. F.

More information

Course Modules for MCSA: SQL Server 2016 Database Development Training & Certification Course:

Course Modules for MCSA: SQL Server 2016 Database Development Training & Certification Course: Course Modules for MCSA: SQL Server 2016 Database Development Training & Certification Course: 20762C Developing SQL 2016 Databases Module 1: An Introduction to Database Development Introduction to the

More information

DATABASE MANAGEMENT SYSTEM

DATABASE MANAGEMENT SYSTEM DATABASE MANAGEMENT SYSTEM For COMPUTER SCIENCE DATABASE MANAGEMENT. SYSTEM SYLLABUS ER model. Relational model: relational algebra, tuple calculus, SQL. Integrity constraints, normal forms. File organization,

More information

Developing SQL Databases

Developing SQL Databases Course 20762B: Developing SQL Databases Page 1 of 9 Developing SQL Databases Course 20762B: 4 days; Instructor-Led Introduction This four-day instructor-led course provides students with the knowledge

More information

CPS 510 Data Base I. There are 3 forms of database descriptions the ANSI/SPARK, 1975 and so on

CPS 510 Data Base I. There are 3 forms of database descriptions the ANSI/SPARK, 1975 and so on Introduction DBMS 1957 A database can be defined as a set of Master files, organized & administered in a flexible way, so that the files in the database can be easily adapted to new unforeseen tasks! Relation

More information

EEOS Spatial Databases and GIS Applications

EEOS Spatial Databases and GIS Applications EEOS 381 - Spatial Databases and GIS Applications Lecture 6 Introduction to Enterprise Geodatabases and ArcSDE What is ArcSDE? Technology for multiuser geodatabases integrated into Esri s ArcGIS for Desktop

More information

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction Chapter 2: Intro. To the Relational Model Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Database Management System (DBMS) DBMS is Collection of

More information

EDUVITZ TECHNOLOGIES

EDUVITZ TECHNOLOGIES EDUVITZ TECHNOLOGIES Oracle Course Overview Oracle Training Course Prerequisites Computer Fundamentals, Windows Operating System Basic knowledge of database can be much more useful Oracle Training Course

More information

THE RELATIONAL DATABASE MODEL

THE RELATIONAL DATABASE MODEL THE RELATIONAL DATABASE MODEL Introduction to relational DB Basic Objects of relational model Properties of relation Representation of ER model to relation Keys Relational Integrity Rules Functional Dependencies

More information

Leveraging SAP HANA and ArcGIS. Melissa Jarman Eugene Yang

Leveraging SAP HANA and ArcGIS. Melissa Jarman Eugene Yang Melissa Jarman Eugene Yang Outline SAP HANA database ArcGIS Support for HANA Database access Sharing via Services Geodatabase support Demo SAP HANA In-memory database Support for both row and column store

More information

Introduction to ArcCatalog

Introduction to ArcCatalog Introduction to ArcCatalog Introduction To Arc Catalog ArcCatalog is a data- centric GUI tool used for managing spatial data With ArcCatalog you can. Inspect properties and attributes of data Preview and

More information

MTA Database Administrator Fundamentals Course

MTA Database Administrator Fundamentals Course MTA Database Administrator Fundamentals Course Session 1 Section A: Database Tables Tables Representing Data with Tables SQL Server Management Studio Section B: Database Relationships Flat File Databases

More information

Esri Geodatabase (File Geodatabase API) Reader/Writer

Esri Geodatabase (File Geodatabase API) Reader/Writer FME Readers and Writers 2013 SP1 Esri Geodatabase (File Geodatabase API) Reader/Writer The Esri Geodatabase (File Geodatabase API) reader and writer modules allow FME to store data in and retrieve data

More information

Relational Data Model

Relational Data Model Relational Data Model 1. Relational data model Information models try to put the real-world information complexity in a framework that can be easily understood. Data models must capture data structure

More information

CPS510 Database System Design Primitive SYSTEM STRUCTURE

CPS510 Database System Design Primitive SYSTEM STRUCTURE CPS510 Database System Design Primitive SYSTEM STRUCTURE Naïve Users Application Programmers Sophisticated Users Database Administrator DBA Users Application Interfaces Application Programs Query Data

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe CHAPTER 6 Basic SQL Slide 6-2 Chapter 6 Outline SQL Data Definition and Data Types Specifying Constraints in SQL Basic Retrieval Queries in SQL INSERT, DELETE, and UPDATE Statements in SQL Additional Features

More information

Relational Data Model ( 관계형데이터모델 )

Relational Data Model ( 관계형데이터모델 ) Relational Data Model ( 관계형데이터모델 ) Outline Terminology of Relational Model Mathematical Relations and Database Tables Candidate, Primary, and Foreign Keys Terminology in the Relational Model Relation:

More information

Relational Database Systems Part 01. Karine Reis Ferreira

Relational Database Systems Part 01. Karine Reis Ferreira Relational Database Systems Part 01 Karine Reis Ferreira karine@dpi.inpe.br Aula da disciplina Computação Aplicada I (CAP 241) 2016 Database System Database: is a collection of related data. represents

More information

Relational Data Structure and Concepts. Structured Query Language (Part 1) The Entity Integrity Rules. Relational Data Structure and Concepts

Relational Data Structure and Concepts. Structured Query Language (Part 1) The Entity Integrity Rules. Relational Data Structure and Concepts Relational Data Structure and Concepts Structured Query Language (Part 1) Two-dimensional tables whose attributes values are atomic. At every row-and-column position within the table, there always exists

More information

Leveraging Relationship Classes in the Geodatabase

Leveraging Relationship Classes in the Geodatabase Leveraging Relationship Classes in the Geodatabase Colin Zwicker Presentation Outline What is a relationship class? How to create a relationship class Navigating between related objects Editing with a

More information

Chapter 1 SQL and Data

Chapter 1 SQL and Data Chapter 1 SQL and Data What is SQL? Structured Query Language An industry-standard language used to access & manipulate data stored in a relational database E. F. Codd, 1970 s IBM 2 What is Oracle? A relational

More information

Assignment Session : July-March

Assignment Session : July-March Faculty Name Class/Section Subject Name Assignment Session : July-March 2018-19 MR.RAMESHWAR BASEDIA B.Com II Year RDBMS Assignment THEORY ASSIGNMENT II (A) Objective Question 1. Software that defines

More information

Midterm Review. Winter Lecture 13

Midterm Review. Winter Lecture 13 Midterm Review Winter 2006-2007 Lecture 13 Midterm Overview 3 hours, single sitting Topics: Relational model relations, keys, relational algebra expressions SQL DDL commands CREATE TABLE, CREATE VIEW Specifying

More information

Relational Query Languages. Preliminaries. Formal Relational Query Languages. Example Schema, with table contents. Relational Algebra

Relational Query Languages. Preliminaries. Formal Relational Query Languages. Example Schema, with table contents. Relational Algebra Note: Slides are posted on the class website, protected by a password written on the board Reading: see class home page www.cs.umb.edu/cs630. Relational Algebra CS430/630 Lecture 2 Relational Query Languages

More information

Mastering Transact-SQL An Overview of SQL Server 2000 p. 3 SQL Server's Networked Architecture p. 4 SQL Server's Basic Components p.

Mastering Transact-SQL An Overview of SQL Server 2000 p. 3 SQL Server's Networked Architecture p. 4 SQL Server's Basic Components p. Acknowledgments p. xxiii Introduction p. xxv Mastering Transact-SQL An Overview of SQL Server 2000 p. 3 SQL Server's Networked Architecture p. 4 SQL Server's Basic Components p. 8 Transact-SQL p. 9 SQL

More information

CS/B.Tech/CSE/New/SEM-6/CS-601/2013 DATABASE MANAGEMENENT SYSTEM. Time Allotted : 3 Hours Full Marks : 70

CS/B.Tech/CSE/New/SEM-6/CS-601/2013 DATABASE MANAGEMENENT SYSTEM. Time Allotted : 3 Hours Full Marks : 70 CS/B.Tech/CSE/New/SEM-6/CS-601/2013 2013 DATABASE MANAGEMENENT SYSTEM Time Allotted : 3 Hours Full Marks : 70 The figures in the margin indicate full marks. Candidates are required to give their answers

More information

DATABASE DESIGN I - 1DL300

DATABASE DESIGN I - 1DL300 DATABASE DESIGN I - 1DL300 Fall 2010 An introductory course on database systems http://www.it.uu.se/edu/course/homepage/dbastekn/ht10/ Manivasakan Sabesan Uppsala Database Laboratory Department of Information

More information

Chapter 2: Spatial Concepts and Data Models 2.1 Introduction 2.2 Models of Spatial Information. 2.4 Extending ER with Spatial Concepts 2.

Chapter 2: Spatial Concepts and Data Models 2.1 Introduction 2.2 Models of Spatial Information. 2.4 Extending ER with Spatial Concepts 2. Chapter 2: Spatial Concepts and Data Models 2. Introduction 2.2 Models of Spatial Information 2.3 Three-Step Database Design 2.4 Extending ER with Spatial Concepts 2.5 Summary What is a Data Model? What

More information

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data.

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data. Managing Data Data storage tool must provide the following features: Data definition (data structuring) Data entry (to add new data) Data editing (to change existing data) Querying (a means of extracting

More information

Editing Versioned Geodatabases : An Introduction

Editing Versioned Geodatabases : An Introduction Esri International User Conference San Diego, California Technical Workshops July 24, 2012 Editing Versioned Geodatabases : An Introduction Cheryl Cleghorn Shawn Thorne Assumptions: Basic knowledge of

More information

Oracle Database: SQL and PL/SQL Fundamentals

Oracle Database: SQL and PL/SQL Fundamentals Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-9 7 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training

More information

Working with Versions in ArcInfo 8

Working with Versions in ArcInfo 8 Working with Versions in ArcInfo 8 Today s Agenda Definition Concepts and Benefits Server (ArcSDE) - Client (ArcInfo) Overview of ArcInfo s Functionality Available Customization Demonstration... Questions?

More information

Oracle Spatial A Unifying Framework at the Utah Department Of Transportation

Oracle Spatial A Unifying Framework at the Utah Department Of Transportation Oracle Spatial A Unifying Framework at the Utah Department Of Transportation Dan Paske Utah Department of Transportation Oracle DBA Jeff Saunders Farallon Geographics, Inc. Senior Geodatabase Developer

More information

"Charting the Course... MOC C: Developing SQL Databases. Course Summary

Charting the Course... MOC C: Developing SQL Databases. Course Summary Course Summary Description This five-day instructor-led course provides students with the knowledge and skills to develop a Microsoft SQL database. The course focuses on teaching individuals how to use

More information

presented by: Tim Haithcoat University of Missouri Columbia

presented by: Tim Haithcoat University of Missouri Columbia 12 presented by: Tim Haithcoat University of Missouri Columbia Introduction Very early attempts to build GIS began from scratch, using limited tools like operating systems & compilers More recently, GIS

More information

ArcGIS Pro SDK for.net: An Overview of the Geodatabase API. Colin Zwicker Ling Zhang Nghiep Quang

ArcGIS Pro SDK for.net: An Overview of the Geodatabase API. Colin Zwicker Ling Zhang Nghiep Quang ArcGIS Pro SDK for.net: An Overview of the Geodatabase API Colin Zwicker Ling Zhang Nghiep Quang What will not be deeply discussed Add-in model & threading model - ArcGIS Pro SDK for.net: Beginning Pro

More information

Bonus Content. Glossary

Bonus Content. Glossary Bonus Content Glossary ActiveX control: A reusable software component that can be added to an application, reducing development time in the process. ActiveX is a Microsoft technology; ActiveX components

More information