Oracle µÈ´ýʼþ
µÈ´ýʼþµÄÔ´Æð
µÈ´ýʼþµÄ¸ÅÄî´ó¸ÅÊÇ´ÓORACLE 7.0.12ÖÐÒýÈëµÄ£¬´óÖÂÓÐ100¸öµÈ´ýʼþ¡£ÔÚORACLE 8.0ÖÐÕâ¸öÊýÄ¿Ôö´óµ½ÁË´óÔ¼150¸ö£¬ÔÚORACLE 8IÖдóÔ¼ÓÐ220¸öʼþ£¬ÔÚORACLE 9IR2ÖдóÔ¼ÓÐ400¸öµÈ´ýʼþ£¬¶øÔÚ×î½üORACLE 10GR2ÖУ¬´óÔ¼ÓÐ874¸öµÈ´ýʼþ¡£
ËäÈ»²»Í¬°æ±¾ºÍ×é¼þ°²×°¿ÉÄÜ»áÓв»Í¬ÊýÄ¿µÄµÈ´ýʼþ£¬µ«ÊÇÕâЩµÈ´ýʼþ¶¼¿ÉÒÔͨ¹ý²éѯV$EVENT_NAMEÊÓͼ»ñµÃ£º
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 – Production
SQL> select count(*) from v$event_name;
COUNT(*)
----------
872
ORACLEµÄµÈ´ýʼþ£¬Ö÷Òª¿ÉÒÔ·ÖΪÁ½À࣬¼´¿ÕÏÐ(IDLE)µÈ´ýʼþºÍ·Ç¿ÕÏÐ(NON-IDLE)µÈ´ýʼþ¡£
1). ¿ÕÏеȴýʼþÖ¸ORACLEÕýµÈ´ýijÖÖ¹¤×÷£¬ÔÚÕï¶ÏºÍÓÅ»¯Êý¾Ý¿âµÄʱºò£¬²»Óùý¶à×¢ÒâÕⲿ·Öʼþ¡£
2). ·Ç¿ÕÏеȴýʼþרÃÅÕë¶ÔORACLEµÄ»î¶¯£¬Ö¸Êý¾Ý¿âÈÎÎñ»òÓ¦ÓÃÔËÐйý³ÌÖз¢ÉúµÄµÈ´ý£¬ÕâЩµÈ´ýʼþÊÇÔÚµ÷ÕûÊý¾Ý¿âµÄʱºòÐèÒª¹Ø×¢ÓëÑо¿µÄ¡£
ÏÂÃæÀ´¿´Ò»ÏÂORACLE 10GR2ÖÐÖ÷Òª·ÖÀ༰¸÷ÀàµÈ´ýʼþµÄ¸öÊý£º
SQL> select wait_class#,wait_class_id,wait_class,count(*) as "count"
2 from v$event_name
3 group by wait_class#,wait_class_id,wait_class
4 order by wait_class#;
WAIT_CLASS# WAIT_CLASS_ID WAIT_CLASS count
----------- ------------- ------------------------------ ----------
&nbs
Ïà¹ØÎĵµ£º
Ò»£º»Ø¹ö¶Î¸ÅÊö
¡¡¡¡»Ø¹ö¶ÎÓÃÓÚ´æ·ÅÊý¾ÝÐÞ¸Ä֮ǰµÄÖµ£¨°üÀ¨Êý¾ÝÐÞ¸Ä֮ǰµÄλÖúÍÖµ£©¡£»Ø¹ö¶ÎµÄÍ·²¿°üº¬ÕýÔÚʹÓõĸûعö¶ÎÊÂÎñµÄÐÅÏ¢¡£Ò»¸öÊÂÎñÖ»ÄÜʹÓÃÒ»¸ö»Ø¹ö¶ÎÀ´´æ·ÅËüµÄ»Ø¹öÐÅÏ¢£¬¶øÒ»¸ö»Ø¹ö¶Î¿ÉÒÔ´æ·Å¶à¸öÊÂÎñµÄ»Ø¹öÐÅÏ¢¡£
»Ø¹ö¶ÎµÄ×÷ÓÃ
¡¡¡¡ÊÂÎñ»Ø¹ö£ºµ±ÊÂÎñÐ޸ıíÖÐÊý¾ÝµÄʱºò£¬¸ÃÊý¾ÝÐÞ¸ÄÇ°µÄÖµ£¨¼´Ç°Ó°Ïñ£ ......
/*Ö÷ÒªÊÇΪÁË¿´ÇåÁ¬½ÓÂß¼£¬ËùÒÔ°ÑÒì³£Exception*/
import java.sql.*;
public class TestJDBC {
public static void main(String[] args) throws Exception {
ResultSet rs = null;
Statement stmt = null;
......
°²×°…………
ÒýÓõÄhttp://mamaoyuan625.javaeye.com/blog/617502
°²×°oracle 10gºó£¬µÇ¼ ³öÏÖ
the account is locked
Õâ¸ö´íÎ󼸺õËùÓеijõѧÕ߶¼»áÓöµ½.
Æäʵ½â¾ö°ì·¨·Ç³£¼òµ¥.
ÇëÊäÈëÓû§Ãû: SYSTEM
ÊäÈë¿ÚÁî:admin(×¢Òâ,Õâ¸öÃÜÂëÊÇÄãÔÚ°²×°oracleʱµÚÒ»²½ÉèÖõÄ)
È»ºóϵͳ»áÏÔ ......
ÔÚORACLEÀïÈç¹ûÓöµ½Ìرð´óµÄ±í£¬¿ÉÒÔʹÓ÷ÖÇøµÄ±íÀ´¸Ä±äÆäÓ¦ÓóÌÐòµÄÐÔÄÜ¡£
¡¡¡¡ÒÔsystemÉí·ÝµÇ½Êý¾Ý¿â£¬²é¿´ v$optionÊÓͼ£¬Èç¹ûÆäÖÐPartitionΪTRUE£¬ÔòÖ§³Ö·ÖÇø¹¦ÄÜ£»·ñÔò²»Ö§³Ö¡£PartitionÓлùÓÚ·¶Î§¡¢¹þÏ£¡¢×ÛºÍÈýÖÖÀàÐÍ¡£ÎÒÃÇÓõıȽ϶àµÄÊÇ°´·¶Î§·ÖÇøµÄ±í¡£
¡¡¡¡ÎÒÃÇÒÔÒ»¸ö2001Ä꿪ʼʹÓõÄÁôÑÔ°æ×öÀý×Ó½²Êö·ÖÇ ......
oracleÖÐpro*cµÄѧϰ
¡¡Ò» Pro*C ³ÌÐò¸ÅÊö£º
1£®Ê²Ã´ÊÇPro*C³ÌÐò
ÔÚORACLEÊý¾Ý¿â¹ÜÀíºÍϵͳÖУ¬ ÓÐÈýÖÖ·ÃÎÊÊý¾Ý¿âµÄ·½·¨£»
£¨1£© ÓÃSQL*Plus£¬ ËüÓÐSQLÃüÁîÒÔ½»»¥µÄÓ¦ÓóÌÐò·ÃÎÊÊý¾Ý¿â£»
£¨2£© ÓõÚËÄ´úÓïÑÔÓ¦Óÿª·¢¹¤¾ß¿ª·¢µÄÓ¦ÓóÌÐò·ÃÎÊÊý¾Ý¿â£¬ÕâЩ¹¤¾ßÓÐSQL*froms£¬QL*Reportwriter,SQL*MenuµÈ£»
£¨3£© ÀûÓÃÔÚ ......