{"id":136,"date":"2015-11-16T18:31:56","date_gmt":"2015-11-17T01:31:56","guid":{"rendered":"https:\/\/blogs.ubc.ca\/advancedgis\/?page_id=136"},"modified":"2019-11-21T10:05:05","modified_gmt":"2019-11-21T17:05:05","slug":"database-management-systems","status":"publish","type":"page","link":"https:\/\/blogs.ubc.ca\/advancedgis\/schedule\/slides\/database-management-systems\/","title":{"rendered":"Database Management Systems"},"content":{"rendered":"<p class=\"level01text\">After spatial data management (the input, storage, manipulation and display of points, lines, areas, cells), attribute data handling is the other primary capability required of a GISystem. Without the ability to properly handle the related non-spatial information, the technology of GIS would never have taken off as it has. The purpose of the this lecture is to provide you with an overview of attribute data handling in a GIS environment.<\/p>\n<p>Over the years several different approaches to handling attribute data have been used by GIS vendors, although at present the relational database approach is by far the dominant. There is very little else on the net which describes this subject from a GIS perspective.<\/p>\n<p>In <strong>ArcView<\/strong> (a precursor to ArcMAP), the database <i>format<\/i> was derived from <strong>dBase<\/strong>, a widely used PC-based relational database management system software program, while in Arc\/Info (a unix-based software package that was the precursor to ArcGIS ) the database format was derived from INFO. <strong>ArcGIS<\/strong> supports the use of both previous database program formats (i.e., the dBase .dbf format and the info format, which is evident when you create a raster dataset [note the <strong>info<\/strong> directory associated with raster files]), but ESRI is also promoting the use of its GeoDatabase (gdb) concept and, in particular, it is promoting the use of multiuser database connections, which means that almost any database supporting Object Linking and Embedding (<a href=\"http:\/\/support.microsoft.com\/default.aspx?scid=KB;EN-US;Q86008&amp;\" target=\"_blank\" rel=\"noopener noreferrer\">OLE<\/a>) can be used&#8211;be it an Oracle database, a Microsoft SQL Server, Jet (Microsoft Access) and\u00a0Microsoft Excel. (Other databases can be accessed from ArcGIS if an OLE DB is available for that database.) <strong>SQL<\/strong> is available in ArcGIS through such tools as &#8216; Select by attributes&#8217; under Options (attribute table).<\/p>\n<h4 class=\"level01text\">Leading DBMS Vendors<strong><br \/>\n<\/strong><\/h4>\n<ul>\n<li class=\"level01text\"><a href=\"http:\/\/www.oracle.com\/index.html\" target=\"_blank\" rel=\"noopener noreferrer\">Oracle<\/a><\/li>\n<li class=\"level01text\"><a href=\"http:\/\/www.microsoft.com\/en-ca\/server-cloud\/products\/sql-server\/\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft SQL Server<\/a><\/li>\n<li class=\"level01text\"><a href=\"http:\/\/www.mysql.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">MySQL<\/a> (free)<\/li>\n<li class=\"level01text\"><a href=\"http:\/\/www.postgresql.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">PostgreSQL<\/a> (free)<\/li>\n<li>A good review of the rapidly changing DBMS market today: <a href=\"https:\/\/scalegrid.io\/blog\/2019-database-trends-sql-vs-nosql-top-databases-single-vs-multiple-database-use\/\">2019 Database Trends<\/a><\/li>\n<\/ul>\n<div id=\"random-accordion-id-68\" class=\"accordion-shortcode  \">\n<h3 ><a href=\"#learning-objectives-0\" >Learning Objectives<\/a><\/h3><div id=\"learning-objectives-0\" class=\"accordian-shortcode-content \" ><\/p>\n<ul>\n<li>Understand the role of database management systems in GIS;<\/li>\n<li>Recognize structured query language (SQL) statements;<\/li>\n<li>Understand the key geographic database data types and functions;<\/li>\n<li>Be familiar with the stages of geographic database design.<\/li>\n<\/ul>\n<p>\n<\/div>\n<h3 ><a href=\"#required-readings-1\" >Required Readings<\/a><\/h3><div id=\"required-readings-1\" class=\"accordian-shortcode-content \" ><\/p>\n<p><strong>Overheads:<\/strong> <a href=\"https:\/\/blogs.ubc.ca\/advancedgis\/files\/2019\/11\/Lecture13DBMS.pdf\">Lecture 13: DBMS<\/a><\/p>\n<\/div>\n<h3 ><a href=\"#recommended-readings-2\" >Recommended Readings<\/a><\/h3><div id=\"recommended-readings-2\" class=\"accordian-shortcode-content \" ><\/p>\n<p><strong>Text:<\/strong> Chapter 5.2 of the <a href=\"https:\/\/2012books.lardbucket.org\/books\/geographic-information-system-basics\/s09-02-geospatial-database-management.html\">GIS Basics text<\/a> covers this topic.<\/p>\n<p>Several NCGIA notes cover attribute data handing:<\/p>\n<p><a href=\"http:\/\/ibis.geog.ubc.ca\/courses\/klink\/gis.notes\/ncgia\/u43.html#UNIT43\" target=\"_blank\" rel=\"noopener noreferrer\">Database Concepts I<\/a><\/p>\n<p><a href=\"http:\/\/ibis.geog.ubc.ca\/courses\/klink\/gis.notes\/ncgia\/u44.html#UNIT44\" target=\"_blank\" rel=\"noopener noreferrer\">Database Concepts II<\/a><\/p>\n<p><a href=\"http:\/\/ibis.geog.ubc.ca\/courses\/klink\/gis.notes\/ncgia\/u45.html#UNIT45\" target=\"_blank\" rel=\"noopener noreferrer\">Accuracy of Spatial Databases<\/a><\/p>\n<hr \/>\n<p><a href=\"http:\/\/dbmsbasics.blogspot.ca\/\" target=\"_blank\" rel=\"noopener noreferrer\">Database Management System (DBMS) Basic Concepts<\/a> - A blog that's worth viewing about DBMS<\/p>\n<p><a href=\"http:\/\/www.wiley.com\/legacy\/wileychi\/gis\/volumes.html\" target=\"_blank\" rel=\"noopener noreferrer\">Geographic Information Systems, First Edition, 1991 <\/a>- Wiley (a textbook publisher) has made available selected chapters from the 1991 \u201cBig Book\u201d of GIS\u2013<a href=\"https:\/\/www.wiley.com\/legacy\/wileychi\/gis\/Volume1\/BB1v1_ch18.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">chapter 18 (DBMS from a GIS perspective)<\/a><\/p>\n<p>For those who would like to delve deeper into the world of DBMS\u2013something I recommend to students interested in making GIS part of their career\u2013I have found a set of overheads by R. Ramakrishnan and J. Gehrke that describe the subject fully (although not from a GIS perspective):<\/p>\n<p><a href=\"https:\/\/blogs.ubc.ca\/advancedgis\/files\/2015\/11\/Database-Systems.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">Chapter 1: Introduction to Database Systems<\/a><\/p>\n<p><a href=\"https:\/\/blogs.ubc.ca\/advancedgis\/files\/2015\/11\/Entity-Relationship-Model.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">Chapter 2: The Entity Relationship Model <\/a><\/p>\n<p><a href=\"https:\/\/blogs.ubc.ca\/advancedgis\/files\/2015\/11\/Relational-Model.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">Chapter 3: The Relational Model <\/a><\/p>\n<p><a href=\"http:\/\/pages.cs.wisc.edu\/~dbbook\/openAccess\/thirdEdition\/slides\/slides3ed.html\" target=\"_blank\" rel=\"noopener noreferrer\">Slides for Database Management Systems <\/a><\/p>\n<p><a href=\"http:\/\/pages.cs.wisc.edu\/~dbbook\/\" target=\"_blank\" rel=\"noopener noreferrer\">Database Management Systems<\/a> (text information)<\/p>\n<\/div>\n<h3 ><a href=\"#useful-resources-3\" >Useful Resources<\/a><\/h3><div id=\"useful-resources-3\" class=\"accordian-shortcode-content \" ><\/p>\n<p><a href=\"http:\/\/www.wiley.com\/legacy\/wileychi\/gis\/Volume1\/BB1v1_ch18.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">Database Management Systems<\/a> - is well worth reviewing (GIS perspective, although it was written before the object-relational type of database (ORDBMS) was conceived (commercial versions were first released in the mid-90\u2019s) and subsequently implemented in, for example, ArcGIS\u2019s GeoDatabase).<\/p>\n<p>ESRI: <a href=\"http:\/\/www.esri.com\/products\/arcgis-capabilities\/data-management\" target=\"_blank\" rel=\"noopener noreferrer\">Data Management<\/a> \u2013 Get the Most Out of Your Data- a look at how attribute handling is changing and an insight into attribute handling in a corporate environment<\/p>\n<p>Wikipedia: <a href=\"https:\/\/en.wikipedia.org\/wiki\/Object-relational_database\" target=\"_blank\" rel=\"noopener noreferrer\">Object-Relational Database <\/a><\/p>\n<p>Wikipedia: <a href=\"https:\/\/en.wikipedia.org\/wiki\/DBase\" target=\"_blank\" rel=\"noopener noreferrer\">dBase <\/a><\/p>\n<p>ESRI: <a href=\"https:\/\/blogs.ubc.ca\/advancedgis\/files\/2015\/11\/ESRI-Working-with-the-Geodatabase.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">Working with Geodatabase: Powerful Multiuser Editing and Sophisticated Data Integrity<\/a><\/p>\n<p>Microsoft: <a href=\"https:\/\/support.office.com\/en-us\/article\/Linked-objects-and-embedded-objects-0BF81DB2-8AA3-4148-BE4A-C8B6E55E0D7C\" target=\"_blank\" rel=\"noopener noreferrer\">OLE Concepts explained from a Word perspective<\/a><\/p>\n<p>Google Definition Search: <a href=\"https:\/\/www.google.ca\/search?hl=en&amp;hs=mgS&amp;lr=&amp;safe=off&amp;client=firefox&amp;rls=org.mozilla:en-US:official&amp;oi=defmore&amp;q=define:API&amp;gws_rd=ssl\" target=\"_blank\" rel=\"noopener noreferrer\">Application Programming Interface (API)<\/a><\/p>\n<p><a href=\"http:\/\/www.sigmod.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Special Interest Group on Management of Data <\/a><\/p>\n<p>About Tech: <a href=\"http:\/\/databases.about.com\/cs\/administration\/g\/domain.htm\" target=\"_blank\" rel=\"noopener noreferrer\">Domain <\/a><\/p>\n<p>Wikipedia: <a href=\"https:\/\/en.wikipedia.org\/wiki\/Database_abstraction_layer\" target=\"_blank\" rel=\"noopener noreferrer\">Database Abstraction Layer <\/a><\/p>\n<p><strong>Tutorials:<\/strong><\/p>\n<p>W3Schools: <a href=\"https:\/\/www.w3schools.com\/sql\/sql_intro.asp\" target=\"_blank\" rel=\"noopener noreferrer\">Introduction to SQL<\/a><\/p>\n<p>SQL Course.com: <a href=\"http:\/\/www.sqlcourse.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">What is SQL?<\/a><\/p>\n<\/div>\n<h3 ><a href=\"#keywords-4\" >Keywords<\/a><\/h3><div id=\"keywords-4\" class=\"accordian-shortcode-content \" ><\/p>\n<p>database, DBMS, relational, concurrency, integrity (domains), security, keys (primary and foreign), SQL ERM, data abstraction layer<\/p>\n<\/div>\n<\/div><!-- #random-accordion-id-68end of accordion shortcode -->\n","protected":false},"excerpt":{"rendered":"<p>After spatial data management (the input, storage, manipulation and display of points, lines, areas, cells), attribute data handling is the other primary capability required of a GISystem. Without the ability to properly handle the related non-spatial information, the technology of GIS would never have taken off as it has. The purpose of the this lecture [&hellip;]<\/p>\n","protected":false},"author":18620,"featured_media":0,"parent":73,"menu_order":11,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-136","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blogs.ubc.ca\/advancedgis\/wp-json\/wp\/v2\/pages\/136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ubc.ca\/advancedgis\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.ubc.ca\/advancedgis\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/advancedgis\/wp-json\/wp\/v2\/users\/18620"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/advancedgis\/wp-json\/wp\/v2\/comments?post=136"}],"version-history":[{"count":23,"href":"https:\/\/blogs.ubc.ca\/advancedgis\/wp-json\/wp\/v2\/pages\/136\/revisions"}],"predecessor-version":[{"id":3283,"href":"https:\/\/blogs.ubc.ca\/advancedgis\/wp-json\/wp\/v2\/pages\/136\/revisions\/3283"}],"up":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/advancedgis\/wp-json\/wp\/v2\/pages\/73"}],"wp:attachment":[{"href":"https:\/\/blogs.ubc.ca\/advancedgis\/wp-json\/wp\/v2\/media?parent=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}