Assoc. Prof. Dr. Ahmet Turan ÖZCERİT.  The concept of Data, Information and Knowledge  The fundamental terms:  Database and database system  Database.

Slides:



Advertisements
Similar presentations
Chapter 10: Designing Databases
Advertisements

C6 Databases.
Data Modeling and Database Design Chapter 1: Database Systems: Architecture and Components.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/1 Copyright © 2004 Please……. No Food Or Drink in the class.
The database approach to data management provides significant advantages over the traditional file-based approach Define general data management concepts.
Managing Data Resources
1 Chapter 2 Database Environment Transparencies © Pearson Education Limited 1995, 2005.
ETEC 100 Information Technology
Oct 31, 2000Database Management -- Fall R. Larson Database Management: Introduction to Terms and Concepts University of California, Berkeley School.
The Hierarchy of Data Bit (a binary digit): a circuit that is either on or off Byte: 8 bits Character: each byte represents a character; the basic building.
3-1 Chapter 3 Data and Knowledge Management
Data Management I DBMS Relational Systems. Overview u Introduction u DBMS –components –types u Relational Model –characteristics –implementation u Physical.
Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
Chapter 2 Database Environment Pearson Education © 2014.
Database Management COP4540, SCS, FIU An Introduction to database system.
Chapter 2 Database System Concepts and Architecture
Introduction to Databases Transparencies 1. ©Pearson Education 2009 Objectives Common uses of database systems. Meaning of the term database. Meaning.
Introduction to Database
Database Environment 1.  Purpose of three-level database architecture.  Contents of external, conceptual, and internal levels.  Purpose of external/conceptual.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
5.1 © 2007 by Prentice Hall 5 Chapter Foundations of Business Intelligence: Databases and Information Management.
Chapter 5 Lecture 2. Principles of Information Systems2 Objectives Understand Data definition language (DDL) and data dictionary Learn about popular DBMSs.
 Introduction Introduction  Purpose of Database SystemsPurpose of Database Systems  Levels of Abstraction Levels of Abstraction  Instances and Schemas.
Module Title? DBMS Introduction to Database Management System.
Web-Enabled Decision Support Systems
CSC271 Database Systems Lecture # 4.
Fundamentals of Information Systems, Fifth Edition
ITEC224 Database Programming
Database Technical Session By: Prof. Adarsh Patel.
Database System Concepts and Architecture
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
Introduction to Database Systems
Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013.
CS 474 Database Design and Application Terminology Jan 11, 2000.
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.
Dr. Mohamed Osman Hegazi 1 Database Systems Concepts Database Systems Concepts Course Outlines: Introduction to Databases and DBMS. Database System Concepts.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
File Systems and Databases Lecture 1. Files and Databases File: A collection of records or documents dealing with one organization, person, area or subject.
1.file. 2.database. 3.entity. 4.record. 5.attribute. When working with a database, a group of related fields comprises a(n)…
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Announcements. Data Management Chapter 12 Traditional File Approach  Structure Field  Record  File  Fixed All records have common fields, and a field.
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
IS 325 Notes for Wednesday August 28, Data is the Core of the Enterprise.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
Data resource management
Bayu Adhi Tama, M.T.I 1 © Pearson Education Limited 1995, 2005.
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.
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
Chapter 2 Database Environment.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Welcome: To the fifth learning sequence “ Data Models “ Recap : In the previous learning sequence, we discussed The Database concepts. Present learning:
ISC321 Database Systems I Chapter 2: Overview of Database Languages and Architectures Fall 2015 Dr. Abdullah Almutairi.
Managing Data Resources File Organization and databases for business information systems.
Fundamental of Database Systems
An Introduction to database system
Chapter 2 Database System Concepts and Architecture
Fundamentals & Ethics of Information Systems IS 201
Chapter 2 Database Environment Pearson Education © 2009.
MANAGING DATA RESOURCES
Database Environment Transparencies
Presentation transcript:

Assoc. Prof. Dr. Ahmet Turan ÖZCERİT

 The concept of Data, Information and Knowledge  The fundamental terms:  Database and database system  Database Management System  Database architectures  File Systems  Data models You will learn: 2

