Home > Dataroom > News Letter
 
Download
News Letter
Site Link
XpertMon ???? 18?
2007/03/22 10:22 10844


<-- ?? //--> ?????. DB2 ? XpertMon ??? ???!
? ????????? DB ??????.
?? XpertMon for DB2 UDB V2.0 ? ??????????(TTA) ??? 2005.07.28?
GS(Good Software) ??? ???????.
GS(Good Software) ????? ?? ????? ??????(????? ?? ?2000-81,
2000.10.31 ??) ? ???? ?? ???, ????????????? ?10? ?3??
??? ?? ????? ???? ?? ???? ?????.
?? GS ????? ??? ???? XpertMon ??? ?? ??? ???????.
??? ???? ?? ???? ???? ??? ??? ??? ? ?? ????
?????? ????? ???????. ???? ??? ?? ??????.

??? ????? V8?? ??? ??? Informational Constraint ? ??? ????? ?????.


Informational Constraints
DB2 ? V2 ??? constraint(????)? ?????, V6??? optimizer ??
constraint? ??? ??? ???? ?? ????? ??? rewrite ? ? ??? ?????.
??? ??? ???????, constraint ? ??? ??, INSERT/UPDATE/DELETE ???
constraint ??? ?????, overhead ? ?????.

??? V8??? ??? ??? constraint ??? ???????.
informational constraints ?? ?? INSERT/UPDATE/DELETE ?? ??? constraint?
???? ???? overhead ? ??, optimizer ??? constraint ? ????? ????,
??? query ? ????? rewrite ?? ?? ??? ?? ? ?? ?????.
?? ????? ? ? ?? ???, ENFORCED ? QUERY OPTIMIZATION ??? ????
constraint ? optimizer ? ??? ??? ? ???, ALTER ??? ?????.
 ENFORCEDNOT ENFORCED
ENABLE QUERY OPTIMIZATIONV6, V7? ??V8?? ??
DISABLE QUERY OPTIMIZATIONV6 ??? ??V8?? ??

Informational Constraints ??? ?

  1. NOT ENFORCED : ?? ??(ex) Sex, salary) ? ??? ??? ???? ????.
  2. ENABLE QUERY OPTIMIZATION : DB2 optimizer ? SQL ? ???? ? informational constraints ? ?????.

INSERT ??
NOT ENFORCED ??? ?????, (5,’Q’,34444) ? SEXOK ?? constraint ???
?????, (6,’K’,132333) ? SALARYOK ?? constraint ??? ??????,
???? ????? ?????.


SELECT ??

?? ??? ??? ???? ???? ???? ???? ?? ?????.
???? DB2 optimizer ? ??? SEX ??? ‘M’?? ‘F’ ??? ??? ????
?? ?? ???, ENABLE QUERY OPTIMIZATION ? informational constraint? ????
??? rewrite ??? ?????.

?? Rewrite ?? ??
XpertMon ? Explain ??? ???? Rewrite ? ??? ??? ? ????.

?? ?? ?? ??? ???? ?? ??? Rewrite ?? ? ? ????.

DISABLE QUERY OPTIMIZATION ??

?? ?? informational constraint ? optimizer ?? ???? ??? ??? ?
??? ???? ??? ?? ?????.


??
?? ?? ??? Informational Constraints ? ???? ?? ?????
?? ?? ????? Application? ???? ??? ? ?? ????.
? Application?INSERT??? UPDATE?? ???? constraint ??? ??? ??? ?
???, DB2 ? ???? ??? ?? ????, optimizer? ?? ???? ? ? ????,
? ? ?? ???? ??? ??? ? ????.

?? ????? ??? ????? ??? ? ????.
?? ???? ??? ?? ???? ??? STAR Schema? ?????.
Start Schema ? ??? ?? ??? ????.
  • Dimension ???? ??? ???? ??? ?? ??? Fact ??? ??
  • Fact ???? ?? ???? ??????? ?? ??? ??? ??
  • Dimension ???? primary key? Fact ???? Foreign key? ??
Fact ???? Dimension ???? RI ? ???? ????, ???? ??? ?,
RI? ???? ?? ??? ?? ???? ???.
??, INSERT ?? ?? ????? ?? ? ?? ???, RI ??? ?? ?????,
Optimizer? ?? ???? ??? ? ?? ??? SELECT? ????? ??? ? ?? ???.


XpertMon for DB2 UDB V2
DB ???
Tel : 02-2108-1458
Fax : 02-2108-1459
Mobile : 011-896-6545
E-mail : hjlee@iteg.co.kr
URL : http://iteg.co.kr

¡ã XpertMon ???? 19? iteg 2007-03-22 10839
- XpertMon ???? 18? iteg 2007-03-22 10844
¡å XpertMon ???? 17? iteg 2007-03-22 9505
List Write Modify