ããDB2 pureScale é群éç¨äºå¨æçå·¥ä½è´è½½åè¡¡ååæºå¶ï¼èä¸æ¯ä¼ ç»çåºå®è½®è½¬ (Round Robin) çæ¹å¼ãä¼ ç»çåºå®è½®è½¬çå·¥ä½è´è½½åè¡¡ååæºå¶å¦ä¸å¾æ示ï¼åå¦é群ä¸ä¸å ±æå个æåèç¹ï¼å æ¤æ¯ä¸ªæåèç¹è¢«åé äº 25% çæ¥èªå®¢æ·ç«¯åºç¨ç请æ±ãåå¦æ¯ä¸ªæ¥èªå®¢æ·ç«¯åºç¨ç请æ±å¯¹æ°æ®åºèµæºçéæ±æ¯ç¸åçæç¸ä¼¼çï¼é£ä¹è¿ç§æ¹å¼æ¯ææçãä½å®é çç产ç¯å¢ä¸å¾å¾æ¯ä¸ªå®¢æ·ç«¯è¿æ¥ç请æ±æ¯ä¸ä¸æ ·çï¼å设被åé å° Member 0 ä¸ç客æ·ç«¯åºç¨è¯·æ±ä¸æä¸ä¸ªæ¯æé¨é¨é¢å¯¼å¨æ¥çéå®æ¥è¡¨æ¶åèµ·çï¼è¯¥æä½ä¸æ¥è¯¢é常å¤æï¼å°è®¿é®å¤§éçæ°æ®åæ¶è大éçæå¡å¨èµæºãå¦å¾äºæ示ï¼è¿ç§åºå®è½®è½¬çååæºå¶å°å¯¼è´ Member 0 ä¸ååå¼å¸¸ç大ï¼å°½ç®¡åä¸æ¶å»é群ä¸å ¶ä»çèç¹ä¸çç³»ç»èµæºä»ç¶å¾å¯è£ã
ãã为äºå®ç° DB2 pureScale çå¨æå·¥ä½è´è½½åè¡¡ï¼DB2 pureScale é群ä¸çå个æåèç¹ä¼å®ææ¶éæ¬æºçå·¥ä½è´è½½ä¿¡æ¯ï¼ä¸»è¦å æ¬å æ¬ CPU åå åç使ç¨æ åµãæ¯ä¸ªèç¹è¿ä¼å®æçä»å ¶ä»èç¹æ¶éå° DB2 pureScale é群ä¸ææå ¶ä»èç¹çè´è½½ä¿¡æ¯ãè¿äºä¿¡æ¯æ¶éæ¯ç±å®¢æ·ç«¯ç请æ±é©±å¨çï¼åªæå¨éè¦çæ¶åæä¼æ¶éãæ¯å¦è¯´ï¼å¦æ没æä»»ä½å®¢æ·åèµ·å° Member 0 ä¸çè¿æ¥è¯·æ±ï¼é£ä¹ Member 0 æ°¸è¿ä¹ä¸ä¼è¯·æ±æ¶éå ¶ä»èç¹çè´è½½ä¿¡æ¯ãä½æ¯è¿ç§æ åµä¸ Member 0 æå¯è½è¢«è¦æ±åé群ä¸çå ¶ä»èç¹æä¾èªå·±çè´è½½ä¿¡æ¯ã
ããDB2 客æ·ç«¯å¨å¤çåºç¨å DB2 pureScale é群åèµ·ç请æ±æ¶ï¼ä¼å ä» DB2 pureScale é群æå¡å¨æ¿å° DB2 pureScale é群æå¡å¨æåèç¹è´è½½ä¿¡æ¯å表ï¼ç¶åä¼å å°æ°çå·¥ä½è´è½½ ( è¿æ¥æäºå¡ ) ååå° Priority é«çæåèç¹ä¸ã
ããå¯ä»¥ç¨ db2pd å·¥å ·æ¥çå½å DB2 pureScale é群ä¸çå·¥ä½è´è½½ä¿¡æ¯å表 :
ããDB2 pureScale çå·¥ä½è´è½½åè¡¡æä¾äºä¸åç²åº¦çååæ¹å¼ï¼åºç¨å¯ä»¥å¨è¿æ¥çº§å« (Connection Level) æäºå¡çº§å« (Transaction Level) æ¥ååå·¥ä½è´è½½ã
ããå½ä½¿ç¨è¿æ¥çº§å«çå·¥ä½è´è½½åè¡¡çæ¶åï¼åºç¨åèµ·æ°çæ°æ®åºè¿æ¥çæ¶åï¼DB2 客æ·ç«¯ä¼æ ¹æ® DB2 pureScale é群ä¸æåèç¹çå®é è´è½½æ åµï¼å°è¯¥æ°æ®åºè¿æ¥å»ºç«å¨é群ä¸è´è½½è¾ä½çèç¹ä¹ä¸ã
ããå¨è¿æ¥çº§å«çå·¥ä½è´è½½åè¡¡æ¹å¼ä¸ï¼ä¸æ¦è¿æ¥è¢«å»ºç«ï¼å该è¿æ¥ä¼åææåèç¹ç»å®ï¼é¤é该æåèç¹åçæ éï¼å¦å该è¿æ¥ä¸ææçäºå¡ä¹é½ä¼è¢«æ交å°è¯¥èç¹ä¸æ§è¡ãä»è¿éæ们ä¹å¯ä»¥çåºè¿æ¥çº§å«çå·¥ä½è´è½½åè¡¡å¯è½å¯¹ä½¿ç¨äºæ°æ®åºè¿æ¥æ± çé¿è¿æ¥ææ¯çåºç¨ä¸å¤ªåéï¼å 为è¿ç§æ åµä¸ï¼è¿æ¥å¾å¾å¨åºç¨åå§åçæ¶å被建ç«å¹¶è¢«æ¾å¨è¿æ¥æ± ä¸ï¼è¿æ ·å®é ä¸æ¯ä¸ªè¿æ¥å¨åºç¨åå§åçæ¶å就被ç»å®å°äºç¸åºç DB2 pureScale æåèç¹ä¸ï¼èæ¤æ¶ç DB2 pureScale æåèç¹è´è½½ä¿¡æ¯å表并ä¸è½çå®çååºåºç¨å®é è¿è¡è¿ç¨ä¸ççå®è´è½½æ åµã
ããå页é¦
ããäºå¡çº§å«çå·¥ä½è´è½½åè¡¡
ããå¨äºå¡çº§å«çå·¥ä½è´è½½åè¡¡æºå¶ä¸ï¼åä¸ä¸ªè¿æ¥ä¸çä¸åäºå¡ï¼æå¯è½æ ¹æ®èç¹çå·¥ä½è´è½½æ åµï¼è¢«åå¸å°ä¸åçèç¹ä¸å»æ§è¡ã
ããè¿éæ们éè¦å¼å ¥é»è¾è¿æ¥ (logical connection) åç©çè¿æ¥ (physical transport) çæ¦å¿µï¼æè°é»è¾è¿æ¥ï¼æçæ¯åºç¨ç¨åºåºç¨éè¿è°ç¨ç¸åºç API è·åçä¸ä¸ªæ°æ®åºè¿æ¥ï¼ä¾å¦ï¼å¦ä¸æ¯å¨ä¸ä¸ª Java åºç¨éé¢çä¸ä¸ªé»è¾è¿æ¥ï¼
ãã