He/She can explain the fundamental terms of database systems 3

4 Data... data is raw. It simply exists and has no significance beyond its existence (in and of itself). It can exist in any form, usable or not. It does not have meaning of itself Information... information is data that has been given meaning by way of relational connection. This "meaning" can be useful, but does not have to be. Knowledge... knowledge is the appropriate collection of information, such that it's intent is to be useful. Knowledge is a deterministic process. When someone "memorizes" information (as less-aspiring test-bound students often do), then they have amassed knowledge. This knowledge has useful meaning to them, but it does not provide for, in and of itself, an integration such as would infer further knowledge. For example, elementary school children memorize, or amass knowledge of, the "times table". They can tell you that "2 x 2 = 4" because they have amassed that knowledge (it being included in the times table). But when asked what is "1267 x 300", they can not respond correctly because that entry is not in their times table. To correctly answer such a question requires a true cognitive and analytical ability that is only encompassed in the next level... understanding

He/She can explain the fundamental terms of database systems 5 Phase-1 Requirements and Analysis Phase-1 Requirements and Analysis Phase-2 Conceptual Modeling Phase-2 Conceptual Modeling Phase-3 Logical Modeling Phase-3 Logical Modeling Phase-4 Physical Modeling Phase-4 Physical Modeling Functional Analysis Application Design Application Design Application Programs Application Programs Functional RequirementsUser Requirements Data Requirements

He/She can explain the fundamental terms of database systems 6 A database is an organized collection of data which can be manageable, portable, updatable. It is the collection of schemes, tables, queries, reports, views and other objects that computer applications can manipulate them. The data is typically organized to model aspects of reality A database management system (DBMS) is a computer software application that interacts with the user, other applications, and the database itself to capture and analyze data. A general-purpose DBMS is designed to allow the definition, creation, querying, update, and administration of databases. Well-known DBMSs include MySQL, PostgreSQL, Microsoft SQL Server, Oracle, Sybase and IBM DB2. A database is not generally portable across different DBMSs, but different DBMS can interoperate by using standards such as SQL and ODBC or JDBC to allow a single application to work with more than one DBMS

He/She can explain the fundamental terms of database systems 7 DBMS SOFTWARE Query Processing Software Data Accessing Software User Interfaces Application Software Queries User Interfaces Application Software Queries

He/She can explain the fundamental terms of database systems Actors on the Scene Database Administrator Database Developers Database Programmers Users Actors on the Scene Database Administrator Database Developers Database Programmers Users Actors on the Back DBMS Developers Tool Developers Operators Maintenance and Repair Personal Actors on the Back DBMS Developers Tool Developers Operators Maintenance and Repair Personal

He/She can explain the fundamental terms of database systems History 1960s Network Model (CODASYL) Hierarchical Model (IMS by IBM) 1970sRelational Model 1976 Entity-Relationship 1980s SQL, standard query language 1990 Object-Relational 1993 Object Oriented Data Model History 1960s Network Model (CODASYL) Hierarchical Model (IMS by IBM) 1970sRelational Model 1976 Entity-Relationship 1980s SQL, standard query language 1990 Object-Relational 1993 Object Oriented Data Model

He/She can explain the fundamental terms of database systems 1- Central System Architecture User tools, DBMS and data are located on a server Client DBMS Database

He/She can explain the fundamental terms of database systems 2- Two-Layered Client/Server System Architecture Client DBMS Database Network Client More than one user act as client. Clients access the database through network First layer: Client layer Second layer: Database server

He/She can explain the fundamental terms of database systems 3- Three-Layered Client/Server System Architecture Application Software Application Software Database Network Client More than one user act as client. Clients access the database through network First layer: Client layer Second layer: Database server DBMS Database

He/She can explain the fundamental terms of database systems 4- N-Layered Client/Server System Architecture Web Software Web Software Web Server Network Client Application Software Application Software Application Server Client DBMS Database

He/She can explain the fundamental terms of database systems 5- Distributed Database System Architecture Database Network Client DBMS Database Server 1 Server 2

