Unit 2 Flashcards
ahhh shiii here we go again
What is an instance?
Collection of a data in a database at a particular moment
Schema
Overall design
Subschemas
Having several schemas at view level
Vrai ou faux: logical schema is by far the most important, in terms of its effect on application programs, since programmers construct applications by using
the logical schema
Vrai. I was about to say it was the physical one…welp
Vrai ou faux: the physical schema can be easily changed without affecting the application program.
Vrai. Since it is hidden beneath the logical schemas
ANSI-SPARC can be divided to:
Internal, conceptual and external
Internal level
AKA physical level
how data is stored in a storage
File structures and access methods
Data compression and encryption techniques
Conceptual
AKA logical(community view)
What is stored and what relationships exist
Abstracts low level complexities of the physical storage
The level app developers work on
External
AKA view level
What the end users use
What are the objectives of the 3TA(three tier arc)
DATA ABSTRACTION
views allow data to be viewed for d/t users
user doesn’t care about the physical storage detail
Vrai ou faux: Physical storage structure can be changed without requiring changes in
conceptual structure of the database as well as users view
Vrai
Vrai ou faux: Conceptual structure of the database can be changed without affecting end
users.
vrai encore
What is Data Independence
allows changes to be made to a database without affecting the applications that use it
Logical data independence:
conceptual doesn’t change the external schema and vise versa
Physical data independence
conceptual doesn’t change the internal schema and vise versa
Layers of ANSI-SPARC organ data
external and Internal
External Mapping
the DBMS maps names in the user’s view to the relevant part of the conceptual schema (translator)
Internal Mapping
(Navigator) DBMS funds the records in physical storage based on the constraints…ig
Multi- User architectures
Tele processing, file and client server
Main-Frame (teleprocessing)
Mainframe dependent, uses dumb terminals to access apps and the database
File Server
One computer(file server) connects to workstations and they share storage, the apps run on the workstation while asking the file server files when necessary
disadvantages of file server
Heavy network traffic
Cost of ownership
Complex integrity, concurrency, and recovery control
Client Server arc
The client and server
don’t reside on the same machine
What is a server?
device that provides and manages, access to a
centralized resource or service to another device , program or end user in a network
Client server arc types
Two and three tier