Part seven: Modern IT Architecture. Desktop Systems (one computer) Desktop Systems (one computer) PC Hardware PC Hardware Software Systems Software Systems.

Slides:



Advertisements
Similar presentations
C6 Databases.
Advertisements

Technology Guide 3 Data and Database T3-1. IT for Management Prof. Efraim Turban T3-2 File Management Hierarchy of data for a computer-based file Record.
Introduction to Databases
Management Information Systems, Sixth Edition
Managing Data Resources
Managing data Resources: An information system provides users with timely, accurate, and relevant information. The information is stored in computer files.
Managing Data Resources
Databases Chapter Distinguish between the physical and logical view of data Describe how data is organized: characters, fields, records, tables,
Chapter 3 Database Management
File Systems and Databases
Database Management: Getting Data Together Chapter 14.
Organizing Data & Information
3-1 Chapter 3 Data and Knowledge Management
Ch1: File Systems and Databases Hachim Haddouti
1 Data & Database Development. 2 Data File Bit Byte Field Record File Database Entity Attribute Key field Key file management concepts include:
Managing data Resources:
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
Introduction to Database Management
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
BUSINESS DRIVEN TECHNOLOGY
SESSION 7 MANAGING DATA DATARESOURCES. File Organization Terms and Concepts Field: Group of words or a complete number Record: Group of related fields.
Managing Data Resources. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits that represents a single.
Management Information Systems MS Access 2003 By: Mr. Imdadullah Lecturer, Department of M.I.S. College of Business Administration, KSU.
Chapter 1: The Database Environment
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Week 1 Lecture MSCD 600 Database Architecture Samuel ConnSamuel Conn, Asst. Professor Suggestions for using the Lecture Slides.
CSI315CSI315 Web Development Technologies Continued.
Intro to MIS – MGS351 Databases and Data Warehouses Chapter 3.
Essentials of Management Information Systems, 6e Chapter 7 Managing Data Resources 7.1 © 2005 by Prentice Hall Managing Data Resources Chapter 7.
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Management Information Systems By Effy Oz & Andy Jones
Technology Guide 3 Data & Databases.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
7.1 Managing Data Resources Chapter 7 Essentials of Management Information Systems, 6e Chapter 7 Managing Data Resources © 2005 by Prentice Hall.
8. 8.MANAGINGDATARESOURCES MANAGINGDATARESOURCES 8.1.
6 Chapter Databases and Information Management. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
1.file. 2.database. 3.entity. 4.record. 5.attribute. When working with a database, a group of related fields comprises a(n)…
CIS 250 Advanced Computer Applications Introduction to Access.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
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.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
Data resource management
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
Managing Data Resources. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits that represents a single.
3/6: Data Management, pt. 2 Refresh your memory Relational Data Model
CIS 250 Advanced Computer Applications Database Management Systems.
© 2003 Prentice Hall, Inc.3-1 Chapter 3 Database Management Information Systems Today Leonard Jessup and Joseph Valacich.
6.1 FILE ORGANIZATION BIT: Binary Digit (0,1; Y,N; On,Off)BIT: Binary Digit (0,1; Y,N; On,Off) BYTE: Combination of BITS which represent a CHARACTERBYTE:
2/20: Ch. 6 Data Management What is data? How is it stored? –Traditional management storage techniques; problems –DBMS.
1 Geog 357: Data models and DBMS. Geographic Decision Making.
Presentation on Database management Submitted To: Prof: Rutvi Sarang Submitted By: Dharmishtha A. Baria Roll:No:1(sem-3)
Fundamentals of Information Systems, Sixth Edition Chapter 3 Database Systems, Data Centers, and Business Intelligence.
Managing Data Resources File Organization and databases for business information systems.
Management Information Systems by Prof. Park Kyung-Hye Chapter 7 (8th Week) Databases and Data Warehouses 07.
Intro to MIS – MGS351 Databases and Data Warehouses
Databases and Data Warehouses Chapter 3
MANAGING DATA RESOURCES
Managing data Resources:
MANAGING DATA RESOURCES
Presentation transcript:

Part seven: Modern IT Architecture

