Professional Documents
Culture Documents
Define Information System? Explain how information helps in decision 20. Define MIS. Explain various functions of MIS.
making.?
Definition of MIS
Ans: MIS is an integrated system which collects, maintains, correlates and
selectively displays information to meet the specific needs of the various
levels of management. It helps in making decisions and taking actions
BASIC CONCEPT OF INFORMATION
for fulfilling the objectives of an organization.
Information is a processed form of data. According to Davis and Olson,
According to Schwartz, 'MIS is a system of people, equipment,
'Information is data that has been processed into a form that is
procedures, documents and communication that collects, validates,
meaningful to the recipient and is of real or perceived value in current
operates on transformers, stores, retrieves, and present data for use in
or prospective actions or decisions.'
planning, budgeting, accounting, controlling and other management
Types of Information
process.
Different types of information are used in performing different functions
Goals of MIS
of an organization. Based on the use and purpose of information,
Various goals of MIS in an organization are:
information can be broadly categorized into the following types:
To provide information to managerial end-users to support
Strategic information
their day-to-day decision-making needs
Tactical information
To produce reports for specific time periods designed for
Operational information
managers responsible for specific functions in an
Different levels of management such as top, middle and lower use
organization.
different types of information. For example, top management uses
To provide correct information to the concerned manager at
strategic information, whereas lower management uses operational
the right time
information.
To help in carrying out regular and routine operations
Strategic information: Strategic information helps the top management
To control, organize and plan better business operations
to devise the strategies that need to be implemented in an organization.
Significance of MIS
The strategic information is vital for decision making in an organization
and generally used for long-term planning. The significance of a planned, analyzed, designed and maintained MIS is
as follows:
For example, the top management of an organization needs strategic
information to plan for adopting new technologies for increasing the Provides timely, useful and reliable information that helps in
production in an organization. the progress and growth of the business and management
Tactical information: Tactical information helps the middle-level infrastructure in a situation of increased business
management to devise the strategies that need to be implemented in an complexities.
organization. Tactical information is vital for making control-related Supports the business processes and operations of the
decisions in an organization. This information is generally obtained from organization that help in globalization and liberalization of
the records of the day-to-day activities in an organization. the organizations and enables the organization to compete
For example, the regional sales manager of an enterprise needs to both locally and globally.
forecast the future sales of the products on the basis of sales records of Provides Management Information (MI) at various stages of
past three-four years. In such cases, the daily records maintained by an decision making in an organization that helps assist the
organization are the basis of collecting tactical information. Information decision makers to take decision in an organization.
obtained from external sources such as competitor records also has a
deep impact on tactical information. Limitations of MIS
Operational information: Operational information helps the lower-level When the organization decides to implement an MIS, the following
management to devise the strategies that need to be implemented in an problems directly affect and limit an MIS:
organization. Operational information is vital for making decisions Organizational framework: MIS does not help to achieve the
required on a day-to-day basis and used for short-term planning. goal without a good planning and control within the
Operational information generally consists of work status, customer framework of an organizational structure.
orders and stocks in hand related information. Generation of information: The information is the raw
material of decision making for MIS and if information is not
being generated, disseminated and used for management,
then no system manual or computer is going to solve the
organizational problems.
Managerial participation: The most striking characteristic of
the successful company is that the development of MIS has
been viewed as a responsibility of the management.
Elements of MIS
The Elements of MIS are
Management is defined as the process of achieving the
business objectives of an organization by making the best
decisions that involve optimized combination of manpower,
resources and working environment of the organization. The
key person involved in the management of an organization is
the manager. The various activities performed by a manager
are:
o Planning:
o Organizing
o Staffing
o Directing
o Controlling:
o Information
Order No Iteml Iteml_Qty Item l Price Item2 H76320 Data structure ABC Computer
Item2_Qty Item2_Price H76320 Communication XYZ Electronics
Oil IT90 322 36$ IT91 564 45$ In the above table, Subject_no is the only candidate key. Therefore, the
following functional dependency exists for the subject table.
In Table, the information provided is redundant. The multiple values of Subject_no ~ Chapter_name
the same type are stored in multiple columns such as quantity and price Subject_no~ Instructor
of two items are stored in different columns. Instructor~ Department
The requirements of first normal form are: From the above functional dependencies, you can say that Subject_no -
Eliminate the multi valued fields from the table. > Department and therefore the above table is in 2NF. However, the
Each column in the table must be atomic. table is not in 3NF since Department is not directly dependent on
Each column in the table must have a key such as primary or Subject_no. In the Subject table, the Department column is determined
foreign key. by another non-key column, Instructor. Therefore, to apply 3NF to the
Remove the repeating information from the table. Subject table, you need to decompose the table in two tables,
Second Normal Form Subject_inst table and instructor table.
A table is in 2NF if the table satisfies all the conditions of first normal Subject_inst Table
form and does not consist of any column that depends on only one part Subject_no Subject_name Instructor
of the identified primary key. The 2NF is based on the concept of full H76320 Data structure ABC
dependency. H76320 Advanced OS XYZ
To apply 2NF to a table you need to:
Ensure that the table conforms to INF. lists the various attributes in the instructor table.
Create a separate table for sets of values that apply to Instructor Department
multiple records. ABC Computer
Relate these tables with a foreign key. XYZ Electronics
For example, Boyce-Codd Normal Form
Emp_id Proj no Projhrs Emp_name Proj name Boyce-Codd Normal Form (BCNF) is stricter than third normal form. The
Projloc relation present in BCNF is also found in 3NF; however, the relation in
H76320 W36 08 Abc Payroll Houston 3NF form is not necessarily present in BCNF. In 3NF, anomalies can
H76321 W37 02 Xyz Billing occur, when a relation has more than one candidate key. In the situation
Denver of overlapping candidate keys, 3NF is unable to stop occurrence of the
In the above table, “Employee project” conforms to 1 NF since it does anomalies. This provides a base for BCNF which is based on the concept
not contain repeated values and Emp_id and Projjd are identified as the of determinant. A determinant is an attribute on which some other
primary keys for the 'table. However, the table is not in 2NF because all attribute is fully functionally dependent. The following code shows the
the columns of the table depend on only a part of the primary key which relation and determinants:
comprises Emp_id and Projno identified for the table. For example, the [R (a, b , c , d) [ :
column Emp_name is dependent on only the Emp _ id and does not a, c ~ b, d
depend on the Proj no part of the primary key. Similarly, the Projname a, d ~ b
column is dependent on only the Proj no column and not on the Emp_id In the above code, the first determinant states that you can change the
primary key. primarykey of relation R from a, b to a,c. After applying this change, you
Therefore, to apply 2NF to the employeeproject table, you need to make can stillrhefiftl determine the non-key attributes present in relation R.
a separate table for columns that depend on only a part of the primary The second determinant indicates that a, d determines b, but as a, d do
key. The new table should contain columns that are dependent on the not determine all the non-key attributes of R, it cannot be considered as
the primary key of R. This implies that the first determinant is a Smith I I New
candidate key, but the second determinant is not a candidate key; York Smith lNew York
hence, this relation is not in BCNF but is in 3NF. Smith 2 I
To be in BCNF, every determinant of the relation has to be a candidate Chicago Smith Chicago
key. The definition of BCNF specifies that a relation schema R is in BCNF
if a non-trivial functional dependency X -+ A holds in R, then X is a super Jones I 2
key of R . Chicago Jones Chicago
Decomposition
The relational database design algorithm start with a single universal
relation schema, R = {AI, A2, A3, ..... , An}, which includes all the
attributes of a database. The database designers specify the set, F of
functional dependencies, which holds true for all the attributes of R.
This set, F of functional dependencies, is also provided to the design
algorithms. With the help of functional dependencies, these algorithms
decompose the universal relation schema, R into a set of relation
schemas, D = {RI R2, ... , Rm}, which becomes the relational database
schema. In this case, D is referred as a decomposition of R. The
properties of decomposition
Attribute preservation: It involves preserving all the
attributes of therelation which is being decomposed by the
design algorithms. While decomposing a relation, you need
to make sure that each attribute in R exists in at least one
relation schema, R, while decomposing the relation.
Lossless-join decomposition: It ensures that the join remains
in the same relation, as it was before the decomposition of
the relation. The decomposition of the relation R into several
relations, RI, R2, ... , Rn is called a lossless-join
deClbmposition, if the relation R is the natural join of the
relations R-I, R2, ... , Ro. To test whether a given
decomposition is a lossless-join for a given set F of functional
dependencies, you need to decompose the relation, R into RI
and R2. If the decomposition of the relation R is lossless-join,
then one of the following conditions has to be true:
(RI intersection RI) -+ (RI - R2) and
(RI intersection RI) -+ (R2 - RI)
Dependency preservation: It states that if each functional
dependency X -+ Y, specified in F, either directly appears in
one of the relation schemas R, in the decomposition D or is
inferred from the dependencies that appear in the relation,
Ri, The need of dependency preservation arises because each
.dependency in F represents a constraint on the database.
When a decomposition do not preserve the dependency,
then some dependency can be lost in decomposition. You
can check for a lost dependency by creating a join of two or
more relations in a decomposition to get a relation, which
includes all the left and right-hand side attributes of the lost
dependency. Then, check whether or not the dependency is
preserved on the result of join.
Fifth Normal Form
The "fifth normal form (5NF) is based on join dependency. Join
dependency implies that after a table is decomposed into three or more
tables, the tables can be joined to form the original table. A table is in
5NF if the table cannot have lossless decomposition into smaller tables.
A lossless decomposition implies that after a relational table is
decomposed into smaller tables, the joining of the tables’results in
exactly the same relation table which was decomposed. If an instance is
added to a table, which is not in 5NF, it results in spurious results when
the tables are decomposed and then rejoined.
lists the various attributes ofInstructor-MID-Location Table.
Instructor MID Location
Smith I New York
Smith 2 Chicago
Jones I Chicago
If you were to add the MID-2 to New York, you would be faced with
adding a line to the table for each instructor located in New YOlk. If
Jones were certified for MID-2 and could travel to New York, you would
have to add two lines to reflect this.
Fifth Normal Form ofInstructor-MID-Location Table
Instructor-Seminar Seminar-Location Instructor-
Location
Table Table
Table
Instructor MID MID 8.
What is a Data Model? Explain different categories of data
Location Instructor Location model.
DATA MODELS
A data model in DBMS is defined as a collection of concepts which is collection of named fields or data items. Each data item or field has a
used to describe the structure of a database. Data model describes certain data type such as character, float or integer.
logical structure of a database by considering following concepts: Set type is a description of a l:N relationship between two record types.
Structure: It represents how the data are organized in a Each set type definition has following elements:
database. The data can be organized using hierarchical, Name for set type
network, relational or objectoriented data model. Owner record type
Integrity: It provides a definition of rules to indicate whether Number record type
or not the defined structure can be used to organize data in a The advantages of the network data model are:
database. It enables the representation of complex relationships and
Manipulation: It provides a language in which you can update effect of operations such as add and delete on the
the data in a database. relationships.
Querying data: It provides a language in which the data in the It uses constructs such as FIND, FIND owner and FIND NEXT
database are queried. within a set that allows the users to navigate through the
For DBMS implementation you can use various data models which database.
include all, database-related concepts for describing the structure of a Network model can inherit the advantages of hierarchical
database. Following are the various data model used in DBMS: model.
1. Hierarchical Many-to-many (M : N) relationships are easier to implement
2. Network in network model as compare to hierarchical model.
3. Relational This model ensures data integrity.
4. Object-oriented The disadvantages of the network data model are:
1. Hierarchical Model It provides navigational and procedural processing of data.
In the Hierarchical model also called Hierarchical schema, data are It provides complex array of pointers that thread through a
organized in the form of a tree structure. Hierarchical model supports set of records.
the concept of data independence. Data independence is the ability to It provides less scope of query optimization.
change the representation of data at one level of a database system 3. Relational Data Model
without the compulsion of changing the data representation at the next In a relational data model, data is stored in tables which are also called
higher level. relations.The related tables or relations in the relational data model
Hierarchical model uses two types of data structures, records and form a database. Theproperties of relational data model are:
parent-child relationship to define the data and relationship among Each row in a table is unique from every other row in the
data. Records can be defined as a set of field values which are used to table.
provide information about an entity. An entity is a collection of object in Each row contains atomic data which implies that data are
a database which can be described by using a set of attributes. Records not repeated and do not contain structures such as arrays.
of same type can be easily grouped together to form a record type and In a relational model, tables are used to organize data. A table consists
assigned a name. The structure of a record type can be defined by using of columns or fields that represent attributes of an entity. Each row or
a collection of named fields or data items. Each data item or field has a tuple in a table represents occurrence of an entity and must consist of a
certain data type such as character, float or integer. Parent-Child value that uniquely identifies the row. Such a column that uniquely
Relationship (PCR) can be defmed as a 1: N relationship between two identifies the rows or tuples in table is called the primary key. The
different record types. The record type on the l-side is called parent relational model also consists of foreign keys that allow joining data of
record type and record type on the N-side is called child record type. two tables.
Occurrence of PCR type, also called instance, consists of one record of Relational data model makes use of the set theory and is based on the
the parent record type and a number of records of the child record concept of mathematical relation which contains several data elements.
types. The basic characteristics of the relational model are relational algebra
Hierarchical schema consists of number of record types and PCR types. and relational calculus. Relational algebra is a set of operations for
In hierarchical schema, record types are represented by rectangular manipulating relations and specifying queries. Relational calculus
boxes and PCR types are represented by the lines which are used to provides a declarative way to specify database queries. The relational
connect parent record type to child record type. algebra and the relational calculus are two different means of
The advantages of the hierarchical data model are: representing the database queries. Any relational algebraic expression
It is simple to construct and operate on data in the can also be converted into a corresponding expression in the relational
hierarchical model. calculus and vice versa.
It involves hierarchically organized domains such as product Relations
information in manufacturing and employee information in A relation is a two-dimensional table which is used to represent data in
organization. the form of rows and columns. The names of the columns are known as
It uses constructs such as GET, GET UNIQUE and GET NEXT. attributes and rows are known as tuples of the relation. There are
The disadvantages of the hierarchical data model are: various parts of a relation which are:
It requires navigational and procedural processing of data. Domain: It is a set of atomic values. The values that cannot
It provides less scope of query optimization. be divided into subcomponents are called atomic values.
Tuple: In relational data model, a row IS termed as tuple that
2. Network Model gives complete information of an entity.
The network model can be defined as a database model which is used to Attribute: It is a column header in a relation that represents
represent objects and the relationships among these objects. In network the attributes of an entity.
model, a record can have a number of parent records and it also can Relational Schema
have multiple child records. Like Hierarchical model, network model also Relational schema is the description of the database that is specified
supports the concept of data independence which can be defined as the during database designing. You can graphically represent relational
ability to change the representation of data at one level of a database schema which is known as schema diagram.
system without the compulsion of changing the data representation at There are certain features of relations that distinguish relations from a
the next higher level. In network model, Data Manipulation Language file or a table.
(DML) is used for searching and retrieving records from the database. The various features of relations are:
Network model uses two types of data structures: records and set type Ordering of Tuples
to define the data and relationship among data. Records can be defined Ordering of Attributes
as a set of field values which are used to provide information about an
Interpretation of a Relation
entity. An entity is a collection of object in a database which can be
Ordering of Tuples
described by using a set of attributes. Records that have a same type
In a relation, tuples are not defined in any particular order. Two tables
can be easily grouped together to form arecord type and assigned a
are same if they contain same attributes and tuples but the order of
name. The structure of a record type can be defined by using a
tuple differs.
Interpretation of a Relation
You can interpret a relation in relational data model as a type of DBMS utility module reorganizes a database file into
assertion and declaration. Consider the relation student listed in Table different file organization to improve performance.
5.6. Student relation contains various attributes such as name, SSN and DBMS provides status information to the application
phone number. Each tuple in the relation is an instance of assertion. program regarding record found or not found status.
First tuple asserts the fact that John Bayer is a student whose SSN is DBMS may be available for sorting files, handling data
678-54, age is 19, city is Paris, GPA is 4.9 and phone number is 373-654. compression, monitoring access by user and provide statistics
Thus, interpretation of relation provides some facts. to the DBA.
4.Object-Oriented Model
The Object-Oriented (OO) data model consists of a collection of entities. COMPONENTS OF DBMS
Entity refers to the concept or object described in a database and is The important component of DBMS is DBMS languages i.e. data
represented as a class in the object-oriented data model. The instances definition language and data manipulation language which allows user
of a class are called objects. Attribute provides additional information to to define, construct and manipulate a database.
describe an entity. The attributes of a class help distinguish an object
from another object in a class. DBMS Languages
For example, in an Employee database, employee is an entity and For defining each level or component of the database i.e. internal level,
employee name, salary and ID are the attributes of an employee entity. conceptual level and external level, DBMS provides languages and these
Relationship describes the interaction between the various entities in a are:-
database. Data Definition Language (DDL): It is used by the database
Consider an employee database that can be represented in 00 data designers or application programmer to specify the content
model as follows: and structure (conceptual view) of the database. DDL is used
• Class :Employee to define the physical characteristics of each record i.e. the
• Attributes: Employee_name,Employee_code, Employee_salary, logical name of the fields, their data types and size. DDL
• Behaviour: Works for manager performs the following functions:
The OO data model consists of: DDL is used by DBA and by database designer to define
Object: It represents a real world entity. conceptual and internal schema.
Attributes and methods: It represents the set of values for DDL specifies the fields in each record and the record's logical
the attributes of the object and set of methods to operate on name.
the attributes of the object. o It specifies the data type and name of each field.
Class: It is a group of all the objects that share the same set o It defines the structure and format of the data.
of attributes and methods. o It provides data independence at logical and
Class hierarchy and inheritance: It represents derivation of a physical level.
new class from an existing class which is called superclass. o It specifies and provides the means to establish
The new class is called subclass and it inherits all the relationship among various records.
attributes and methods of the existing class. In addition, it o It identifies the records by unique data item
also consists of additional attributes and methods of the known as KEY.
class. o It sets up data security access and change/update
restrictions.
Data Manipulation Language (DML): The database has to be
27. What is mean by Database anomalies? accessed by various users for typical manipulations such as
23. What is Database Management System? What are its basic retrieval, insertion, deletion and modification of the data.
components? Name the different categories of database users The DBMS provides a Data Manipulation Language (DML)
explaining. such as SQL for this purpose.
WHAT IS DATABASE MANAGEMENT SYSTEM (DBMS) ? The summary of functions and features of DML/SQL are
A database management system is a collection of programs that enables following:
users to create and maintain a database. Defining a database involves o SQL - Structured Query Language is data
specifying the data types, structures, and constraints for the data to be manipulation language used in querying, updating
stored in a database. Constructing the database is the process of storing and managing relational databases. It is English
the data itself on some storage medium that is controlled by the DBMS. like command such as SELECT ... FROM ....
Manipulating a database includes some functions as querying the data o WHERE. SQL is simple English like language.
base to retrieve specific data, updating the database to reflect changes o DML/SQL allows user to perform typical
in the mini world, and generating reports from the data. manipulations that include retrieval, insertion,
A DBMS may typically perform the following functions: deletion and modification of data.
It loads the existing data files, text files or sequential files into o It is a comprehensive integrated language.
the data base as per desired database structure. o DML statements can be entered interactively from
The database and DBMS catalogue are usually stored on disk. a terminal or can be embedded in a general
Thus, the module of the DBMS controls access to information purpose programming language, such as COBOL,
stored on disk. It also handles the data transfers in the main PL/I and C++. Thus it provides, independence of
memory from secondary storage. programming language.
When a command coded in data manipulation language o It allows to retrieve many records.
reaches to run time database processor, then control passes o It provides user-friendly interface for end users.
from application program to the DBMS. The control unit of o It provides record relationship.
CPU causes each instruction of the application program to be o Its syntax is easy that it can be used by non-
executed in sequence. programmers
The query it receives may be retrieval or update operations ADVANTAGES OF DATABASE APPROACH USING DBMS
to be carried out on to the database. It parses, analyzes and Standards can be enforced: In a centralized database
compiles or interprets a query by creating database access environment, industry, State, country standards can be
code and executes that code. enforced more easily than in an environment
DBMS requests operating system to schedule Input/output Development time of an application may be reduced:
operations. Designing and implementing a new database may take more
DBMS interacts with operating system when disk access to time but once the database is set up and running, then
the database or to the catalogue. DBMS also interfaces with developing any new application using DBMS requires 1/ 6th
compilers for general purpose host programming language. time of the traditional file processing system.
DBMS backup utility module creates backup copy of the Flexible: DBMS allows changes to the structure if required, of
database that can be used to restore the database in case of the database affecting the stored data and existing
catastrophic failure. application.
Availability of currently updated information: In transaction Ownership problem: In file based system, programmer/user
processing applications such as reservation system or is the owner of the data and program whereas database
banking database, it is essentially required to retrieve the consisting of such files is owned by entire company. For any
information which is most currently updated. Moreover, the change or read or insertion of data in the database, user
information or data may be updated just by one user needs to seek permission from managers of the company.
according to the priority of the request. For a database to be successful the database must be viewed
Reduces overall cost: The DBMS approach reduces the and updated as a corporate resource, not as individual
wasteful overlap of activity of data processing personnel in resource.
different departments. This reduces the overall cost of Concurrency problem: Several problems can occur when
operation and management as well. concurrent transactions execute in an uncontrolled manner.
Redundancy can be controlled: Being central control over There may be lost update problem when two transactions
data removes, duplication of data also reduces the that access the same database items have their operations
application of effort of recording and so is the updating of inter-leaved in a way that makes the value of some database
data. Secondly, saving of the storage space and thirdly, item incorrect.
inconsistency of the data may be avoided using database
approach.
Unauthorized access may be restricted: Database is used 19. How are parallel databases different from distributed
when multiple users share the database. Financial data is databases?
considered to be confidentialThus; only authorized user is TYPES OF DATABASE
permitted to make changes in the existing database, whereas Nowadays, there also exist three new types of databases: parallel
other user category is allowed only to retrieve the database. database, distributed database and object-oriented databases.
This modern DBMS provides a security and authorization 1) Parallel Database
system for each class of user. Parallel database architecture follows parallel dataflow architecture
Provide multiple user interface and support 4GL (or non- with new designs used for high speed of database while processing
procedural language) for manipulation of data: DBMS relational database queries. In parallel database systems, the relational
provides a variety of user interfaces. The most common is data model is used; for parallel dataflow, relational queries and various
graphical user interface (GUI). In addition to this users do not relational operators, which are composed of parallel dataflow graphs,
have to learn programming techniques to access the are used. Parallel database supports the concept of pipe lined and
database. The DBMS supports non-procedural language such partitioned parallelism. When the output of one operator is used as the
as SQL or QBE to access the database. input of the other operator, then the two operators can work in a series
Support multiple files and complex relationship among data: which it turn is called pipe lined parallelism. When the input data are
DBMS generally has the capability to represent a variety of partitioned among multiple processors and memories, then this
complex relationships among data (As Database is an partitioned data and execution is known as partitioned parallelism.
integration of number of files), which may be retrieved and Following are the advantages of parallel database:
updated efficiently. Higher performance: Higher speedup and scale up can be
Database can maintain Integrity: A DBMS generally possess attained with CPU availability. Synchronization activities
the capability for defining and enforcing the constraints improve the performance in which lock operation is a
(restrictions) that must hold for the data that results to the processor and message intensive.
correctness and accuracy of data. For example, a student High availability: In the parallel database, nodes, which are
database contains inform action about marks scored by a also called terminals, are apart from each other so the entire
student in an examination, the maximum marks are 100 and system will not get down if the failure occurs. System
a student cannot score more than 100. continues to provide data access to the users when the
Integrity constraints can be specified by the user while surviving nodes recover the failed node. The availability of
designing the system, so that database will accept numbers data, even if there is a node failure, shows higher database
only in the range of a to 100. availability.
Provision of backup and recovery system: If there is any Greater flexibility: There is more flexibility in parallel
failure of hardware or software, then DBMS provides the database, as you can allocate or deallocate instances as per
facility of recovery by maintaining its regular backup. your requirements. You can allocate more instances as the
Moreover, it also ensures that program may be resumed database demand increases. Once the instances are no
from the point at which it was interrupted. longer required, they can be deallocated.
LIMITATIONS OF DATABASES More users: Parallel database technology makes it possible to
Overhead Cost: when very large data need to be managed in enable a single system to serve thousands of users
largescale organization, then database approach is simultaneously.
motivated. This also requires a powerful hardware platform
and software for database management, which are quite 2) DDB
expensive. Another cost incurred will be hiring of system DDB is a collection of multiple interrelated databases that are spread
analyst, database designers, database administrators, over a computer network. Each computer contains its own database
programmers and data processing personnel’s and cost of which is managed by an individual database management system. A
training. This means to adopt this approach, a significant Distributed DBMS (DDBMS) manages DDBs and makes the distribution
extra cost has to be borne by the organization. transparent to the user so that the user is not aware of the distribution
Security problem: Another disadvantage of this approach is and accesses the data as they are stored at one place. The applications
that sharing of data also carries the risk of the data being that use the data, which are distributed across different sites, operates
accessed by unauthorized user. Thus, the organization needs from a logical point of view, i.e., the application is not aware of the fact
to cope up this problem by taking security measures, that the data are stored at different places and executes as if all data are
concurrency control, recovery and integrity. managed by a single DBMS.
Problem of Resources: In order to run on-line, real time Some of the advantages of DDBs are as follows:
system to answer on-line queries requires large amount of Increased reliability and availability: Reliability is a measure
data to be stored. As a result more terminals may be needed of the possibility that a system is running at a given time
to put managers and other users on-line. Communication point. On the other hand, availability is a measure of the
devices are also required to connect extra terminals to the possibility that the system is continuously serving the queries
database. It may require resources such as multiprocessor made to it during a time interval. When you use DDBs, which
system and software to run a DBMS. Therefore, DBMS may are spread over several sites, one site may fail but other sites
require extra computing resources depending upon the continue to function normally. Only the data and software
application. that resides on the failed site cannot be accessed without
affecting the performance of other sites in the distributed The database system architecture possesses three level architecture,
database. This improves both reliability and availability. these are:
Improved performance: A distributed DBMS fragments the The internal level: This describes the physical storage
database and keeps the data closer to the site where it is structure of the database along with the details of data
required most. As a large database is fragmented and storage and access paths for the database.
distributed over many sites, this leads to smaller databases at The conceptual level: The conceptual level gives the
each site. The queries and transactions accessing data at complete structure of the whole of the database for all users.
smaller databases have a better performance. In addition, In this description, physical storage structure is hidden, but
when the database is fragmented into smaller databases, emphasis is more on describing entries, data types,
each site has less overhead of transaction in the execution of relationships, user operations, and constraints. Data-mode
a query. implementation takes place at this level.
The external level: At this level, user views part of the
3) Object-Oriented Database database as per the access rights given to the user.
Object-oriented databases were designed to meet the needs of the
complex application. The object-oriented databases give the designer
the capability to create the structure of complex objects and the
operations which are applied to these objects. The other reason for the
creation of the object-oriented databases is the use of object-oriented
programming languages such as C++ or java. The object-oriented
database provides support to these languages. Some of the object-
oriented databases are ORION systems, IRIS systems and ODE systems.
Object-oriented database vendors proposed a standard called as ODMG
standard which has the standard model and its language was
recognized.
i. Database administrator
DBA is responsible for making the strategy and policy decisions
regarding the organization of data in the database. DBA also provides
technical support in implementing the decisions which are taken by the
data administrator. DBA performs the following functions:
Defining the conceptual schema for a database
Defining the internal schema for a database
Coordinating with users
Defining security and integrity constraints for the
database
Defining dump and reload policies for a database
Monitoring performance and responding to
changing requirements
ii. Database designers
A database designer identifies the data to be stored in a database. The
database designer is also responsible for choosing the right database
structure to represent and store the data in the database. The tasks of
identifying the data and choosing the structure are performed before
the implementation of a database. The database designer
communicates with the various database users to understand their
requirements before selecting the database structure.
iii. Database users
The database users are the people who need to interact with DBMS. The
database users can be categorized according to their requirements of
data. The people who interact with DBMS to retrieve data are called the
naive users and the people who interact with DBMS to make some
changes in the database are called the developers.
iv. Database manager
The database manager refers to the software that helps use and
management of the data stored in a database. The database manager
handles the requests of database users to access the data items from
database. The database manager also provides facilities such as support
for a query language, to retrieve and update the database. The facilities
provided by the database manager depend on the design of the
database manager. For example, if the data manager is designed to
handle one request at a time, then multiple users cannot access data
simultaneously.