Dbms
Dbms
Dbms
Introduction to DBMS
A Database Management Software (DBMS) is used for storing, manipulating, and managing
data, such as format, names of fields, and record and file structures in a database. Users can
construct their own databases using a DBMS to satisfy their business requirements. For
example, dBase was one of the first DBMS for the micro-computers.
To interact with a database, a DBMS package generally uses SQL queries. It receives a
command from a database administrator (DBA) and prompts the system to perform the
necessary action. These instructions can be about loading, retrieving, or modifying existing
data in the system.
In a database, the chances of data duplication are quite high as several users use one database.
A DBMS reduces data repetition and redundancy by creating a single data repository that can
be accessed by multiple users, even allowing easy data mapping while performing ETL.
Most organizational data are stored in large databases. A DBMS helps maintain these
databases by enforcing user-defined validation and integrity constraints, such as user-based
access.
· Enhanced Security
When handling large amounts of data, security becomes the top-most concern for all
businesses. Database management software doesn’t allow full access to anyone except the
database administrator or the departmental head. Only they can modify the database and
control user access, making the database more secure. All other users are restricted,
depending on their access level.
There are several types of database management software, which can be broadly classified
into four types. The most popular database management systems include:
1- Hierarchical
2- Network
In this database structure, a child can have multiple parents. Therefore, it allows you
to model more intricate relationships. The ability to build more relationships among
different data types makes these databases more efficient.
2-
3- Relational
Shared data depicts relationships between different tables. As data in a table can
reference similar data in another table, it preserves the reliability of the connections
between them. This is called referential integrity, which is a critical concept in this
database model.
A DBMS allows users (onsite as well as remote) to easily share the data by following the
correct authorization protocols. It provides operators access to well-managed data. As a
result, they can rapidly respond to variations in the environment.
The threats of data security breaches become more pronounced when several users access the
database. A database management software offers better implementation of data
confidentiality and safety guidelines through controlled user access.
Better Decision-Making
One of the uses of database management software is to provide access to well-managed data,
making it possible for users to make accurate and timely decisions. It offers a streamlined
framework to enable data quality initiatives, improving data management procedures and
yielding better-quality information.
Improved Efficiency
Streamlined data access, along with the tools that convert data into valuable information,
enable operators to make swift, knowledgeable decisions. This improves a database’s
performance and efficiency.
All of these applications of database management software are also often called database
management software examples and they serve the same purpose i.e. to help beginners
understand the importance of DBMS and their use cases.
Structure Query Language (SQL) is a database query language used for storing and managing
data in Relational DBMS. SQL was the first commercial language introduced for E.F Codd's
Relational model of database. Today almost all RDBMS (MySql, Oracle, Infomix, Sybase,
MS Access) use SQL as the standard database query language. SQL is used to perform all
types of data operations in RDBMS.
SQL Command
This includes changes to the structure of the table like creation of table, altering table,
deleting a table etc. All DDL commands are auto-committed. That means it saves all the
changes permanently in the database.
DML commands are used for manipulating the data stored in the table and not the table itself.
DML commands are not auto-committed. It means changes are not permanent to database,
they can be rolled back.
These commands are to keep a check on other commands and their affect on the database.
These commands can annul changes made by other commands by rolling the data back to its
original state. It can also make any temporary change permanent.
DCL: Data Control Language
Data control languages are the commands to grant and take back authority from any database
user.
Data query language is used to fetch data from tables based on conditions that we can easily
apply.
DATATYPES
A data type specifies a particular type of data, such as integer, floating-point, Boolean etc.
CHAR [(size [BYTE | Fixed-length character data Maximum size is 2000 bytes or
CHAR])] of length size bytes or characters. Default and
characters. minimum size is 1 byte.