unit 1 Flashcards
(62 cards)
What is data
Raw input. Known facts, can be recorder, have implicit meaning.
What is information?
Processed data.
When data is processed, organized, structured and presented to make it useful.
relationship btwn data and info
data independent whereas info is dependent on data
What is Database
DBMS is storing or collection of related data. Represents aspects of mini world or UOD.
Has implicit meaning.
Logically coherent.
Can be of any size.
DBMS
General purpose software system that facilitates the process of defining, constructing, manipulating and sharing databases among various users.
Why use Databases
Store it, understand it, keep it secure, find it and use it.
Database environment components
Database system, database software, users and programmers send in queries that is in db system, software to process queries, software to access the data, present in dbms software, metadata (stored database definition), and stored data.
What does metadata do?
Data which provides information about the other data.
It helps us to structure the table.
What are the different characteristics of the database approach?
- self describing nature of the database
- program database independence
- multiple views support
- sharing of data nd multiple user transaction processing
State 5 advantages of using the database.
Controlling the data redundancy.
Multiple users can access the data at the same time.
Project oriented.
Prevents unauthorized access to the data.
Well protected data.
Boundary between the program and the actual database.
Backup and recovery.
Flexibility to change the data structures.
Availability of current information.
What is a data model?
It refers to the collection of objects that are used to describe the structure of the database. Necessary means to achieve data abstraction.
2 distinct but closely related concepts -> abstract formalization of objs and rships.
What are constructs?
Used to define the structure of the database.
elements and their data types.
Constraints function?
To put some restriction on valid data.
They must be defined at all times.
What are the common operations of the database and are they included in the concepts?
Select, update, insert, delete
yes
What are the different categories of data models?
High level / conceptual - close to the way users perceive the data
Low level / physical model - The way data is arranged in the computer storage. Understood by comp analysts and not end users
Representational model - Data arranged in a manner that end users understand easily but not too far removed from the way data is stored in the comp storage
Self learning model - data + data description or values`
What is a database schema?
A Database schema is the description of the database.
Specified during the database design with the help of a schema diagram.
Does the schema change frequently?
NO
What is schema evolution?
It is changing the schema.
What is database state?
The actual data can change frequently in the database, and hence the data in the database at any given point of time is called as the database state or the snapshot.
What does the CRUD operations do for the database? What does initial state ad valid state mean?
It changes the state of instances,
Initial state - State of the database when it is initially loaded into the system.
Valid state - State of the database that satisfies the structure and constraints of the database.
Describe the three schema architecture.
Goal is to separate the user interface or applns from the actual physical database.
i) Internal database - provides the physical structure of the database.
ii) conceptual database - provides the structure of the whole database for the community of the users.
iii) external database - only parts of the database the user is interested in, the other parts are hidden.
What is data independence?
It is the capacity to change one level of schema without actually making changes in the higher level of schema
What are the different types of data independence?
Explain.
i) Logical data independence: making chnages in the conceptual schema without making changes on the external schema or the application programs
ii) physical data schema: making changes in the internal schema without changing the conceptual schema
What is DDL?
DATA DEFINITION LANGUAGE is used by the DBA in order to describe both the internal and the conceptual schemas for the database and any mappings between the two.
Wehn there is a clear boundary between the 2, DDL defines only the conceptual schema, SDL is used to define the internal schema.