He/She can explain the fundamental terms of database systems A computer file is a resource for storing information, which is available to a computer program and is usually based on some kind of durable storage. A file is "durable" in the sense that it remains available for other programs to use after the program that created it has finished executing. Computer files can be considered as the modern counterpart of paper documents which traditionally are kept in office and library files, and this is the source of the term.

He/She can explain the fundamental terms of database systems Sequential Files: A sequential file is one in which the individual records can only be accessed sequentially, that is, in the same order as they were originally written to the file. New records are always added to the end of the file. Indexed Files: An indexed file is a file in which each record includes a primary key. To distinguish one record from another, the value of the primary key must be unique for each record. Records can then be accessed randomly by specifying the value of the record's primary key. Indexed file records can also be accessed sequentially. As well as a primary key, indexed files can contain one or more additional keys known as alternate keys. The value of a record's alternate key(s) does not have to be unique. Hashed Files: Hash files are commonly used as a method of verifying file size. This process is called check-sum verification. When a file is sent over a network, it must be broken into small pieces and reassembled after it reaches its destination. In this situation the hash number represents the size of the data in a file. The hash can then be used as a tool for validating the entire file was successfully transmitted over the network.

He/She can explain the fundamental terms of database systems Advantages of DBMS :  No redundant data  Data consistency and integrity  Data security  Easy access  Easy recovery  Flexibility What about disadvantages?  Cost  Complexity  Performance loss

He/She can explain the fundamental terms of database systems  There are three different types of data models produced while progressing from requirements to the actual database to be used for the information system. The data requirements are initially recorded as a conceptual data model which is essentially a set of technology independent specifications about the data and is used to discuss initial requirements with the business stakeholders. The conceptual model is then translated into a logical data model, which documents structures of the data that can be implemented in databases. Implementation of one conceptual data model may require multiple logical data models. The last step in data modeling is transforming the logical data model to a physical data model that organizes the data into tables, and accounts for access, performance and storage details. Data modeling defines not just data elements, but also their structures and the relationships between them.

He/She can explain the fundamental terms of database systems  Step-1: Requirement analysis describes to determine data types, data groups, data related rules and processes operating on data. It also describes the functionalities of the system, the data to be stored in the system, relationship between data and user’s operations.  Step-2: Conceptual model describes the semantics of a domain (the scope of the model). For example, it may be a model of the interest area of an organization or of an industry. This consists of entity classes, representing kinds of things of significance in the domain, and relationships assertions about associations between pairs of entity classes. A conceptual schema specifies the kinds of facts or propositions that can be expressed using the model. In that sense, it defines the allowed expressions in an artificial "language" with a scope that is limited by the scope of the model. Simply described, a conceptual schema is the first step in organizing the data requirements.

He/She can explain the fundamental terms of database systems  Step-3: Logical model describes the structure of some domain of information. This consists of descriptions of (for example) tables, columns, object-oriented classes, and XML tags. The logical schema and conceptual schema are sometimes implemented as one and the same  Step-4: Physical model describes the physical means used to store data. This is concerned with partitions, CPUs, tablespaces, and the like.

He/She can explain the component of the data modeling The components of conceptual data modeling Entity: Existing and distinguishable object Array of Entities

He/She can explain the component of the data modeling Example: Entity-Relation Sets E 1 = { John, Alice} E 2 = { Math, ICE} The relationship between E 1 and E 2 is students and their course E 1 x E 2 = { (John, Math), (John, ICE), (Alice, Math), (Alice, ICE)} Then we can describe three relation sets below: R 1 ={(John,Math)} R 2 ={(John,ICE)} R 3 ={(John,ICE), (Alice, Math)} So, all R n relation sets are subsets of E 1 x E 2

He/She can explain the component of the data modeling Attributes and Domains (set of valid values)

He/She can explain the component of the data modeling Derived Attributes

He/She can explain the component of the data modeling Multi-valued Attributes

He/She can explain the component of the data modeling Composite Attributes More than one attributes can be grouped as one attribute

He/She can explain the component of the data modeling Entity Roles

He/She can explain the component of the data modeling Relation of Entities

29