Desktop Systems (one computer) Desktop Systems (one computer) PC Hardware PC Hardware Software Systems Software Systems Distributed Systems (many computer) Distributed Systems (many computer) Computer Networks and the Internet Computer Networks and the Internet Distributed application and Client/Server Distributed application and Client/Server The World Wide Web and e-commerce The World Wide Web and e-commerce

Databases Technology 1. Database Concepts 1. Database Concepts 2. Microsoft Access 2. Microsoft Access 3. Database Trends 3. Database Trends

FILE ORGANIZATION A computer system organizes data in a hierarchy that begins with bits, and proceeds to bytes, fields, records, files, and database. A computer system organizes data in a hierarchy that begins with bits, and proceeds to bytes, fields, records, files, and database. File Record FieldFiledField Byte Bit

FILE ORGANIZATION BIT: Binary Digit (0,1;Y,N;On, Off) BIT: Binary Digit (0,1;Y,N;On, Off) BYTE: Combination of BITS which BYTE: Combination of BITS which represent a CHARACTER represent a CHARACTER FIELD: A logical grouping of characters into a word, a group of words, or a complete number. FIELD: A logical grouping of characters into a word, a group of words, or a complete number. RECORD: Collection of FIELDS which reflect a TRANSACTION RECORD: Collection of FIELDS which reflect a TRANSACTION FILE: A Collection of Similar RECORDS FILE: A Collection of Similar RECORDS DATABASE: An Organization’s Electronic Library of FILES DATABASE: An Organization’s Electronic Library of FILES

FILE ORGANIZATION For Example, Filed: Student ’ s name; Filed: Student ’ s name; Record: Record: A record File:

FILE ORGANIZATION : Another way of thinking about database components —— ENTITY: Person, Place, Thing, Event about Which Data Must be Kept ( a record describes an entity ) ENTITY: Person, Place, Thing, Event about Which Data Must be Kept ( a record describes an entity ) ATTRIBUTE: Description of a Particular ENTITY ( corresponds to fields) ATTRIBUTE: Description of a Particular ENTITY ( corresponds to fields) KEY FIELD: Field Used to Retrieve, Update, Sort RECORD KEY FIELD: Field Used to Retrieve, Update, Sort RECORD*

FILE ORGANIZATION Attribute Record Key Field File

KEY FIELD Field in Each Record Field in Each Record Uniquely Identifies THIS Record Uniquely Identifies THIS Record For RETRIEVAL For RETRIEVAL UPDATING UPDATINGSORTING*

Accessing Records from Computer Files:Sequential vs. Direct or random file organization SEQUENTIAL: Data records must be retrieved in the same physical sequence in which they are stored. (Magnetic tape ) SEQUENTIAL: Data records must be retrieved in the same physical sequence in which they are stored. (Magnetic tape ) DIRECT: Data can be accessed without regard to physical sequence. (Disk) DIRECT: Data can be accessed without regard to physical sequence. (Disk)* Direct file organization Sequential file organization

Problems Arising from the File Organization Data Redundancy: The same piece of information could be duplicated in several files. Data Redundancy: The same piece of information could be duplicated in several files. Data Inconsistency: Data Inconsistency: Data Isolation: Data files are likely to be organized differently, stored in different formats, and often physically inaccessible to other applications. Data Isolation: Data files are likely to be organized differently, stored in different formats, and often physically inaccessible to other applications.

data integrity problem: It is difficult to place data integrity constraints across multiple data files. data integrity problem: It is difficult to place data integrity constraints across multiple data files. Application and Data Independence: In the file environment, the applications and their associated data files are dependent on each other. Application and Data Independence: In the file environment, the applications and their associated data files are dependent on each other. Poor security: is difficult to enforce in the file environment. Poor security: is difficult to enforce in the file environment. Lack of data sharing & availability Lack of data sharing & availability

Problems Arising from the File Organization Data Redundancy; Data Redundancy; Data Inconsistency; Data Inconsistency; Data Isolation, data integrity problem; Data Isolation, data integrity problem; Application and Data Independence; Application and Data Independence; Security, data sharing problem. Security, data sharing problem. These problems led to the development of DATABASE

