Database Concepts
Written by Khwaja Agha Karimi
Contact: 0093784302263
Email:
khwajaaghakarimy77@gmail.com
Facebook: Khwaja Agha Karimi
1
Database Concepts
Lecture # 6
Department of Computer Science,
Shaheen Institute of Management Sciences
(SIMS)
2
Lecture Contents:
 People on the scene:
◦ Database Administrator
◦ Data Administrator
◦ System Administrator
◦ Database Users
 People Behind the scene:
◦ DBMS Designers
◦ Application Programmer
3
1.) People on the scene
 For Small database one person
typically define, construct and
manipulates the database and there is
no sharing.
‫ک‬ ‫میباشد‬ ‫مسؤل‬ ‫فرد‬ ‫یک‬ ‫کوچک‬ ‫دیتابیس‬ ‫یک‬ ‫در‬‫ه‬
‫دیتابیس‬ ‫کند‬ ‫مشخص‬ ‫یا‬ ‫و‬ ‫تعریف‬ ‫را‬ ‫دیتابیس‬‫ر‬‫ایجاد‬ ‫ا‬
‫بدهد‬ ‫انجام‬ ‫را‬ ‫دیتابیس‬ ‫و‬ ‫کند‬.
 In large organization Many People are
involved in such tasks.
‫دیتابیس‬ ‫در‬/‫فرد‬ ‫یک‬ ‫از‬ ‫بیشتر‬ ‫بزرگ‬ ‫ها‬ ‫سازمان‬‫این‬ 4
People on the scene
 Peoples whose job involves day to
day use of a large database we call
them as the People on the scene.
‫میب‬ ‫دخیل‬ ‫دیتابیس‬ ‫در‬ ‫روزمره‬ ‫ها‬ ‫کار‬ ‫در‬ ‫که‬ ‫افراد‬‫اشد‬
‫طبقه‬ ‫در‬ ‫افراد‬ ‫این‬people on the screen
‫میباشد‬.
5
People on the scene:
6
People on the scene
Database
Administrator
Data
Administrator
System
Administrator
Database/end
Users
Reactive
DBA
Proactive
DBA
Casual
Users
Native
Users
Database Administrator:
 The most important person in the
environment of Database is Database
administrator (DBA).
‫دیتابیس‬ ‫محیط‬ ‫در‬ ‫فرد‬ ‫ترین‬ ‫مهم‬(‫ایدمنس‬ ‫دیتابیس‬‫تریتر‬)
‫میباشد‬.
 Major Responsibility of DBA is to manage
database, DBMS and related software
and hardware
ِ‫ت‬‫مسؤلی‬ ‫بزرگ‬DBA‫ا‬ ‫بی‬ ‫دی‬ ‫دیتابیس‬ ِ‫کردن‬ ‫اداره‬ ‫از‬‫یم‬
‫میباشد‬ ‫هاردویر‬ ‫و‬ ‫ویر‬ ‫سافت‬ ‫و‬ ‫ایس‬.
7
Database Administrator:
 He is also responsible for authorization
access to Database and monitoring its
use
‫دیت‬ ‫دسترس‬ ‫در‬ ‫دادن‬ ‫اختیار‬ ‫برای‬ ‫میباشد‬ ‫مسؤل‬ ‫این‬‫ابیس‬
‫بکند‬ ‫بانی‬ ‫دیده‬ ‫را‬ ‫دیتابیس‬ ‫از‬ ‫کردن‬ ‫استفاده‬ ‫و‬.
 He is responsible for database security
and system response in time.
‫خراب‬ ‫حالت‬ ‫در‬ ‫سیستم‬ ‫که‬ ‫وقت‬ ‫در‬ ‫میباشد‬ ‫مسؤل‬ ‫این‬‫ی‬
‫دیتابیس‬ ‫کردن‬ ‫حفاظت‬ ‫برای‬ ‫و‬ ‫میباشد‬.
8
Database Administrator
 In large organization DBA’s
