From model to service: relational databases and SCONE Presentation to CDLR staff on Wed 5 Feb 2003 By Gordon Dunsire.

Slides:



Advertisements
Similar presentations
Organisation Of Data (1) Database Theory
Advertisements

Chapter 4 Database Processing. Agenda Purpose of Database Terminology Components of Database System Multi-user Processing Database Design Entity-relationship.
Chapter 6 UNDERSTANDING AND DESIGNING QUERIES AND REPORTS.
The Relational Database Model
Chapter 3 The Relational Model Transparencies © Pearson Education Limited 1995, 2005.
Chapter 3 Database Management
Chapter 3. 2 Chapter 3 - Objectives Terminology of relational model. Terminology of relational model. How tables are used to represent data. How tables.
1004INT Information Systems Week 10 Databases as Business Tools.
Database Features Lecture 2. Desirable features in an information system Integrity Referential integrity Data independence Controlled redundancy Security.
IMS1907 Database Systems Summer Semester 2004/2005 Lecture 2 Relational DBMS Software An Overview of Microsoft Access.
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
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...
MMG508.  Access Types  Tables  Relational tables  Queries  Stored database queries  Forms  GUI forms for data entry/display  Reports  Reports.
Databases & Data Warehouses Chapter 3 Database Processing.
N Dunsire, G. Razvoj sheme relacijske baze podataka za opise na razini zbirke u Skotskoj mrezi zbirki = Development of a relational database schema for.
CSC271 Database Systems Lecture # 6. Summary: Previous Lecture  Relational model terminology  Mathematical relations  Database relations  Properties.
2.3 Organising Data for Effective Retrieval
Lecture 2 The Relational Model. Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical relations.
Chapter 4 The Relational Model Pearson Education © 2014.
Chapter 4 The Relational Model.
Chapter 3 The Relational Model Transparencies Last Updated: Pebruari 2011 By M. Arief
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 /
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.
Systems analysis and design, 6th edition Dennis, wixom, and roth
CHAPTER 7 Database: SQL, MySQL. Topics  Introduction  Relational Database Model  Relational Database Overview: Books.mdb Database  SQL (Structured.
DATABASE. A database is collection of information that is organized so that it can easily be accessed, managed and updated. It is also the collection.
Learningcomputer.com SQL Server 2008 – Entity Relationships in a Database.
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
Driving School Database
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
SCONE: reusability, granularity and collection strength Gordon Dunsire & Dennis Nicholson Presented at the Collection Description Focus, Workshop 2, Birmingham,
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.
6 Chapter Databases and Information Management. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits.
Chapter 3 The Relational Model. 2 Chapter 3 - Objectives u Terminology of relational model. u How tables are used to represent data. u Connection between.
1 The Relational Database Model. 2 Learning Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical.
Collection-Level Description Gordon Dunsire Depute Director, Centre for Digital Library Research Presentation for a workshop at the Libraries in the Digital.
9/7/2012ISC329 Isabelle Bichindaritz1 The Relational Database Model.
Database Design 1: Introduction and Terminology CS 320.
Chapter 4 Database Processing Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-1.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
26 Mar 04 1 Application Software Practical 5/6 MS Access.
Access Review. Access Access is a database application A database is a collection of records and files organized for a particular purpose Access supports.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Microsoft FrontPage 2003 Illustrated Complete Integrating a Database with a Web Site.
1 MS Access. 2 Database – collection of related data Relational Database Management System (RDBMS) – software that uses related data stored in different.
CC-interop and SCONE extending collection-level description Gordon Dunsire & Dennis Nicholson Presented to Mapping the information landscape: a showcase.
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
The Scottish Collections Network Gordon Dunsire. Collection-level descriptions service (> 3500) “Landscaping” function in the Scottish Information Environment:
CTFS Workshop Shameema Esufali Asian data coordinator and technical resource for the network
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,
© 2003 Prentice Hall, Inc.3-1 Chapter 3 Database Management Information Systems Today Leonard Jessup and Joseph Valacich.
Database: SQL, MySQL, LINQ and Java DB © by Pearson Education, Inc. All Rights Reserved.
The Relational Model © Pearson Education Limited 1995, 2005 Bayu Adhi Tama, M.T.I.
Development of a relational database schema for collection- level descriptions in SCONE for archives, libraries, and museums Gordon Dunsire Presentation.
Chapter 4 The Relational Model Pearson Education © 2009.
Information for Scotland 816 Nov 2001 The Scottish Collections Network (SCONE) Gordon Dunsire presented at Information for Scotland 8 16 November 2001,
The Relational Database Model
Database.
Chapter 4 The Relational Model Pearson Education © 2009.
Chapter 4 The Relational Model Pearson Education © 2009.
Chapter 4 The Relational Model Pearson Education © 2009.
Relational Database Design
Chapter 4 The Relational Model Pearson Education © 2009.
Microsoft Access Date.
Presentation transcript:

From model to service: relational databases and SCONE Presentation to CDLR staff on Wed 5 Feb 2003 By Gordon Dunsire

Overview From theory to practice A bit about collection level description A bit about relational database design A bit about entity-relationship models Not necessarily in that order! But using SCONE as a case-study

Implementation stages Entity-relationship model Attribute sets Entities & relationships map to relational database tables Attributes map to fields (columns) in table Tables related using standard rdbms structures Service data retrieved using SQL

Entity-Relationship model Defines entities (things) and relationships between them Entity-Relationship-Entity syntax Defines attributes (pieces of information) common to each entity and relationship SCONE is based on a model developed by Michael Heaney for UKOLN

Heaney’s Analytic Model

Attribute sets Entity: Location (physical repository) –Place; Identifier Entity: Agent:Collector (person) –Name; Date; Biography Relationship: Collects –Legal status; Accrual policy Relationship: Administers –Access conditions

Implementation in RDBMS Map entities and relationships to tables –Entity Location (physical repository) maps to table LocationPhys –Relationship Collects maps to table Collects Map attribute sets to fields in each table –Decomposition to finer detail data elements where appropriate E.g. Location – place decomposes to building name, address, town, region, postcode, etc.

Example: LocationPhys Table fields from attributes –Address1 –Address2 –Address3 –Postcode Plus fields from “experience tells me” attributes –Notes

Example: LocationPhys Plus fields for administrative metadata –LastDate Plus fields for RDBMS structure –LocationPhysID (primary key) –TownID (secondary, foreign key) Maps attribute Town to a lookup table (Town treated as an entity) matched by keys

Relational databases LocationPhys Address1 Address2 Address3 TownID Postcode LocationPhysID LastDate Etc. Town Name TownID LastDate

Relationships (model) Agent [AgentPers] Forename Surname Dates … AgentID … Administers AccessOpenHours … AdministersID … AgentID LocationID Location [LocationPhys] Address1 Address2 Address3 TownID … LocationID …

Terminological inexactitudes Relationships (model) are NOT the same as relationships (RDBMS) –But can often appear so! Relationship (m) requires its own table (mostly); relationship (r) is the link between tables –Can sometimes simplify so relationship (m) is implicitly defined by relationship (r), but NOT if relationship (m) has its own attributes

Assembling the record Use Structured Query Language (SQL) to request fields from related tables matching specified criteria E.g. to get location town and postcode: –SELECT Town.Name, LocationPhys.Postcode FROM LocationPhys INNER JOIN Town on Town.TownID=LocationPhys.TownID WHERE LocationPhys.LocationPhysID=23

SCONE Service Web page design and content by DreamWeaver RDBMS data added to page content dynamically by ColdFusion –Fully integrated environment with DW –SQL scripts –Data processing (program flow) scripts Data stored in SQL Server

Views SCONE data retrieved in different ways for different purposes using SQL –Data is stored once, used many times –Data updates are immediately visible –Data updated once, visible in many places Single RDBMS supports multiple, overlapping services: –SCONE, SCAMP, SLIR (SWOP, ESH), RCO, CAIRNS, Cultural portal