Chapter 1 Database Concepts.

Slides:



Advertisements
Similar presentations
Relational Database and Data Modeling
Advertisements

Introduction to Databases
Chapter 5 Database Concepts. Why Study Databases? Databases have incredible value to business. Probably the most important technology for supporting operations.
Chapter 5 Database Concepts. Why Study Databases? Databases have incredible value to businesses. Very important technology for supporting operations.
ETEC 100 Information Technology
Chapter 5 Relationships & Queries in Databases. Types of Relationships One to One Examples? Analysis Technique Consider ThingA and ThingB Can ThingA be.
File Systems and Databases
Organizing Data Chapter 5. Data Hierachy Table = Entities X Attributes Entities = Records Attributes = Fields.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 1 Introduction to Database Management.
Organizing Data & Information
Chapter 5 Database Concepts.
McGraw-Hill/Irwin Copyright © 2008, The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin Copyright © 2008 The McGraw-Hill Companies, Inc.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
McGraw-Hill/Irwin Copyright © 2008, The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin Copyright © 2008 The McGraw-Hill Companies, Inc.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Chapter 1 Introduction to Database Management. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Welcome! Database technology:
Database Systems: Design, Implementation, and Management Ninth Edition
Database Design - Lecture 1
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
6 Chapter Databases and Information Management. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits.
Introduction to Database Management. 1-2 Outline  Database characteristics  DBMS features  Architectures  Organizational roles.
1.file. 2.database. 3.entity. 4.record. 5.attribute. When working with a database, a group of related fields comprises a(n)…
5-1 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 5 Data Resource Management.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 1 DATABASE SYSTEMS Instructor Ms. Arwa Binsaleh.
DATA RESOURCE MANAGEMENT
Data Resource Management Chapter 5 McGraw-Hill/IrwinCopyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved.
McGraw-Hill/Irwin ©2008,The McGraw-Hill Companies, All Rights Reserved Chapter 5 Data Resource Management.
Data Resource Management Data Concepts Database Management Types of Databases Chapter 5 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Database Principles: Fundamentals of Design, Implementation, and Management Chapter 1 The Database Approach.
THE LEONS COLLEGE OF LAW1 Organizing Data and Information Chapter 4.
Introduction to DBMS Purpose of Database Systems View of Data
Pengantar Sistem Informasi
Data Resource Management
Introduction To DBMS.
Lecture 1 Introduction to Database
Chapter 1: Introduction
Fundamentals of Information Systems, Sixth Edition
Fundamentals & Ethics of Information Systems IS 201
Data Resource Management
Chapter 4 Relational Databases
Databases and Data Warehouses Chapter 3
RELATIONAL DATABASE MODEL
Well, Sort-of.
Databases and Information Management
Introduction to Database Systems
MANAGING DATA RESOURCES
Chapter 1 Database Systems
File Systems and Databases
Chapter 5 Data Resource Management.
Chapter 9 Database and Information Management.
Managing data Resources:
Database Systems Chapter 1
Relationships & Queries in Databases
Database Systems: Design, Implementation, and Management
Databases and Information Management
Introduction to DBMS Purpose of Database Systems View of Data
Lecture 1 File Systems and Databases.
CHAPTER 1: THE DATABASE ENVIRONMENT AND DEVELOPMENT PROCESS
Accounting Information Systems 9th Edition
Why Study Databases? Databases have incredible value to businesses.
Chapter 1 Database Systems
Databases and Information Management
Database Systems: Design, Implementation, and Management Tenth Edition
Presentation transcript:

Chapter 1 Database Concepts

Introduction Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database Databases evolved from computer file systems Understanding file system characteristics is important

Why Databases? Databases solve many of the problems encountered in data management – Used in almost all modern settings involving data management: • Business • Research • Administration • Important to understand how databases work and interact with other applications

Why Study Databases? Databases have incredible value to businesses. Very important technology for supporting operations. Vastly superior to file processing systems Businesses cannot survive without quality data about their internal operations and external environment.

Data vs. Information Data are raw facts Information is the result of processing raw data to reveal meaning Information requires context to reveal meaning Raw data must be formatted for storage, processing, and presentation Data are the foundation of information, which is the bedrock of knowledge

Data vs. Information Data: building blocks of information Information produced by processing data Information used to reveal meaning in data Accurate, relevant, timely information is the key to good decision making • Good decision making is the key to organizational survival 

