If you can't read please download the document
Upload
khacthuong2008
View
541
Download
1
Embed Size (px)
Citation preview
POSTGRESQL
www.elarion.comPOSTGRESQL
LARION_TDT@INTERNSHIP_03
Never stop improving quality
PostgreSQL
Database diagram
Database diagram l g?
Cch to database diagram trong cho c s d liu trong PostgreSQL.
PostgreSQL
Database diagram
Database diagram l g
Database diagram l s m t cc bng d liu (bao gm cc thuc tnh, cc kha, function, trigger...) c trong mt c s d liu v cc mi quan h gia chng vi nhau.
Cc mi quan h ny gm c:
Mi quan h mt nhiu
Mi quan h mt mt
PostgreSQL
Database diagram
V d database diagram:
PostgreSQL
Database diagram
Cch to database diagram cho c s d liu trong PostgreSQL
to database diagram cho CSDL trong PostgreSQL ta c th s dng mt trong cc tool sau:
PostgreSQL Maestro
PgDesigner
MicroOLAP Database Designer for PostgreSQL
...
PostgreSQL
Database diagram
S dng PostgreSQL Maestro to database diagram
Download:http://www.sqlmaestro.com/products/postgresql/maestro/
u im:
D s dng
C th v diagram t CSDL c sn hoc to mt CSDL mi.
Diagram c th xut ra nhiu loi file: file hnh, file sql, file html....
Nhc im: dng th 30 ngy
PostgreSQL
Database diagram
Giao din PostgreSQL Maestro
To CSDL mi
Thm vo CSDL c
To mi bng, view,
V diagram
To cc cu query
Thc thi cc cu query
PostgreSQL
Database diagram
S dng PostgreSQL Maestro to database diagram
Thm vo CSDL c
Ni t CSDL
Tn host
Cng
Mt khu host
PostgreSQL
Database diagram
S dng PostgreSQL Maestro to database diagram
Thm vo CSDL c
CSDL c trong Postgres
CSDL s v diagram
PostgreSQL
Database diagram
S dng PostgreSQL Maestro to database diagram
Thm vo CSDL c
Yu cu ng nhp Postgres
Duy tr kt ni ti Postgres
Kt ni khi bt u
Cp nht d liu mi
khi kt ni
PostgreSQL
Database diagram
S dng PostgreSQL Maestro to database diagram
Nhn y v diagram
PostgreSQL
Database diagram
S dng PostgreSQL Maestro to database diagram
Nhn y v diagram
Ko v th cc bng vo khung v
To quan h
To mt bng mi
PostgreSQL
Database diagram
S dng PostgreSQL Maestro to database diagram
To kha ngoi
Nhn v ko t bng mun to kha ngoiti bng khc
PostgreSQL
Database diagram
S dng PostgreSQL Maestro to database diagram
To kha ngoi
Tn kha ngoi
Ct mun to kha ngoi
Bng tham chiu
Ct tham chiu
Hnh ng khi sa hoc xa trn ct tham chiu- NO ACTION: khng th sa/xa- CASCADE:sa/xa bn bng
c dng tham chiu ti- SET NULL : t gi tr null bn
bng c dng tham chiu ti
PostgreSQL
Database diagram
S dng PostgreSQL Maestro to database diagram
To kha ngoi
PostgreSQL
Database diagram
S dng PostgreSQL Maestro to database diagram
Nhn y xut ra file hnh
PostgreSQL
Questions & Answers
?
PostgreSQL
Thanks for your attention!
Click to edit the outline text format
Second Outline Level
Third Outline Level
Fourth Outline Level
Fifth Outline Level
Sixth Outline LevelSeventh Outline LevelEighth Outline LevelNinth Outline Level
Click to edit Master title style
Click to edit Master subtitle style
Click to edit Master title style
Click to edit Master text styles
Second level
Third level
Fourth level
Fifth level
Click to edit Master title style
Click to edit Master text styles
Click to edit Master title style
Click to edit Master text styles
Second level
Third level
Fourth level
Fifth level
Click to edit Master text styles
Second level
Third level
Fourth level
Fifth level
Click to edit Master title style
Click to edit Master text styles
Click to edit Master text styles
Second level
Third level
Fourth level
Fifth level
Click to edit Master text styles
Click to edit Master text styles
Second level
Third level
Fourth level
Fifth level
Click to edit Master title style
Click to edit Master title style
Click to edit Master text styles
Second level
Third level
Fourth level
Fifth level
Click to edit Master text styles
Click to edit Master title style
Click to edit Master text styles
Click to edit Master title style
Click to edit Master text styles
Second level
Third level
Fourth level
Fifth level
Click to edit Master title style
Click to edit Master text styles
Second level
Third level
Fourth level
Fifth level