Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Databases
1 1 Database Basics
Database Models
T e tas!s associated "it creating# maintaining# and accessing t e information in databases are referred to as data management# file management# or database management
Chapter 11: Databases 4
Collect and store data %pdate data &rgani'e and output data Distribute data Find data Analy'e data
10
11
at is
Cardinality
12
13
1 Database Models 1 A ierarc ical database allo"s one-to-one and oneto-many relations ips# lin!ed in a ierarc ical structure
14
15
16
ips
17
ic
18
19
Data Management Soft"are Database Management Systems Databases and t e 1eb 2ML
20
21
22
23
24
25
Database client soft"are allo"s any remote computer or net"or! "or!station to access data in a database
26
27
Static 1eb publis ing Dynamic 1eb publis ing Ser$er-side program
28
29
30
31
Ser$er-side script
32
at allo"s field tags# data# and tables to be incorporated into a 1eb document
33
Consider storing data in a relational database# managing it "it 4DBMS soft"are# and generating 2ML documents for e(c anging data o$er t e 1eb
34
35
e arrangement of fields# tables# and relations ips in a database Brea! data into fields 0ust by using common sense and considering o" people mig t "ant to access t e data %se a primary !ey field to ma!e eac record uni,ue %se appropriate data types for eac field
36
1 De ining Fields 1
37
at a DBMS performs during processing and temporarily stores in a memory location %ppercase and lo"ercase are not al"ays treated t e same
%se field formats to s o" " at t e data is supposed to loo! li!e " en it7s entered %se field $alidation rules to filter data
Chapter 11: Databases 38
39
A table7s sort order refers to t e order in " ic records are stored on dis! Sort !ey Similar to t e inde( in a boo!
Database inde(
40
1 (rgani'ing )ecords 1
41
42
43
44
45
46
%sing generic data entry tools %sing a customi'ed data entry module
A con$ersion routine con$erts t e data from its current format into a format t at can be automatically incorporated into t e ne" database
47
48
49
1 S+% Basics 1
50
1 Adding )ecords 1
51
52
53
54
1 -oining Tables 1
55
56
ac!ing#
T ere is ardly a person in America " o is not in at least one computer database
)ri$acy is $ie"ed as an in erent rig t 3mportance of data accuracy Data s ould be !ept secure
57
1 Database Securit" Measures 1 Today7s computers are under assault from ac!ers
and natural disasters Security measures include encryption# access controls# data security policies# and intrusion monitoring Encryption can ma!e data in a database unintelligible to a ac!er T e process of decrypting database information in response to a ,uery typically increases t e amount of time necessary to process eac ,uery
Chapter 11: Databases 58
Control " o accesses t e database Control o" users interact "it t e database
59
60
European %nion7s )ri$acy Directi$e Canada7s )ersonal 3nformation )rotection and Electronics Document Act %/S/ )ri$acy Act of <?@A %SA )AT43&T Act .ideo )ri$acy )rotection Act 5ealt 3nsurance )ortability and Accountability Act <??B =ramm-Leac -Bliley Act <???
61
Cno" " en data is being collected Find out o" data is being used Find out " at data is retained Supply only t e data t at is re,uired &pt-out " en possible )rotect your pass"ords Don7t trade your pri$acy %se anti$irus soft"are Do not reply to spam Before registering# c ec! t e site7s pri$acy policy
62
63