Client/Server Databases and the Oracle9i Relational Database

Slides:



Advertisements
Similar presentations
Information Systems Today: Managing in the Digital World
Advertisements

Chapter 10: Designing Databases
Lecture-7/ T. Nouf Almujally
Prentice Hall, Database Systems Week 1 Introduction By Zekrullah Popal.
Client/Server Databases and the Oracle 10g Relational Database
1 A GUIDE TO ORACLE8 CHAPTER 1: Introduction to Client/Server Databases 1.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 10 Managing a Database.
Ch1: File Systems and Databases Hachim Haddouti
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
Business Driven Technology Unit 2 Exploring Business Intelligence Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
BUSINESS DRIVEN TECHNOLOGY
Databases and Database Management Systems
INTRODUCTION TO ORACLE. 2 Before Databases  Information was kept in files:  Each field describes one piece of information about student  Fields are.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
MS Access 2007 IT User Services - University of Delaware.
Software Development Unit 2 Databases What is a database? A collection of data organised in a manner that allows access, retrieval and use of that data.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
Chapter 1 Database Systems. Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database.
© Abdou Illia MIS Spring 2015
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
COMPUTING FOR BUSINESS AND ECONOMICS-III. Lecture no.6 COURSE INSTRUCTOR- Ms. Tehseen SEMESTER- Summer 2010.
Using MIS 4e Chapter 5 Database Processing
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2012 (September 5, 2012)
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
6-1 DATABASE FUNDAMENTALS Information is everywhere in an organization Information is stored in databases –Database – maintains information about various.
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
Module Title? DBMS Introduction to Database Management System.
Objectives Overview Define the term, database, and explain how a database interacts with data and information Define the term, data integrity, and describe.
Web-Enabled Decision Support Systems
Chapter 1Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
Chapter 6: Foundations of Business Intelligence - Databases and Information Management Dr. Andrew P. Ciganek, Ph.D.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Introduction to Database Systems
CS 474 Database Design and Application Terminology Jan 11, 2000.
1 Welcome: To the second learning sequence “ Data Base (DB) and Data Base Management System (DBMS) “ Recap : In the previous learning sequence, we discussed.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 1: The Database Environment Modern Database Management 9 th Edition Jeffrey A. Hoffer,
Lecturer: Gareth Jones. How does a relational database organise data? What are the principles of a database management system? What are the principal.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
DAY 12: DATABASE CONCEPT Tazin Afrin September 26,
1 Client/Server Databases and the Oracle Relational Database.
INTRODUCTION TO DATABASES CS 260 Database Systems.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
Storing Organizational Information - Databases
Enhanced Guide to Oracle8i
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.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
Chapter 1 1 Lecture # 1 & 2 Chapter # 1 Databases and Database Users Muhammad Emran Database Systems.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
DATABASE SYSTEMS. DATABASE u A filing system for holding data u Contains a set of similar files –Each file contains similar records Each record contains.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
1 Introduction to Oracle Chapter 1. 2 Before Databases Information was kept in files: Each field describes one piece of information about student Fields.
ADVANTAGES OF DATA BASE MANAGEMENT SYSTEM. TO BE DICUSSED... Advantages of Database Management System  Controlling Data RedundancyControlling Data Redundancy.
Introduction to Databases Dr. Osama AL Rababah. Objectives In this capture you will learn: Some common uses of database systems. The characteristics of.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
uses of DB systems DB environment DB structure Codd’s rules current common RDBMs implementations.
CSCI-235 Micro-Computers in Science Databases. Database Concepts Data is any unorganized text, graphics, sounds, or videos A database is a collection.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
Introduction to Oracle. Before Computerized Database Organization use a set of data files to store each individual data. – The file contains individual.
Client/Server Databases and the Oracle 10g Relational Database
Chapter 1: Introduction
Information Systems Today: Managing in the Digital World
DATABASE TECHNOLOGIES
Presentation transcript:

Client/Server Databases and the Oracle9i Relational Database Chapter 1 A Guide to Oracle9i

Objectives Develop an understanding of the purpose of database systems Become familiar with the structure of a relational database and review relational database concepts and terms Explore the differences between personal databases and client/server databases Learn about the Clearwater Traders sales order database, the Northwoods University student registration database, and the Software Experts project management database A Guide to Oracle9i

Before Databases Information was kept in files: Each field describes one piece of information about student Fields are separated by commas A record is a collection of related fields Each record is a separate line A Guide to Oracle9i

Problems with Files Proliferation of data management programs to deal with different file formats Redundant data stored in files Data files may contain inconsistent data A Guide to Oracle9i

Database Approach Database stores all organizational data in a central location Good database design eliminates redundant data to reduce the possibility of inconsistent data Single application called the database management system (DBMS) performs all routine data handling operations Database administrator (DBA): person responsible for installing, administering, and maintaining the database A Guide to Oracle9i

Early Databases – Hierarchical Structure A Guide to Oracle9i

Relational Databases A Guide to Oracle9i

Relational Database Terms Entity: an object about which you want to store data Relationships: links that show how different records are related Key Fields: establish relationships among records in different tables Five main types of key fields: primary keys candidate keys surrogate keys foreign keys composite keys A Guide to Oracle9i

Primary Keys Primary key Value must be unique for each record Serves to identify the record Present in every record Can’t be NULL Should be numeric A Guide to Oracle9i

Candidate Keys Candidate key Any field that could be used as the primary key Should be a unique, unchanging numeric field A Guide to Oracle9i

Surrogate Keys Surrogate key: created to be the record’s primary key identifier when no suitable primary key exists Surrogate key has no real relationship to the record to which it is assigned, other than to identify the record uniquely Developers configure the database to generate surrogate key values automatically In an Oracle database, you can automatically generate surrogate key values using a sequence Surrogate keys are always numerical fields, because the database generates surrogate key values automatically by incrementing the previous value by one A Guide to Oracle9i

