A Database Management System (DBMS) is software that facilitates the creation, maintenance, and manipulation of databases, acting as an intermediary between users and data. Key features include data definition, storage, retrieval, security, integrity, concurrency control, and backup. Various types of DBMS exist, such as relational, NoSQL, object-oriented, and graph databases, each with distinct characteristics and benefits for data management.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0 ratings0% found this document useful (0 votes)
14 views17 pages
MIS 3 RD Module
A Database Management System (DBMS) is software that facilitates the creation, maintenance, and manipulation of databases, acting as an intermediary between users and data. Key features include data definition, storage, retrieval, security, integrity, concurrency control, and backup. Various types of DBMS exist, such as relational, NoSQL, object-oriented, and graph databases, each with distinct characteristics and benefits for data management.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 17
A Database Management System (DBM‘
is a software system that allows you to
define, create, maintain, and manipulate
databases. It acts as an intermediary
between the user and the database,
providing a layer of abstraction and
simplifying the process of interacting wii
the data.
ey Features of a DBMS
Ny
w
oa
. Data Definition: Allows you to define
the structure of the data, including tt
relationships between different data
entities.
. Data Storage: Provides a mechanisn
for storing and managing large
amounts of data.
. Data Retrieval: Enables you to retrie’
specific data from the database,
using queries and other retrieval
mechanisms.
. Data Security: Implements security
measures to protect the data from
unauthorized access, tampering, or
destruction.
. Data Integrity: Ensures that the data
remains consistent and accurate, by
enforcing data validation rules and
relationships.6. Concurrency Control: Manages
multiple user requests concurrently,
ensuring that data remains consistent
and accurate.
7. Backup and Recovery: Provides
mechanisms for backing up data and
recovering it in case of a failure or
disaster.
Types of DBMS
1. Relational DBMS (RDBMS): Organizes
data into tables, with well-defined
relationships between them. Examples
include MySQL, Oracle, and Microsoft
SQL Server.
2. NoSQL DBMS: Designed to handle
large amounts of unstructured or
semi-structured data. Examples
include MongoDB, Cassandra, and
Redis.
3. Object-Oriented DBMS: Stores
data in the form of objects, which
can be easily manipulated using
object-oriented programming
languages.
4. Graph DBMS: Designed to store and
query graph data structures, which
consist of nodes and edges.Benefits of Using a DBMS
1.
Improved Data Management: DBMS
provides a centralized repository for
data, making it easier to manage ani
maintain.
. Enhanced Data Security: DBMS
implements robust security measure
to protect data from unauthorized
access.
. Increased Data Integrity: DBMS
ensures that data remains consister
and accurate, by enforcing data
validation rules and relationships.
. Better Data Sharing: DBMS enables
multiple users to access and share
data, promoting collaboration and
productivity.
. Improved Scalability: DBMS can
handle large amounts of data and
scale to meet the needs of growing
organizations.Database Management Systems
(DBMS) have evolved over the years,
with traditional and modern approaches
emerging to address changing data
management needs.
Traditional Approaches
1. Hierarchical DBMS: Organizes data
in a tree-like structure, with each node
representing a record.
2. Network DBMS: Organizes data in
a network structure, with each node
representing a record and edges
representing relationships.
. Relational DBMS (RDBMS): Organizes
data into tables, with well-defined
relationships between them.
wo
Characteristics of Traditional
MPBTaaeties
. Fixed Schema: Schema is predefined
and rigid.
2. Structured Data: Data is highly
structured and organized.
3. ACID Compliance: Follows Atomicity,
Consistency, Isolation, and Durability
(ACID) principles for transaction
management.
4. Vertical Scaling: Scales vertically by y
increasing processing power.Modern Approaches
1. NoSQL DBMS: Designed to handle
large amounts of unstructured or
semi-structured data.
2. Cloud DBMS: Delivers DBMS as a
cloud service, providing scalability and
flexibility.
3. Graph DBMS: Designed to store and
query graph data structures.
4. NewSQL DBMS: Combines the
scalability of NoSQL with the ACID
compliance of traditional RDBMS.
Characteristics of Modern
Approaches
1. Flexible Schema: Schema is dynamic
and flexible.
2. Unstructured or Semi-Structured
Data: Handles unstructured or
semi-structured data.
3. Horizontal Scaling: Scales horizontally
by adding more nodes.
4. Cloud-Native: Designed to take
advantage of cloud computing.A database hierarchy and structure refer
to the organization and arrangement of
data within a database. This structure
is designed to facilitate efficient data
storage, retrieval, and management.
Database Hierarchy
1. Database: The topmost level of the
hierarchy, representing the entire
collection of data.
2. Schema: A logical grouping of related
tables, views, and other database
objects.
. Table: A collection of related data,
organized into rows and columns.
4. Record: A single row of data within a
table.
5. Field: A single column of data within a
table.
wo
Database Structure
1. Relational Structure: Organizes
data into tables, with well-defined
relationships between them.
2. Hierarchical Structure: Organizes datz
into a tree-like structure, with each
node representing a record.
. Network Structure: Organizes data
into a network structure, with each
node representing a record and edges
wo3. Network Structure: Organizes data
into a network structure, with each
node representing a record and edges
representing relationships.
Components of a Database
Structure
1. Tables: Store data in a structured
format.
2. Views: Virtual tables based on the
result of a query.
3. Indexes: Data structures that improve
query performance.
4. Constraints: Rules that ensure data
consistency and integrity.
. Triggers: Sets of instructions that
automatically execute in response to
specific events.
oa
Types of Database Structures
1. Star Schema: A simple, centralized
structure, often used in data
warehousing.
2. Snowflake Schema: An extension of
the star schema, with additional tables
to improve data granularity.
3. Galaxy Schema: A combination of
multiple star schemas, often used in
large-scale data warehousing.Database users can be categorized
into several types based on their roles,
responsibilities, and interactions with the
database.
1. Naive Users
1. Lack Technical Expertise: Unfamiliar
with database concepts and
terminology.
. Use Predefined Queries: Rely on
predefined queries and reports to
access data.
. Limited Database Interaction:
Interaction with the database
is limited to simple queries and
transactions.
Ny
wo
2. Application Programmers
1. Develop Applications: Design, develop,
and maintain applications that interact
with the database.
Write Database Code: Write code to
access, manipulate, and update data
in the database.
. Require Database Knowledge: Need to
understand database concepts, data
structures, and query languages.
N
wo
3. Database Administrators y
(DBAs)3. Database Administrators
(DBAs)
1. Manage Database Operations:
Oversee database installation,
configuration, and maintenance.
2. Ensure Data Integrity: Implement
security measures, backup and
recovery procedures, and data
validation rules.
3. Optimize Database Performance:
Monitor and optimize database
performance, including query tuning
and indexing.
4. End Users
1. Interact with Database: Use database
applications, such as forms, reports,
and queries, to access and manipulate
data.
2. Perform Transactions: Perform
transactions, such as inserting,
updating, and deleting data.
3. Require Minimal Training: Need
minimal training to use database
applications and perform
transactions.». Power Users
1. Advanced Database Knowledge:
Possess advanced knowledge of
database concepts, query languages,
and data structures.
2. Create Complex Queries: Create
complex queries, reports, and
applications to access and manipulate
data.
3. Require Advanced Training: Need
advanced training to develop complex
database applications and queries.
». Data Analysts
1. Analyze Data: Analyze data to identify
trends, patterns, and insights.
2. Create Reports: Create reports,
dashboards, and visualizations to
present data insights.
3. Require Statistical Knowledge:
Need statistical knowledge and data
analysis skills to interpret data.7. Data Scientists
1. Develop Predictive Models: Develop
predictive models, machine learning
algorithms, and data mining
techniques to analyze data.
2. Create Data Products: Create data
products, such as data visualizations,
reports, and dashboards, to present
data insights.
3. Require Advanced Statistical
Knowledge: Need advanced statistical
knowledge, programming skills, and
data analysis expertise to develop
predictive models and data products.
3:07 pmA data model is a conceptual
representation of the structure and
organization of data in a database
or information system. It provides
a framework for understanding the
relationships between different data
entities and for designing a database th
meets the needs of an organization.
Types of Data Models
1. Conceptual Data Model: A high-leve
model that identifies the main entiti
and relationships in a system.
. Logical Data Model: A more detaile
model that defines the structure of
the data, including the relationships
between entities.
. Physical Data Model: A low-level
model that describes the physical
storage of the data, including the
database schema and storage layot
Ny
w
Data Modeling Techniques
1. Entity-Relationship Modeling (ERM
A technique that represents data as
entities and relationships.
2. Object-Role Modeling (ORM): A
technique that represents data as
objects and roles.Data Modeling Techniques
1. Entity-Relationship Modeling (ERM):
A technique that represents data as
entities and relationships.
2. Object-Role Modeling (ORM): A
technique that represents data as
objects and roles.
3. Unified Modeling Language (UML): A
technique that provides a standardized
way of modeling data and systems.Components of a Data Model
1. Entities: Representations of real-world
objects or concepts, such as
customers, orders, or products.
2. Attributes: Characteristics of entities,
such as customer name, order date, or
product price.
3. Relationships: Connections between
entities, such as a customer placing
an order or a product being part of an
order.
Benefits of Data Modeling
1. Improved Data Quality: Data modeling
helps ensure that data is accurate,
consistent, and complete.
2. Better Data Integration: Data
modeling enables the integration
of data from different sources and
systems.
3. Increased Data Security: Data
modeling helps identify sensitive data
and ensures that it is properly secured.
4. Enhanced Data Sharing: Data
modeling facilitates the sharing of
data between different departments
and organizations.Designing a Database Management
System (DBMS) involves several steps that
help create a robust, efficient, and scalable
system.
Steps | in Designing a DBMS
1. Requirements Gathering: Identify the
needs and requirements of the users,
including data types, relationships,
and constraints.
2. Conceptual Design: Create a
conceptual model of the database
using entity-relationship diagrams
(ERDs) or object-role modeling (ORM).
3. Logical Design: Translate the
conceptual model into a logical design
using a specific DBMS data model
(e.g., relational, object-oriented).
4. Physical Design: Map the logical
design to a physical implementation,
including storage layout, indexing, and
access methods.
5. Implementation: Implement the
physical design using a specific DBMS
software (e.g., MySQL, Oracle).
6. Testing and Validation: Test and
validate the DBMS to ensure it meets
the requirements and performs
efficiently.Design Considerations
1.
Data Types and Formats: Choose
appropriate data types and formats for
storing and retrieving data.
. Data Relationships and Constraints:
Define relationships between data
entities and enforce constraints to
maintain data consistency.
. Data Normalization: Normalize data
to minimize redundancy and improve
data integrity.
. Indexing and Access Methods: Design
efficient indexing and access methods
to support fast data retrieval and
manipulation.
. Security and Access Control:
Implement security measures and
access control mechanisms to protect
sensitive data.
. Scalability and Performance: Design
the DBMS to scale horizontally and
vertically, ensuring high performance
and throughput.DBMS Design Tools and
Techniques
1.
NS
wo
Entity-Relationship Diagrams (ERDs):
Visualize the conceptual model using
ERDs.
. Object-Role Modeling (ORM):
Use ORM to model complex data
relationships and constraints.
. Data Modeling Tools: Utilize data
modeling tools like IBM InfoSphere
Data Architect, Oracle SQL Developer
Data Modeler, or SAP PowerDesigner.
. DBMS Software: Choose a suitable
DBMS software (e.g., relational,
NoSQL) based on the design
requirements.