DATABASE A Database is an organized logical grouping of related files. A Database is an organized logical grouping of related files. In a Database, data are stored & managed in a convenient form, and integrated and related so that one set of software programs provides access to all the data. In a Database, data are stored & managed in a convenient form, and integrated and related so that one set of software programs provides access to all the data.

DATABASE MANAGEMENT SYSTEM (DBMS) Software to create & maintain DATA enables business applications to extract data independent of specific computer programs. Software to create & maintain DATA enables business applications to extract data independent of specific computer programs.

registrar accounting athletics Class programs Class file Accounts programs Class file Sports programs Computer based files of this type cause problems such as redundancy, inconsistency, and data isolation. registrar accounting athletics Class programs Accounts programs Sports programs DBMS Database Class file Accounts file Sports file DBMS provides access to all data in the database

COMPONENTS OF DBMS: DATA DEFINITION LANGUAGE: DATA DEFINITION LANGUAGE: Defines Data Elements in Database Defines Data Elements in Database DATA MANIPULATION LANGUAGE: DATA MANIPULATION LANGUAGE: Manipulates Data for Applications Manipulates Data for Applications DATA DICTIONARY: DATA DICTIONARY: Formal Definitions of all Variables in Database; Controls Variety of Database Contents Formal Definitions of all Variables in Database; Controls Variety of Database Contents*

TWO VIEWS OF DATA PHYSICAL VIEW: WHERE IS DATA PHYSICALLY? PHYSICAL VIEW: WHERE IS DATA PHYSICALLY? DRIVE, DISK, SURFACE, TRACK, SECTOR (BLOCK), RECORD DRIVE, DISK, SURFACE, TRACK, SECTOR (BLOCK), RECORD TAPE, BLOCK, RECORD NUMBER (KEY) TAPE, BLOCK, RECORD NUMBER (KEY) LOGICAL VIEW: WHAT DATA IS NEEDED BY APPLICATION? LOGICAL VIEW: WHAT DATA IS NEEDED BY APPLICATION? SUCCESSION OF FACTS NEEDED BY APPLICATION SUCCESSION OF FACTS NEEDED BY APPLICATION NAME, TYPE, LENGTH OF FIELD NAME, TYPE, LENGTH OF FIELD*

Database Structures

HIERARCHICAL DATABASE ROOT FIRST CHILD 2nd CHILD RatingsSalary Compensation Job Assignments Pension InsuranceHealth Benefits Employer

Type of RELATIONS ONE-TO-ONE: STUDENT ID ONE-TO-MANY: CLASS STUDENT A STUDENT B STUDENT C MANY-TO-MANY: STUDENT A STUDENT B STUDENT C CLASS 1 CLASS 2

NETWORK DATA MODEL Variation of Hierarchical Model Variation of Hierarchical Model Useful for many-to-many relationships Useful for many-to-many relationships STUDENT A STUDENT B STUDENT C CLASS 1 CLASS 2

RELATIONAL DATA MODEL DATA IN TABLE FORMAT DATA IN TABLE FORMAT RELATION: TABLE RELATION: TABLE Tuple: ROW (RECORD) IN TABLE Tuple: ROW (RECORD) IN TABLE Field: COLUMN (ATTRIBUTE) IN TABLE Field: COLUMN (ATTRIBUTE) IN TABLE*

The Relational Database Model  The relational model is based on a simple concept of tables in order to capitalize on characteristics of rows and columns of data, which is consistent with real-world business situations. Tables are called relations, and the model is based on the mathematical theory of sets and relations. Tables are called relations, and the model is based on the mathematical theory of sets and relations. A row is called a tuple, and a column is called an attribute. A row is called a tuple, and a column is called an attribute.  One of the greatest advantages of the relational model is its conceptual simplicity and the ability to link records in a way that is not predefined.

Example DB: Fortune 500 Companies company company industry codes industry codes allied boeing... compnamesalesassetsnetincomeemplsindcodeyr indcodeindname pharmaceuticals computers

The Relational Abstraction Information is in tables Information is in tables Also called (base) relations Also called (base) relations Columns define attributes Columns define attributes Also called fields or domains Also called fields or domains Rows define records Rows define records Also called tuples Also called tuples Cells contain values Cells contain values All cells in column have information of same type All cells in column have information of same type e.g., integer, floating point, text, date e.g., integer, floating point, text, date

