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

ORACLE´ó±íɨÃè²Ù×÷½â¾ö·½°¸

ºÜ¶àÅóÓÑÔÚʹÓÃORACLE½øÐкǫ́Êý¾Ý´æ´¢Ê±¶¼¿ÉÄÜÓöµ½ÕâÑùµÄÎÊÌ⣬ÄľÍÊÇ£¬Éè¼ÆµÄÊý¾Ý¿âÖв»¿É±ÜÃâµÄÓÐÒ»Á½¸ö±È½Ï´óµÄÊý¾Ý±í£¬ÓÐʱ¿ÉÄܸü¶à£¬Èç¹û¶ÔÕâЩÊý¾Ý±íÖ»½øÐÐINSERT²Ù×÷£¬ÄÄ»¹±È½ÏºÃһЩ£¬¿ÉÊÇÈç¹ûÒª¾­³£½øÐÐÊý¾Ý¸üУ¨UPDATE£©ºÍÊý¾ÝÑ¡È¡£¨SELECT£©£¬ÔÚÊý¾ÝÁ¿±È½ÏÉÙʱ£¬³ÌÐò»¹ÄܹýµÄÈ¥£¬Èç¹ûÊý¾ÝÁ¿Ò»´ó£¬ÉÏÁË°ÙÍòÊýÁ¿¼¶Ê±£¬Èç¹ûÊý¾Ý±íÉè¼Æ²»ºÏÀí£¬Ö´ÐÐUPDATE¾Í»á³öÏÖ¿ÉŵÄÏÖÏó£¨Ò»°ã¶¼Óöµ½¹ý°É£©¡£³ÌÐòÒ²¿ÉÄÜÓÉÓÚ¶Ô´ó±íµÄƵ·±µÄÖ´ÐÐSELECT²Ù×÷¶øµ¼Ö³ÌÐòºÍÊý¾Ý¿âĪÃ÷ÆäÃîµÄÎÊÌ⣬ͬʱ¶ÔÊý¾Ý¿âÀ´Ëµ£¬Ò²ÊÇÒ»±Ê²»¿ÉºôÊӵĿªÏú¡£
ºÇºÇ£¬ÎÒÃǹ«Ë¾ÊÇ×ö¶ÌÐÅÒµÎñµÄ£¨´ó¼Ò¹ýÈ¥³£ËµµÄSP£©£¬ÐèÒª·¢µÄÏÂÐжÌÐÅÁ¿·Ç³£´ó£¬¾­³£Óöµ½ÕâÑùµÄÎÊÌ⡣ΪÁ˽â¾ö´ËÎÊÌ⣬ÎÒ²éÔÄÁËһЩ¹ØÓÚORACLEµÄ×ÊÁÏ£¬¹«Ë¾ÓõÄÊý¾Ý¿âÊÇORACLE 8i£¬·¢ÏÖ8IÓÐÁ½¸öеÄÌØÐÔ£¨´ó¼Ò¿ÉÄܶ¼ÖªµÀ£¬²»¹ý¿ÉÄÜûÓùý£©£¬Ò»ÊÇ8IÊý¾Ý±íÖ§³Ö·ÖÇø¹¦ÄÜ£¬¶þÊÇ8IÖ§³ÖJ***A´æ´¢¹ý³Ì¡£±¾ÈËÑо¿·¢ÏÖ£¬ÀûÓÃÕâÁ½¸öÌØÐÔ£¬×ª»»Ò»Ï±à³Ìģʽ£¬½â¾öÉÏÃæµÄÎÊÌâ¡£
8IÊý¾Ý±íÖ§³Ö·ÖÇø¹¦ÄÜÔÙ½á¹ûË÷ÒýµÄʹÓã¬ÎҾͲ»¶à˵ÁË£¬ºÃ´¦´ó¼Ò¶¼ÖªµÀ£¨ºÇºÇ£¬²»ÖªµÀµÄ¾ÍÈ¥²é²é×ÊÁÏ°É£©¡£ÔÚÕâÀÖ÷Ҫ˵һÏÂÎÒÊÇÔõôת»»±àģʽµÄ¡£¹ýÈ¥£¬ÎÒÃǵijÌÐòÊÇÕâÑùµÄ£¬³ÌÐòΪÁË°ÑÒª·¢¸øÊÖ»úÓû§µÄ¶ÌÐÅÏ¢ÄÚÈÝÏ·¢¸øÓû§£¨¾ÍÊÇͨ¹ýCMPPЭÒé·¢µ½Òƶ¯µÄ¶ÌÐÅÖÐÐÄ£©£¬³ÌÐòҪƵ·±µÄ¶Ô´æ·Å¶ÌÐÅÏ¢µÄ±í½øÐÐɨÃ裬µ¼Ö³ÌÐòºÍÊý¾Ý¿â´óÁ¿Õ¼ÓÃCPU£¬ÎÒ³ÆÕâÖÖ´¦ÀíÏÖÏóΪ  “Ö÷¶¯É¨Ã蔣¬µ±Ê±Ï룬³ÌÐòÄܲ»ÄÜÖ§³Ö“±»¶¯É¨Ãè”ÄØ£¬Èç¹ûûÓÐÊý¾Ý£¬³ÌÐò¾Í²»È¥É¨Ãè±í£¬ÓÐÁËÊý¾Ý£¬ÈÃÊý¾Ý¿â¸æËß³ÌÐòһϣ¬³ÌÐòÔÙÈ¥Êý¾Ý¿âÖжÁÊý¾Ý¡£ÕâÑùÔÙ½áºÏ±í·ÖÇøµÄ¹¦ÄÜ£¬Æä²»ÊÇ´ó´óµÄºÃ°¡¡£¿ÉÕâÐèÒªÊý¾Ý¿âÄÜÖ÷¶¯¸æËß³ÌÐòÓÐÊý¾Ý À²¡£
ÓÚÊÇÎÒÃÇÏëµ½ÁËJ***Aд´æ´¢¹ý³Ì£¬ÒòΪJ***A¿ÉÒÔÓë³ÌÐò½øÐÐͨѶ¡£
ÎÒÃǵÄÏë·¨ÊÇÕâÑùµÄ£¬ÔÚǰ̨³ÌÐòÉϼÓÒ»¸öSOCKET¼àÌý¶Ë¿Ú£¬ÓÃÀ´½ÓÌýÀ´ÖÁÊý¾ÝµÄÃüÁî¡£ÔÚµ÷ÓÃÏò¶ÌÐÅÏ¢±íµÄ¹ý³ÌÖе÷ÓÃÒ»ÏÂJ***A¹ý³Ì£¬ÕâÑù¾Í¿ÉÒÔ·¢Ö¸Áî¸ø³ÌÐòÁË¡£³ÌÐò¾ÍÖªµÀÓÐÊý¾ÝÁË¡£ÕâÑù¾ÍʵÏֵēÖ÷¶¯É¨Ã蔵½“±»¶¯É¨Ã蔵Äת»»¡£ÏÂÃæÊǽDZ¾¡£
J***A½Ç±¾¡£
create or replace and compile j***a source named logj***a as
import j***a.text.*;
import j***a.util.TimeZone;
import j***a.net.*;
import j***a.io.*;
public class LOGJ***A
{
public static String SendMessage(String CMD)
{
  String


Ïà¹ØÎĵµ£º

OracleµÄÔÚÏßÖض¨Òå

Basic Steps for Manual Online Reorganization Commands and procedures used:
1.DBMS_REDEFINITION.CAN_REDEF_TABLE
2.CREATE TABLE …
3.DBMS_REDEFINITION.START_REDEF_TABLE
4.DBMS_REDEFINITION.COPY_TABLE_DEPENDENTS and DBMS_REDEFINITION.CONS_ORIG_PAGRAMS
SELECT object_name,base_table_name, ......

ORACLEÊý¾Ý¿âÓû§ÓëȨÏÞ¹ÜÀí


ORACLEÊǶàÓû§ÏµÍ³£¬ËüÔÊÐíÐí¶àÓû§¹²Ïíϵͳ×ÊÔ´¡£ÎªÁ˱£Ö¤Êý¾Ý¿âϵͳµÄ°²È«£¬Êý¾Ý¿â¹ÜÀíϵͳÅäÖÃÁËÁ¼ºÃµÄ°²È«»úÖÆ¡£

2. 1 ORACLEÊý¾Ý¿â°²È«²ßÂÔ

½¨Á¢ÏµÍ³¼¶µÄ°²È«±£Ö¤
ϵͳ¼¶ÌØȨÊÇͨ¹ýÊÚÓèÓ ......

Oracle ÖеÄÊ÷²éѯºÍ connect by


Oracle ÖеÄÊ÷²éѯºÍ connect by
ʹÓà connect by ºÍ start with À´½¨Á¢ÀàËÆÓÚÊ÷µÄ±¨±í²¢²»ÄÑ£¬Ö»Òª×ñÑ­ÒÔÏ»ù±¾Ô­Ôò¼´¿É£º
ʹÓà connect by ʱ¸÷×Ó¾äµÄ˳ÐòӦΪ£º
select
from
where
start with
connect by
order by
prior ʹ±¨±íµÄ˳ÐòΪ´Ó¸ùµ½Ò¶£¨Èç¹û prior ÁÐÊǸ¸±²£©»ò´ÓÒ¶µ½¸ù£¨Èç¹û prior ÁÐÊǺó´ú£©¡£ ......

ORACLEѧϰ±Ê¼Ç ORACLE£¨»ù±¾ÃüÁ ORACLEµÚÒ»Õ£º


--
²é¿´VGAÐÅÏ¢£º
 show sga;
 
select
 
*
 
from
 v$sgastat;
--
¿ÉÒÔͨ¹ýÒÔϼ¸¸ö¶¯Ì¬ÐÔÄÜÊÓͼ²é¿´ÐÅÏ¢£º
 V$sysstat                ÏµÍ³Í³¼ÆÐÅÏ¢
 V$sesstat  &n ......

ORACLE JOBºÍ´æ´¢¹ý³ÌµÄÏà¹Ø²éѯ

²é¿´Ïà¹ØjobÐÅÏ¢
¡¡¡¡1¡¢Ïà¹ØÊÓͼ
¡¡¡¡dba_jobs
¡¡¡¡all_jobs
¡¡¡¡user_jobs
¡¡¡¡dba_jobs_running °üº¬ÕýÔÚÔËÐÐjobÏà¹ØÐÅÏ¢ ¡¡
²é¿´´æ´¢¹ý³Ì packageµÈÏà¹Ø¹ý³Ì
select * from user_source where text like '%Òª²éµÄÄÚÈÝ%' ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