DBMS Unit 1
DBMS Unit 1
DBMS Unit 1
SYSTEM
212BCS2304
UNIT 1 - INTRODUCTION
What is Database?
A database is an organized collection of structured
information, or data, typically stored electronically in a
computer system.
Databases are used for storing, maintaining and accessing
any sort of data. They collect information on people, places
or things. That information is gathered in one place so that it
can be observed and analyzed. Databases can be thought of
as an organized collection of information.
What is DBMS?
A Database Management System (DBMS) is a software system that is
designed to manage and organize data in a structured manner. It allows
users to create, modify, and query a database, as well as manage the
security and access controls for that database.
Database Management Systems (DBMS) are software systems used to
store, retrieve, and run queries on data. A DBMS serves as an interface
between an end-user and a database, allowing users to create, read,
update, and delete data in the database.
Examples of DBMS
Oracle
• Oracle Database is a commercial relational database management system. It
utilizes enterprise-scale database technology with a robust set of features right
out of the box. It can be stored in the cloud or on-premises.
MySQL
• MySQL is a relational database management system that is commonly used
with open-source content management systems and large platforms like
Facebook, Twitter, and Youtube.
SQL Server
• Developed by Microsoft, SQL Server is a relational database management
system built on top of structured query language (SQL), a standardized
programming language that allows database administrators to manage
databases and query data.
System applications
Railway Reservation System –
In the rail route reservation framework, the information base is needed to
store the record or information of ticket appointments,
Education Sector –
Presently, assessments are led online by numerous schools and colleges.
They deal with all assessment information through the data set
administration framework (DBMS). In spite of that understudy’s
enlistments subtleties, grades, courses, expense, participation, results, and
so forth all the data is put away in the information base.
Broadcast communications –
Without DBMS any media transmission organization can’t think. The Database
the executive’s framework is fundamental for these organizations to store the
call subtleties and month to month postpaid bills in the information base.
Account –
The information base administration framework is utilized for putting away data
about deals, holding and acquisition of monetary instruments, for example,
stocks and bonds in a data set.
Online Shopping –
These days, web-based shopping has become a major pattern. Nobody
needs to visit the shop and burn through their time. Everybody needs to
shop through web based shopping sites, (for example, Amazon, Flipkart,
Snapdeal) from home.
There is one more feature that should be kept in mind i.e. the data independence. While
changing the data schema at one level of the database must not modify the data schema at
the next level.
Data Abstraction
• Data abstraction is hiding the complex data structure in order to simplify
the user’s interface of the system. It is done because many of the users
interacting with the database system are not that much computer trained to
understand the complex data structures of the database system.
• To achieve data abstraction, we will discuss a Three-Schema architecture.
Three-Schema Architecture:
• The main objective of this architecture is to have an effective separation
between the user interface and the physical database. So, the user never
has to be concerned regarding the internal storage of the database and it has a
simplified interaction with the database system.
• The three-schema architecture defines the view of data at three levels:
1.Physical level (internal level)
2.Logical level (conceptual level)
3.View level (external level)
1. Physical Level/ Internal Level
• The physical or the internal level schema describes how the data is stored in the
hardware. It also describes how the data can be accessed. The physical level
shows the data abstraction at the lowest level and it has complex data structures.
Only the database administrator operates at this level.
• The 3-Tier architecture contains another layer between the client and server. In this
architecture, client can't directly communicate with the server.
• The application on the client-end interacts with an application server which further
communicates with the database system.
• End user has no idea about the existence of the database beyond the application server. The
database also has no idea about any other user beyond the application.
• The 3-Tier architecture is used in case of large web application.
Advantages of 3-Tier Architecture
• Administrative DBA –
Their job is to maintain the server and keep it functional. They are concerned
with data backups, security, troubleshooting, replication, migration, etc.
• Data Warehouse DBA –
Assigned earlier roles, but held accountable for merging data from various
sources into the data warehouse. They also design the warehouse, with
cleaning and scrubs data prior to loading.
• Cloud DBA –
Nowadays companies are preferring to save their workpiece on cloud storage.
As it reduces the chance of data loss and provides an extra layer of data
security and integrity.
• Development DBA –
They build and develop queries, stores procedure, etc. that meets firm or
organization needs. They are par at programming.
• Application DBA –
They particularly manage all requirements of application components that
interact with the database and accomplish activities such as application
installation and coordination, application upgrades, database cloning, data load
process management, etc.
• Architect –
They are held responsible for designing schemas like building tables. They
work to build a structure that meets organizational needs. The design is further
used by developers and development DBAs to design and implement real
applications.
• OLAP DBA –
They design and build multi-dimensional cubes for determination support or
OLAP systems.
• Data Modeler –
In general, a data modeler is in charge of a portion of a data architect’s duties.
A data modeler is typically not regarded as a DBA, but this is not a hard and
fast rule.
• Database Analyst –
This position doesn’t actually have a set definition. Junior DBAs may
occasionally be referred to as database analysts. A database analyst
occasionally performs functions that are comparable to those of a database
architect.