uses of DB systems DB environment DB structure Codd’s rules current common RDBMs implementations.

Slides:



Advertisements
Similar presentations
Chapter 10: Designing Databases
Advertisements

The Relational Model and Relational Algebra Nothing is so practical as a good theory Kurt Lewin, 1945.
Database Management3-1 L3 Database Management Santa R. Susarapu Ph.D. Student Virginia Commonwealth University.
CIT 613: Relational Database Development using SQL Introduction to SQL.
Chapter 3 Database Management
Client/Server Databases and the Oracle 10g Relational Database
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
BUSINESS DRIVEN TECHNOLOGY
Database Features Lecture 2. Desirable features in an information system Integrity Referential integrity Data independence Controlled redundancy Security.
CSC 2720 Building Web Applications Database and SQL.
1 Chapter 2 Database Environment. 2 Chapter 2 - Objectives u Purpose of three-level database architecture. u Contents of external, conceptual, and internal.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Phil Brewster  One of the first steps – identify the proper data types  Decide how data (in columns) should be stored and used.
Databases Illuminated
Ihr Logo Data Explorer - A data profiling tool. Your Logo Agenda  Introduction  Existing System  Limitations of Existing System  Proposed Solution.
44220: Database Design & Implementation Logical Data Modelling Ian Perry Room: C48 Tel Ext.: 7287
Chapter 3 The Relational Model Transparencies Last Updated: Pebruari 2011 By M. Arief
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2012 (September 5, 2012)
1 Intro to Info Tech Database Management Systems Copyright 2003 by Janson Industries This presentation can be viewed on line at:
6-1 DATABASE FUNDAMENTALS Information is everywhere in an organization Information is stored in databases –Database – maintains information about various.
Introduction to Database Systems Motivation Irvanizam Zamanhuri, M.Sc Computer Science Study Program Syiah Kuala University Website:
I Copyright © 2004, Oracle. All rights reserved. Introduction.
Chapter 1 Introduction to Databases Pearson Education ©
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
An Investigation of Oracle and SQL Server with respect to Integrity, and SQL Language standards Presented by: Paul Tarwireyi Supervisor: John Ebden Date:
Introduction to SQL Steve Perry
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
 DATABASE DATABASE  DATABASE ENVIRONMENT DATABASE ENVIRONMENT  WHY STUDY DATABASE WHY STUDY DATABASE  DBMS & ITS FUNCTIONS DBMS & ITS FUNCTIONS 
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
CODD’s 12 RULES OF RELATIONAL DATABASE
Module 3: The Relational Model.  Overview Terminology Relational Data Structure Mathematical Relations Database Relations Relational Keys Relational.
Databases and Statistical Databases Session 4 Mark Viney Australian Bureau of Statistics 5 June 2007.
MIS DATABASE SYSTEMS, DATA WAREHOUSES, AND DATA MARTS CHAPTER 3
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
Fundamentals of Information Systems, Seventh Edition 1 Chapter 3 Data Centers, and Business Intelligence.
Storing Organizational Information - Databases
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Instructor: Dema Alorini Database Fundamentals IS 422 Section: 7|1.
5-1 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved.
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 3 DATABASES AND DATA WAREHOUSES. 2 OPENING CASE STUDY Chrysler Spins a Competitive Advantage with Supply Chain Management Software Chapter 2 –
Databases Shortfalls of file management systems Structure of a database Database administration Database Management system Hierarchical Databases Network.
D R. E.F.C ODD ’ S R ULES FOR RDBMS Dr. E.F.Codd is an IBM researcher who first developed the relational data model in 1970.Dr. Codd published a list.
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,
CS453: Databases and State in Web Applications (Part 2) Prof. Tom Horton.
Database Basics BCIS 3680 Enterprise Programming.
Database Systems Lecture 1. In this Lecture Course Information Databases and Database Systems Some History The Relational Model.
Lecture 10 Creating and Maintaining Geographic Databases Longley et al., Ch. 10, through section 10.4.
CIT 613: Relational Database Development using SQL Introduction to SQL DeSiaMorePowered by DeSiaMore 1.
Database Systems Logical Data Modelling Tutor:Ian Perry Tel: Web:
Chapter 3: Relational Databases
Fundamentals of Information Systems, Sixth Edition Chapter 3 Database Systems, Data Centers, and Business Intelligence.
1 Information Retrieval and Use De-normalisation and Distributed database systems Geoff Leese September 2008, revised October 2009.
Copyright © 2004 Pearson Education, Inc. Chapter 1 Introduction and Conceptual Modeling.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Data Resource Management Data Concepts Database Management Types of Databases Chapter 5 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Client/Server Databases and the Oracle 10g Relational Database
RELATIONAL DATABASE MODEL
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2 Database Environment.
Database solutions Database environment Marzena Nowakowska Faculty of Management and Computer Modelling Kielce University of Technology rooms: 3.21 C,
Database Management Systems
Chapter 2 Database Environment Pearson Education © 2009.
Relational data model. Codd's Rule E.F Codd was a Computer Scientist who invented Relational model for Database management. Based on relational model,
INTRODUCTION A Database system is basically a computer based record keeping system. The collection of data, usually referred to as the database, contains.
Presentation transcript:

