Info Mang Report
Info Mang Report
Managemen
t
So what is
Database
Management?
Database Management is the process of
storing, organizing, and handling data
effectively. Think of it like managing a large
digital library where the books are pieces of
information. Instead of shelves and books,
we have databases and data.
To keep this library
organized, we use
special software called
a Database
Management System
(DBMS)—like MySQL,
Oracle, or MongoDB.
MySQL: A popular, easy-to-
use system for organizing
data in tables (like a
spreadsheet). Great for
websites and apps.
Oracle: A powerful,
advanced system used by
big companies to handle
large amounts of data
securely and efficiently.
MongoDB: A flexible system
that stores data like digital
"notes" instead of tables,
making it great for handling
messy or changing information
(used in apps and social
media).
So how does DBMS helps you?
01 02 03 04 05
Store data Organize Retrieve Update Protect
safely data neatly data data when data from
so it's easy quickly changes are unauthorize
to find when required d access
needed
Data Integrity:
Key features of Ensures the
Security: Protects
data from being
DBMS information is
accessed by the
accurate and
wrong people
reliable
Backup &
Scalability: Can
Recovery: Keeps a
handle more data
copy of the data in
as the organization
case of system
grows
failures
Database
Design &
Normalization
What is Database
Design?
1 2 3
Eliminate Data Ensure Data Simplify Data
Redundancy: Avoid Integrity: Maintain Maintenance:
duplicate data. accuracy and Easier to update,
consistency. insert, or delete data
without anomalies.
Normalization forms (Normal forms)
1 Alice Pen,
1NF (First Normal Form):
Notebook •Each product gets its own row.
1 Alice
2 Bob Pencil
Customers Table: CUSTOMERID CUSTOMERNAME
Database Implementation
is the process of creating
and setting up a database
based on the design, making
it ready to store, manage,
and retrieve data effectively.
Choosing Choosing a DBMS:
Select a database system like
MySQL, PostgreSQL, MongoDB,
or SQL Server depending on the
project needs.
Database
Constraints (e.g., PRIMARY KEY, FOREIGN
KEY, UNIQUE)
on? Implementin
g
Implementing Security:
Set user permissions to control
access (GRANT, REVOKE).
Key types of Ensures each table has a unique identifier, usually a Primary Key.
Referential Integrity:
Domain Integrity:
Example: A DateOfBirth field must contain valid date values, not text like
"abc".
User-Defined Integrity:
maintained Triggers:
Automated
Access
Controls:
Restrict
? actions when
data is
unauthorized
data
modified.
changes.
Data Consistency ensures
that data remains uniform and
logically coherent across the
What is Data
database after any transaction.
Consistency?
When data is consistent, all
views of the data reflect the
same values.
Transactional
Consistency (ACID
Model):
Key • Atomicity: Transactions are all-or-
nothing.
• Consistency: Transactions bring
component the database from one valid state
to another.
: Replication Consistency
(Distributed Databases):
• Ensures data copies (replicas) are
synchronized across different
servers.
The difference
Data Integrity: between Data
•Ensures Account A and Account B exist (entity
integrity).
Integrity and Data
•Confirms that balances are valid numbers, Consistency:
not text (domain integrity).
Scenario: Online
Banking Transfer
Data Consistency:
•If $100 is deducted from Account A, the same • Step 1: You transfer
amount must be added to Account B to keep $100 from Account A to
the total balance consistent.
Account B.
Key
differences:
Aspect Data Integrity Data Consistency