responsibilities are divided into
ِ‫ت‬‫مسؤلی‬ ‫ها‬ ‫سازمان‬ ‫بزرگ‬ ‫در‬DBA‫در‬ ‫میشد‬ ‫تقسیم‬
9
Database
Administrator
Reactive
DBA
Proactive
DBA
Proactive DBA
 Proactive DBA implements protection
and procedures to avoid problems
before they occur.
Proactive DBA‫میدهد‬ ‫انجام‬ ‫را‬ ‫عمل‬ ‫طرز‬ ‫این‬
‫بکند‬ ‫حفاظت‬ ‫قبل‬ ‫از‬ ‫را‬ ‫ها‬ ‫مشکالت‬ ‫که‬.
10
Reactive DBA
 Reactive DBA is focused on resolving
the biggest problems when they
occurred.
Reactive DBA‫مسؤل‬‫میباشد‬‫که‬‫در‬‫وقت‬‫که‬
‫مشکل‬‫بزرگ‬‫ایجاد‬‫میگردد‬Reactive DBA
‫مسؤل‬‫است‬‫که‬‫آن‬‫را‬‫حل‬‫نماید‬.
11
How many DBA’s?
 The number of DBA’s in an organization
depends upon the Following things
‫های‬ ‫تعداد‬DBA’s‫میشود‬ ‫چیزها‬ ‫این‬ ‫به‬ ‫مربوط‬ ‫سازمان‬ ‫یک‬ ‫در‬
◦ Numbers of databases:
◦ Size of database:
◦ Number of Users:
◦ Number of Applications/operations:
◦ Usage of database:
◦ Variety of DBMS:
◦ Experience of DBA/users:
12
Data Administrator:
 The need of data administrator arises
in a very large organization where
many databases may exist.
‫ضرورت‬‫به‬data administrator‫در‬‫یک‬
‫سازمان‬/‫شرکت‬‫در‬‫آن‬‫وقت‬‫میشود‬‫که‬‫تعداد‬‫های‬
‫دیتابیس‬‫بیشتر‬‫باشد‬.
 Data administrator is responsible for
the whole information resources.
‫معلومات‬‫که‬‫در‬‫یک‬‫دیتابیس‬‫استفاده‬‫میشود‬‫آن‬‫ت‬‫مام‬
‫معلومات‬‫مسؤلیت‬‫به‬data administrator 13
Data Administrator:
 He manages the shared data of users
or applications of an organization.
‫شریک‬‫ساختن‬‫دیتا‬‫به‬‫دیګر‬‫بخش‬‫ها‬‫مربوط‬‫به‬
data administrator‫میشود‬.
 His work is DBMS independent.
‫وظیفه‬data administrator‫مربوط‬‫به‬DBMS
‫نه‬‫میشود‬.
14
System Administrator:
 Larger organization also have system
administrator to manage the whole system.
‫در‬‫سازمان‬‫ها‬‫بزرګ‬‫اداره‬‫کردن‬DBMS‫مسؤلیت‬
System Administrator‫است‬.
 The main task of System administrator is to
installing the DBMS and its use with the
other software.
‫مهم‬‫ترین‬‫مسؤلیت‬‫آن‬‫است‬‫که‬DBMS‫را‬‫نصب‬‫کند‬‫و‬
DBMS‫را‬‫همراه‬‫دیګرسافت‬‫ویر‬‫ها‬‫استفاده‬‫کند‬.
15
System Administrator:
 He also chooses that which DBMS is
appropriate for the organization
‫کردن‬ ‫انتخاب‬DBMS‫سازمان‬ ‫یک‬ ‫در‬ ‫کردن‬ ‫استفاده‬ ‫برای‬
‫است‬ ‫آن‬ ‫وظیفه‬.
 The migration of DBMS at any stage is also
responsibility of System administrator.
‫کردن‬ ‫تبدیل‬DBMS‫استف‬ ‫جریان‬ ‫در‬ ‫ویر‬ ‫سافت‬ ‫دیګر‬ ‫به‬‫اده‬
‫وظیفه‬ ‫دیتابیس‬ ‫کردن‬system administrator‫است‬
16
End Users:
 End users are the people who uses the
