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

oracleÌí¼Ó×Ö¶ÎÒýÆðµÄÎÊÌâ

author:skate
time:2010-05-27
oracleÌí¼Ó×Ö¶ÎÒýÆðµÄÎÊÌâ
     ÓÉÓÚͬÊÂÔÚÌí¼ÓÁ˱íµÄ×ֶκó£¬Ã»ÓÐÖØбàÒëÊý¾Ý¿âµÄ¶ÔÏ󣬵¼ÖºÍÕâ¸ö±íÏà¹ØµÄºÜ¶àprocedureºÍpackage¶¼Ê§Ð§¡£
ÓÉÓÚ·¢ÏÖºóÊÇÔÚÐ޸ĺó2¸öСʱ°É£¬¶øÔÚÕâÆÚ¼äºÜ¶à³ÌÐòÔÚµ÷ÓÃÕâЩ¹ý³Ì£¬ÖÂʹºÜ¶à»á»°¶¼½©ËÀÔÚÄÇ£¬ËùÒÔÒ²ÎÞ·¨
ÔÙÖØбàÒë¹ýÈ¥£¬¼°Ê±killÏàÓ¦session½ø³ÌÒ²ÎÞ·¨±àÒ룬ÓÉÓÚÒµÎñÐèÒªÊý¾Ý¿â¿ìËÙÌṩ·þÎñ£¬ÓÚÊǾö¶¨ÖØÆôÊý¾Ý¿â
µ±ÎÒ·¢³öshutdown immediate1·ÖÖÓºó£¬ÓÐÒ»ÖÖ²»ÏéµÄÔ¤¸Ð£¬Êý¾Ý¿âºÜÄѹرգ¬Êý¾Ý¿âÀï´æÔÚactiveÊÂÎñ£¬¶øÇÒÒòΪ
¶ÔÏóʧЧ£¬ËùÒÔÔÚÄÇÒ»Ö±ÅÜ£¨½©ËÀÔÚÄÇ£©£¬ÎҸϽô²é¿´alert.log,ÈçÏÂËùʾ£º
Thu May 27 13:07:19 2010
Thread 1 advanced to log sequence 3666
  Current log# 5 seq# 3666 mem# 0: /u01/oradata/dbtica/redo05.log
Thu May 27 13:59:37 2010
Starting background process EMN0
EMN0 started with pid=53, OS id=12951
Thu May 27 13:59:37 2010
Shutting down instance: further logons disabled
Thu May 27 13:59:37 2010
Stopping background process CJQ0
Thu May 27 13:59:37 2010
Stopping background process QMNC
Thu May 27 13:59:38 2010
Stopping background process MMNL
Thu May 27 13:59:39 2010
Stopping background process MMON
Thu May 27 13:59:41 2010
Shutting down instance (immediate)
License high water mark = 111
Thu May 27 13:59:41 2010
Stopping Job queue slave processes
Thu May 27 13:59:41 2010
Job queue slave processes stopped
Thu May 27 14:04:40 2010
Active call for process 19325 user 'oracle' program 'oracle@ticketA.happypool.cn (TNS V1-V3)'
SHUTDOWN: waiting for active calls to complete.
Thu May 27 14:19:31 2010
MMNL absent for 1206 secs; Foregrounds taking over
´Óalert.logÀï¿ÉÒÔ֤ʵÎÒµÄÏë·¨£¬È·Êµ´æÔÚactiveµÄÊÂÎñ£¬¿´Ñù×Óһʱ°ë»áÊDz»Äܹرյģ¬²¢ÇÒÈç¹ûÊÂÎñÔÚshutdownºó1Сʱ»¹Ã»ÓÐÅÜÍ꣬ϵͳ¾Í×Ô¶¯È¡Ïûshutdown¡£¶øÒµÎñÓÖ¼±ÐèÌṩ¸ø·þÎñ
ÎÒÓÚÊÇÏëÁËÈçϼ¸¸ö·½·¨
1. Óà shutdown abortÇ¿ÖƹرÕ
2. ÓÃkill½ø³ÌµÄ·½·¨ £º ps -ef |grep ora_|awk '{print $2}'| xargs kill -9
3. ʵÔÚ²»ÐоÍreboot£¨¸ù¾ÝÏÖÔÚµÄÇé¿ö£¬²»»áµ½ÕâÒ»²½µÄ£©
ÎÒÓÚÊÇÓÖÄÍÐĵĵÈ10·ÖÖÓ£¬»¹ÊÇûÓз´Ó¦¡£ÎÒ¾ö¶¨Ö´ÐÐshutdown abort £¬ÔÚ¼


Ïà¹ØÎĵµ£º

ÔÚOracleÖм¯³Éjava³ÌÐòµÄ¾­Ñé̸֮£¡

