You are on page 1of 10

DATABASE

ZHAVLON KHAMIDOV
What is DATA?
• Originally, data is plural form for “datum”, a Latin
word
• A piece of information.
• Facts and statistics collected together for reference
or analysis.
• Numbers, characters, symbols, images etc., which
can be processed by computer.
• Data must be interpreted, by a human or machine, to
derive a meaning (information)
• So data is meaningless
What is DATABASE?
• A database is a organized collection of data. The
data is typically organized to model aspects of
reality in a way that supports processes requiring
information
• For example: Bank, library
• Database management systems are computer
software applications that interact with the user,
other applications, and the database itself to
capture and analyze data.
• Well-known DBMSs include MySQL,
PostgreSQL, Microsoft SQL Server, Oracle,
Sybase and IBM DB2
Database vs. File System
DATABASE FILE SYSTEM

• Coordinates both physical and • Coordinates only physical access


logical access to the data to the data
• Data are shared by all programs • Data written by one program
authorized to have access to it. may not be readable by another
program
• Flexible access to data (i.e.,
Queries) • Pre-determined access to data
• Multiple users accessing the • No Two programs can
same data at the same time concurrently access the same file
Database Purposes
1. SPEED AND SIMPLICITY 2. STORAGE SPACE EFFICIENCY

• The database users can: store • Database capable of


data, make suppressing the amount of
changes/manipulation of data redundancy (repetition) of data,
displays the return data with either by applying a number of
faster and easier than in the coding or by creating
normal way (either manually or relationships between groups
electronically) of related data
Database Purposes
3. ACCURACY 4. AVAILABILITY

• For data in accordance with the • So that data can be accessed by


rules and certain restrictions by any user in need, with the
utilizing the coding or the application of network
formation of relationships technologies and to transfer /
among the data along with the deletion of data that have not
application of rules / constraints been used / expired to save
data types, data contain, the storage space
uniqueness of the data etc.
Database Purposes
5. COMPLETENESS 4. SECURITY

• For complete data is always • For data that is confidential or


managed well relative to the vital process that does not fall
needs of users as well as to into the people / users who are
time, by adding rows of data or not entitled, by the use of your
make changes to the database account (username and
structure, namely by adding password) and apply the
field in the table or add new distinction of each user’s access
table rights to data that can be read
or process that can be done
Database Purposes
7. SHAREABILITY

• For data which is managed by the


system supports multiuser
environments (multiple users),
with guard / avoid the emergence
of new problems such as
inconsistencies in the data
(because data changes mode by
multiple users at the same time)
or a deadlock condition (because
there are many users waiting for
each other to use the data)
DataBase Management System (DBMS)
• Collection of interrelated data and a set of
programs to access the data
• DBMS contains relevant information about a
particular enterprise
• DBMS provides an environment that is both
convenient and efficient to use.
• Databse applications:
• Banking: all transactions
• Airlines: reservations, schedules
• Universities: registration, grades
• Sales: customers, products, purchases
• Etc..
SQL: Structured Query Language
• A DBMS provides:
• A Data Definition Language (DDL)
• A Data Manipulation Language (DML)
As part of a single DB language: SQL

You might also like