Database

  • 915 views
Uploaded on

 

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
915
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
31
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. 8.1 8. MANAGING DATA RESOURCES
  • 2. LEARNING OBJECTIVES
    • COMPARE TRADITIONAL FILE ORGANIZATION & MANAGEMENT TECHNIQUES
    • EXPLAIN PROBLEMS OF TRADITIONAL FILE ENVIRONMENT
    • DESCRIBE HOW DATABASE MANAGEMENT SYSTEM ORGANIZES DATA
    • DISCUSS NEW DATABASE TRENDS
    • *
    8.2
  • 3. CONTENTS
    • TRADITIONAL DATA FILE ENVIRONMENT
    • DATABASE ENVIRONMENT
    • DESIGNING DATABASES
    • DATABASE TRENDS
    • *
    8.4
  • 4. FILE ORGANIZATION
    • BIT: Binary Digit (0,1;Y,N;On, Off)
    • BYTE: Combination of BITS which represent a CHARACTER
    • FIELD: Collection of BYTES which represent a DATUM or Fact
    • RECORD: Collection of FIELDS which reflect a TRANSACTION
    • *
    8.5
  • 5. FILE ORGANIZATION
    • FILE: A Collection of Similar RECORDS
    • DATABASE: A Group of Related Files - An Organization’s Electronic Library of FILES
    • *
    8.5
  • 6. FILE ORGANIZATION
    • ENTITY: Person, Place, Thing, Event about Which Data Must be Kept
    • ATTRIBUTE: Each Characteristic describing a Particular ENTITY
    • *
    8.7
  • 7. KEY FIELD
    • Field in Each Record
    • Uniquely Identifies THIS Record
    • For RETRIEVAL
    • UPDATING
    • SORTING
    • *
    8.8
  • 8. SEQUENTIAL VS. DIRECT FILE ORGANIZATION
    • SEQUENTIAL: Data records must be retrieved in the same physical sequence in which they are stored - Tape Oriented; One File Follows another; Follows Physical Sequence
    • DIRECT: Disk Oriented; Can be Accessed Without Regard to Physical Sequence
    • *
    8.9
  • 9.
    • DATA REDUNDANCY
    • PROGRAM / DATA DEPENDENCY
    • LACK OF FLEXIBILITY
    • POOR SECURITY
    • LACK OF DATA- SHARING & AVAILABILITY
    • *
    TRADITIONAL FILE ENVIRONMENT (FLAT FILE) 8.12
  • 10. BASE DE DATOS
    • Un grupo de datos organizados para servir muchas aplicaciones al mismo tiempo guardando y administrando los datos en forma centralizada.
    • *
    8.13
  • 11. DATABASE
    • ORGANIZATION’S ELECTRONIC LIBRARY
    • STORES & MANAGES DATA
    • IN A CONVENIENT FORM
    • *
    8.13
  • 12. DATABASE MANAGEMENT SYSTEM (DBMS)
    • SOFTWARE TO CREATE & MAINTAIN DATA
    • ENABLES BUSINESS APPLICATIONS TO EXTRACT DATA
    • INDEPENDENT OF SPECIFIC COMPUTER PROGRAMS
    • *
    8.14 DBMS
  • 13. DATABASE MANAGEMENT SYSTEM (DBMS)
    • Cuando el programa de aplicación pide un ítem de dato (ej: TE de un cliente) el DBMS encuentra el ítem de dato en la base de datos y se lo entrega al programa. El DBMS elimina la mayoría de las sentencias de definición de datos que contenían los programas tradicionales (entorno de archivos tradicional)
    8.14 DBMS
  • 14. COMPONENTS OF DBMS:
    • DATA DEFINITION LANGUAGE:
      • Defines Data Elements in Database
    • DATA MANIPULATION LANGUAGE:
      • Manipulates Data for Applications
    • DATA DICTIONARY:
      • File that stores definitions of data elements and data characteristics such as physical representation, usage, security, etc.
    8.15 DBMS
  • 15. STRUCTURED QUERY LANGUAGE (SQL)
    • EMERGING STANDARD
    • DATA MANIPULATION LANGUAGE
    • FOR RELATIONAL DATABASES
    • *
    8.16 DBMS
  • 16. DATA ELEMENT = FIELD TABLE = FILE 8.16 DBMS
  • 17. ADVANTAGES OF DBMS:
    • REDUCES COMPLEXITY
    • REDUCES DATA REDUNDANCY / INCONSISTENCY
    • CENTRAL CONTROL OF DATA CREATION / DEFINITIONS
    • REDUCES PROGRAM / DATA DEPENDENCE
    • *
    8.18 DBMS
  • 18. ADVANTAGES OF DBMS:
    • REDUCES DEVELOPMENT / MAINTENANCE COSTS
    • ENHANCES SYSTEM FLEXIBILITY
    • INCREASES ACCESS / AVAILABILITY OF INFORMATION
    • *
    8.19 DBMS
  • 19. 3 DATABASE MODELS
    • HIERARCHICAL DATABASE MODEL
    • NETWORK DATABASE MODEL
    • RELATIONAL DATABASE MODEL
    • *
    8. 20 DBMS
  • 20. RELATIONAL DATA MODEL
    • DATA IN TABLE FORMAT
    • RELATION: TABLE
    • TUPLE: ROW (RECORD) IN TABLE
    • FIELD: COLUMN (ATTRIBUTE) IN TABLE
    • *
    8.24
  • 21. CREATING A DATABASE
    • CONCEPTUAL DESIGN
    • PHYSICAL DESIGN
    • *
    8.28
  • 22. CREATING A DATABASE CONCEPTUAL DESIGN:
    • ABSTRACT MODEL, BUSINESS PERSPECTIVE
    • HOW WILL DATA BE GROUPED?
    • RELATIONSHIPS AMONG ELEMENTS
    • ESTABLISH END-USER NEEDS
    • *
    8.29
  • 23. CREATING A DATABASE PHYSICAL DESIGN:
    • DETAILED MODEL BY DATABASE SPECIALISTS
    • ENTITY-RELATIONSHIP DIAGRAM
    • NORMALIZATION
    • HARDWARE / SOFTWARE SPECIFIC
    • *
    8.30
  • 24. ENTITY- RELATIONSHIP DIAGRAM 8.31 1 M M 1 ORDER CAN HAVE PART SUPPLIER CAN HAVE ORDER: #, DATE, PART #, QUANTITY PART: #, DESCRIPTION, UNIT PRICE, SUPPLIER # SUPPLIER: #, NAME, ADDRESS
  • 25. NORMALIZATION
    • PROCESS OF CREATING SMALL DATA STRUCTURES FROM COMPLEX GROUPS OF DATA
    • EXAMPLES:
    • ACCOUNTS RECEIVABLE
    • PERSONNEL RECORDS
    • PAYROLL
    • *
    8.32
  • 26. DATABASE TRENDS
    • DISTRIBUTED PROCESSING: Multiple Geographical / Functional Systems Connected with Network
    • DISTRIBUTED DATABASE: Data Physically Stored in more than one Location
      • PARTITIONED
      • DUPLICATE
    • *
    8.33
  • 27. DISTRIBUTED DATABASES
    • PARTITIONED: remote CPUs (connected to host) have only the files necessary to that site, e.g., records on local customers
    • DUPLICATE: each remote CPU has copies of common files, e.g., layouts for standard reports and forms
    • *
    8.34
  • 28. DATABASE TRENDS
    • HYPERMEDIA: Nodes Contain Text, Graphics, Sound, Video, Programs. Organizes Data as Nodes.
    • *
    8.35
  • 29. DATABASE TRENDS
    • MULTIDIMENSIONAL: 3D (or higher) Groupings to Store Complex Data
    • ON-LINE ANALYTICAL PROCESSING (OLAP): ability to manipulate and analyze large volumes of data from multiple perspectives
    • *
    8.38
  • 30. DATABASE TRENDS
    • DATA WAREHOUSE: A database, with reporting and query tools that stores current & historical data extracted from various operational systems and consolidated for management reporting & analysis
    • DATA MART: small data warehouse for special function, e.g., focused marketing based on customer info
    • *
    8.36
  • 31. COMPONENTS OF DATA WAREHOUSE 8.37
  • 32. DATA WAREHOUSE
    • The data originate in many core operational systems and external sources and are copied into the data warehouse as often as needed - daily, weekly, etc. The data are standardized and consolidated so that they can be used across the enterprise for management analysis and decision making. The data are available for anyone to access as needed but cannot be altered. A data warehouse system include a range of ad hoc and standardized query tools, analytical tools, and graphical reporting facilities. Enables to access data without affecting the performance of the underlying operational systems.
    • *
    8.38
  • 33. DATABASE ADMINISTRATION
    • DEFINES & ORGANIZES DATABASE STRUCTURE AND CONTENT
    • DEVELOPS SECURITY PROCEDURES
    • DEVELOPS DATABASE DOCUMENTATION
    • MAINTAINS DBMS
    • *
    8.40
  • 34. 8.42 8. MANAGING DATA RESOURCES