Académique Documents
Professionnel Documents
Culture Documents
Different
way to
store data
Data types
Number and strings
Signals
Images
Files are a data storage entity that contain
data according to the application organization.
Binary or Text
25
Database
s
Symbol used
to indicate a
database
27
28
29
DBMS
32
Two-tier system.
It is an example of distributed computing where
different software is required for server machine
and for the client machine.
Three-tier system.
In this system a special software called
middleware is used to connect client of one
DBMS to access another DBMS.
In a distributed computing system there are many DBMS installed on different
server machines.
Applications can access data from local and remote databases.
Data is stored geographically and resides to nearer where it will be used.
34
34
: security is provided by
controlling the operations that each user may perform (privileges); data
integrity is the result of having each datum stored only in one place (in
conventional systems data are duplicated in multiple files).
: complex
requests can be handled much more rapidly then if the data were located in
separated files.
35
36
36
: are the people who interact with the database through applications
and utilities. There are different types of end users:
Casual end users people that need different information each time; they uses the
database query language;
Native end users they uses the same queries each time, usually by means of
applications.
: they write programs, that make use of
databases, to handle a specific job.
37
A database model is used to explain the logical layout meaning the relationships
among the various parts the database consists of.
In fact data must be stored in some fashion in a file for it to be useful.
Over the past 30 years there have been three groups of logical database
models:
Hierarchical
Network
Relational
meaning three ways of logically perceiving the arrangement of data in the file
structure.
The relational database modeling is currently the best solution for both storage
and retrieval of data.
38
1980
1950
The initial solution was no virtually database model at all: the file
system (also known as flat files).
The term flat file is a way of describing a simple text file, containing
no structure. Flat files are not database at all.
HIERARCHICAL model
is an inverted tree-like
structure.
1990
39
1960
2000
NETWORK model
organizes files in a manner
that associates each file with n
number of other files.
1970
RELATIONAL model
is a data is stored in tables (also referred
to as entities). Each table has rows (also
referred as records) and columns (also
referred to as attributes). In this model
any table can be linked together.
40