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

¡¾×ª¡¿Oracle¼à¿Ø¹¤¾ß¸ÅÀÀ


Oracle¼à¿Ø¹¤¾ß¸ÅÀÀ
Kaya ·¢±íÓÚ os2ora.com
дÁËLinuxÉϵļà¿ØÓë·ÖÎö¹¤¾ß
Ö®ºó£¬Ð´Ð´OracleÉÏÏàÓ¦µÄ¼à¿ØÓë·ÖÎö¹¤¾ß»¹ÊÇͦÓÐÒâ˼µÄ£¬Ò»·½Ãæ¿ÉÒÔ¸ü¼ÓÍêÕû£¬Ò»·½Ãæ¿ÉÒÔ½øÐкáÏò¶Ô±È¡£
LinuxÉϵÄÐÔÄÜÊý¾ÝÒ»°ã¶¼À´×ÔÓÚ/procÎļþϵͳ£¬¶øOracleÔòÊÇÀ´×ÔÓÚV$ÊÓͼ¡£Òò´Ë£¬ËùÓеÄOracle¼à¿Ø¹¤¾ßµÄʵÏÖ¶¼Íò±ä²»Àë
V$
ÊÓͼ¡£¶øÕâЩ¸öÊÓͼÀïÃ棬×îÖØÒªµÄÓ¦ÍÆv$sysstat¡£ÀïÃæ¼Ç¼×ÅInstanceÒ»¼¶µÄ¸÷¸öͳ¼ÆÊý¾ÝµÄµ±Ç°Öµ£¬ÀýÈçCPUÀûÓÃÇé¿ö£¬Âß¼­
¶Á£¬Redo
SizeµÈµÈ¡£10gºóÓÐÁËÁíÒ»¸öÖØÒªµÄÊÓͼ£¬½Ðv$active_session_history,ͨ¹ýËü¿ÉÒÔÈÝÒ׵صÃÖªµ±Ç°InstanceµÄ»î¶¯×´
̬£¬Ö÷ÒªÊǸ÷¸öʱ¿Ìϵͳ¶¼ÔڵȴýÄÄЩʼþ£¬Í¨¹ý¶ÔÕâЩµÈ´ýʼþºÍÏàÓ¦µÈ´ý´ÎÊýµÄͳ¼Æ£¬¾Í¿ÉÒÔÇåÎúµØÁ˽âϵͳµÄÀúÊ·¹¤×÷¸ºÔØÌØÕ÷ºÍѹÁ¦Çé¿ö¡£Èç¹ûÏë»ñÈ¡µ±Ç°
ÕýÔÚÖ´ÐеÄSQL£¬Ôò¿É²éѯv$sqlÊÓͼ¡£Èç¹ûÏë»ñÈ¡µ±Ç°SQLµÄÖ´Ðмƻ®£¬Ôò¿Éµ÷ÓÃdbms_xplan.display_cursor¡£´ÓÕâ·½Ãæ
½²£¬Ã¿Ò»¸öDBA¶¼¾ß±¸×Åдһ¸öOracleµÄ¼à¿Ø¹¤¾ßµÄÄÜÁ¦¡£ËüÓ¦¸Ã±Èдһ¸öLinuxµÄ¼à¿Ø¹¤¾ßÀ´µÃÈÝÒ×¼òµ¥µÃ¶à¡£
Èç¹û¶Ô¼à¿Ø¹¤¾ß×öÏ·ÖÀàµÄ»°£¬¿ÉÒÔ·Ö³ÉÁ½À࣬һÀàÊÇ»ùÓÚÎı¾Ä£Ê½µÄ£¬Ò»ÀàÊÇ»ùÓÚGUIģʽµÄ¡£´ó²¿·ÖDBA¶¼×Ô¼ºÊÕ¼¯ÁËһЩºÜ³£¼ûµÄ¼à¿Ø½Å±¾£¬ÎÒÏë
¿ÉÒÔ°ÑÕâÒ»Àà¹éΪ»ùÓÚÎı¾Ä£Ê½µÄ¹¤¾ß¡£Îı¾Ä£Ê½µÄºÃ´¦ÔÚÓÚÇáÁ¿¼¶£¬·´Ó¦Ëٶȿ죬±È½ÏÊʺÏÔÚshellģʽϺÍsqlplusЭͬ¹¤×÷¡£´ó²¿·ÖDBA¿ÉÄÜÒ²
±È½ÏÏ°¹ßÕâ¸öģʽ£¬°üÀ¨ÎÒÔÚÄÚ¡£
GUIģʽÓõý϶àµÄ¹¤¾ßÓ¦¸ÃÊÇToad¡£ºÜ²»´íµÄÒ»¸ö¹¤¾ß£¬ÓÃËüÀ´¼à¿Øsessions£¬sessionÕýÔÚÖ´ÐеÄÓï¾ä£¬sessionµÄµÈ´ýʼþÊÇÎÒ×î³£ÓõÄÒ»¸ö¹¦ÄÜ¡£
Ò²ÓÐһЩºóÆðÖ®Ð㣬Óиö¹¤¾ßÒ²ÐíÖµµÃÒ»Ìᣬ½Ð×öDB Optimizer
¡£×îÖ÷ÒªµÄÊÇÕâ¸ö²úÆ·µÄÖ÷Òª²ÎÓëÕߣº²ÎÓëÁË10g EMÀïµÄPerformance PageµÄÖØÐÂÉè¼ÆµÄKyle Hailey
¡£ÒÔÒ»¸ö½Øͼ×öΪ½áβ°É:
±¾ÎÄת×Ô£ºhttp://www.os2ora.com/oracle-monitoring-tool-summary-and-recommend/