Operations on Tables Add new rows (or sometimes columns) Add new rows (or sometimes columns) Modify existing rows Modify existing rows Choose a subset of columns Choose a subset of columns Choose a subset of rows Choose a subset of rows Combine rows (e.g., sum values in a column) Combine rows (e.g., sum values in a column) Combine columns Combine columns Combine two tables (join) Combine two tables (join) No operations to combine individual cells No operations to combine individual cells Unlike spreadsheet Unlike spreadsheet

Operating on Databases: SQL Every abstraction needs an interface through which users invoke abstract operations Every abstraction needs an interface through which users invoke abstract operations graphical interface graphical interface language language Structured Query Language Structured Query Language Has all those operations Has all those operations We'll focus only on queries We'll focus only on queries Query = question Query = question Extract some data from one or more tables to answer a particular question Extract some data from one or more tables to answer a particular question

Physical vs. Logical Data View How can a single, unified database meet the differing requirements of so many users? How can a single, unified database meet the differing requirements of so many users? Minimizes these problems by providing two “ views ” of the database data: Minimizes these problems by providing two “ views ” of the database data: The physical view deals with the actual, physical arrangement and location of data in the direct access storage devices (DASD). The physical view deals with the actual, physical arrangement and location of data in the direct access storage devices (DASD). The logical view, or user ’ s view, represents data in a format that is meaningful to a user and to the software programs that process that data. The logical view, or user ’ s view, represents data in a format that is meaningful to a user and to the software programs that process that data.

2. Microsoft Access Features: Features: Create/Modify databases Create/Modify databases Specify/Run queries Specify/Run queries Design/Print reports Design/Print reports Design graphical user interfaces around databases Design graphical user interfaces around databases Forms for entering, viewing data Forms for entering, viewing data An Introduction An Introduction An Introduction An Introduction

Microsoft Access GUI Building A GUI is A Set of Forms Forms Used for Used for Entering data to tables Entering data to tables Displaying data from tables or queries in a nicer way Displaying data from tables or queries in a nicer way Each form is usually “ bound ” to a table or query Each form is usually “ bound ” to a table or query every “ screenful ” in the form displays the contents of one record in that table or query every “ screenful ” in the form displays the contents of one record in that table or query

Forms contain Controls Labels Buttons Text boxes Pictures

Controls Forms contain controls Forms contain controls Text labels Text labels Text boxes Text boxes List boxes List boxes Combo boxes Combo boxes Option groups Option groups Buttons Buttons “ Objects ” created by other applications “ Objects ” created by other applications Pictures Pictures Word documents Word documents Spreadsheets Spreadsheets Decorative lines and boxes Decorative lines and boxes

Every Control has a set of Properties Properties determine Properties determine where the control gets its data from where the control gets its data from how it is displayed how it is displayed Usually properties are automatically set by wizards Usually properties are automatically set by wizards users only need to occasionally fine-tune them users only need to occasionally fine-tune them

Creating Forms Easy way: use an Access Wizard Easy way: use an Access Wizard Difficult way: manually add controls Difficult way: manually add controls

Editing a form ’ s design Select “ Design View ” Select “ Design View ” Modify controls Modify controls move them, resize them, delete them move them, resize them, delete them Modify properties Modify properties right-click on a control to get to its property list right-click on a control to get to its property list Add new controls Add new controls make Toolbox visible by selecting it from the “ View ” menu make Toolbox visible by selecting it from the “ View ” menu drag and drop new controls from the Toolbox drag and drop new controls from the Toolbox set the properties of the new controls set the properties of the new controls

Reports Specify the structure of printed reports Specify the structure of printed reports Similar structure to forms Similar structure to forms Every report is bound to a table or query Every report is bound to a table or query Reports have controls, where every control specifies how a specific field of a record in the table/query will appear Reports have controls, where every control specifies how a specific field of a record in the table/query will appear Access provides wizards for easy creation of new reports Access provides wizards for easy creation of new reports Users typically only need to fine-tune them Users typically only need to fine-tune them