databases and are not responsible for
its management.
‫ا‬ ‫را‬ ‫دیتابیس‬ ‫که‬ ‫است‬ ‫افراد‬ ‫دیتابیس‬ ‫های‬ ‫کارمند‬‫ستفاده‬
‫نیست‬ ‫آن‬ ‫مسؤلیت‬ ‫دیتابیس‬ ‫کردن‬ ‫اداره‬ ‫و‬ ‫میکند‬.
17
Database/end
Users
Native
Users
Casual
Users
Casual Users:
 They have occasionally access to the
database and they may need different
information every time.
‫آن‬‫کارمند‬‫ها‬‫دیتابیس‬‫است‬‫که‬‫در‬‫دیتابیس‬‫دست‬‫رس‬
‫موقتی‬‫میداشته‬‫باشد‬‫و‬‫آن‬‫ها‬‫هر‬‫بار‬‫معلومات‬‫مختل‬‫ف‬
‫را‬‫ضرورت‬‫دارد‬‫که‬‫در‬‫دیتابیس‬‫استفاده‬‫بکند‬.
18
Native Users.
 They are the users who use the
database regularly and know every
thing about the database.
 They regularly read, insert, delete and
update data in database.
‫روز‬ ‫هر‬ ‫ها‬ ‫آن‬/‫میکند‬ ‫داخل‬ ‫دیتابیس‬ ‫در‬ ‫را‬ ‫دیتا‬ ‫وقت‬،
‫میاورده‬ ‫روز‬ ‫به‬ ‫را‬ ‫دیتا‬ ‫و‬ ،‫میکند‬ ‫پاک‬ ‫را‬ ‫دیتا‬.
19
People Behind the Scene:
 They are the people who are not usually
use the database but they are very
important people in the environment of
database.
‫مګ‬ ‫میکند‬ ‫نه‬ ‫استفاده‬ ‫را‬ ‫دیتابیس‬ ‫پرده‬ ‫پس‬ ‫افراد‬‫آن‬ ‫ر‬
‫میباش‬ ‫دیتابیس‬ ‫محیط‬ ‫در‬ ‫که‬ ‫است‬ ‫افراد‬ ‫مهم‬ ‫بسیار‬‫د‬.
20
People Behind
the Scene
DBMS
Designer
Application
Programmer
DBMS Designer
 DBMS is a complex software and it is very
difficult to design the DBMS and its
operation.
DBMS‫ک‬ ‫دیزاین‬ ‫که‬ ‫میباشد‬ ‫پیچیده‬ ‫ها‬ ‫پروګرام‬ ‫ازیک‬‫ردن‬
DBMS‫ها‬ ‫عملیات‬ ‫و‬DBMS‫ترین‬ ‫سخت‬ ‫یک‬ ‫از‬
‫است‬ ‫کارهای‬.
 They also design how the DBMS will work
other softwares.
‫کردن‬ ‫فعالیت‬ ‫ها‬ ‫آن‬DBMS‫ها‬ ‫ویر‬ ‫سافت‬ ‫دیګر‬ ‫همراه‬
‫میکند‬ ‫دیزاین‬.
21
Application Programmer:
 They are professional programmers
who built DBMS with computer
language/programming.
‫آن‬‫ها‬‫کارمند‬‫ها‬‫مسلکی‬‫پروګرامنګ‬‫میباشد‬‫که‬‫از‬
‫توسط‬‫لسان‬‫های‬‫کمپیوتری‬DBMS‫را‬‫تخلیق‬‫میکند‬.
 They built the DBMS according to the
design of DBMS.
‫آن‬‫ها‬DBMS‫را‬‫مطابق‬‫دیزاین‬DBMS‫تخلیق‬
‫میکند‬.
22

