druidÅþÁ¬³ØÉèÖùٷ½Îĵµ
druid ÅþÁ¬³ØÊÇÒ»¸öÕë¶Ô apache druid Êý¾Ý¿âµÄ¸ßÐÔÄÜÅþÁ¬³Ø£¬Ëüͨ¹ýÉèÖÃÓÅ»¯ÁËÅþÁ¬ÖÎÀí£¬ÌáÉýÁËÅÌÎÊЧÂÊ¡£½¹µãÉèÖðüÀ¨ÅþÁ¬×Ö·û´®¡¢Óû§Ãû¡¢ÃÜÂ룬ÅþÁ¬³ØÉèÖðüÀ¨×îС¿ÕÏÐÅþÁ¬Êý¡¢×î´ó¿ÕÏÐÅþÁ¬Êý¡¢×î´óÅþÁ¬ÊýºÍ¿ÕÏÐÅþÁ¬³¬Ê±Ê±¼ä¡£ÅÌÎʳ¬Ê±ÉèÖÃÔò°üÀ¨ÅÌÎÊÅþÁ¬³¬Ê±Ê±¼ä¡¢¶ÁÈ¡ÅÌÎÊЧ¹û³¬Ê±Ê±¼äºÍÕû¸öÅÌÎʳ¬Ê±Ê±¼ä¡£±ðµÄ£¬»¹ÌṩÁËʧ°ÜÕ½ÂÔÉèÖ㬰üÀ¨ÖØÊÔ´ÎÊýºÍÖØÊÔ¾àÀëʱ¼ä¡£µ÷ÊÔÉèÖÿÉÓÃÓÚÊä³öµ÷ÊÔÐÅÏ¢£¬ÆäËûÉèÖðüÀ¨×Ô½ç˵ÅþÁ¬³ØÃû³Æ¡¢³õʼ»¯ sql Óï¾ä¡¢Ô¤±àÒëÓï¾ä×î´óÊýÄ¿ºÍÖ»¶ÁÉèÖá£
Druid ÅþÁ¬³ØÉèÖùٷ½Îĵµ
ʲôÊÇ Druid ÅþÁ¬³Ø£¿
Druid ÅþÁ¬³ØÊÇÒ»¸öΪ Apache Druid Êý¾Ý¿âÁ¿Éí¶¨ÖƵĸßÐÔÄÜÅþÁ¬³Ø¡£ËüÓÅ»¯ÁË Druid µÄÅþÁ¬ÖÎÀí£¬Ìá¸ßÁËÅÌÎÊЧÂʺÍÓ¦ÓóÌÐòÐÔÄÜ¡£
ÉèÖÃ˵Ã÷
½¹µãÉèÖÃ
druid.connectURI£ºDruid ¼¯ÈºµÄÅþÁ¬×Ö·û´®¡£
druid.user£ºÅþÁ¬ Druid ʱµÄÓû§Ãû¡£
druid.password£ºÅþÁ¬ Druid ʱµÄÃÜÂë¡£
ÅþÁ¬³ØÉèÖÃ
druid.minIdle£º¿ÕÏÐÅþÁ¬µÄ×îСÊýÄ¿¡£
druid.maxIdle£º¿ÕÏÐÅþÁ¬µÄ×î´óÊýÄ¿¡£
druid.maxTotal£ºÅþÁ¬³ØÖÐÔÊÐíµÄ×î´óÅþÁ¬ÊýÄ¿¡£
druid.idleTimeout£º¿ÕÏÐÅþÁ¬µÄ×î´ó´æ»îʱ¼ä£¨ÒÔºÁÃëΪµ¥Î»£©¡£
ÅÌÎʳ¬Ê±ÉèÖÃ
druid.queryConnectTimeout£º½¨Éèµ½ Druid µÄÅÌÎÊÅþÁ¬µÄ³¬Ê±Ê±¼ä£¨ÒÔºÁÃëΪµ¥Î»£©¡£
druid.queryReadTimeout£º´Ó Druid ЧÀÍÆ÷¶ÁÈ¡ÅÌÎÊЧ¹ûµÄ³¬Ê±Ê±¼ä£¨ÒÔºÁÃëΪµ¥Î»£©¡£
druid.queryTimeout£ºÕû¸öÅÌÎʵij¬Ê±Ê±¼ä£¨ÒÔºÁÃëΪµ¥Î»£©¡£
ʧ°ÜÕ½ÂÔÉèÖÃ
druid.retry´ÎÊý£ºÔÚÅþÁ¬Ê§°ÜºóÖØÊԵĴÎÊý¡£
druid.retryInterval£ºÁ½´ÎÖØÊÔÖ®¼äµÄ¾àÀëʱ¼ä£¨ÒÔºÁÃëΪµ¥Î»£©¡£
µ÷ÊÔÉèÖÃ
druid.debug£ºÆôÓûò½ûÓà Druid ÅþÁ¬³ØµÄµ÷ÊÔÐÅÏ¢Êä³ö¡£
druid.debugFilters£ºÉèÖÃÒª¼Í¼µÄµ÷ÊÔÐÅÏ¢ÖÖ±ð¡£
ÆäËûÉèÖÃ
druid.poolName£º×Ô½ç˵ÅþÁ¬³ØµÄÃû³Æ¡£
druid.connectionInitSql£ºÔÚÿ¸öÐÂÅþÁ¬½¨ÉèʱִÐеijõʼ»¯ SQL Óï¾ä¡£
druid.maxStatements£ºÃ¿¸öÅþÁ¬µÄ×î´óÔ¤±àÒëÓï¾äÊýÄ¿¡£
druid.readOnly£º½«ÅþÁ¬³ØÉèÖÃΪֻ¶Á¡£
ÒÔÉϾÍÊÇdruidÅþÁ¬³ØÉèÖùٷ½ÎĵµµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