CH 1,2,3 Helf DM
CH 1,2,3 Helf DM
Database users are categorized based up on their interaction with the database.
These are seven types of database users in DBMS.
1. Database Administrator (DBA) : Database Administrator (DBA) is a person/team
who defines the schema and also controls the 3 levels of database. The DBA will then
create a new account id and password for the user if he/she need to access the
database. DBA is also responsible for providing security to the database and he allows
only the authorized users to access/modify the data base. DBA is responsible for the
problems such as security breaches and poor system response time.
DBA also monitors the recovery and backup and provide technical support.
The DBA has a DBA account in the DBMS which called a system or super user
account.
DBA repairs damage caused due to hardware and/or software failures.
DBA is the one having privileges to perform DCL (Data Control Language)
operations such as GRANT and REVOKE, to allow/restrict a particular user from
accessing the database.
2. Naive / Parametric End Users : Parametric End Users are the unsophisticated who
don’t have any DBMS knowledge but they frequently use the database applications in
their daily life to get the desired results. For examples, Railway’s ticket booking
users are naive users. Clerks in any bank is a naive user because they don’t have
any DBMS knowledge but they still use the database and perform their given task.
3. System Analyst :System Analyst is a user who analyzes the requirements of
parametric end users. They check whether all the requirements of end users are
satisfied.
4. Sophisticated Users : Sophisticated users can be engineers, scientists, business
analyst, who are familiar with the database. They can develop their own database
applications according to their requirement. They don’t write the program code but
they interact the database by writing SQL queries directly through the query
processor.
5. Database Designers : Data Base Designers are the users who design the structure of
database which includes tables, indexes, views, triggers, stored procedures and
constraints which are usually enforced before the database is created or populated with
data. He/she controls what data must be stored and how the data items to be related. It
is responsibility of Database Designers to understand the requirements of different
user groups and then create a design which satisfies the need of all the user groups.
6. Application Programmers: Application Programmers also referred as System
Analysts or simply Software Engineers, are the back-end programmers who writes the
code for the application programs. They are the computer professionals. These
programs could be written in Programming languages such as Visual Basic,
Developer, C, FORTRAN, COBOL etc. Application programmers design, debug, test,
and maintain set of programs called “canned transactions” for the Naive (parametric)
users in order to interact with database.
7. Casual Users / Temporary Users : Casual Users are the users who occasionally
use/access the database but each time when they access the database they require the
new information, for example, Middle or higher level manager.
8. Specialized users : Specialized users are sophisticated users who write
specialized database application that does not fit into the traditional data-
processing framework. Among these applications are computer aided-design
systems, knowledge-base and expert systems etc.
1-Tier Architecture:- In this architecture, the database is directly available to the user. It
means the user can directly sit on the DBMS and uses it.
2-Tier Architecture:- The 2-Tier architecture is same as basic client-server. In the two-tier
architecture, applications on the client end can directly communicate with the database at
the server side. For this interaction, API's like: ODBC, JDBC are used.
3-Tier Architecture:- The 3-Tier architecture contains another layer between the client and
server. In this architecture, client can't directly communicate with the server.
3. Explain ANSI – SPARC 3 TIER Database Architecture.
1.Internal Level:
The internal level has an internal schema which describes the physical storage
structure of the database.
The internal schema is also known as a physical schema.
2.Conceptual Level:
The conceptual schema describes the design of a database at the conceptual
level. Conceptual level is also known as logical level.
The conceptual schema describes the structure of the whole database.
3.External Level:
At the external level, a database contains several schemas that sometimes called as
subschema. The subschema is used to describe the different view of the database.
An external schema is also known as view schema.
5. E R diagram
6. Explain Generalization & Explain Specialization.
Generalization:-
Generalization is like a bottom-up approach in which two or more entities of lower
level combine toform a higher level entity if they have some attributes in common.
In generalization, an entity of a higher level can also combine with the entities of
the lower level toform a further higher level entity.
Specialization:-
Specialization is a top-down approach, and it is opposite to Generalization. In
specialization, onehigher level entity can be broken down into two lower level
entities.
Specialization is used to identify the subset of an entity set that shares some
distinguishingcharacteristics.