Module 1 Exam Point of View
Module 1 Exam Point of View
Q2.Define DBA
DBA
Database Designer
Database designers are responsible for identifying the data to be stored
in the database
and for choosing appropriate structures to represent and store this data.
End Users
Different types of user interfaces have been designed for the different
types of users. End users are the people whose jobs require access to the
database for querying, updating, and generating reports; the database
primarily exists for their use.
casual end user
occasionally access the database, but they may need different
information each time.
Sophisticated end user
include engineers, scientists, business analysts, and others who
thoroughly familiarize themselves with the facilities of the DBMS in order
to implement their own applications to meet their complex requirements.
Stand alone end user
maintain personal databases by using ready-made program packages
that provide easy-to-use menu-based or graphics-based interfaces.
Representation data model: It is between High level & Low level data
model Which provides concepts that may be understood by end-user but
that are not too far removed from the way data is organized by within the
computer.
The tables are related to each other through the use of keys, for example
the customer ID in the orders table is a foreign key that references the
primary key of the customers table, and the product ID in the
order_items table is a foreign key that references the primary key of the
products table.
Entity-Relationship Model
The entity-relationship (ER) model is a data model that describes the
relationships between entities in a database
In the ER model, entities are represented as rectangles and
relationships are represented as diamond shapes. Entities are
objects or concepts that have a distinct identity and properties, such as a
customer or a product. Relationships are the associations between
entities, such as a customer placing an order.
For example, a simple ER model for a retail store with the following
entities:
1. Customer
2. Product
3. Order
and the following relationships:
1. A customer places one or more orders
2. An order is placed by one customer
3. An order contains one or more products
4. A product is contained in one or more orders
Network Model
The network model is a type of data model that represents data as a
collection of records and relationships. It is similar to the hierarchical
model in that it represents data as a tree-like structure, with each record
having a parent-child relationship with one or more other records.
Advantages:
1.Representation of relationship between entities is implemented using
pointers which allows the representation of arbitrary relationship
2. Unlike the hierarchical model it is easy.
3.data manipulation can be done easily with this model.
Hierarchical Model
A hierarchical data model is a data model which the data is organized
into a tree like structure. The structure allows repeating information
using parent/child relationships: each parent can have many children but
each child only has one parent. All attributes of a specific record are
listed under an entity type.
Q6.Data
Independence
DDL
DML
SDL
VDL
Top part
refers to
the various users of database environment and their interfaces.
Lower part shows the storage of data and processing of transactions.
The top part shows interfaces for the DBA staff, casual users who work
with interactive interfaces to formulate queries, application programmers
who create programs using some host programming languages, and
parametric users who do data entry work by supplying parameters to
predefined transactions.
The DBA staff works on defining the database and tuning it by making
changes to its definition using the DDL and other privileged commands.
The DDL compiler processes schema definitions, specified in the DDL,
and stores descriptions of the schemas (meta-data) in the DBMS catalog.
The catalog includes information such as the names and sizes of
files,names and data types of data items,storage details of each file,
mapping information among schemas, and constraints.
➢Casual users occasionally need information from the database and they
are interactingwith the database using interactive query interface. It is a
menu based or form based interaction.The queries specified by the
casual users are validated for correctness of the query syntax, the name
of the files and data elements and so on by a query compiler. It compiles
It is also work with stored data manager which uses basic operating
system services for carrying out read/write operations from the database.
It also has concurrency control subsystem, backup and recovery
subsystem to co-ordinate the functions of DBMS