DBMS Module 1
DBMS Module 1
DBMS Module 1
data about data, through which the end-user data are integrated and
managed.
▪ The metadata provide a description of the data characteristics and the set of
relationships that link the data found within the database.
▪ Metadata present a more complete picture of the data in the database.
What is database?
A database could be as simple as a text file with a list of
names. Or it could be as complex as a large, relational
database management system(RDBMS), complete with
inbuilt tools to help you maintain the data.
DATABASE
TEXT FILE SPREADSHEET SOFTWARE
What is database management system (DBMS)?
• is a collection of programs that manages the database structure and controls access to the
data stored in the database.
• In a sense, a database resembles a very well organized electronic filing cabinet in which
powerful software, known as a database management system, helps manage the cabinet’s
contents.
Roles of the DBMS
✔ The DBMS serves as the intermediary between the user and the database.
✔ The DBMS receives all application requests and translates them into the
complex operations required to fulfill those requests.
✔ The DBMS hides much of the database’s internal complexity from the
application programs and users.
Advantages of the DBMS
✔ Improved data sharing. The DBMS helps create an environment in which end
users have better access to more data and better-managed data. Such access
makes it possible for end users to respond quickly to changes in their
environment.
✔ Improved data security. The more users access the data, the greater the risks of
data security breaches. Corporations invest considerable amounts of time, effort,
and money to ensure that corporate data are used properly. A DBMS provides a
framework for better enforcement of data privacy and security policies.
Advantages of the DBMS
✔ Improved data access. The DBMS makes it possible to produce quick answers
to ad hoc queries. From a database perspective, a query is a specific request
issued to the DBMS for data manipulation.
Advantages of the DBMS
Enterprise database – a database which is used by the entire organization and supports many users (more
than 50, usually hundreds) across many departments.
ACCORDING TO LOCATION(S)
Unstructured data are data that exist in their original (raw) state, that is, in
the format in which they were collected.
Structured data are the result of taking unstructured data and formatting
(structuring) such data to facilitate storage, use, and the generation of
information.
Semi-structured data are data which has been processed to some extent.
WHY DATABASE DESIGN IS IMPORTANT
• Database design refers to the activities that focus on the design of the database structure
that will be used to store and manage end-user data.
• A well-designed database facilitates data management and becomes a valuable
information generator.
• A poorly designed database is a breeding ground for uncontrolled data redundancies.
• A poorly designed database generates errors that lead to bad decisions.
WHY DO WE NEED A DATABASE?
• Keep records of:
▪ Clients
▪ Staff
▪ Products
▪ Transactions
Although managing data through the use of file systems is now largely obsolete, there are
several good reasons for studying them in some detail:
• Complexity of database design easier to understand.
• Understanding file systems helps to avoid problems with DBMS systems.
• Knowledge of the file system’s basic limitations will be useful.
File system was traditionally composed of a collection
of file folders, each properly tagged and kept in a
filing cabinet. Organization of the data within the file
folders was determined by the data’s expected use.
As long as a data collection was relatively small and an organization’s managers
had few reporting requirements, the manual system served its role well as a data
repository.
• Data : have little meaning unless they have been organized in some logical
• Field : A character or group of characters (alphabetic or numeric) that has a specific
meaning. A field is used to define and store data.
• Record : A logically connected set of one or more fields that describes a person, place, or
thing.
• File : A collection of related records.
Basic File Terminology
• Software
• Operating systems software
• DBMS software
• Applications programs and utilities software
The Database System Components
People
• Systems administrators (SA)
• Database administrators (DBAs) / Owner (Dbo)
• Database designers
• Systems analysts and programmers o End users
Procedures
Instructions and rules that govern the design and use of the database system
Data
Collection of facts stored in the database
DBMS Functions
• Security management.
• The DBMS creates a security system that enforces user security and data privacy. Security rules
determine which users can access the database, which data items each user can access, and which
data operations (read, add, delete, or modify) the user can perform.
DBMS Functions
• Increased costs.
• Management complexity.
• Maintaining currency.
• Vendor dependence
• Frequent upgrade/replacement cycles
Managing the Database System: A Shift in Focus
Increased costs.
• Database systems require sophisticated hardware and software and highly skilled
personnel. The cost of maintaining the hardware, software, and personnel required to
operate and manage a database system can be substantial. Training, licensing, and
regulation compliance costs are often overlooked when database systems are
implemented.
Managing the Database System: A Shift in Focus
Maintaining currency.
To maximize the efficiency of the database system, you must keep your system current.
Therefore, you must perform frequent updates and apply the latest patches and security
measures to all components. Because database technology advances rapidly, personnel
training costs tend to be significant.
Managing the Database System: A Shift in Focus
Vendor dependence.
Given the heavy investment in technology and personnel training, companies might be
reluctant to change database vendors. As a consequence, vendors are less likely to offer
pricing point advantages to existing customers, and those customers might be limited in
their choice of database system components.
Managing the Database System: A Shift in Focus