Professional Documents
Culture Documents
Data processing
A user accessible Catalog
Transaction Support
Concurrency Control Services
Recovery Services
Authorization Services
Support for Data Communication
Integrity Services
Data Processing
By Data management we mean a number of thing it may include certain operations on the
data such as: creation of data, Storing of the data in the database, arrangement of the data
in the databases and data stores, providing access to the data in the database, and placing
of the data in the appropriate storage devices.
A user accessible Catalog
Catalog is an object or a place in DBMS which stores almost all of the information of the
database, including schema information, user information right of the users, and many
more things about the database. Modern relational DBMS require that the Administrative
users of the database should have access to the catalog of the database.
Transaction Support
Recovery services mean that in case a database gets an inconsistent state to get corrupted
due to any invalid action of someone, the DBMS should be able to recover itself to a
consistent state, ensuring that the data loss during the recovery process of the database
remains minimum.
Authorization Services
It is the responsibility of the database to check whether a user intending to get access to
database is authorized to do so or not. If the user is an authorized one than what actions
can he/she perform on the data?
Support for Data Communication
The DBMS should also have the support for communication of the data indifferent ways.
For example if the system is working for such an organization which spread across the
country and it is deployed over a number of offices throughout the country, then the
DBMS should be able to communicate to the central database station.
Integrity Services
Integrity means to maintain something in its truth or originality. The same concept
applies to the integrity in the DBMS environment. Means the DBMS should allow the
operation on the database which are real for the specific organization and it should not
allow the false information or incorrect facts.
File System Vs DBMS
Data Information
Data is unprocessed raw facts about a Information is processed form of data.
particular entity. Information is the output of computer
Data is used as input in the computer Information is normally short in its
Data is normally huge in its volume volume.
What is a database?
DBMS is a software used to manipulate, retrieve and manage data in a database. It is a system that
interacts with the database.
Shortly called as DBMS
Software that stores data in databases in an organized way to make it easier to create, retrieve,
update etc.
Example: MySQL Oracle, SQL Server etc
Types of Database Management System
Relational Databases
Hierarchical Databases
Network Databases
Graph Databases
ER model Databases
RDBMS
SQL – Sequel : The language use to communicate with our database in RDBMS.
Find information
Add data
Make updates
Delete data
Find All Female Students
Syntax
Select * from students where gender = ‘female’;
SQL Dialect
SQL is a standard and all RDBMS must follow that standard
RDBMS
SQL Dialect
Microsoft SQL Server Transact – SQL (T-SQL)
Oracle Database Procedural Language SQL(PL/SQL)
MySQL MySQL
PostgreSQL PostgreSQL
IBM DB2 SQL PL
SQL for Beginners- Database Concepts(Database,
DBMS, Data Models, RDBMS and SQL)
In order to understand SQL, we have to first understand different Database Concepts like:
o Database
o DBMS
o Data Models
o RDBMS
o SQL etc.
Data Model
Defines how related data is connected to each other and stored inside
the database.
Types of Data Models:
Hierarchical Model
Network Model
Entity-Relationship Model
Relational Model
Data is stored in the form of tables
Tables organized the data in the form of rows and columns
It is a popular and widely used by most of the DBMS Software
Relational Model
Relational Model is popular and most used Data Model for storing the Data into the
Databases by different DBMS Software available in the market.
Database : place
DBMS: Software
Data Models: Relational Data Model
RDBMS: Relational DBMS : Software
RDBMS
Non-relational databases
Non-relational databases place information in field categories that we create so that
information is available for sorting and disseminating the way we need it. The data in a non-
relational database, however, is limited to that program and cannot be extracted and applied
to a number of other software programs, or other database files within a school or
administrative system. The data can only be "copied and pasted.“ Example: a spread sheet
Relational Databases
In relational databases, fields can be used in a number of ways (and can be of variable
length), provided that they are linked in tables. It is developed based on a database model
that provides for logical connections among files (known as tables) by including
identifying data from one table in another table
Use a DBMS when this is
important Do not use a DBMS when