Report Examples Category Sales for 1995 Category Sales for 1995 New report, select Report Wizard New report, select Report Wizard Base on query “ Category Sales for 1995 ” Base on query “ Category Sales for 1995 ” Select both fields, no grouping, sort by “ Category Name ” Select both fields, no grouping, sort by “ Category Name ” Tabular Layout, Corporate Style Tabular Layout, Corporate Style Store as “ Category Sales for 1995 ” Store as “ Category Sales for 1995 ” Switch to “ Design View ”, add a text box in Report Footer to show “ Total Sales ” Switch to “ Design View ”, add a text box in Report Footer to show “ Total Sales ”

Access GUI Summary 1. A GUI is a set of forms 2. A form displays records from a table or query 3. A form has a set of controls 4. A control displays data from a field or accepts user input 6. User interaction with forms/controls generates events 7. Macros can be attached to form/control event properties 5. A control has a set of properties

Macros Allow programmers to build functionality into MS Access forms Allow programmers to build functionality into MS Access forms Connect to forms and controls through events Connect to forms and controls through events

Typical Uses of Macros Open Forms from inside other Forms Open Forms from inside other Forms Synchronize data in two open Forms Synchronize data in two open Forms when data changes in one form, corresponding data also changes on the other form when data changes in one form, corresponding data also changes on the other form Find a record which satisfies given properties Find a record which satisfies given properties more user-friendly that writing queries more user-friendly that writing queries Validating input data Validating input data

Events “ Certain things that happen on the form or control ” “ Certain things that happen on the form or control ” Mouse clicks/double clicks Mouse clicks/double clicks Form open/close Form open/close Control value changed Control value changed etc. etc. Controls have one property per event type Controls have one property per event type Determines what happens when event is triggered Determines what happens when event is triggered Can be connected to a macro Can be connected to a macro

Most Important Event Properties On Click On Click On DoubleClick On DoubleClick triggered when we click/doubleclick on a control triggered when we click/doubleclick on a control After Update After Update triggered after we have changed the value of a control triggered after we have changed the value of a control On Current On Current Triggered every time a new record is displayed in a Form Triggered every time a new record is displayed in a Form

Macro Structure Each macro is a set of sequential actions Each macro is a set of sequential actions Each action has a set of parameters Each action has a set of parameters Actions may (optionally) be conditional Actions may (optionally) be conditional Macros can be named and saved (just as tables,queries, forms) Macros can be named and saved (just as tables,queries, forms)

Macro Example ConditionsActionsComments Parameters for current action Explanation of parameters

3. Database Trends(1) The evolution of Database System The evolution of Database System Data Data Simple data => Multimedia data, Knowledge Simple data => Multimedia data, Knowledge Model Model Relational model => OO model Relational model => OO model Object relational model Object relational model

Databases Trends (2) Databases Trends (2) Application Application OLTP => OLAP OLTP => OLAP Data organization Data organization Database => Data warehouse, Data Marts Database => Data warehouse, Data Marts Query language Query language SQL => Deductive SQL => Deductive

Emerging Database Models The most common database models are:  Multimedia database  Deductive databases  Object-oriented databases  Multimedia and hypermedia databases

Object-Oriented Database Model Object-oriented (OO) databases store both data and procedures acting on the data, as objects. Object-oriented (OO) databases store both data and procedures acting on the data, as objects. The OO database can be particularly helpful in multimedia environments, such as in manufacturing sites using CAD/CAM. The OO database can be particularly helpful in multimedia environments, such as in manufacturing sites using CAD/CAM. OO databases can be particularly useful in supporting temporal and spatial( 时空) dimensions. OO databases can be particularly useful in supporting temporal and spatial( 时空) dimensions. Terminology in the OO model includes: Terminology in the OO model includes: objects, attributes, classes, methods, and messages. objects, attributes, classes, methods, and messages.

Hypermedia Database Model  The hypermedia database model stores chunks of information in the form of nodes connected by links established by the user.  The nodes can contain text, graphics, sound, full-motion video, or executable computer programs.  Users can branch to related information in any kind of relationship.

Thanks for Your Attention