ð é人ã«åŠã¶DBèšèš 培åºæåæž ïœåçŽè ã§çµãããããªãããªããž
ð é人ã«åŠã¶DBèšèšã®å¿ é ã ãšæã£ãã1~4ç« ãŸã§ããŸãšããŠããŸãã
1ç«
èšèã®å®çŸ©ã«ã€ããŠ
DB
ããŒã¿ã®éãŸã
DBMS
ããŒã¿ããŒã¹ã管çããããã®ã·ã¹ãã
DBMSãšRDBMSã¯ä»¥äžã®ãããªé¢ä¿
åŒçš : DMOã¯ã©ãŠããã
èšèšå·¥çš
DOA
ãçŸåšã®äž»æµ
DOA
Data Oriented Approach ããŒã¿ããŒã¹èšèš â ã¢ããªã±ãŒã·ã§ã³éçº
POA
Process Oriented Approach ã¢ããªã±ãŒã·ã§ã³éçº â ããŒã¿ããŒã¹èšèš
2ç«
æŠå¿µã¹ããŒãïŒè«çèšèšïŒãšå éšã¹ããŒãïŒç©çèšèšïŒ
æŠå¿µã¹ããŒãïŒè«çèšèšïŒçŽ°åå
- ãšã³ãã£ãã£ã®æœåº
- ãšã³ãã£ãã£ã®å®çŸ©
- æ£èŠå
- ERå³ã®äœæ
å éšã¹ããŒãïŒç©çèšèšïŒçŽ°åå
- ããŒãã«èšèš
- ã€ã³ããã¯ã¹èšèš
- ããŒããŠã§ã¢ã®ãµã€ãžã³ã°
- ã¹ãã¬ãŒãžã®åé·æ§æ決å®
- ãã¡ã€ã«ã®ç©çé 眮
3ç«
ããŒãã«ãšã¯...
å
±éç¹ãæã£ãã¬ã³ãŒãã®éåã®ããš
ããããããããããããŒãã«ãšã¯åãçš®é¡ã®ç©ã®éåã®ããšã
ããŒãã«ã®æ§æèŠçŽ
- è¡ïŒã¬ã³ãŒãïŒãšåïŒã«ã©ã ïŒ
åŒçš : GMOã¯ã©ãŠããã
- ããŒ
- äž»ããŒ
- å€éšããŒ
- å¶çŽ
- NOT NULLå¶çŽ
- äžæå¶çŽ
- CHECKå¶çŽ
- ããŒãã«ãšåã®åå
ã«ãŒã«- ååã«äœ¿ããæåéåã¯æ±ºãŸã£ãŠãã
- åè§ã®ã¢ã«ãã¡ããã
- åè§ã®æ°å
- ã¢ã³ããŒããŒ
- æåã¯ãã¢ã«ãã¡ããã
- ååã¯éè€ããŠã¯ãªããªã
- ååã«äœ¿ããæåéåã¯æ±ºãŸã£ãŠãã
NOT NULLå¶çŽãããªããã¶ã€ã³ãã¿ãŒã³ã£ãŠã©ããªãšãã
3ç« -3 æ£èŠå
第1æ£èŠå
1ã€ã®ã»ã«ã®äžã«ã¯1ã€ã®å€ããå«ãŸãªãããš
第2æ£èŠå
éšåé¢æ°åŸå±ããŠããåãåãåºã
ç°ãªãã¬ãã«ã®å®äœïŒãšã³ãã£ãã£ïŒãããã¡ããšããŒãã«ãšããŠãåé¢ããŠãã
é人ã«åŠã¶DBèšèšåŸ¹åºæåæžãã
第3æ£èŠå
äž»ããŒä»¥å€ã®åã«é¢æ°åŸå±ããŠããåãåãåºãããš
æ£èŠåã®ãã€ã³ã
- ããŒã¿ç»é²ã®éã®äžéœåã»äžæŽåãæé€ããããã«è¡ã
- åŸå±æ§ãèŠæãããš
éšåé¢æ°åŸå±ïŒç¬¬2æ£èŠåïŒãšæšç§»çé¢æ°åŸå±ïŒç¬¬3æ£èŠåïŒãããã°æ£èŠåã®å¯Ÿè±¡ã«ãªã
4ç« ERå³
ãã€ã³ã
- ããããŒãã«ã®äž»ããŒããä»ã®ããŒãã«ã«ã«ã©ã ãšããŠå«ãŸãããã©ãã
ãã¿ãŒã³
- 1察1
- 1察å€
- å€å¯Ÿå€
以äžã®èšäºããããããã