Database Administratore

  • 1.
    Database Concepts Written byKhwaja Agha Karimi Contact: 0093784302263 Email: khwajaaghakarimy77@gmail.com Facebook: Khwaja Agha Karimi 1
  • 2.
    Database Concepts Lecture #6 Department of Computer Science, Shaheen Institute of Management Sciences (SIMS) 2
  • 3.
    Lecture Contents:  Peopleon the scene: ◦ Database Administrator ◦ Data Administrator ◦ System Administrator ◦ Database Users  People Behind the scene: ◦ DBMS Designers ◦ Application Programmer 3
  • 4.
    1.) People onthe scene  For Small database one person typically define, construct and manipulates the database and there is no sharing. ‫ک‬ ‫میباشد‬ ‫مسؤل‬ ‫فرد‬ ‫یک‬ ‫کوچک‬ ‫دیتابیس‬ ‫یک‬ ‫در‬‫ه‬ ‫دیتابیس‬ ‫کند‬ ‫مشخص‬ ‫یا‬ ‫و‬ ‫تعریف‬ ‫را‬ ‫دیتابیس‬‫ر‬‫ایجاد‬ ‫ا‬ ‫بدهد‬ ‫انجام‬ ‫را‬ ‫دیتابیس‬ ‫و‬ ‫کند‬.  In large organization Many People are involved in such tasks. ‫دیتابیس‬ ‫در‬/‫فرد‬ ‫یک‬ ‫از‬ ‫بیشتر‬ ‫بزرگ‬ ‫ها‬ ‫سازمان‬‫این‬ 4
  • 5.
    People on thescene  Peoples whose job involves day to day use of a large database we call them as the People on the scene. ‫میب‬ ‫دخیل‬ ‫دیتابیس‬ ‫در‬ ‫روزمره‬ ‫ها‬ ‫کار‬ ‫در‬ ‫که‬ ‫افراد‬‫اشد‬ ‫طبقه‬ ‫در‬ ‫افراد‬ ‫این‬people on the screen ‫میباشد‬. 5
  • 6.
    People on thescene: 6 People on the scene Database Administrator Data Administrator System Administrator Database/end Users Reactive DBA Proactive DBA Casual Users Native Users
  • 7.
    Database Administrator:  Themost important person in the environment of Database is Database administrator (DBA). ‫دیتابیس‬ ‫محیط‬ ‫در‬ ‫فرد‬ ‫ترین‬ ‫مهم‬(‫ایدمنس‬ ‫دیتابیس‬‫تریتر‬) ‫میباشد‬.  Major Responsibility of DBA is to manage database, DBMS and related software and hardware ِ‫ت‬‫مسؤلی‬ ‫بزرگ‬DBA‫ا‬ ‫بی‬ ‫دی‬ ‫دیتابیس‬ ِ‫کردن‬ ‫اداره‬ ‫از‬‫یم‬ ‫میباشد‬ ‫هاردویر‬ ‫و‬ ‫ویر‬ ‫سافت‬ ‫و‬ ‫ایس‬. 7
  • 8.
    Database Administrator:  Heis also responsible for authorization access to Database and monitoring its use ‫دیت‬ ‫دسترس‬ ‫در‬ ‫دادن‬ ‫اختیار‬ ‫برای‬ ‫میباشد‬ ‫مسؤل‬ ‫این‬‫ابیس‬ ‫بکند‬ ‫بانی‬ ‫دیده‬ ‫را‬ ‫دیتابیس‬ ‫از‬ ‫کردن‬ ‫استفاده‬ ‫و‬.  He is responsible for database security and system response in time. ‫خراب‬ ‫حالت‬ ‫در‬ ‫سیستم‬ ‫که‬ ‫وقت‬ ‫در‬ ‫میباشد‬ ‫مسؤل‬ ‫این‬‫ی‬ ‫دیتابیس‬ ‫کردن‬ ‫حفاظت‬ ‫برای‬ ‫و‬ ‫میباشد‬. 8
  • 9.
    Database Administrator  Inlarge organization DBA’s responsibilities are divided into ِ‫ت‬‫مسؤلی‬ ‫ها‬ ‫سازمان‬ ‫بزرگ‬ ‫در‬DBA‫در‬ ‫میشد‬ ‫تقسیم‬ 9 Database Administrator Reactive DBA Proactive DBA
  • 10.
    Proactive DBA  ProactiveDBA implements protection and procedures to avoid problems before they occur. Proactive DBA‫میدهد‬ ‫انجام‬ ‫را‬ ‫عمل‬ ‫طرز‬ ‫این‬ ‫بکند‬ ‫حفاظت‬ ‫قبل‬ ‫از‬ ‫را‬ ‫ها‬ ‫مشکالت‬ ‫که‬. 10
  • 11.
    Reactive DBA  ReactiveDBA is focused on resolving the biggest problems when they occurred. Reactive DBA‫مسؤل‬‫میباشد‬‫که‬‫در‬‫وقت‬‫که‬ ‫مشکل‬‫بزرگ‬‫ایجاد‬‫میگردد‬Reactive DBA ‫مسؤل‬‫است‬‫که‬‫آن‬‫را‬‫حل‬‫نماید‬. 11
  • 12.
    How many DBA’s? The number of DBA’s in an organization depends upon the Following things ‫های‬ ‫تعداد‬DBA’s‫میشود‬ ‫چیزها‬ ‫این‬ ‫به‬ ‫مربوط‬ ‫سازمان‬ ‫یک‬ ‫در‬ ◦ Numbers of databases: ◦ Size of database: ◦ Number of Users: ◦ Number of Applications/operations: ◦ Usage of database: ◦ Variety of DBMS: ◦ Experience of DBA/users: 12
  • 13.
    Data Administrator:  Theneed of data administrator arises in a very large organization where many databases may exist. ‫ضرورت‬‫به‬data administrator‫در‬‫یک‬ ‫سازمان‬/‫شرکت‬‫در‬‫آن‬‫وقت‬‫میشود‬‫که‬‫تعداد‬‫های‬ ‫دیتابیس‬‫بیشتر‬‫باشد‬.  Data administrator is responsible for the whole information resources. ‫معلومات‬‫که‬‫در‬‫یک‬‫دیتابیس‬‫استفاده‬‫میشود‬‫آن‬‫ت‬‫مام‬ ‫معلومات‬‫مسؤلیت‬‫به‬data administrator 13
  • 14.
    Data Administrator:  Hemanages the shared data of users or applications of an organization. ‫شریک‬‫ساختن‬‫دیتا‬‫به‬‫دیګر‬‫بخش‬‫ها‬‫مربوط‬‫به‬ data administrator‫میشود‬.  His work is DBMS independent. ‫وظیفه‬data administrator‫مربوط‬‫به‬DBMS ‫نه‬‫میشود‬. 14
  • 15.
    System Administrator:  Largerorganization also have system administrator to manage the whole system. ‫در‬‫سازمان‬‫ها‬‫بزرګ‬‫اداره‬‫کردن‬DBMS‫مسؤلیت‬ System Administrator‫است‬.  The main task of System administrator is to installing the DBMS and its use with the other software. ‫مهم‬‫ترین‬‫مسؤلیت‬‫آن‬‫است‬‫که‬DBMS‫را‬‫نصب‬‫کند‬‫و‬ DBMS‫را‬‫همراه‬‫دیګرسافت‬‫ویر‬‫ها‬‫استفاده‬‫کند‬. 15
  • 16.
    System Administrator:  Healso chooses that which DBMS is appropriate for the organization ‫کردن‬ ‫انتخاب‬DBMS‫سازمان‬ ‫یک‬ ‫در‬ ‫کردن‬ ‫استفاده‬ ‫برای‬ ‫است‬ ‫آن‬ ‫وظیفه‬.  The migration of DBMS at any stage is also responsibility of System administrator. ‫کردن‬ ‫تبدیل‬DBMS‫استف‬ ‫جریان‬ ‫در‬ ‫ویر‬ ‫سافت‬ ‫دیګر‬ ‫به‬‫اده‬ ‫وظیفه‬ ‫دیتابیس‬ ‫کردن‬system administrator‫است‬ 16
  • 17.
    End Users:  Endusers are the people who uses the databases and are not responsible for its management. ‫ا‬ ‫را‬ ‫دیتابیس‬ ‫که‬ ‫است‬ ‫افراد‬ ‫دیتابیس‬ ‫های‬ ‫کارمند‬‫ستفاده‬ ‫نیست‬ ‫آن‬ ‫مسؤلیت‬ ‫دیتابیس‬ ‫کردن‬ ‫اداره‬ ‫و‬ ‫میکند‬. 17 Database/end Users Native Users Casual Users
  • 18.
    Casual Users:  Theyhave occasionally access to the database and they may need different information every time. ‫آن‬‫کارمند‬‫ها‬‫دیتابیس‬‫است‬‫که‬‫در‬‫دیتابیس‬‫دست‬‫رس‬ ‫موقتی‬‫میداشته‬‫باشد‬‫و‬‫آن‬‫ها‬‫هر‬‫بار‬‫معلومات‬‫مختل‬‫ف‬ ‫را‬‫ضرورت‬‫دارد‬‫که‬‫در‬‫دیتابیس‬‫استفاده‬‫بکند‬. 18
  • 19.
    Native Users.  Theyare the users who use the database regularly and know every thing about the database.  They regularly read, insert, delete and update data in database. ‫روز‬ ‫هر‬ ‫ها‬ ‫آن‬/‫میکند‬ ‫داخل‬ ‫دیتابیس‬ ‫در‬ ‫را‬ ‫دیتا‬ ‫وقت‬، ‫میاورده‬ ‫روز‬ ‫به‬ ‫را‬ ‫دیتا‬ ‫و‬ ،‫میکند‬ ‫پاک‬ ‫را‬ ‫دیتا‬. 19
  • 20.
    People Behind theScene:  They are the people who are not usually use the database but they are very important people in the environment of database. ‫مګ‬ ‫میکند‬ ‫نه‬ ‫استفاده‬ ‫را‬ ‫دیتابیس‬ ‫پرده‬ ‫پس‬ ‫افراد‬‫آن‬ ‫ر‬ ‫میباش‬ ‫دیتابیس‬ ‫محیط‬ ‫در‬ ‫که‬ ‫است‬ ‫افراد‬ ‫مهم‬ ‫بسیار‬‫د‬. 20 People Behind the Scene DBMS Designer Application Programmer
  • 21.
    DBMS Designer  DBMSis a complex software and it is very difficult to design the DBMS and its operation. DBMS‫ک‬ ‫دیزاین‬ ‫که‬ ‫میباشد‬ ‫پیچیده‬ ‫ها‬ ‫پروګرام‬ ‫ازیک‬‫ردن‬ DBMS‫ها‬ ‫عملیات‬ ‫و‬DBMS‫ترین‬ ‫سخت‬ ‫یک‬ ‫از‬ ‫است‬ ‫کارهای‬.  They also design how the DBMS will work other softwares. ‫کردن‬ ‫فعالیت‬ ‫ها‬ ‫آن‬DBMS‫ها‬ ‫ویر‬ ‫سافت‬ ‫دیګر‬ ‫همراه‬ ‫میکند‬ ‫دیزاین‬. 21
  • 22.
    Application Programmer:  Theyare professional programmers who built DBMS with computer language/programming. ‫آن‬‫ها‬‫کارمند‬‫ها‬‫مسلکی‬‫پروګرامنګ‬‫میباشد‬‫که‬‫از‬ ‫توسط‬‫لسان‬‫های‬‫کمپیوتری‬DBMS‫را‬‫تخلیق‬‫میکند‬.  They built the DBMS according to the design of DBMS. ‫آن‬‫ها‬DBMS‫را‬‫مطابق‬‫دیزاین‬DBMS‫تخلیق‬ ‫میکند‬. 22