|
OEM,TOAD
¿À¶óŬ¿¡¼´Â OEM ( Oracle Enterprise Manager )¸¦
ÆǸÅÇÕ´Ï´Ù.
±âŸ ´Ù¸¥ ¿©·¯°¡Áö Á¦Ç°µµ ÀÖ°ÚÁÒ. ( ¸Å¿ì ºñ½Ô´Ï´Ù. )
Æ©´×À» À§ÇÑ Á¦Ç° ( PreciseSQL , OEM, ...)
¸ð´ÏÅ͸µÀ» À§ÇÑ Á¦Ç° ( Patrol , ... )
°ü¸®¸¦ ÆíÇÏ°Ô ÇÏ´Â Á¦Ç° ( OEM, ... )
re-org¸¦ À§ÇÑ Á¦Ç° ( Platinum ReOrg , ... )
µîµîÀÌ ÀÖ°ÚÁÒ.
º¸Åë ¿À¶óŬ¿¡¼ ÀÚ½ÅÀÇ ÇÁ·Î±×·¥ÀÌ ¾î¶»°Ô µ¹¾Æ°¡´ÂÁö
º¸´Ù ÀÚ¼¼È÷ ¾Ë°í ½Í´Ù¸é ¸î°¡Áö ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù.
1. ¿¹ÀüÀÇ ¹æ¹ýÀε¥ ÇÁ·Î±×·¥¿¡¼ sql_trace¸¦ °Å´Â ¹æ¹ý
1). ¼¼¼Ç ·¹º§
alter session set timed_statistics = true ;
alter session set sql_trace = true ;
(°³¹ß½Ã °³¹ßÀÚ°¡ ÀÚ½ÅÀÇ ÇÁ·Î±×·¥¿¡ sql_trace¸¦ °É ¶§ ÁÖ·Î »ç¿ë)
exec dbms_system.set_sql_trace_in_session ( sid, serial#, true );
( ÀÌ´Â DBA°¡ ¸ð´ÏÅ͸µ Áß¿¡ ƯÁ¤ ¼¼¼ÇÀÇ sql trace¸¦ ¸¸µé¼ö ÀÖÁÒ.
2) DB ·¹º§
init.ora ÆÄÀÏ¿¡
sql_trace = true
timed_statistics = true
2. 10046 event »ç¿ë
1) ¼¼¼Ç ·¹º§
exec dbms_system.set_ev ( sid, serial#, 10046, 12, \'\' ) ;
ÀÌ·¸°Ô Çϸé sql_trace + wait event + bind variable ÀÇ °ªÀ» ¾Ë¼öÀÖÁÒ.
Âü°í·Î 4¹ø° ÆĶó¸ÞÅÍ´Â ·¹º§Àε¥ 0,4,8,12 °¡ ÀÖ½À´Ï´Ù.
¸î°³ÀÇ ¼¼¼Ç Á¤µµ´Â 12·Î Çصµ ¹«¹æÇϸç, ÀÌ °á°ú ÆÄÀÏ ¿ª½Ã tkprof
·Îµµ ºÐ¼®°¡´É ÇÕ´Ï´Ù. ±×¸®°í 0À¸·Î ¼³Á¤Çϸé trace °¡ ¾È»ý±é´Ï´Ù. (?)
2) process ·¹º§
»ý·«. ( oradebug ¸¦ »ç¿ë )
3) DB ·¹º§
»ý·«.
¿À·£Áö Åø : Key : 57KRLK-8CJ8C-J8CJ7-CJ2CE-5CJ87M8
|