You are on page 1of 48

m

‡ Introduction to Database Management


System
‡ Database Background
‡ Advantages and Disadvantages of DBMS
‡ Database Case:
± Premier Product
± Hendry Book
± Alexamara Marina Group

O
‡ Introduce Premiere Products, the company that is
used as the basis for many of the examples
throughout the text
‡ Introduce basic database terminology
‡ Describe database management systems (DBMSs)
‡ Explain the advantages and disadvantages of
database processing
‡ Introduce Henry Books, the company that is used in a
case that appears throughout the text
‡ Introduce Alexmara Marina Group, the company that is
used in another case that appears throughout the text


‡ Premiere Products
± Distributor of appliances, houseware, and
sporting goods
± Uses spreadsheet software to maintain
important data
± Recent growth has made spreadsheet
approach problematic


ï 
 

þ
‡ Problems using spreadsheet
± ° 
‡ Duplication of data or the storing of the same data
in more than one place

± Difficulty accessing related data


± Limited security
± Size limitations

0
ï 



4
ï 



G
‡ |

± File used to store data
± Computer counterpart to ordinary paper file
‡ | 
± Structure that can store information about:
‡ Multiple types of entities
‡ Attributes of those entities
‡ Relationships between the entities

u
ï 


  
m
ï 


  

mm
ï 


  

mO
ï !" 
#
  

m
‡ 
 
 
°

± Visual way to represent a database
± Rectangles represent entities
± Lines represent relationships between
connected entities

m
ï $
%
  




‡ |       | 
± Program, or collection of programs, through
which users interact with a database
‡ Popular DBMSs: Access, Oracle, DB2,
MySQL, and SQL Server
‡ Premiere Products decides to use Access
‡ |  

± Determining the structure of the required
database

m0
ï &%
'()   

m4
ï *%
'() %
 %

mG
‡ ï
± Screen objects used to maintain, view, and
print data from a database
± DBMS creates forms that Premiere Products
needs
‡ Reports
± DBMS creates reports for Premiere Products
based on user¶s answers about the desired
content and appearance of each report
mu
ï +


O
ï 

Om
ï ,
 

OO
m Getting more information from the same
amount of data
2 Sharing data
3 Balancing conflicting requirements
± |  

or   



| person or group in
charge of the database
4 Controlling redundancy
5 Facilitating consistency
O
0 Improving integrity
‡ 6 
 
a rule that data must
follow in the database
7 Expanding security
‡  
prevention of unauthorized access
8 Increasing productivity
9 Providing data independence
± |
    can change structure of a
database without changing the programs that
access the database

O
m Larger file size
2 Increased complexity
3 Greater impact of failure
4 More difficult recovery


‡ Henry Books
± Book store chain operated by Ray Henry
‡ Henry decided to use database to gather
and store information on:
± Branches
± Publishers
± Authors
± Books

O0
ï 

 
  

-(.

O4
ï 

 
  

-(.
OG
ï !



-(.
Ou
ï $
.

-(.

ï &




.

.
 
-(.
m
ï &




.

.
 
-(./ 0
O
ï *
%
-(.




‡ Alexamara Marina Group offers in-water
boat storage to owners
± Provides boat slips that boat owners can rent
on an annual basis
± Two marinas: Alexamara East and Alexamara
Central
± Provides boat repair and maintenance
services
‡ Database used to store data

ï ,+




" 1


)




ï ,
2

" 1


)



0
ï ,,





  " 1


)



4
ï ,



# 
%" 1


)




G
ï ,



# 3" 1


)


u
ï ,



# 3" 1


)

 
/ 0

ï ,
%
" 1


)

 



m
m hat is Problems with non-database
approaches to data management?
2 Give an examples for Entity, Attribute and
Relationship
3 hat is ER Diagram?
4 hat is Relationship means in DBMS?
5 rite down advantages and disadvantages of
DBMS
0 hy a data is better storage to DBMS not in
spreadsheet?

O
O  O  O  °6| ° °°
O  O 
O  

 R000m Single 80
C0m0m Philip Gobarvhe St Address No m 555-7878 Russian R0002 Double m20
C0m02 Hiroshi Kimura St Address No 2 555-7879 Japanese R0003 Dexule m80
C0m03 Robert alter St Address No 3 555-7880 English R0004 VIP Suite 230
C0m04 Ming San Lung St Address No 4 555-788m Chinese R0005 President Suite 480
C0m05 Alliz Silverbert St Address No 5 555-7882 Australian
C0m00 Dorris Muchter St Address No 0 555-7883 Germany
C0m07 Steve Chen St Address No 7 555-7884 Singaporean °
C0m08 Zheng Hui en St Address No 8 555-7885 Chinese

O °
°6|  
   
 

RS00m Beverage m2
RS002 Breakfast Buffet 25
RS003 Lunch Buffet 28
RS004 Dinner Buffet 32

°6O


 O 
| O6 | O O O O   

|  


0m Januari 2007 05 Januari 2007 4 day(s) C0m03 Robert alter English m70
0m Januari 2007 03 Januari 2007 2 day(s) C0m0m Philips Gobarvhe Russian m30
0m Januari 2007 04 Januari 2007 3 day(s) C0m02 Hiroshi Kimura Japanese 502
02 Januari 2007 04 Januari 2007 2 day(s) C0m05 Alliz Silverbert Australian 254
02 Januari 2007 00 Januari 2007 4 day(s) C0m00 Dorris Muchter Germany 480
03 Januari 2007 08 Januari 2007 5 day(s) C0m04 Ming San Lung Chinese 40m
03 Januari 2007 05 Januari 2007 2 day(s) C0m08 heng Hui en Chinese 53m
03 Januari 2007 09 Januari 2007 0 day(s) C0m07 Steve Chen Singaporean 380

°O


O O  
6|  
  
  
C0m0m R000m Single m 80,00 80,00
C0m0m RS002 Breakfast Buffet 2 25,00 50,00
C0m02 R0004 VIP Suite m 230,00 230,00
C0m02 RS002 Breakfast Buffet 4 25,00 m00,00
C0m02 RS00m Be erage 2 m2,00 24,00
C0m02 RS003 Lunch Buffet 3 28,00 84,00
C0m02 RS004 Dinner Buffet 2 32,00 04,00
C0m03 R0002 Double m m20,00 m20,00
C0m03 RS002 Breakfast Buffet 2 25,00 50,00

ÿ ÿ6


0
4
G

You might also like