




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































DATA Vs INFORMATION DATA Vs INFORMATION TRADITIONAL PROCESSING SYSTEM TRADITIONAL PROCESSING SYSTEM DATABASE (DB) APPROACH DATABASE (DB) APPROACH COMPONENTS OF DB ENVRNMT COMPONENTS OF DB ENVRNMT RISK OF DB APPROACH RISK OF DB APPROACH EVOLUTION OF DBS EVOLUTION OF DBS
Eg :Eg : RAMARAMA IS AIS A GIRLGIRL
Data vs. information:Data vs. information:
(^) PURCHASEPURCHASE
TRADITIONAL APPROACH TOTRADITIONAL APPROACH TO DATA MANAGEMENT DATA MANAGEMENT
BANKS RAW DATA ARE BANKS RAW DATA ARE DECENTRALISED AS BUSINESS ISDECENTRALISED AS BUSINESS IS DECENTRALISEDDECENTRALISED
OCCURS 2OCCURS 2
Cont…..Cont…..
(TPS) (TPS)
ACCOUNT RECORD ACCOUNT RECORD INV DETAILS NUM(40) INV DETAILS NUM(40) INV TRANS NUM(20) OCCURS 300 INV TRANS NUM(20) OCCURS 300 MTG DETAILS NUM(40) MTG DETAILS NUM(40) MTG TRANS NUM(20) OCCURS 54 MTG TRANS NUM(20) OCCURS 54 CUSTOMER DETAILS CHAR(70) CUSTOMER DETAILS CHAR(70) OCCURS 4OCCURS 4
Suppose we are building a system Suppose we are building a system to store the information about:to store the information about: students students courses courses professors professors who takes what, who teaches what who takes what, who teaches what
Enroll “Mary Johnson” in “CSE444”: Enroll “Mary Johnson” in “CSE444”:
Read ‘students.txt’ Read ‘courses.txt’ Find&update the record “Mary Johnson” Find&update the record “CSE444” Write “students.txt” Write “courses.txt”
Read ‘students.txt’ Read ‘courses.txt’ Find&update the record “Mary Johnson” Find&update the record “CSE444” Write “students.txt” Write “courses.txt”
Write a C/Java program to do the following:
System crashes: System crashes:
(^) What is the problem ?What is the problem? Large data sets (say 50GB) Large data sets (say 50GB) (^) Why is this a problem ?Why is this a problem? Simultaneous access by many users Simultaneous access by many users (^) Lock students.txt – what is the problem ?Lock students.txt – what is the problem?
Read ‘students.txt’ Read ‘courses.txt’ Find&update the record “Mary Johnson” Find&update the record “CSE444” Write “students.txt” Write “courses.txt”
Read ‘students.txt’ Read ‘courses.txt’ Find&update the record “Mary Johnson” Find&update the record “CSE444” Write “students.txt” Write “courses.txt”^ CRASH!