0% found this document useful (0 votes)
45 views15 pages

Database Management

Uploaded by

April Dumlao
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views15 pages

Database Management

Uploaded by

April Dumlao
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 15

DBMS

Database System

Management
What is Database?
Data is a collection of a distinct small unit of information. It can be
used in a variety of forms like text, numbers, media, bytes, etc. it can
be stored in pieces of paper or electronic memory, etc.

Word 'Data' is originated from the word 'datum' that means 'single
piece of information.' It is plural of the word datum.
Data is information that can be translated into a form for efficient
movement and processing.

The database is a collection of inter-related data which is used to retrieve, insert and delete the data efficiently. It is
also used to organize the data in the form of a table, schema, views, and reports, etc.

A database is an organized collection of structured information, or data, typically stored electronically in a


computer system.

A database is a systematic collection of data. They support electronic storage and manipulation of data. Databases
make data management easy.
Types of Databases
Cloud databases:
Distributed databases:
A cloud database is a database which is optimized or built for
A distributed database is a type of database that has
such a virtualized environment. There are so many advantages of
contributions from the common database and
a cloud database, some of which can pay for storage capacity and
information captured by local computers.
bandwidth.

Centralized database: Data warehouses:


It is a centralized location, and users from different Data Warehouse is to facilitate a single version of truth for a
backgrounds can access this data. This type of company for decision making and forecasting. A Data
computers databases store application procedures that warehouse is an information system that contains historical
help users access the data even from a remote location. and commutative data from single or multiple sources.

Open-source databases: NoSQL databases:


This kind of database stored information related to NoSQL database is used for large sets of distributed data.
operations. It is mainly used in the field of marketing, There are a few big data performance problems that are
employee relations, customer service, of databases. effectively handled by relational databases.
Graph databases:
A graph-oriented database uses graph theory to store,
map, and query relationships. These kinds of computers
databases are mostly used for analyzing interconnections.

OLTP databases:
OLTP another database type which able to perform fast
query processing and maintaining data integrity in
multi-access environments.

Personal database:
A personal database is used to store data stored on personal
computers that are smaller and easily manageable. The data is
mostly used by the same department of the company and is
accessed by a small group of people.

Multimodal database:
The multimodal database is a type of data processing
platform that supports multiple data models that define how
the certain knowledge and information in a database should
be organized and arranged.
Common Database Data Types
Integer – is a whole number that can have a positive, Array – contains a group of elements which can be of the
negative or zero value. It cannot be a fraction nor can have same data type like an integer or string. It is used to
decimal places. It is commonly used in programming organize data for easier sorting and searching of related
especially for increasing values. set of values.

Character – refers to any number, letter, space or symbol that


can be entered in a computer. Each character occupies one Varchar – as the name implies is variable character as the
byte of space. memory storage has variable length.

String – is used to represent text. It is composed of a set of


characters that can have spaces and numbers. Strings are
enclosed in quotation marks to identify the data as string and
not a variable name nor a number. Boolean – is used for creating true or false statements. To
compare values the following operators are being used:
Floating Point Number – is a number that contains decimals. AND, OR, XOR, and NOT.
Numbers that contain fractions are also considered as
floating point numbers.
What is (DBMS) Database Management System?
Database management system (DBMS) is software that is used to manage
the database.
DBMS provides an interface to perform various operations like database
create, storing data in it, updating data, create a table in the database and a
lot more
A database management system (or DBMS) is
essentially nothing more than a computerized data-
keeping system. Users of the system are given
facilities to perform several kinds of operations on
such a system for either manipulation of the data in
the database or the management of the database
structure itself.
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.
A database management system (DBMS) is a software package designed to
store, retrieve, query and manage data. User interfaces (UIs) allows data to
be created, read, updated and deleted by authorized entities.
Database management systems are important because
they provides programmers, database administrators
and end users with a centralized view of data and free
applications and end users from having to understand
where data is physically located.
Types of Database Management System
A network database management system (network DBMS) is based
on a network data model, which allows each record to be related to
multiple primary records and multiple secondary records. Network
databases allow you to create a flexible model of relationships between
entities.

A network database is a type of database model wherein


multiple member records or files can be linked to multiple
owner files and vice versa. The model can be viewed as an Some of the popular DBMS software are
upside-down tree where each member information is the MySQL, PostgreSQL, Oracle, SQLite,
branch linked to the owner, which is the bottom of the tree. MariaDB, MS SQL Server.

All these software are based on different


type of DBMS available in the market.
Types of Database Management System
A hierarchical database is a data model in which data is An object-oriented database (OOD) is a database system
stored in the form of records and organized into a tree-like that can work with complex data objects — that is,
structure, or parent-child structure, in which one parent objects that mirror those used in object-oriented
node can have many child nodes connected through links. programming languages. In object-oriented programming
(OOP), everything is an object.
A hierarchical database model resembles a tree structure, object-oriented databases, the information is
similar to a folder architecture in your computer system. represented as objects, with different types of
The relationships between records are pre-defined in a one relationships possible between two or more objects.
to one manner, between 'parent and child' nodes.
Types of Database Management System
A relational database is a collection of information that
organizes data in predefined relationships where data is
stored in one or more tables (or "relations") of columns and
rows, making it easy to see and understand how different
data structures relate to each other.

A relational database is a type of database that stores and


provides access to data points that are related to one another.
Relational databases are based on the relational model, an
intuitive, straightforward way of representing data in tables.
Database Management System allows user to do the following:
Define Data – Allow the users to create, modify and delete the definition which define the organization of the database.

Update Data – Provides access to the users to insert, modify and delete data from the database.

Retrieve Data – Allows the users to retrieve data from the database based on the requirements.

Administration of Users – Register the users and monitors their action, enforces data security, maintains data integrity.

Characteristics of Database Management System :


To limit the permission of the user.

Provide multiple views of the single database schema.

Facilitates security and removes data redundancy.

Allows multi-user transaction processing and sharing of data.

Offers both physical and logical data independence.


Types of SQL (Structured query language) Commands
DCL – Data Control Language

GRANT DROP
The grant statement is used to grant SQL Select, Insert, The Drop table statement is used to drop an existing
Delete and other privileges on the tables or views. table in a database

REVOKE TRUNCATE
The revoke statement is used to remove the permission The Truncate table command deletes the data inside a
or privileges of a user on database objects set by the table, but not the table itself.
grant command,

DDL – Data Definition Language

CREATE
The Create table statement is used to create a new table
in a database.

ALTER
The Alter table statement is used to add, delete, or
modify columns in an existing table.
Types of SQL (Structured query language) Commands
DML – Data Manipulation Language TCL– Transaction Control Language

INSERT COMMIT
The Insert into statement is used to insert new record in The Commit statement is used to permanently
a table. save the changes done in the transaction in
tables or databases.
UPDATE
The Insert statement is used to modify the existing ROLLBACK
record in a table. The Rollback statement is used to undo the
transaction that have not been saved in the
database.
DELETE
The Delete statement is used to delete existing record in
a table.

SELECT
The Select statement is used to select data from a
database.

You might also like