oracle ºǫ́½ø³Ì
Ò»¸öʵÀý¿ÉÒÔÓжà¸öºǫ́½ø³Ì,µ«ÊÇ£¬²¢²»ÊÇÿһ¸öºǫ́½ø³Ì¶¼»á³ö³ö£¬Í¨¹ýÊÓͼv$bgprocess¿ÉÒԲ鿴ºǫ́½ø³ÌÐÅÏ¢¡£
Ò»°ãÎÒÃÇÊÇͨ¹ýÒÔÏÂsql²é¿´ºǫ́±ØÐëµÄºǫ́½ø³Ì.
1.²é¿´ºǫ́½ø³Ì
select paddr,name,description
from v$bgprocess
order by paddr desc
£»
2.Õâ¸öÊÓͼÖÐpaddr<>'00'µÄÐж¼ÊÇϵͳÉÏÅäÖúÍÔËÐеĽø³Ì(Ïß³Ì)
select *
from v$bgprocess t
where t.pADDR <>'00'
;
3.ÔÚlinuxϵͳÉÏ£¬Æô¶¯ÊµÀýºó£¬ÓÐÒÔϽø³Ì
ÎÒÊÇÔÚsuse enterprise linux 10°²×°µÄoracle10g£¬£¨²é¿´ÏàÓ¦µÄ°æ±¾ÃüÁîΪlsb_release –a£©
²é¿´ÊµÀýÆô¶¯µÄºǫ́½ø³ÌµÄÃüÁî
ps –aef|grep ‘ora_’
(
×¢Ã÷£ºÕâЩ½ø³ÌµÄÃüÃûÊÇÓйæÂɵÄ.
a.ËùÓеĽø³ÌÃû¶¼ÊÇÒÔora_¿ªÍ·
b.Öм䲿·ÝΪ½ø³ÌµÄ¾ßÌåÃû×Ö
c.×îºóÒ»²¿·ÝΪORACLE_IDÃû³Æ£¬ÒòΪÎҵݲװʱʹÓÃĬÈϵݲװ
£©
4£®½éÉÜÏàÓ¦µÄ¼¸¸öºǫ́½ø³Ì¼°Ïà¹ØµÄ×÷ÓÃ.
a.PMON ½ø³Ì¼àÊÓÆ÷(process monitor)
Õâ¸ö½ø³Ì¸ºÔðÔÚ³öÏÖÒì³£ÖÐÖ¹µÄÁ¬½ÓÖ®ºóµÄÍê³ÉÇåÀí£¬Èç¹ûÄãµÄרÓ÷þÎñÆ÷“ʧ°Ü”,”»òÕß³öÏÖijÖÖÔÒòµÄ³·Ïû”,¾ÍÒªÓÉPMON¸ºÔðÐÞÕý(»Ö¸´»ò³·Ïú¹¤×÷)¡£³ýÁËÉÏÊö¹¦ÄÜÍ⣬PMON»¹¸ºÔð¼àÊÓÆäËûµÄoracle½ø³Ì£¬²¢ÔÚ±ØÒªÊ±ÖØÆôÕâЩºǫ́½ø³Ì.
b.SMON ϵͳ¼àÊÓÆ÷(system monitor)
Çå¿Õ±í¿Õ¼ä£¬ºÏ²¢¿ÕÏпռ䣬Õë¶ÔÔÀ´²»¿ÉÓõÄÎļþ»Ö¸´»î¶¯µÄÊÂÎñ£¬Ö´ÐÐRACÖÐʧ°Ü½ÚµãµÄʵÀý»Ö¸´£¬ÊÕËõ»Ø¹ö¶Î.
c.CKPT ¼ì²éµã½ø³Ì(Checkpoint Process)
¼ì²éµã½ø³Ì²¢²»ÏñËüµÄÃû×ÖËù°µÊ¾µÄÄÇÑùÕæµÄ½¨Á¢¼ì²éµã£¬½¨Á¢¼ì²éµãÖ÷ÒªÊÇDBWnµÄÈÎÎñ£¬CKPTÖ÷ÒªÊǸüÐÂÊý¾ÝÎļþµÄÊײ¿.
d.DBWn Êý¾Ý¿â¿éдÈëÆ÷ (database block writer)
Êý¾Ý¿â¿éдÈë³ÌÐò½«ÔàÊý¾ÝдÈë´ÅÅ̵ĺǫ́½ø³Ì.DBWn»áд³ö»º³åÇø»º´æÖеÄÔà¿é£¬Í¨³£ÊÇΪÁËÔÚ»º´æÖÐÌÚ³ö¸ü¶àµÄ¿Õ¼ä£¬»òÕßÊÇΪÁËÍÆ½ø¼ì²éµã¡£
e.LGWR ÈÕ־дÈëÆ÷(log writer)
LGWR½ø³Ì¸ºÔð½«SGAÖеÄÖØ×öÈÕÖ¾»º³åÇøµÄÄÚÈÝˢгöµ½´ÅÅÌ£¬Èç¹ûÂú×ãÒÔÏÂij¸öÌõ£¬¾Í»á×öÕâ¸ö¹¤×÷¡£
ÿ3Ãë»áË¢ÐÂÊä³öÒ»´Î
ÈκÎÊÂÎñ·¢³öÒ»¸öÌύʱ
ÖØ×öÈÕÖ¾»º³åÇø1/3Âú£¬»òÕß¼º¾º¬1MBµÄ»º³åÊý¾Ý
f.ARCn ¹éµµ½ø³Ì(archive process)
ARCn½ø³ÌµÄÈÎÎñÊÇ£¬µ±LGWR½«ÔÚÏßÖØ×öÈÕÖ¾ÎļþÌîÂúʱ£¬¾Í½«Æä¸´ÖƵ½ÁíÒ»¸öλÖã¬ÕâЩ¹éµµÖØ×öÈÕÖ¾Îļþ¿ÉÒÔÓÃÓÚÍê³É½éÖʻָ´¡£ÔÚÏßÖØ×öÈÕÖ¾ÓÃÓÚ³öµçÔ´¹ÊÕÏ£¨ÊµÀý£©Ê±£¬“ÐÞÕý“Êý¾ÝÎļþ£¬¶ø¹éµµÖØ×öÈÕÖ¾ÎļþËüÊÇÔÚ³öÏÖ
Ïà¹ØÎĵµ£º
ºÃ¾Ã沒ÓÐ來寫Ïà關FormµÄÎÄÕÂÁË¡£
ÏÂÃæ給´ó¼ÒÊÕ¼¯Ò»ÏÂÏà關Oracle FormµÄÏûÏ¢Ìáʾ
FND_MESSAGE.SET_STRING(‘<Message>’)¡£
´ËÏûÏ¢Ò»¶¨Òª結ºÏFND_MESSAGE.SHOW»òFND_MESSAGE.ERROR»òFND_MESSAGE.HINT»òFND_MESSAGE.WARN»òFND_MESSAGE.QUESTIONʹÓòÅÄ ......
¡¡¡¡Ò»¡¢Ê²Ã´ÊÇoracle×Ö·û¼¯
¡¡¡¡Oracle×Ö·û¼¯ÊÇÒ»¸ö×Ö½ÚÊý¾ÝµÄ½âÊ͵ķûºÅ¼¯ºÏ,ÓдóС֮·Ö,ÓÐÏ໥µÄ°üÈݹØÏµ¡£ORACLE Ö§³Ö¹ú¼ÒÓïÑÔµÄÌåϵ½á¹¹ÔÊÐíÄãʹÓñ¾µØ»¯ÓïÑÔÀ´´æ´¢£¬´¦Àí£¬¼ìË÷Êý¾Ý¡£ËüʹÊý¾Ý¿â¹¤¾ß£¬´íÎóÏûÏ¢£¬ÅÅÐò´ÎÐò£¬ÈÕÆÚ£¬Ê±¼ä£¬»õ±Ò£¬Êý×Ö£¬ºÍÈÕÀú×Ô¶¯ÊÊÓ¦±¾µØ»¯ÓïÑÔºÍÆ½Ì¨¡£
¡¡¡¡Ó°ÏìoracleÊý¾Ý¿â×Ö·û¼¯×îÖ ......
ÔÚ¶ÔÊý¾Ý¿â½øÐвÙ×÷¹ý³ÌÖÐÎÒÃÇ¿ÉÄÜ»áÓöµ½ÕâÖÖÇé¿ö£¬±íÖеÄÊý¾Ý¿ÉÄÜÖØ¸´³öÏÖ£¬Ê¹ÎÒÃǶÔÊý¾Ý¿âµÄ²Ù×÷¹ý³ÌÖдøÀ´ºÜ¶àµÄ²»±ã£¬ÄÇôÔõôɾ³ýÕâÐ©ÖØ¸´Ã»ÓÐÓõÄÊý¾ÝÄØ?
¡¡¡¡Öظ´Êý¾Ýɾ³ý¼¼Êõ¿ÉÒÔÌṩ¸ü´óµÄ±¸·ÝÈÝÁ¿£¬ÊµÏÖ¸ü³¤Ê±¼äµÄÊý¾Ý±£Áô£¬»¹ÄÜʵÏÖ±¸·ÝÊý¾ÝµÄ³ÖÐøÑéÖ¤£¬Ìá¸ßÊý¾Ý»Ö¸´·þÎñˮƽ£¬·½±ãʵÏÖÊý¾ÝÈÝÔֵȡ£ ÖØ¸´µÄÊý¾Ý ......
Ë÷Òý×éÖ¯±í£¨IOT£©ÓÐÒ»ÖÖÀàBÊ÷µÄ´æ´¢×éÖ¯·½·¨¡£ÆÕͨµÄ¶Ñ×éÖ¯±íÊÇÒÔÒ»ÖÖÎÞÐòµÄ¼¯ºÏ´æ´¢¡£¶øIOTÖеÄÊý¾ÝÊǰ´Ö÷¼üÓÐÐòµÄ´æ´¢ÔÚBÊ÷Ë÷Òý½á¹¹ÖС£ÓëÒ»°ãBÊ÷Ë÷Òý²»Í¬µÄµÄÊÇ£¬ÔÚIOTÖÐÿ¸öÒ¶½áµã¼´ÓÐÿÐеÄÖ÷¼üÁÐÖµ£¬ÓÖÓÐÄÇЩ·ÇÖ÷¼üÁÐÖµ¡£
ÔÚIOTËù¶ÔÓ¦µÄBÊ÷½á¹¹ÖУ¬Ã¿¸öË÷ÒýÏî°ü ......
select lower( column_name) ||','||'--'||comments
from user_col_comments c
where c.table_name = upper('acc_fundcap')
SELECT * from USER_TAB_COMMENTS WHERE TABLE_NAME='T_META';
INSERT INTO ±íÃû(×Ö¶ÎÃû1, ×Ö¶ÎÃû2) SELECT ×Ö¶ÎÃû1, ×Ö¶ÎÃû2 from ÁíÍâµÄ±íÃû; ......