Õâ¶Îʱ¼äΪ¹«Ë¾ÄÚ²¿µÄÊý¾Ý´¦Àí¿ª·¢ÁËÒ»¸ö¹¤¾ß£¬Ç£Éæµ½ÔÚOracleÖм¯³ÉjavaÓ¦Óã¬×ܽáÁËһЩ¾­Ñ飬ÒÔ¹©´ó¼Ò²Î¿¼ÁË£¡
³ÌÐò·ÖÁ½²¿·Ö£¬Ç°¶Ë½çÃæÓÉVB/VC¿ª·¢£¬Ö÷ҪʵÏÖÊý¾Ý´¦ÀíÅäÖü°³£¹æ¼Ç¼ÔËË㣬Õⲿ·ÖûÓÐʲôºÃ˵µÄÁË¡£
ºǫ́ÒÔOracleΪÊý¾Ý»ù´¡´¦ÀíÍйÜƽ̨£¬ÔÚÊý¾Ý´¦Àí¹ý³ÌÖУ¬ÐèÒª¶ÔһЩÃû³Æ¡¢µØַʲôµÄ½øÐÐÕªÒªÌáÈ¡¡¢² ......

oracleµ÷ÓÃjava

create or replace and compile java source named md5util as
import java.security.MessageDigest;
public class MD5Util
{
  public static String encrypt(String s)
  {
       char hexDigits[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', ......

¹ØÓÚOracleÊý¾Ýµ¼Èëµ¼³öµÄһЩ²Ù×÷

OracleÊý¾Ýµ¼Èëµ¼³öimp/exp¾ÍÏ൱ÓÚoracleÊý¾Ý»¹Ô­Ó뱸·Ý¡£expÃüÁî¿ÉÒÔ°ÑÊý¾Ý´ÓÔ¶³ÌÊý¾Ý¿â·þÎñÆ÷µ¼³öµ½±¾µØµÄdmpÎļþ£¬impÃüÁî¿ÉÒÔ°ÑdmpÎļþ´Ó±¾µØµ¼Èëµ½Ô¶´¦µÄÊý¾Ý¿â·þÎñÆ÷ÖС£ ÀûÓÃÕâ¸ö¹¦ÄÜ¿ÉÒÔ¹¹½¨Á½¸öÏàͬµÄÊý¾Ý¿â£¬Ò»¸öÓÃÀ´²âÊÔ£¬Ò»¸öÓÃÀ´ÕýʽʹÓá£
 
Ö´Ðл·¾³£º¿ÉÒÔÔÚSQLPLUS.EXE»òÕßDOS£¨ÃüÁîÐУ©ÖÐÖ´ÐУ¬ ......

Hibernate3²Ù×÷OracleµÄBlob×Ö¶Î

hibernate×÷Ϊһ¸öÓÅÐãµÄOR£­Mapping¹¹¼Ü£¬¶ÔÊý¾Ý¿âµÄ»ù±¾²Ù×÷½øÐÐÁ˱ȽϺõķâ×°£¬Õë¶ÔBlobÀàÐÍ×ֶεIJÙ×÷Ò²²»ÀýÍâ¡£µ«ÍøÉϴ󲿷ÖÄÜÕÒµ½µÄhibernate²Ù×÷BlobµÄÀý³Ì¶¼ÊÇ»ùÓÚhibernate2°æ±¾µÄ£¬Í¬Ê±ÔÚʵ¼Ê²Ù×÷ÖÐÎÒ·¢ÏÖÕë¶Ô²»Í¬µÄÊý¾Ý¿â£¬¿ÉÒÔÓв»Í¬µÄ²Ù×÷·½·¨¡£ÏÂÃ潫hibernate3²Ù×÷oracleµÄBlob×ֶνøÐÐÒ»¸ö½éÉÜ¡£
  ......

oracle¿Í»§¶ËplsqlÉèÖÃ(win7)

oracle¿Í»§¶ËplsqlÉèÖÃ(windows7)  ÔÚwindows7°²×°plsqlÒÔ·ÃÎÊ·þÎñÆ÷ÉϵÄoracleÊý¾Ý¿â
1. ÔÚ¹ÙÍøÏÂÔØoracle database 10g client£¬°²×°Ê±Ñ¡Ôñinstant client£¬°´Ä¬ÈÏÉèÖð²×°
2. °²×°»òʹÓÃÂÌÉ«°æµÄplsql
3. ÔÚplsqlĿ¼ÏÂÕÒµ½(»òн¨)Îļþtnsnames.ora£¬¿ÉÖظ´Ìí¼ÓÈçÏ¶Σº
MYNAME =
(DESCRIPTION =
(ADDRESS_L ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