Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

oracle job ½¨Á¢µ÷¶ÈÈÎÎñ

¡¾×ªÔØ¡¿£º×Ô¼º½¨Á¢Ò»¸ö´øout²ÎÊýµÄ´æ´¢¹ý³Ì£¬½á¹ûÒ»Ö±½¨Á¢jobÈÎÎñʧ°Ü£¬ºóÀ´ÕÒµ½ÁËÕâƪÎÄÕ²ÅÖªµÀÔ­ÒòËùÔÚ¡£
Ä¿ Ç°£¬Á÷ÐеÄÖ÷Á÷Êý¾Ý¿â¶¼ÓµÓдËÏÄÜ£¬×î¾ß´ú±íÐÔµÄÊÇMicrosoft SQL Server
7.0¡¢Oracle8i/9iµÈ¡£µ«ÊÇ£¬ÒªÈÃJob¹¤×÷£¬»¹ÐèÒªÎÒÃǼÓÒÔÅäÖòÅÄÜʵÏÖ¡£ÕâЩÅäÖö¼ÓÐGUI²Ù×÷¡£±¾ÎĽéÉÜOracle9iÏÂͨ¹ýÃüÁîÐÐ
ʵÏÖJobÅäÖÃ......
ÖÚËùÖÜÖª£¬Ò»°ã²Ù×÷ϵͳ»áÌṩ¶¨Ê±Ö´ÐÐÈÎÎñµÄ·½·¨£¬ÀýÈ磺Unixƽ̨ÉÏÌṩÁËÈÃϵͳ¶¨Ê±Ö´ÐÐÈÎÎñµÄÃüÁî
Crontab¡£µ«ÊÇ£¬¶ÔÓÚijЩÐèÇó£¬ÀýÈ磺һЩ¶ÔÊý¾Ý¿â±íµÄ²Ù×÷£¬×îΪµäÐ͵ÄÊÇ֤ȯ½»Ò×ËùÿÈÕÊÕÅ̺óµÄ½áË㣬ËüÉæ¼°´óÁ¿µÄÊý¾Ý¿â±í²Ù×÷£¬Èç¹ûÈÔÈ»ÀûÓòÙ
×÷ϵͳȥ¶¨Ê±Ö´ÐУ¬²»½öÐèÒª´óÁ¿µÄ±à³Ì¹¤×÷£¬¶øÇÒ»¹»á³öÏÖÓû§²»Ò»ÖµÈÔËÐдíÎó£¬ÉõÖÁµ¼Ö³ÌÐòÎÞ·¨Ö´ÐС£
ÊÂʵÉÏ£¬¶ÔÓÚÒÔÉÏÐèÇó£¬ÎÒÃÇ¿ÉÒÔÀûÓÃÊý¾Ý¿â±¾ÉíÓµÓеŦÄÜJob Queue£¨ÈÎÎñ¶ÓÁйÜÀíÆ÷£©È¥ÊµÏÖ¡£JobÔÊÐíÓû§ÌáÇ°µ÷¶ÈºÍ°²ÅÅijһÈÎÎñ£¬Ê¹ÆäÄÜÔÚÖ¸¶¨µÄʱ¼äµã»òʱ¼ä¶ÎÄÚ×Ô¶¯Ö´ÐÐÒ»´Î»ò¶à´Î£¬ÓÉÓÚÈÎÎñÔÚÊý¾Ý¿âÖб»Ö´ÐУ¬ËùÒÔÖ´ÐÐЧÂʺܸߡ£
Job
ÔÊÐíÎÒÃǶ¨ÖÆÈÎÎñµÄÖ´ÐÐʱ¼ä£¬²¢ÌṩÁËÁé»îµÄ´¦Àí·½Ê½£¬»¹¿ÉÒÔͨ¹ýÅäÖ㬰²ÅÅÈÎÎñÔÚϵͳÓû§·ÃÎÊÁ¿ÉÙµÄʱ¶ÎÄÚÖ´ÐУ¬¼«´óµØÌá¸ßÁ˹¤×÷ЧÂÊ¡£ÀýÈ磬¶ÔÓÚÊý¾Ý
¿âÈÕ³£µÄ±¸·Ý¡¢¸üС¢É¾³ýºÍ¸´ÖƵȺÄʱ³¤¡¢Öظ´ÐÔÇ¿µÄ¹¤×÷£¬ÒÔ¼°µçÐÅÔöÖµ¶ÌÐÅÒµÎñÖеĶ¨Ê±PUSH£¬ÎÒÃǾͿÉÒÔÀûÓÃJobÈ¥×Ô¶¯Ö´ÐÐÒÔ¼õÉÙ¹¤×÷Á¿¡£
Ä¿Ç°£¬Á÷ÐеÄÖ÷Á÷Êý¾Ý¿â¶¼ÓµÓдËÏÄÜ£¬×î¾ß´ú±íÐÔµÄÊÇMicrosoft SQL Server 7.0¡¢Oracle8i/9iµÈ¡£µ«ÊÇ£¬ÒªÈÃJob¹¤×÷£¬»¹ÐèÒªÎÒÃǼÓÒÔÅäÖòÅÄÜʵÏÖ¡£ÕâЩÅäÖö¼ÓÐGUI²Ù×÷¡£±¾ÎĽéÉÜOracle9iÏÂͨ¹ýÃüÁîÐÐʵÏÖJobÅäÖá£
Ç°Ì᣺дºÃµÄÒª¶¨Ê±Ö´ÐеĴ洢¹ý³Ì[²»ÄÜ´ø²ÎÊý]¡£
¶¨ ÒåÒ»¸öJob£¬Ö´Ðмä¸ôÊÇÐèҪעÒâµÄÒ»¼þÖØÒªµÄÊÂÇé¡£SYSDATE+1/24 ÊÇ´æ´¢ÔÚdba_jobs
ÊÓͼÖеļä¸ô£¬Ëü¿ÉÒÔ²úÉúûСʱһ´ÎµÄ¿ìÕÕ¡£¿ÉÒÔ½«Õâ¸öÊý¾Ý¸Ä±äΪ²»Í¬µÄ²ÉÑùʱ¼ä£¬ÔÚÒ»ÌìÖÐÓÐ 24*60 = 1440
·ÖÖÓ£¬¿ÉÒÔʹÓÃÕâ¸öÊý×Öµ÷ÕûÖ´ÐдÎÊý¡£±È·½Ëµ£ºÎÒÏ£ÍûÔÚÿ10·ÖÖÓ»ñÈ¡Ò»´Î¿ìÕÕ£¬Ó¦¸ÃʹÓÃÏÂÁÐÃüÁ
execute dbms_job.submit(
:jobno, --×÷Òµ±àºÅ
'sp;', --Ö´ÐеĹý³Ì
trunc(sysdate+10/1440,‘MI'), --Ï´ÎÖ´ÐÐʱ¼ä
'trunc(sysdate+10/1440,‘‘MI'')', --¼ä¸ôʱ¼ä
true, --no_parse
:instno);
1.´´½¨JOB
´´½¨Ò»¸öÈÎÎñ£¬Ö´Ðмä¸ôÊÇÿ5·ÖÖÓ¡£
Variable v_sn number;
Begin
Dbms_job.submit(:v_sn,
‘p


Ïà¹ØÎĵµ£º

ÊìÁ·OracleµÄSqlÓï¾ä±Ø×ö18µÀ

 Ê¹ÓÃscott/tigerÓû§ÏµÄemp±íºÍdept±íÍê³ÉÏÂÁÐÁ·Ï°£¬±íµÄ½á¹¹ËµÃ÷ÈçÏÂ
empÔ±¹¤±í(empnoÔ±¹¤ºÅ/enameÔ±¹¤ÐÕÃû/job¹¤×÷/mgrÉϼ¶±àºÅ/hiredateÊܹÍÈÕÆÚ/salн½ð/commÓ¶½ð/deptno²¿ÃűàºÅ)
dept²¿Ãűí(deptno²¿ÃűàºÅ/dname²¿ÃÅÃû³Æ/locµØµã)
¹¤×Ê £½ н½ð £« Ó¶½ð
1£®ÁгöÖÁÉÙÓÐÒ»¸öÔ±¹¤µÄËùÓв¿ÃÅ
2£®Áгöн½ð±È& ......

oracle±í·ÖÇøÏê½â

http://tianzt.blog.51cto.com/459544/171759
 ´ËÎÄ´ÓÒÔϼ¸¸ö·½ÃæÀ´ÕûÀí¹ØÓÚ·ÖÇø±íµÄ¸ÅÄî¼°²Ù×÷:
        1.±í¿Õ¼ä¼°·ÖÇø±íµÄ¸ÅÄî
        2.±í·ÖÇøµÄ¾ßÌå×÷ÓÃ
        3.±í·ÖÇøµÄÓÅȱµã
 &nbs ......

oracleͳ¼ÆÐÅÏ¢ÊÕ¼¯

http://www.51testing.com/?uid-16403-action-viewspace-itemid-101604
 Í³¼ÆÐÅÏ¢°üÀ¨ÏÂÃ漸Àࣺ
 
±íͳ¼Æ£º°üÀ¨¼Ç¼Êý¡¢blockÊýºÍ¼Ç¼ƽ¾ù³¤¶È¡£
ÁÐͳ¼Æ£ºÁÐÖв»Í¬ÖµµÄÊýÁ¿£¨NVD£©¡¢¿ÕÖµµÄÊýÁ¿ºÍÊý¾Ý·Ö²¼£¨HISTOGRAM£©¡£
Ë÷Òýͳ¼Æ£ºË÷ÒýÒ¶¿éµÄÊýÁ¿¡¢Ë÷ÒýµÄ²ãÊýºÍ¾Û¼¯Òò×Ó£¨CLUSTERING FACTOR£©¡£
ϵͳͳ¼Æ ......

Oracle 10g StatisticÊý¾Ýͳ¼Æ

http://www.ej38.com/showinfo/Oracle-108709.html
 Oracle 10g statisticÊý¾Ýͳ¼Æ,Oracle»á¸ù¾ÝÕâЩͳ¼ÆÐÅÏ¢À´¾ö¶¨ÊÇ×ßRBO(Rule-BasedOptimization)£¬»¹ÊÇ×ßCBO(Cost-BasedOptimization)£¬»áȥѡÔñÄÄÖÖÖ´Ðмƻ®¸ü»®Ëã,Ó°ÏìÊÇ·ñ×ßÏà¹ØµÄË÷ÒýµÈ.Èç¹ûÊÇCBOµÄ»°£¬ËüÒÀ¿¿×¼È·µÄ£¨»òÕß˵±È½Ï׼ȷµÄ£©Í³¼ÆÐÅÏ¢À´²úÉúÓÅ»¯µÄÖ ......

CentOS5.2ÉÏ°²×°Oracle 10g 10.0.2.1.0

×¢Ò⣺ΪSWAP·ÖÅäµÄ¿Õ¼äÒª³¬¹ý1G£¬Òª²»È»ºóÃæ×°Oralce»áÒòΪ¿Õ¼ä²»×ã¶øÎÞ·¨°²×°¡£²¢ÇÒÒª¹Ø±Õ·À»ðǽ£¬¹Ø±ÕSELIINUX
ÐÞ¸ÄhostÎļþ
Hosts File
# vi /etc/hosts
192.168.10.10 oracle oracle.localdomain oracle
127.0.0.1 oracle localhost.localdomain localhost
×¢Ò⣺ÄãÒª°Ñ192.168.10.10¸Ä³ÉÄã×Ô¼ºµÄIP£¬ÎÒÕâÀïÖ»ÊÇ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