You are on page 1of 14

Unit-1

Introduction to DBMS
COMPILED BY:
GHANASHYAM
BK
Introduction to DBMS
a collection of interrelated data and a set of programs to access those data.
The collection of data, usually referred to as the database, contains information relevant to an
enterprise.
The primary goal of a DBMS is to provide a way to store and retrieve database information that
is both convenient and efficient.
Database systems are designed to manage large bodies of information.
Management of data involves both defining structures for storage of information and providing
mechanisms for the manipulation of information
Objectives to DBMS
Provide for mass storage of relevant data
Making easy access to data for the authorized user.
Eliminate redundantly (Duplicate) d data.
Allow multiple users to be active at one time.
Provide data integrity.
Protect the data from physical harm and unauthorized access.
Serving different types of users
Provide security with a user access privilege.
Combining interrelated data to generate a report
Provide multiple views for the same data.
Importance to DBMS
It helps make data management more efficient and effective.
Its query language allows quick answers to ad hoc(when necessary) queries.
It provides end users better access to more and better-managed data.
It promotes an integrated view of the organization’s operations “big picture.”
It reduces the probability of inconsistent data.
File Processing system
supported by a conventional operating system.
The system stores permanent records in various files, and it needs different application
programs to extract records from, and add records to, the appropriate files.
Keeping organizational information in a file-processing system has a number of major
disadvantages:
Data redundancy: same information may be duplicated in several places (files).
Data inconsistency: the various copies of the same data may no longer agree.
Difficulty in accessing data: conventional file-processing environments do not allow needed
data to be retrieved in a convenient and efficient manner.
Data isolation: Because data are scattered in various files, and files may be in different formats,
writing new application programs to retrieve the appropriate data is difficult.
File Processing system
Disadvantages(Contd…)
Atomicity problems: —it must happen in its entirety or not at all. It is difficult to ensure
atomicity in a conventional file-processing system.
Concurrent-access anomalies: data may be accessed by many different application programs
that have not been coordinated previously
Security problems: Not every user of the database system should be able to access all the data.
Merits to DBMS
Significantly strengthened data exchange: Data may be exchanged across authorized database
users. Each user has individual access privileges to the database. The database is readily
available to the admin. He has the power to add users to the database.
Evolved Data protection: The increased the number of people that have access to the data, the
higher the likelihood of a data security compromise. Companies spend plenty of time, money
and effort, and resources to make sure that their data is being used correctly in the first place.
Data integrity is maintained: Multiple files may have diverse information about the particular
entity or person, which is called data inconsistency.
Better decision-making: Better-organized data and more straightforward and quicker access to
information equip us with higher-quality data that facilitates in making more intelligent
decisions.
Data is backed up: Data loss is a major concern for all business organizations. Users of the file
system must back up their files at frequent intervals, squandering resources and time.
Demerits to DBMS
Hardware and software expenditures: We require a high-speed CPU and a huge working
memory to perform the DBMS software, which necessarily involves the acquisition of pretty
expensive hardware.
Scale and complexity of management: Database systems work with a wide range of new
technologies and majorly influence an organization’s assets and strategy.
Massive Dimensions: The features of a database management system (DBMS) are delivered by
an extensive software program that uses up gigabytes of storage space.
Failure has a significant impact: Since all users and programs rely heavily on the accessibility of
the database management system, any malfunctions can put the system at a complete standstill.
Frequent requirements for updates: DBMS providers often focus on improving their products
by introducing new elements, which culminates in recurrent upgrade/replacement phases.
Database Systems vs File Systems
File System DBMS
Used to manage and organise the files stored in the A software to store and retrieve the user’s data
hard disk of the computer

Redundant data is present No presence of redundant data


Query processing is not so efficient Query processing is efficient
Less complex, does not support complicated More complexity in managing the data, easier to
transactions implement complicated transactions

Less security Supports more security mechanisms


Less expensive in comparison to DBMS Higher cost than the File system
Does not support crash recovery Crash recovery mechanism is highly supported
Database Systems vs File Systems

Fig: File System Fig: Database System


Applications to DBMS
Enterprise Information
Sales: For customer, product, and purchase information.
Accounting: For payments, receipts, account balances, assets, and other accounting
information.
Human resources: For information about employees, salaries, payroll taxes, and benefits, and
for generation of paychecks.
Manufacturing:
For management of the supply chain and for tracking production of items in factories,
inventories of items in warehouses and stores, and orders for items.
Universities:
For student information, course registrations, and grades (in addition to standard enterprise
information such as human resources and accounting).
Applications to DBMS
Banking and Finance
Banking: For customer information, accounts, loans, and banking transactions.
Credit card transactions: For purchases on credit cards and generation of monthly
statements.
Finance: For storing information about holdings, sales, and purchases of financial instruments
such as stocks and bonds; also for storing real-time market data to enable online trading by
customers and automated trading by the firm.
Airlines:
For reservations and schedule information. Airlines were among the first to use databases in
a geographically distributed manner.
Telecommunication:
For keeping records of calls, texts, and data usage, generating monthly bills, maintaining
balances on prepaid calling cards, and storing information about the communication
networks.
Applications to DBMS
Web-based services
Social-media: For keeping records of users, connections between users (such as
friend/follows information), posts made by users, rating/like information about posts, etc.
Online retailers: For keeping records of sales data and orders as for any retailer, but also for
tracking a user’s product views, search terms, etc., for the purpose of identifying the best
items to recommend to that user.
Online advertisements: For keeping records of click history to enable targeted
advertisements, product suggestions, news articles, etc. People access such databases every
time they do a web search, make an online purchase, or access a social-networking site
Document databases:
For maintaining collections of new articles, patents, published research papers, etc.

Navigation systems:
For maintaining the locations of varies places of interest along with the exact routes of roads, train
systems, buses, etc.
Simplified database system environment

You might also like