RDBMS Lab 1 - 231128 - 132833
RDBMS Lab 1 - 231128 - 132833
RDBMS Lab 1 - 231128 - 132833
STUDENTS)
Experiment No.01
PART A
1. Aim: Explore various fundamental concepts of DBMS and its future prospective.
2. Prerequisite: -
3. Outcome:
After successful completion of this experiment students will be able to
4. Theory:
1. File
2. Database
3. Database Management System (DBMS)
File consists of only one file or table, with each entry containing all the required data defined
within it. It is like a cabinet containing only one folder which has many pages in it, each page
containing all the information for that specific entry. This makes it easy for the user to know where
to find requested entries and all the data associated with them. As entire data are at one place,
retrieval of data is easy and fast. But the flat file suffers from the problem of data redundancy.
Suppose there is an order processing application which includes the name, address, and phone
number of a customer. If this customer has placed order for two items then there couldbe two
entries for this customer with his name, address and phone number. In other words, the file contains
redundant data, i.e. twice the name, address, and the phone number of the customer. If his address
is to be changed then it is to be changed at two places.
Database is a collection of interrelated files, while database management system is a collection of
database, database utilities (DBMS software) operated by user groups and administered by
database administrator.
Database is a collection of interrelated files. The conventional file processing system will lead to
excessive data redundancy and associated difficulties. But, in a database system which has an
integrated single database, all the problems of the conventional file processing system will be
minimized, even though the time taken to design and implement a robust database will be relatively
longer when compared to the design of files in the conventional file processing system. There will
be greater payoff by using the robust database which will offset the cost towards longer duration
of designing and implementing the database.
It is also defined as a collection of logically related data stored together that is designed to meet
information requirements of an organization. We can also define it as an electronic filing system.
A database management system is a software package that controls all access to database. Whena
request to access the database comes, it examines the request and interprets it using some
commands. There are many different types of database users, out of which the database
administrator is responsible for managing the overall system and all other users of the system.
1. Define, create and organize a database: The DBMS establishes the logical
relationshipsamong different data elements in a database.
2. Input data: It performs the function of entering the data into the database through an
inputdevice with the help of the user.
3. Process data: It performs of manipulation and processing of the data stored in the
database.
4. Maintain data integrity and security: It allows limited access of the database to
authorizedusers to maintain data integrity and security.
5. Query database: It provides information to the decision makers that they need to
makeimportant decisions. The information is provided by querying the database using
SQL.
Database system environment:
DBMS Users:
Relationship.
5. What are various possible user roles available in the area of Databases? what are
theirresponsibilities?
PART B
(Students must submit the soft copy as per following segments within two hours of the
practical. The soft copy must be uploaded on the Blackboard or emailed to the concerned
lab in charge faculties at the end of the practical in case the there is no Black board access
available)
1.
Data : Data is a collection of raw facts, statistics, or information collected, stored, and processed for
various purposes
Information: Information is data that has been processed, organized, or structured in a way that makes
it meaningful and useful.
Tuple: A tuple is a single row in the database that contains single record in a relation.
Attribute:It represents the characteristics or the properties of the entities stored indatabase.
Entity: A piece of data stored in the database.
Relation: The data in the database is stored in the form of tables called relations.
Back-end: Back-end system is where the data about the application is stored that is not visible
to the users.
Query: A request to the database to fetch or retrieve the data from the data base
Database file: A database file is a file or set of files that contain structured data
Schema: The definition or the description of the data and the database is called
the databaseschema.
Entity-relationship: It is a model where the real world objects or data called entities are stored
with connections or relationships between each entity.
*HARDWARE: Hardware is the essential part for the DBMS since it consists of all the
physical parts that are to be used.These include the output devices like the printer, monitor etc.
It is theresponsibility of the DBMS to allow the users to access and interact with the data in the
database. Hence, the output devices help in displaying and accessing those data. Also, the
storage of the databases is also done by the hardware like the storage devices .i.e. hard disks.
*SOFTWARE: Software refers to the entire system of computer programs, applications, and tools that
work together to manage and manipulate databases.
*Data: The main requirement of the DBMS is to manage the data in the database. It can storeall kinds
of raw data like structured data, non structured, logical, physical data. The database contains the actual
data and also the meta-data.
*Procedures: The procedure is a type of general instructions or guidelines for the use of the
DBMS. these instructions include how to set-up the database, how to install the database, howto
log-in and log-out of the database .
*Database accessing language: These are the languages that help in understanding the data in
the database. They are used to give commands to access, create, delete, update, alter the data in
the database. For all these different operations to be performed we make use of variousdatabase
languages like, Database definition language, database manipulation language, database query
language etc.
3. Advantages of DBMS:
1. Better Data Security: The more accessible and usable the database, the more it is prone to security issues. As
the number of users increases, the data transferring or data sharing rate also increases thus increasing the risk of
data security.
2. Better data integration: Due to the Database Management System we have an access to well managed and
synchronized form of data thus it makes data handling very easy and gives an integrated view of how a
particular organization is working and also helps to keep a track of how one segment of the company affects
another segment.
3. Increased end-user productivity: The data which is available with the help of a combination of tools that
transform data into useful information, helps end-users to make quick, informative, and better decisions that can
make difference between success and failure in the global economy.
Disadvantages of DBMS:
2. Complexity:
DBMS is a complex software that requires a significant amount of technical expertise to install,
configure, and maintain. This complexity can lead to increased maintenance costs and technical
difficulties.
3. Data Dependency:
DBMS stores data in a particular format, which can create data dependency issues. If the format
changes, it can affect the application that uses the data, leading to additional maintenance and
development costs.
4. APPLICATIONS OF DBMS:
*Education sector: the assessments that are led online by schools and colleges, where the assessment
is dealt through data set administration framework. To store all the personal dataabout the students
and also their academic results.
*Account: The information base administration framework is used to put away data aboutdeals,
holding and acquisition of monetary instruments like stocks and bonds in data set.
*Healthcare: It is used in hospitals to manage the data about the patients, personalinformation,
medical record and billing information.
*E-shopping: The online shopping where everything is ordered through apps and websiteswhere
the items are added, sold, bought, updated with the assistance of information base administration.
— End-users: These are the people who make use of the data in the database. They are of
different types like the casual users, naive or parametric users, sophisticated users, and
stand-alone users.
— DBMS system designers and implementers: They plan and carry out the DBMS modules
and points of interaction. They comprise of a large number of parts, including modules for
executing the index, inquiry language handling, interface handling, etc
— Tool developers: These include the engineers who design and develop the devices that will
be useful for interacting with DBMS software.
— Maintenance personnel: These are the people who are responsible for maintaining the
system software and the equipment and tools used for the database. Furthermore, taking careof
the programming climate for the database framework.
1.File: A file is a set of related records. Files are usually organized based on their application
uses.
3.Database Management System: Software that manages the database is the DBMS. It is
responsible for organizing, retrieving , storing, maintaining and developing the database.
To start with we have learnt the difference between the data and the information. How the data is
stored in the database by structuring it into a table, the management and developing features of
the database management system to organize all the data in the database and how the users can
access easily.
3. Conclusion:
(Students must write the conclusive statements as per the attainment of individual outcomes listed above and learning/
observation noted in section B.2)
To sum up, we have learnt all the basic features and constraints that make up the database and the
database management system.
4. Question of curiosity:
***************