Foundation Data Concepts Abstract Concepts Entity – person, place, object or event – stored as a record or a table row Attribute – characteristic of an entity – stored as field or table column

Foundation Data Concepts Large Database Concepts Database – a collection of related tables Tables – a collection of related records – collection of related entities Record – collection of fields (table row) –represents an entity Field – collection of characters (table column) – represents an attribute Character – single alphabetic, numeric or other symbol Small

Fields Characters “B R E I M E R” form a field A field is an attribute of an entity Last Name Breimer

Records A bunch of fields form a record A record is an entity First Name Eric Last Name Breimer Sex Yes Weight 263

Tables A bunch of records forms a table A table is a group of related entities First Name Last Name Sex Age Eric Breimer M 30 Jeff Albert 22 Jackie Pizzo F 21

Databases A bunch of tables form a database Databases A bunch of tables form a database A database can represent a single business or an entire market Order Table Customer Table Product Table

Databases But, databases are not just a bunch of tables But, databases are not just a bunch of tables A database also includes relationships between the different tables Orders OID CID PID Quantity 001 508 199 500,000 002 201 2 003 510 1 Customers CID FName LName Address 508 Eric Breimer ... 509 Andrew Zych 510 Greg Smith Products PID Description Cost 199 Viagra $45.99 200 Tooth Paste $2.58 201 Hair Gel $5.99

Relationships & Queries in Databases Chapter 1 Relationships & Queries in Databases

Types of Relationships One to One Examples? Analysis Technique Consider ThingA and ThingB Can ThingA be related to more than one ThingB? Can ThingB be related to more than one ThingA? If the two answers are NO, then it is a one to one relationship. ThingA ThingB Relationship Man Woman Married

Types of Relationships Faculty Student One to Many Examples? Analysis Technique Consider ThingA and ThingB Can ThingA be related to more than one ThingB? Can ThingB be related to more than one ThingA? If only one answer is yes, then you have a one to many relationship Advises Get Advisement

Types of Relationships student takes course Course Student Many to Many Examples? Analysis Technique Consider ThingA and ThingB Can ThingA be related to more than one ThingB? Can ThingB be related to more than one ThingA? If the answers are yes and yes, then the relationship is many to many. course has a student

How to Model Relationships Orders OID CID PID Quantity 001 508 199 500,000 002 201 2 003 510 1 Customers CID FName LName Address 508 Eric Breimer ... 509 Andrew Zych 510 Greg Smith Products PID Description Cost 199 Viagra $45.99 200 Tooth Paste $2.58 201 Hair Gel $5.99

Find the name and hire date of the manager working on the sales manual project

Traditional File Processing Sucks Data is organized, stored, and processed in independent files of data records

Problems of File Processing Data Redundancy – duplicate data requires update to many files Lack of Integration – data stored in separate files hard to combine data Data Dependence – changing the file format requires changing the program…

Database Management Approach Consolidates data records into one CENTRAL database that can be accessed by many different application programs.

Database Management Software (DBMS) Definition: Software that controls the creation, maintenance, and use of databases

DBMS Software Components Database Definition Language and graphical tools to define entities, relationships, integrity constraints, and authorization rights Application Development Graphical tools to develop menus, data entry forms, and reports

DBMS Software Components Transaction Processing Controls to prevent interference from simultaneous users and Controls to recover lost data after a failure Database Tuning Tools to monitor and improve database performance

Database Interrogation Definition: Capability of a DBMS to report information from the database in response to end users’ requests Query Language – allows easy, immediate access to ad hoc data requests Report Generator - allows quick, easy specification of a report format for information users have requested

Natural Language vs. SQL Queries

Schemas Schema - A description of the database Subschema – describes a subset of the database and which users have access to this subset

Data Definition Language Language Used to describe Schemas and Subschemas Describes relationships between different data Provides a Logical view of the data

Data Dictionary Entry A more detailed description of the data in a database Specifies data types and ranges Assists programmers in understanding the data

Physical vs. Logical DBMS concentrate on Physical access to the underlying tables Concurrency control Query’s Creating/deleting tables

Physical vs. Logical MIS systems are (Logically) interface with a DBMS monthly reports charts automated inquiries

Application Development Today, even non-technical staff can use tools to build little programs that use a database. Database Management Systems have all kinds of tools to develop custom application programs and interfaces. Example: The College’s MIS (Banner) is actually an application built on top of a Oracle Database.