OracleÊý¾Ý¿âÔ½À´Ô½Âý¸ÃÈçºÎ´¦Àí£¿
Êý¾Ý¿â£ºOracle10g(10.2)
Ó¦ÓãºÒ»¸öC#µÄ³ÌÐòдÊý¾Ý¿â£¬Ò»¸öJSP³ÌÐò¶ÁÊý¾Ý¿â
¸ºÔØ£ºÄ¿Ç°´¦ÓÚ¿ª·¢½×¶Î£¬»ù±¾ÉÏÖ»ÓÐ3-4¸öÓû§·ÃÎÊJSPÍøÕ¾¡£
ÏÖÏó£ºÖØÐÂÆô¶¯ºóµÄÊý¾Ý¿â²éѯ·Ç³£¿ì£¬µ«ÊÇÓÃ×ÅÓÃ×ÅÔ½À´Ô½Âý£¬ËùÓÐJSPÍøÒ³¶¼¼ì²é¹ý£¬¼Ç¼¼¯¡¢statementºÍÊý¾Ý¿âÁ¬½Ó¶¼Òѱ»ÊÍ·Å£¬ÇëÎʸÃÈçºÎ²éÕÒÔÒò£¿
¶àл£¡
¿´¿´ÊDz»ÓÐËø
ÊDz»ÊÇûË÷Òý
ÎÒ¾õµÃºÍÄãдµÄÊý¾Ý¿âÓï¾äÓйØ,ÊDz»ÊÇ·ûºÏ¹æ·¶
ÊDz»ÊDZíûÓÐË÷Òý
ÊÇûÓÐË÷Òý£¬Õâ»áµ¼ÖÂÕâÖÖÔ½À´Ô½ÂýµÄÇé¿öÊÇô£¿
½¨¸öË÷Òý¿´¿´ÓÐûÓÐЧ¹û
Ó¦¸ÃÊÇÓÐËøûÓÐÊÍ·Å
Ìáµã¼òµ¥µÄ˼·°É£º
1¡¢Ê×Ïȼì²é³ÌÐòµÄÉè¼Æ˼·£¬±ÈÈç³ÌÐòÂß¼ÉÏÓÐûÓÐÔì³ÉËøµÄÏÖÏó£¬ÌرðÊÇÓëºǫ́½»»¥Æµ·±µÄ²¿·Ö£»
2¡¢Èç¹û³ÌÐòÉè¼ÆÉϲ»´æÔÚ´óµÄȱÏݾÍÒª´ÓÊý¾Ý¿âÉÏÀ´²éÕÒÎÊÌ⣬¾ßÌå¿ÉÒÔÔÚÏÖÓлù´¡ÉÏ´ÓÂß¼Êý¾Ý¿âÖвéÕÒÊÇ·ñ´æÔÚËøµÄÏÖÏó£»ÕÒ³ö´æÔÚËøµÄÎÊÌ⣻
3¡¢oracleÊý¾Ý¿âÔÚδÍêÕûµ÷ÓŵÄÇé¿öÏÂÐèÒª¶ÔÏÖÓи÷ÖÖ´æÔÚÓ°ÏìÊý¾Ý¿âµÄsql½Å±¾½øÐÐÌáÈ¡ÕûÀí£¬ÌرðÊÇ¿ª·¢³õÆÚ£»
4¡¢¶ÔÊý¾Ý¿â½øÐÐÓÅ»¯£¬¸ù¾Ý²Ù×÷ϵͳ²ÎÊý¶Ô¸÷Ïî²ÎÊý½øÐе÷Õû£»£¨²»¹ýÔÚ3¡¢4¸öÓû§µÄÇé¿öÏ£¬Ó¦¸Ã²»ÊÇÊý¾Ý¿âÎÊÌ⣬³ý·ÇÊý¾Ý¿â°æ±¾×°µÄ¶¼ÓÐÎÊÌâ¡¡£©
5¡¢Í¨¹ýÊý¾Ý¿â¼à¿Ø¹¤¾ßÕÒ³öÅŶӵȺò£¬Ó°ÏìÐÔÄܵÄsqlÓï¾ä£¬ÔÙ¶Ôsql½øÐÐÓÅ»¯£¬»òÕ߸ɴàÓù¤¾ßÖ±½ÓÓÅ»¯£¬Ìá¸ß¿ª·¢Ëٶȡ£
ÒÔÉϽö¹©²Î¿¼£¬ÎÒ¾õµÃ´æÔÚÎÊÌâµÄ×î´ó¿ÉÄÜÊÇÂß¼Éè¼Æ»òÕßÔÚ½¨Ä£µÄʱºòÓÐÎÊÌ⣬²»¹ýÓÐʱºòÊÔÊÔ°ÑÊý¾Ý¿âÖØÆôÏÂ˵²»¶¨¿ÉÄÜ»áºÃЩ£¨Õâ¸öÊÇÒòΪ¿ÉÄÜÏÈÇ°ÓÐËø´æÔÚ£©
1.Ê×Ïȼì²éÒ»ÏÂÄãµÄsgaÉèÖÃ,½øÈësqlplusģʽ,ÊäÈëshow sga²é¿´ÄãµÄsgaÅäÖÃÊÇ·ñÀíÏë
2.²é¿´ÐÔÄÜÊÓͼµÄv$session_wait ºÍv$sysstat¿´¿´ÊÇʲôµÈ´ýʼþÍÏÀÛÊý¾Ý¿â,
3.ÁíÍâ¾
Ïà¹ØÎÊ´ð£º
´ó¼ÒºÃ£¬ÔÚ¿ª·¢µÄʱºò£¬Óöµ½ÕâÑùµÄÎÊÌ⣺
δÄܼÓÔØÎļþ»ò³ÌÐò¼¯¡°Oracle.DataAccess, Version=10.1.0.200, Culture=neutral, PublicKeyToken=89b483f429c47342¡±»òËüµÄijһ¸öÒÀÀµÏϵͳÕÒ²»µ½Ö¸¶¨µÄÎļþ¡£ ......
ÔÚlomboz eclipseÖеÄwindow->show view->others->ÖеÄÔõÑù¼ÓÈëconnectivityÖеÄdata sourceÖÐÁ¬½ÓoracleʱֻÓÐ8,9,10ÕâÈý¸ö°æ±¾£¬ÔõÑù²ÅÄÜÁ¬½Óoracle11Õâ¸ö°æ±¾ÄØ£¿£¿£¿£¿£¿£¿£¿£¿£¿£¿£¿£¿£¿£¿
¸½Í¼Æ¬ ......
ÐÖµÜ Í¼¹ÒÁË¡£
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value ......
ƽʱ¶¼ÊÇÁ¬½ÓMSSQL û̫עÒâÕâ¸öÎÊÌâ..½ñÌìÒòΪÐèÒª.ÔÚÍøÉÏÕÒÁËÒ»ÏÂ..Óкöà.. ¶¼ÊÔÁË.²»ÐÐ
ºÜ¶à¶¼ÊDZ¨:
δ´¦ÀíµÄÒì³£;System.Exception System.Data.OracleCilent ÐèÒª Oracle ¿Í»§¶ËÈí¼þ 8.1. ......