Foreign Keys Foreign key: a field in a table that is a primary key in another table Foreign key creates a relationship between the two tables Foreign key value must exist in the table where it is a primary key A Guide to Oracle9i

Composite Keys Composite key: a unique key that you create by combining two or more fields Usually comprised of fields that are primary keys in other tables A Guide to Oracle9i

Personal Database Management Systems DBMS and database applications run on the same workstation and appear to the user as a single integrated application Personal databases used primarily for creating single-user database applications Support small multiuser database applications by storing the database application files on a file server instead of on a single user’s workstation and then transmitting the files or the parts of files containing the desired data to various users across a network Database developers should use a personal database only for non-mission-critical applications A Guide to Oracle9i

Client/Server Database Management Systems Takes advantage of distributed processing and networked computers by distributing processing across multiple computers DBMS server process runs on one workstation, and the database applications run on separate client workstations across the network Preferred for database applications that retrieve and manipulate small amounts of data from databases containing large numbers of records because they minimize network traffic and improve response times Organizations generally use a client/server database if the database will have more than 10 simultaneous users and if the database is mission critical A Guide to Oracle9i

Client/Server Database Architecture A Guide to Oracle9i

The Oracle9i Client/Server Database Oracle9i is the latest release of Oracle Corporation’s relational database All Oracle server- and client-side programs use Oracle Net, a utility that enables the network communication between the client and the server A Guide to Oracle9i

Client-Side Utilities SQL*Plus for creating and testing command-line SQL queries and executing PL/SQL procedural programs Oracle9i Developer Suite for developing database applications including the following Developer tools: Forms Builder for creating custom user applications Reports Builder for creating reports for displaying, printing, and distributing summary data Enterprise Manager for performing database administration tasks such as creating new user accounts and configuring how the DBMS stores and manages data A Guide to Oracle9i

Design Principles To avoid creating tables that contain redundant data, group related items that describe a single entity together in a common table Do not create tables that duplicate values many times in different rows When creating a database and inserting data values, you must specify the data type for each column Recall that primary key fields should use a number data type to avoid typographical, punctuation, and case variation errors A Guide to Oracle9i

The Clearwater Traders Sales Order Database Markets a line of clothing and sporting goods via mail-order catalogs Accepts customer orders via telephone, mail, and fax Wants to begin accepting orders using its Web site Has decided to offer 24-hour customer order service Existing microcomputer-based database system cannot handle current transaction volume Managers concerned that the current database does not have the failure-handling and recovery capabilities needed for an ordering system that cannot tolerate failures or downtime A Guide to Oracle9i

Clearwater Traders Data Requirements Customer name, address, daytime and evening telephone numbers, user names, and passwords Order date, payment method (check or credit card), order source (catalog description or Web site), and associated item numbers, sizes, colors, and quantities ordered Item descriptions and photo images, as well as item categories (women’s clothing, outdoor gear, and so on), prices, and quantities on hand. Many clothing items are available in multiple sizes and colors. Sometimes the same item has different prices depending on the item size Information about incoming product shipments A Guide to Oracle9i

Clearwater Traders Table Relationships A Guide to Oracle9i

The Northwoods University Student Registration Database Decided to replace its aging mainframe-based student registration system with a more modern client/server database system School officials want students to be able to retrieve course availability information, register for courses, and print transcripts using personal computers located in the student computer labs A Guide to Oracle9i

The Northwoods University Student Registration Database (cont) Faculty members must be able to retrieve student course lists, drop and add students, and record course grades Faculty members must also be able to view records for the students they advise Security is a prime concern, so student and course records must be protected by password access A Guide to Oracle9i

Northwoods University Data Requirements Student name, address, telephone number, class (freshman, sophomore, junior, or senior), date of birth, PIN (personal identification number), and advisor ID Course call number (such as MIS 101), course name, credits, location, duration, maximum enrollment, instructor, and term offered Instructor name, office location, telephone number, rank, and PIN Student enrollment and grade information A Guide to Oracle9i

Northwoods University Table Relationships A Guide to Oracle9i

The Software Experts Project Management Database Consulting firm that creates custom software applications Managers determine the number and the skill sets of the consultants that a given project requires Managers locate available consultants with the necessary skills One consultant is named project manager When completed, the project manager evaluates all the other consultants and all the consultants evaluate the project manager A project can be subdivided into multiple subprojects A Guide to Oracle9i

Software Experts Requirements Consultant information, including name, address, city, state, ZIP code, phone number, and e-mail address Descriptions of consultant skills Client information, including the client name, client contact name, and contact phone number A Guide to Oracle9i

Software Experts Requirements Project information, including the project name, the client associated with the project, associated subprojects, the project manager, and required skill sets Dates that a consultant started and finished working on a specific project and total days that the consultant spent working on the project Consultant evaluation information, including the date the evaluation was completed, who performed the evaluation, and the evaluation score and comments A Guide to Oracle9i

Software Experts Table Relationships A Guide to Oracle9i

Summary A database stores all organizational data in a central location Database management system (DBMS) provides a central set of common functions for managing a database, including Inserting Updating Retrieving Deleting data values Most modern databases are relational databases Store data in a tabular format Columns represent different data fields Rows contain individual data records A Guide to Oracle9i

Summary In a relational database Data about different entities is stored in separate tables You create relationships that link related data using key fields A database system consists of DBMS: manages the physical data storage Database applications: provide the user interface to the database Many database systems use a client/server architecture DBMS runs as a server process Database applications run as client processes A Guide to Oracle9i