Ïà¹ØÎĵµ£º

oracle¸´Ï°£¨Ò»£© Ö®OracleÌåϵ½á¹¹

      ѧϰOracle DBAÒ²°ë¸ö¶àѧÆÚÁË£¬½ñÌìÃÍÈ»²Å·¢ÏÖ£¬Ô­À´ÎÒµÄÊ黹ÊǺÜеģ¬ÉϿβÙ×÷ʱºòÒ²Ö»ÊÇÖªµÀ´ó¸ÅÔõô×ö£¬µ«ÊÇÒªÕæµÄÈ«²¿×Ô¼º×ö£¬¶ø²»È¥·­Ê黹ÊÇÓÐÒ»¶¨µÄÄѶȵģ¬ËùÒÔÄØ£¬½ñÌ쿪ʼ½«DBA´ÓÍ·¸´Ï°Ò»±é£¬Í¬Ê±ÔÙ²Ù×÷Ò»±é¡£
      µÚÒ»Õ£¬Ñ§µÄÊÇOracleµÄÌåϵ½á¹¹£ ......

Oracle±í¿Õ¼ä»Ö¸´ÈÃÄã²»ÔÙµ£ÐÄÊý¾Ý¿â³öÏÖ´íÎó

ѧϰOracleʱ£¬Äã¿ÉÄÜ»áÓöµ½oracle±í¿Õ¼ä»Ö¸´ÎÊÌ⣬ÕâÀォ½éÉÜOracle±í¿Õ¼ä»Ö¸´ÎÊÌâµÄ½â¾ö·½·¨£¬ÔÚÕâÀïÄóöÀ´ºÍ´ó¼Ò·ÖÏíһϡ£
Oracle±í¿Õ¼ä»Ö¸´·½°¸
Ò».Óû§±í¿Õ¼ä
´íÎó:
ÔÚÆô¶¯Êý¾Ý¿âʱ³öÏÖora-01157,ora-01110»ò²Ù×÷ϵͳ¼¶´íÎóÀýÈçora-07360, ÔڹرÕÊý¾Ý¿â(ʹÓÃshutdown normal»òshutdown immediate) ʱ½«µ¼Ö´íÎó ......

oracle³£Óþ­µäSQL²éѯ£¨×ªÔØ£©

³£ÓÃSQL²éѯ£º
1¡¢²é¿´±í¿Õ¼äµÄÃû³Æ¼°´óС
select t.tablespace_name, round(sum(bytes/(1024*1024)),0) ts_size
from dba_tablespaces t, dba_data_files d
where t.tablespace_name = d.tablespace_name
group by t.tablespace_name;
2¡¢²é¿´±í¿Õ¼äÎïÀíÎļþµÄÃû³Æ¼°´óС
select tablespace_name, file_id, ......

centos 4.5Ï°²×°oracle 9204

centos 4.5Ï°²×°oracle 9204
Linux localhost.localdomain 2.6.9-55.ELsmp
Ò»£¬½âѹËõOracle9204µÄ°²×°Îļþ
1£® Oracle 9iR2 (9.2.0.4)
(1) ¼ò»¯¹ý³Ì£¨ÒÔoracleµÇ¼£¬ÊÍ·Å°²×°Îļþ,ʹÓøüÉٵĴÅÅ̿ռ䣬Ëٶȸü¿ì£©  
ÔÚ°²×°LINUXʱ×îºÃ·ÖÒ»¸öÇø/orasetup,ÕâÑùÒ»À´¼´Ê¹ÏµÍ³»µÁË,Ò²Ö»ÊÇÖØװϵͳ,¶øÎÞÐëÖØÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