uses of DB systems DB environment DB structure Codd’s rules current common RDBMs implementations

99% of my projects at work include a DB how many school projects?

Used in large and small organizations. Examples Consumer websites and customer service websites Online banking Credit card companies Supermarkets and retail stores Airline reservations Medical records and billing Employment records School records Bibliographic Databases Advanced applications-Geographic Information Systems, software development, scientific research, Decision Support Systems, Customer Relations Management, search engines

Database Large repository of data Contains different record types Contains metadata -“knows” about structure and relationships in data Managed by database administrator – DBA DBMS, Database Management System Controls access to database Has facilities to Set up database structure Load the data Retrieve requested data and format it for users Hide sensitive data Accept and perform updates Handle concurrency Perform backup and recovery … and many other functions… Applications

University database DBMS - may be Access, Oracle, DB2,… Users may be individuals on workstations (interactive users) or application programs Both users and applications go through DBMS Applications produce standard output, such as reports

all data stored in tables one entity per table (usually) data as well as relationships rows each rows contains a single record cell intersection of a row and column columns each column contains an attribute of the entity

Simple University database Keeps information about Students Classes-links Faculty to their classes Enrollment-links students to their classes Data represented as tables Each row of Student table represents one student, of Faculty one faculty member, of Class one class Each row of Enroll represents relationship between one student and one class

primary key uniquely identifies the row composite primary key – multiple columns, single key foreign key a key that references a primary key in a different table

basis for a relational model, which lead to the development of RDBMS The rules are: 1. DBMS must be able to manage DB via relational capabilities 2. All information is represented in a tabular format 3. Guaranteed Access – every value is guaranteed to be accessible by a combination of the table name, the primary key and the column name 4. Null value support – DBMS supports null value, which is distinct from default values and independent of any domain 5. Active, online relational catalogue – description of the DB and its contents is represented in a tabular format, and can be queried

6. Comprehensive data sublanguage – languages must have a well-defined syntax; supports data definition, manipulation, integrity rules, authorization and transactions 7. View updating – all views that are theoretically updatable, can be updated 8. Set-level insertion, updating and deletion – DBMS supports retrieval of sets as well as insertion, updating and deletion 9. Physical data independence – application programs are unaffected when physical access methods change

10. Logical data independence – application programs are logically unaffected when changes are made to table structures 11. Integrity independence – DB language must be capable of defining integrity rules. These will be stored in the online catalogue and cannot be bypassed. 12. Distribution independence – application programs are logically unaffected when data is first distributed (or redistributed). 13. Nonsubversion – it must be impossible to bypass the integrity rules by using lower level languages.

relational / OO models using SQL (Structured Query Language) using DBMS (DataBase Management System) a software “package” manages DBs manages data storage within can run on multiple OS basic supported features – supports data modeling, query language, access controls, transactions some support more advanced features – backup, replication, encryption

Oracle C/C++ OS - multiple used by large corporations sells different packages inline SQL, but also management tools e.g. Enterprise Edition -> $40 – 80K/processor (2010) MySQL MySQL AB (Subsidiary of Oracle) C/C++ OS – multiple source code available under GNU General Public License open source multiple flavors used by free/open source projects also used by Google, Wikipedia Oracle seems to be cutting back support (change sets, documentation)

SQL Server Microsoft C/C++/C# OS – Windows used in this class many options, including SQL CE, Reporting Services incorporated into Visual Studio and other MS tools e.g. Enterprise Edition -> $20K/processor (2010)

uses of DB systems DB environment DB structure Codd’s rules current common RDBMs implementations