Data vs. Information. Data vs. Information. Where We Are. FIT1004 Database Topic 1: Introduction
|
|
- Poppy Floyd
- 7 years ago
- Views:
Transcription
1 FIT1004 Database Topic 1: Introduction Learning Objectives: Data, Database, DBMS Understand the motivation for the Database Approach The Database System Environment Objectives of Database Technology DBMS Functions DB Models Relational Database Model References: Rob, P. & Coronel, C., Database Systems, 7 th Edition, Chapter 1, Chapter 2 - Sections 2.1, 2.3, 2.4 Data vs. Information Data are raw facts. Facts concerning people, places, events, or other objects/concepts. Data by itself is useless unless it is some how aggregated, organised and prepared in a form convenient for decision making or other organisational activities. Data that is processed to reveal their meaning becomes information, eg. total sales per quarter A lack of data leads to inadequate information and thus illinformed decisions and business failure. Data is a valuable corporate resource which needs adequate integrity and security controls. Data management is a discipline that focuses on the proper generation, storage and retrieval of data 3 Where We Are Data vs. Information Introduction to Database Systems The Relational Model Database Lifecycle Conceptual Design Logical Design Normalisation Physical Design Implementation SQL (DML) SQL (DDL & DCL) Transaction Management Database Administration Data Warehousing & Data Mining 2 4
2 Database and DBMS Traditional File Systems A database is a shared integrated computer structure that houses a collection of: end user data Metadata, or data about data, through which the data is integrated and managed A database management system (DBMS) is a collection of programs that manages the database structure and controls access to the data stored in the database contains a query language 5 Requests for information (reports) required a DP specialist to write programs for the department that required the report File systems developed to address needs Data was organized in the files according to expected use - led to islands of information To retrieve data required extensive programming in third-generation language (3GL), this was time consuming and made ad hoc queries impossible Often the same data was stored in many different locations, eg. agent details occurred in both the CUSTOMER and AGENT files 7 Traditional File Systems Traditional File Systems Databases are often contrasted to traditional file systems though they are now rarely used. But as the problems that existed were the impetus for the development of the Database Concept it is worth noting some of these. In the past as new applications were written they used existing files or created a new file for their use. Sometimes several existing files need to be sorted and merged to obtain the new file. Often several files contained the same information stored in different ways. In other words, there would be redundant and possibly inconsistent data. Example of an insurance company file Problems: Requires extensive programming in third-generation language (3GL) Data and structural dependence Data redundancy 6 8
3 Traditional File Systems Traditional File Systems Data Dependence Changes in file s data characteristics requires modification of data access programs Must tell program what to do and how Makes file systems cumbersome from a programming and data management views Structural Dependence Change in file structure requires modification of related programs Data Redundancy Different and conflicting versions of same data Results of uncontrolled data redundancy > Data anomalies Modification, Insertion, Deletion Applications were often considered in relative isolation. Data that should have been together was not. The potential for flexible enquiry and reporting was limited. All validations were in the programs. Procedures were required for backup and recovery. All programmers had access to all records. There was limited concurrent access Traditional File Systems Database Systems Data Redundancy (cont) Data inconsistency > Lack of data integrity File Terminology Field > group of characters with specific meaning Record > logically connected fields that describe a person, place, or thing File > collection of related records Consists of logically related data stored in a single repository Provides advantages over file system management approach Eliminates inconsistency, data anomalies, data dependency, and structural dependency problems Stores data structures, relationships, and access paths The centralised control of data means that for many applications the data already exists. The data is no longer related by application programs, but by the structure defined in the database
4 Database vs. File Systems Objectives of Database Technology Data Independence Minimal Data Redundancy Increased Data Sharing Improved Data Quality Improved Security of Data Improved Access to Data Reduced Program Maintenance Inter-relate data thru the model The Database System Environment Data Independence Is the property of being able to change the logical or physical structure of data without requiring changes to application programs that manipulate that data Data is stored independently of the programs The degree to which descriptions of data are embedded in application programs. Can the database structure be changed with no impact on programs? Role of the database catalog or dictionary. Maintenance costs are high! 14 16
5 Logical vs Physical Data Independence Sharing of Data Application Program Local Views Logical Data Independence GLOBAL LOGICAL DATABASE DESCRIPTION Physical Files Physical Data Independence 17 The DBMS should support multiple concurrent users of the same data and ensure that the data remains consistent at all times. TX 1 Part 2 QOH 10 TX 2 Part 2 QOH 10 QOH=QOH+10 Part 2 QOH 20 Part 2 QOH 5 Part 2 QOH 10 QOH=QOH-5 19 Minimal Data Redundancy Minimise the duplication of data data stored in more than one location CUSTOMER CNbr, CName, CAddress INVOICE InvNbr, InvDate, CNbr, InvTotal, CAddress CUSTOMER CNbr, CName, CAddress, Last_InvNbr, Last_InvDate INVOICE InvNbr, InvDate, CNbr, InvTotal CUSTOMER CNbr, CName, CAddress, CBalance INVOICE InvNbr, InvDate, CNbr, InvTotal 18 Sharing of Data To avoid concurrency problems, transactions must be made logically serial. One common technique used is record locking. That is, a transaction can lock a record, preventing update by another transaction, until the update has completed. Trans 1 Xlock(P1) Read P1 (20) QOH = QOH + 15 Write P1 (35) Unlock Part # QOH P1 20 Part # QOH P1 35 Part # QOH P1 25 Trans 2 Attempt to Lock Wait for Trans 1 Read P1 (35) QOH = QOH - 10 Write P1 (25) 20
6 Data Integrity Easy Access to Data A condition in which given data always yield the same result Validation or integrity rules should be defined and automatically invoked at run time by the DBMS regardless of the source of update i.e. application program, web page or query language. Significant variation exists among DBMSs in the level of support for data integrity. ANSI/ISO suggest that 100% of all enterprise rules should be held in the conceptual schema, and specifically none in application programs. An area of significant development during the 1990's. 21 Objects and data in the database can be created, modified and accessed by executing structured query language (SQL) statements SQL provides easy access to data 20 READ #1, CUSTNO, NAME, BAL 30 IF END #1 GO TO IF BAL > PRINT CUSTNO, NAME, BAL 60 ENDIF 70 etc SELECT CUSTNO, NAME, BAL FROM CUST WHERE BAL > 200; 23 Security Data Access Using SQL Protecting data against accidental or intentional use by unauthorised users Each user requires identification with a user-id and password. Users can be limited in the data they can see and what actions they can perform on that data. The DBMS encrypts and decrypts data as it is stored and retrieved. Many DBMS now provide data value sensitive security. Views are often used to limit user s access to data SQL statement is entered SQL> SQL> SELECT SELECT loc loc 2 2 FROM FROM dept; dept; Data is displayed LOCATION NEW YORK CHICAGO BOSTON Statement is sent to database Database 22 24
7 Overview of SQL Overview of SQL DDL Data Definition Language the language component of a DBMS that is used to describe the logical, and sometimes physical, structure of a database is used to specify the conceptual and internal schemas for the database DML Data Manipulation Language a language component of a DBMS that is used to access and modify the contents (data) of a database 25 DML (cont) UPDATE > modify column values DELETE > delete rows of data Data Control COMMIT > commit changes to the database ROLLBACK > rollback (undo) changes Data Security GRANT > grant access privileges to users REVOKE > remove access privileges 27 Overview of SQL DBMS Functions DDL the SQL commands for data definition are CREATE, ALTER, DROP CREATE TABLE > define table ALTER TABLE > add new columns or modify existing columns DROP TABLE > delete table DML the SQL commands for data manipulation are SELECT, INSERT, UPDATE, DELETE SELECT > retrieve data from table INSERT > add a single row or copy rows from other table(s) 26 Data dictionary management stores the definitions of data and their relationships (metadata) in a data dictionary; any changes made are automatically recorded in the data dictionary. creates a security system and enforces security within that system. Data storage management creates and manages the complex structures required for data storage. Data transformation and presentation transforms entered data to conform to the data structures that are required to store the data 28
8 DBMS Functions Database Models Security management creates a security system and enforces security within that system. Multi-user access control creates complex structures that allow multiple-user access to the data. Backup and recovery management performs backup and data recovery procedures to ensure data safety. Collection of logical constructs used to represent data structure and relationships within the database Conceptual models: logical nature of data representation Implementation models: emphasis on how the data are represented in the database Relationships in Conceptual Models One-to-one (1:1) One-to-many (1:M) Many-to-many (M:N) Implementation Database Models Hierarchical Network Relational DBMS Functions Database Models Data integrity management promotes and enforces integrity rules to eliminate data integrity problems Database language and application programming interfaces provides access to the data via utility programs and from programming languages interfaces. Database communication interfaces provides end-user access to data within a computer network environment. 30 Hierachical Logically represented by an upside down tree > Each parent can have many children > Each child has only one parent Network Each record can have multiple parents > Composed of sets > Each set has owner record and member record > Member may have several owners Relational Perceived by user as a collection of tables for data storage Tables are a series of row/column intersections Tables related by sharing common entity characteristic(s) 32
9 Relational Database Model Relational Database Management System Advantages Structural independence Improved conceptual simplicity Easier database design, implementation, management, and use Ad hoc query capability with SQL Powerful database management system Disadvantages Substantial hardware and system software overhead Poor design and implementation is made easy May promote islands of information problems User tables Server Data dictionary Definition of a Relational Database A relational database is a collection of relations or two-dimensional tables. Table Name: EMP EMPNO ENAME JOB DEPTNO 7839 KING PRESIDENT BLAKE MANAGER CLARK MANAGER JONES MANAGER 20 Database Table Name: DEPT DEPTNO DNAME LOC ACCOUNTING NEW YORK RESEARCH DALLAS SALES CHICAGO OPERATIONS BOSTON 1 Relational Database Terminology EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO KING PRESIDENT 17-NOV BLAKE MANAGER MAY CLARK MANAGER JUN JONES MANAGER APR MARTIN SALESMAN SEP ALLEN SALESMAN FEB TURNER SALESMAN SEP JAMES CLERK DEC WARD SALESMAN FEB FORD ANALYST DEC SMITH CLERK DEC SCOTT ANALYST DEC ADAMS CLERK JAN MILLER CLERK JAN
10 Relational Database Terminology Relation a named collection of attributes Tuple the collection of values that compose one row of a relation Attribute a named characteristic or property of an entity Properties of Relations the tuples of a relation have no ordering (top to bottom) the attibutes of a relation have no ordering (left to right) the entries in the table (attributes) are single valued Each row of data in a table is uniquely identified by a primary key (PK). Table Name: EMP Relating Multiple Tables You can logically relate data from multiple tables using foreign keys (FK). EMPNO ENAME JOB DEPTNO 7839 KING PRESIDENT BLAKE MANAGER CLARK MANAGER JONES MANAGER 20 Table Name: DEPT DEPTNO DNAME LOC 10 ACCOUNTING NEW YORK 20 RESEARCH DALLAS 30 SALES CHICAGO 40 OPERATIONS BOSTON The degree of a relation is the number of attributes in that relation The cardinality is the number of tuples in the relation 37 Primary key Foreign key Primary key 39 Relational Database Terminology Summary Relationships between entities are supported by attributes which are common to both entities Primary Key an attribute or attributes that uniquely identify a record instance or tuple in a relation Foreign Key an attribute or combination of attributes of one relation R2 whose values are required to match those of the PK of relation R1, where R1 and R2 are not necessarily distinct a FK and the corresponding PK should be defined on the same domain 38 Information is derived from data, which are usually stored in a database A DBMS is software that implements and manages a database Databases were developed to address the weaknesses of file systems A DBMS presents to the user a single data repository that promotes data sharing Enforces data integrity, eliminates redundancy and promotes data security 40
Database Design. Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB
Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB Outline Database concepts Conceptual Design Logical Design Communicating with the RDBMS 2 Some concepts Database: an
More informationISM 318: Database Systems. Objectives. Database. Dr. Hamid R. Nemati
ISM 318: Database Systems Dr. Hamid R. Nemati Department of Information Systems Operations Management Bryan School of Business Economics Objectives Underst the basics of data databases Underst characteristics
More informationChapter 1. Database Systems. Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel
Chapter 1 Database Systems Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel 1 In this chapter, you will learn: The difference between data and information What a
More informationIntroduction. Chapter 1. Introducing the Database. Data vs. Information
Chapter 1 Objectives: to learn The difference between data and information What a database is, the various types of databases, and why they are valuable assets for decision making The importance of database
More informationCHAPTER 2 DATABASE MANAGEMENT SYSTEM AND SECURITY
CHAPTER 2 DATABASE MANAGEMENT SYSTEM AND SECURITY 2.1 Introduction In this chapter, I am going to introduce Database Management Systems (DBMS) and the Structured Query Language (SQL), its syntax and usage.
More informationIntroduction to Computing. Lectured by: Dr. Pham Tran Vu t.v.pham@cse.hcmut.edu.vn
Introduction to Computing Lectured by: Dr. Pham Tran Vu t.v.pham@cse.hcmut.edu.vn Databases The Hierarchy of Data Keys and Attributes The Traditional Approach To Data Management Database A collection of
More informationDatabases What the Specification Says
Databases What the Specification Says Describe flat files and relational databases, explaining the differences between them; Design a simple relational database to the third normal form (3NF), using entityrelationship
More informationDBMS Questions. 3.) For which two constraints are indexes created when the constraint is added?
DBMS Questions 1.) Which type of file is part of the Oracle database? A.) B.) C.) D.) Control file Password file Parameter files Archived log files 2.) Which statements are use to UNLOCK the user? A.)
More informationChapter 1 - Database Systems
Chapter 1 - Database Systems TRUE/FALSE 1. Data constitute the building blocks of processing. 2. Accurate, relevant, and timely information is the key to good decision making. 3. Metadata provides the
More informationSQL Introduction Chapter 7, sections 1 & 4. Introduction to SQL. Introduction to SQL. Introduction to SQL
SQL Introduction Chapter 7, sections 1 & 4 Objectives To understand Oracle s SQL client interface Understand the difference between commands to the interface and SQL language. To understand the Oracle
More informationStudy Notes for DB Design and Management Exam 1 (Chapters 1-2-3) record A collection of related (logically connected) fields.
Study Notes for DB Design and Management Exam 1 (Chapters 1-2-3) Chapter 1 Glossary Table data Raw facts; that is, facts that have not yet been processed to reveal their meaning to the end user. field
More informationCC414 Database Management Systems
CC44 Database Management Systems Prof. Dr. Amani A. Saad Course Info See contents on Course Home page. Lecture: 2 hrs Sunday 2:30-2:0 Lab: 2 hrs Tut: 2 hrs» TAs: Eng. Omar Shalash Eng. Ihab Zaghlool 2
More informationIntroduction to Databases
Page 1 of 5 Introduction to Databases An introductory example What is a database? Why do we need Database Management Systems? The three levels of data abstraction What is a Database Management System?
More informationChapter 1. Writing Basic. SQL Statements
Chapter 1 Writing Basic SQL Statements 1 Objectives After completing this lesson, you should be able to do the following: List the capabilities of SQL SELECT statements Execute a basic SELECT statement
More informationDATABASE MANAGEMENT SYSTEMS. Question Bank:
DATABASE MANAGEMENT SYSTEMS Question Bank: UNIT 1 1. Define Database? 2. What is a DBMS? 3. What is the need for database systems? 4. Define tupule? 5. What are the responsibilities of DBA? 6. Define schema?
More informationDatabase 10g Edition: All possible 10g features, either bundled or available at additional cost.
Concepts Oracle Corporation offers a wide variety of products. The Oracle Database 10g, the product this exam focuses on, is the centerpiece of the Oracle product set. The "g" in "10g" stands for the Grid
More informationDisplaying Data from Multiple Tables
Displaying Data from Multiple Tables 1 Objectives After completing this lesson, you should be able to do the following: Write SELECT statements to access data from more than one table using eguality and
More information1. INTRODUCTION TO RDBMS
Oracle For Beginners Page: 1 1. INTRODUCTION TO RDBMS What is DBMS? Data Models Relational database management system (RDBMS) Relational Algebra Structured query language (SQL) What Is DBMS? Data is one
More informationæ A collection of interrelated and persistent data èusually referred to as the database èdbèè.
CMPT-354-Han-95.3 Lecture Notes September 10, 1995 Chapter 1 Introduction 1.0 Database Management Systems 1. A database management system èdbmsè, or simply a database system èdbsè, consists of æ A collection
More informationCIS 631 Database Management Systems Sample Final Exam
CIS 631 Database Management Systems Sample Final Exam 1. (25 points) Match the items from the left column with those in the right and place the letters in the empty slots. k 1. Single-level index files
More informationOverview of Database Management Systems
Overview of Database Management Systems Goals: DBMS basic concepts Introduce underlying managerial issues Prepare for discussion of uses of DBMS, such as OLAP and database mining 1 Overview of Database
More informationChapter 2. Data Model. Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel
Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel 1 In this chapter, you will learn: Why data models are important About the basic data-modeling
More informationwww.gr8ambitionz.com
Data Base Management Systems (DBMS) Study Material (Objective Type questions with Answers) Shared by Akhil Arora Powered by www. your A to Z competitive exam guide Database Objective type questions Q.1
More informationDisplaying Data from Multiple Tables. Chapter 4
Displaying Data from Multiple Tables Chapter 4 1 Objectives After completing this lesson, you should be able to do the following: Write SELECT statements to access data from more than one table using equality
More informationDatabase System Architecture & System Catalog Instructor: Mourad Benchikh Text Books: Elmasri & Navathe Chap. 17 Silberschatz & Korth Chap.
Database System Architecture & System Catalog Instructor: Mourad Benchikh Text Books: Elmasri & Navathe Chap. 17 Silberschatz & Korth Chap. 1 Oracle9i Documentation First-Semester 1427-1428 Definitions
More informationProducing Readable Output with SQL*Plus
Producing Readable Output with SQL*Plus Chapter 8 Objectives After completing this lesson, you should be able to do the following: Produce queries that require an input variable Customize the SQL*Plus
More informationWhat is a database? COSC 304 Introduction to Database Systems. Database Introduction. Example Problem. Databases in the Real-World
COSC 304 Introduction to Systems Introduction Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca What is a database? A database is a collection of logically related data for
More informationConcepts of Database Management Seventh Edition. Chapter 7 DBMS Functions
Concepts of Database Management Seventh Edition Chapter 7 DBMS Functions Objectives Introduce the functions, or services, provided by a DBMS Describe how a DBMS handles updating and retrieving data Examine
More informationRelational Database Basics Review
Relational Database Basics Review IT 4153 Advanced Database J.G. Zheng Spring 2012 Overview Database approach Database system Relational model Database development 2 File Processing Approaches Based on
More informationFundamentals of Database Design
Fundamentals of Database Design Zornitsa Zaharieva CERN Data Management Section - Controls Group Accelerators and Beams Department /AB-CO-DM/ 23-FEB-2005 Contents : Introduction to Databases : Main Database
More informationIntroduction to Database Systems
Introduction to Database Systems A database is a collection of related data. It is a collection of information that exists over a long period of time, often many years. The common use of the term database
More informationDemystified CONTENTS Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals CHAPTER 2 Exploring Relational Database Components
Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals 1 Properties of a Database 1 The Database Management System (DBMS) 2 Layers of Data Abstraction 3 Physical Data Independence 5 Logical
More informationOracle Database 10g: Introduction to SQL
Oracle University Contact Us: 1.800.529.0165 Oracle Database 10g: Introduction to SQL Duration: 5 Days What you will learn This course offers students an introduction to Oracle Database 10g database technology.
More informationBCA. Database Management System
BCA IV Sem Database Management System Multiple choice questions 1. A Database Management System (DBMS) is A. Collection of interrelated data B. Collection of programs to access data C. Collection of data
More informationBridge from Entity Relationship modeling to creating SQL databases, tables, & relations
1 Topics for this week: 1. Good Design 2. Functional Dependencies 3. Normalization Readings for this week: 1. E&N, Ch. 10.1-10.6; 12.2 2. Quickstart, Ch. 3 3. Complete the tutorial at http://sqlcourse2.com/
More informationOverview of Database Management
Overview of Database Management M. Tamer Özsu David R. Cheriton School of Computer Science University of Waterloo CS 348 Introduction to Database Management Fall 2012 CS 348 Overview of Database Management
More informationData Models and Database Management Systems (DBMSs) Dr. Philip Cannata
Data Models and Database Management Systems (DBMSs) Dr. Philip Cannata 1 Data Models in the 1960s, 1970s, and 1980s Hierarchical Network (Graph) Relational Schema (Model) - first 1956 Vern Watts was IMS's
More informationThe Entity-Relationship Model
The Entity-Relationship Model 221 After completing this chapter, you should be able to explain the three phases of database design, Why are multiple phases useful? evaluate the significance of the Entity-Relationship
More informationDatabase Concepts. Database & Database Management System. Application examples. Application examples
Database & Database Management System Database Concepts Database = A shared collection of logically related (and a description of this data), designed to meet the information needs of an organization.
More information- Eliminating redundant data - Ensuring data dependencies makes sense. ie:- data is stored logically
Normalization of databases Database normalization is a technique of organizing the data in the database. Normalization is a systematic approach of decomposing tables to eliminate data redundancy and undesirable
More informationFiles. Files. Files. Files. Files. File Organisation. What s it all about? What s in a file?
Files What s it all about? Information being stored about anything important to the business/individual keeping the files. The simple concepts used in the operation of manual files are often a good guide
More informationDATABASE DESIGN AND IMPLEMENTATION USING VISUAL BASIC
University of Baghdad College of sciences Computer sciences Department DATABASE DESIGN AND IMPLEMENTATION USING VISUAL BASIC By: Mohannad Taha & Saad fadhil Supervised by: AmEnah Dahim Abood Acknowledgement
More informationDATABASE INTRODUCTION
Introduction The history of database system research is one of exceptional productivity and startling economic impact. We have learnt that from the days of file-based systems there are better ways to handle
More informationSQL, PL/SQL FALL Semester 2013
SQL, PL/SQL FALL Semester 2013 Rana Umer Aziz MSc.IT (London, UK) Contact No. 0335-919 7775 enquire@oeconsultant.co.uk EDUCATION CONSULTANT Contact No. 0335-919 7775, 0321-515 3403 www.oeconsultant.co.uk
More informationSQL Simple Queries. Chapter 3.1 V3.0. Copyright @ Napier University Dr Gordon Russell
SQL Simple Queries Chapter 3.1 V3.0 Copyright @ Napier University Dr Gordon Russell Introduction SQL is the Structured Query Language It is used to interact with the DBMS SQL can Create Schemas in the
More informationTIM 50 - Business Information Systems
TIM 50 - Business Information Systems Lecture 15 UC Santa Cruz March 1, 2015 The Database Approach to Data Management Database: Collection of related files containing records on people, places, or things.
More informationDatabase Management System
ISSN: 2349-7637 (Online) RESEARCH HUB International Multidisciplinary Research Journal Research Paper Available online at: www.rhimrj.com Database Management System Viral R. Dagli Lecturer, Computer Science
More informationBasic Concepts of Database Systems
CS2501 Topic 1: Basic Concepts 1.1 Basic Concepts of Database Systems Example Uses of Database Systems - account maintenance & access in banking - lending library systems - airline reservation systems
More informationB.Com(Computers) II Year RELATIONAL DATABASE MANAGEMENT SYSTEM Unit- I
B.Com(Computers) II Year RELATIONAL DATABASE MANAGEMENT SYSTEM Unit- I 1 1. What is Data? A. Data is a collection of raw information. 2. What is Information? A. Information is a collection of processed
More information1 File Processing Systems
COMP 378 Database Systems Notes for Chapter 1 of Database System Concepts Introduction A database management system (DBMS) is a collection of data and an integrated set of programs that access that data.
More informationAnswers to Review Questions
Tutorial 2 The Database Design Life Cycle Reference: MONASH UNIVERSITY AUSTRALIA Faculty of Information Technology FIT1004 Database Rob, P. & Coronel, C. Database Systems: Design, Implementation & Management,
More informationWeek 1 Part 1: An Introduction to Database Systems. Databases and DBMSs. Why Use a DBMS? Why Study Databases??
Week 1 Part 1: An Introduction to Database Systems Databases and DBMSs Data Models and Data Independence Concurrency Control and Database Transactions Structure of a DBMS DBMS Languages Databases and DBMSs
More informationChapter 2 Database System Concepts and Architecture
Chapter 2 Database System Concepts and Architecture Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Outline Data Models, Schemas, and Instances Three-Schema Architecture
More informationSQL*Plus User s Guide and Reference
SQL*Plus User s Guide and Reference Release 8.0 Part No. A53717 01 Enabling the Information Age SQL*Plus User s Guide and Reference, Release 8.0 Part No. A53717 01 Copyright 1997 Oracle Corporation All
More informationCore Syllabus. Version 2.6 B BUILD KNOWLEDGE AREA: DEVELOPMENT AND IMPLEMENTATION OF INFORMATION SYSTEMS. June 2006
Core Syllabus B BUILD KNOWLEDGE AREA: DEVELOPMENT AND IMPLEMENTATION OF INFORMATION SYSTEMS Version 2.6 June 2006 EUCIP CORE Version 2.6 Syllabus. The following is the Syllabus for EUCIP CORE Version 2.6,
More informationCOURSE NAME: Database Management. TOPIC: Database Design LECTURE 3. The Database System Life Cycle (DBLC) The database life cycle contains six phases;
COURSE NAME: Database Management TOPIC: Database Design LECTURE 3 The Database System Life Cycle (DBLC) The database life cycle contains six phases; 1 Database initial study. Analyze the company situation.
More informationDatabase Access from a Programming Language: Database Access from a Programming Language
Database Access from a Programming Language: Java s JDBC Werner Nutt Introduction to Databases Free University of Bozen-Bolzano 2 Database Access from a Programming Language Two Approaches 1. Embedding
More informationDatabase Access from a Programming Language:
Database Access from a Programming Language: Java s JDBC Werner Nutt Introduction to Databases Free University of Bozen-Bolzano 2 Database Access from a Programming Language Two Approaches 1. Embedding
More informationDatabase Management Systems. Chapter 1
Database Management Systems Chapter 1 Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 2 What Is a Database/DBMS? A very large, integrated collection of data. Models real-world scenarios
More informationFoundations of Information Management
Foundations of Information Management - WS 2012/13 - Juniorprofessor Alexander Markowetz Bonn Aachen International Center for Information Technology (B-IT) Data & Databases Data: Simple information Database:
More informationIT2304: Database Systems 1 (DBS 1)
: Database Systems 1 (DBS 1) (Compulsory) 1. OUTLINE OF SYLLABUS Topic Minimum number of hours Introduction to DBMS 07 Relational Data Model 03 Data manipulation using Relational Algebra 06 Data manipulation
More informationCOMP5138 Relational Database Management Systems. Databases are Everywhere!
COMP5138 Relational Database Management Systems Week 1: COMP 5138 Intro to Database Systems Professor Joseph Davis and Boon Ooi Databases are Everywhere! Database Application Examples: Banking: all transactions
More informationDATABASE MANAGEMENT SYSTEM
REVIEW ARTICLE DATABASE MANAGEMENT SYSTEM Sweta Singh Assistant Professor, Faculty of Management Studies, BHU, Varanasi, India E-mail: sweta.v.singh27@gmail.com ABSTRACT Today, more than at any previous
More informationChapter 1: Introduction. Database Management System (DBMS)
Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition Language Data Manipulation Language Transaction Management Storage Management Database Administrator Database
More informationB.Sc (Computer Science) Database Management Systems UNIT-V
1 B.Sc (Computer Science) Database Management Systems UNIT-V Business Intelligence? Business intelligence is a term used to describe a comprehensive cohesive and integrated set of tools and process used
More informationData Hierarchy. Traditional File based Approach. Hierarchy of Data for a Computer-Based File
Management Information Systems Data and Knowledge Management Dr. Shankar Sundaresan (Adapted from Introduction to IS, Rainer and Turban) LEARNING OBJECTIVES Recognize the importance of data, issues involved
More information2. Basic Relational Data Model
2. Basic Relational Data Model 2.1 Introduction Basic concepts of information models, their realisation in databases comprising data objects and object relationships, and their management by DBMS s that
More informationIT2305 Database Systems I (Compulsory)
Database Systems I (Compulsory) INTRODUCTION This is one of the 4 modules designed for Semester 2 of Bachelor of Information Technology Degree program. CREDITS: 04 LEARNING OUTCOMES On completion of this
More informationnot necessarily strictly sequential feedback loops exist, i.e. may need to revisit earlier stages during a later stage
Database Design Process there are six stages in the design of a database: 1. requirement analysis 2. conceptual database design 3. choice of the DBMS 4. data model mapping 5. physical design 6. implementation
More informationLesson 8: Introduction to Databases E-R Data Modeling
Lesson 8: Introduction to Databases E-R Data Modeling Contents Introduction to Databases Abstraction, Schemas, and Views Data Models Database Management System (DBMS) Components Entity Relationship Data
More informationTypes & Uses of Databases
Types & Uses of Databases Connolly/Beggs Chapter 1 Ramakrishnan Chapter 1 Overview What is a database? File-Based Systems What are they? The Database Approach What is it? Data Models Database Management
More information5. CHANGING STRUCTURE AND DATA
Oracle For Beginners Page : 1 5. CHANGING STRUCTURE AND DATA Altering the structure of a table Dropping a table Manipulating data Transaction Locking Read Consistency Summary Exercises Altering the structure
More informationDatabase IST400/600. Jian Qin. A collection of data? A computer system? Everything you collected for your group project?
Relational Databases IST400/600 Jian Qin Database A collection of data? Everything you collected for your group project? A computer system? File? Spreadsheet? Information system? Date s criteria: Integration
More informationChapter 13 File and Database Systems
Chapter 13 File and Database Systems Outline 13.1 Introduction 13.2 Data Hierarchy 13.3 Files 13.4 File Systems 13.4.1 Directories 13.4. Metadata 13.4. Mounting 13.5 File Organization 13.6 File Allocation
More informationChapter 13 File and Database Systems
Chapter 13 File and Database Systems Outline 13.1 Introduction 13.2 Data Hierarchy 13.3 Files 13.4 File Systems 13.4.1 Directories 13.4. Metadata 13.4. Mounting 13.5 File Organization 13.6 File Allocation
More informationFoundations of Business Intelligence: Databases and Information Management
Foundations of Business Intelligence: Databases and Information Management Content Problems of managing data resources in a traditional file environment Capabilities and value of a database management
More informationBenefits of Normalisation in a Data Base - Part 1
Denormalisation (But not hacking it) Denormalisation: Why, What, and How? Rodgers Oracle Performance Tuning Corrigan/Gurry Ch. 5, p69 Stephen Mc Kearney, 2001. 1 Overview Purpose of normalisation Methods
More informationAVOIDANCE OF CYCLICAL REFERENCE OF FOREIGN KEYS IN DATA MODELING USING THE ENTITY-RELATIONSHIP MODEL
AVOIDANCE OF CYCLICAL REFERENCE OF FOREIGN KEYS IN DATA MODELING USING THE ENTITY-RELATIONSHIP MODEL Ben B. Kim, Seattle University, bkim@seattleu.edu ABSTRACT The entity-relationship (ER model is clearly
More informationVALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur 603203.
VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur 603203. DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING Year & Semester : II / III Section : CSE - 1 & 2 Subject Code : CS 6302 Subject Name : Database
More informationFigure 1.5.1 Sample 3GL COBOL Program
Topic 1.5: Problems with File System Data Management Every task requires extensive programming in a third-generation language (3GL) Programmer must specify task and how it must be done which require much
More informationDatabase Management. Chapter Objectives
3 Database Management Chapter Objectives When actually using a database, administrative processes maintaining data integrity and security, recovery from failures, etc. are required. A database management
More informationDatabase Design Methodology
Topic 7 Database Design Methodology LEARNING OUTCOMES When you have completed this Topic you should be able to: 1. Discuss the purpose of a design methodology. 2. Explain three main phases of design methodology.
More informationECS 165A: Introduction to Database Systems
ECS 165A: Introduction to Database Systems Todd J. Green based on material and slides by Michael Gertz and Bertram Ludäscher Winter 2011 Dept. of Computer Science UC Davis ECS-165A WQ 11 1 1. Introduction
More information7. Databases and Database Management Systems
7. Databases and Database Management Systems 7.1 What is a File? A file is a collection of data or information that has a name, called the Filename. There are many different types of files: Data files
More informationChapter 1 Databases and Database Users
Chapter 1 Databases and Database Users Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Outline Introduction An Example Characteristics of the Database Approach Actors
More informationDatabase Management. Technology Briefing. Modern organizations are said to be drowning in data but starving for information p.
Technology Briefing Database Management Modern organizations are said to be drowning in data but starving for information p. 509 TB3-1 Learning Objectives TB3-2 Learning Objectives TB3-3 Database Management
More informationDatabase design 1 The Database Design Process: Before you build the tables and other objects that will make up your system, it is important to take time to design it. A good design is the keystone to creating
More informationOracle Database: SQL and PL/SQL Fundamentals NEW
Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-97 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals
More informationChapter 3. Database Environment - Objectives. Multi-user DBMS Architectures. Teleprocessing. File-Server
Chapter 3 Database Architectures and the Web Transparencies Database Environment - Objectives The meaning of the client server architecture and the advantages of this type of architecture for a DBMS. The
More informationDATABASE SYSTEM CONCEPTS AND ARCHITECTURE CHAPTER 2
1 DATABASE SYSTEM CONCEPTS AND ARCHITECTURE CHAPTER 2 2 LECTURE OUTLINE Data Models Three-Schema Architecture and Data Independence Database Languages and Interfaces The Database System Environment DBMS
More informationProcedural Extension to SQL using Triggers. SS Chung
Procedural Extension to SQL using Triggers SS Chung 1 Content 1 Limitations of Relational Data Model for performing Information Processing 2 Database Triggers in SQL 3 Using Database Triggers for Information
More informationCS2Bh: Current Technologies. Introduction to XML and Relational Databases. Introduction to Databases. Why databases? Why not use XML?
CS2Bh: Current Technologies Introduction to XML and Relational Databases Spring 2005 Introduction to Databases CS2 Spring 2005 (LN5) 1 Why databases? Why not use XML? What is missing from XML: Consistency
More informationCopyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 1 Outline
Chapter 1 Databases and Database Users Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Introduction Chapter 1 Outline An Example Characteristics of the Database Approach Actors
More informationA. TRUE-FALSE: GROUP 2 PRACTICE EXAMPLES FOR THE REVIEW QUIZ:
GROUP 2 PRACTICE EXAMPLES FOR THE REVIEW QUIZ: Review Quiz will contain very similar question as below. Some questions may even be repeated. The order of the questions are random and are not in order of
More informationSubqueries Chapter 6
Subqueries Chapter 6 Objectives After completing this lesson, you should be able to do the follovving: Describe the types of problems that subqueries can solve Define subqueries List the types of subqueries
More informationOracle/SQL Tutorial 1
Oracle/SQL Tutorial 1 Michael Gertz Database and Information Systems Group Department of Computer Science University of California, Davis gertz@cs.ucdavis.edu http://www.db.cs.ucdavis.edu This Oracle/SQL
More informationObject Oriented Databases. OOAD Fall 2012 Arjun Gopalakrishna Bhavya Udayashankar
Object Oriented Databases OOAD Fall 2012 Arjun Gopalakrishna Bhavya Udayashankar Executive Summary The presentation on Object Oriented Databases gives a basic introduction to the concepts governing OODBs
More informationDATABASE MANAGEMENT SYSTEMS
Database Management Systems 2 DATABASE MANAGEMENT SYSTEMS J.KEERTHIKA M.Sc., B.Ed., M.Phil., Assistant Professor Dept. of Computer applications St. Joseph s college of Arts and Science Kovoor, Chennai-600
More informationThe first time through running an Ad Hoc query or Stored Procedure, SQL Server will go through each of the following steps.
SQL Query Processing The first time through running an Ad Hoc query or Stored Procedure, SQL Server will go through each of the following steps. 1. The first step is to Parse the statement into keywords,
More informationRelational Algebra. Query Languages Review. Operators. Select (σ), Project (π), Union ( ), Difference (-), Join: Natural (*) and Theta ( )
Query Languages Review Relational Algebra SQL Set operators Union Intersection Difference Cartesian product Relational Algebra Operators Relational operators Selection Projection Join Division Douglas
More information