µñ¼Å³Ê¸®¿Í µ¿ÀûÀÎ ºä
¿À¶óŬ ¼¹ö´Â V$SYSSTAT ºä¿¡ ¸ðµç ½Ã½ºÅÛ Åë°è¸¦ Ãâ·ÂÇϸç, ¼º´É°ú ¹®Á¦ÇØ°á Á¤º¸¸¦ À§ÇÑ ¸¹Àº ´Ù¸¥
ºäµéÀ» »ç¿ëÇÕ´Ï´Ù. ÀÌµé ºä¸¦ ÁúÀÇÇÏ¿© ÀνºÅϽº°¡ ½ÃÀÛÇÑ ¶§ºÎÅÍ ´©ÀûµÈ ÃÑ Á¤º¸¸¦ ãÀ» ¼ö ÀÖÁö¸¸, ÀÌ°ÍÀº Á¾Á¾ ±×·¸°Ô µµ¿òÀÌ µÇÁö ¾Ê½À´Ï´Ù.
ÀνºÅϽº°¡ Á»Ã³·³ Á¾·áµÇÁö ¾Ê´Â´Ù¸é, Åë°è°¡ ¿À·¡µÇ¾î °ÅÀÇ Àǹ̰¡ ¾ø±â ¶§¹®ÀÔ´Ï´Ù.
¿À¶óŬÀº ¼¼±×¸ÕÆ® ÀúÀåÀå¼Ò(Å×À̺í, Ŭ·¯½ºÅÍ, À妽º,
ÆÄƼ¼Ç) ¹®Á¦¸¦ ÇØ°áÇϴµ¥ µµ¿òÀÌ µÉ DBA_xxx ºä·Î µ¥ÀÌÅÍ ÀúÀåÀå¼Ò Åë°è¸¦ Ãâ·ÂÇÕ´Ï´Ù.
UTLBSTAT ¿Í UTLESTAT À¯Æ¿¸®Æ¼
°¡Àå ¹Ù»Û ½Ã°£À̳ª ¿ù¸»°ú °°ÀÌ Á¤ÀÇµÈ ±â°£ µ¿¾È ¼º´É°ü·Ã ¼öÄ¡¸¦ ¼öÁýÇÏ¿© Çϵå Ä«ÇÇ º¸°í¼¸¦ »êÃâÇØ¾ß ÇÕ´Ï´Ù.
ÀÌÀÏÀº ultbstat.sql°ú ulestat.sql ½ºÅ©¸³Æ®¸¦ »ç¿ëÇÏ¿© ¼öÇàÇÒ ¼ö ÀÖ½À´Ï´Ù.
°æÇèÀÖ´Â
ÄÁ¼³ÅÏÆ®µéÀº º¸Åë ÀÌ À¯Æ¿¸®Æ¼¸¦ »ç¿ëÇÏ¿© µ¥ÀÌÅ͸¦ Æ÷ÂøÇؼ Æ©´× ÇÁ·ÎÁ§Æ®¸¦ ½ÃÀÛÇÕ´Ï´Ù.
Oracle Diagnostics ¹× Tuning Pack ¾ÖÇø®ÄÉÀ̼Ç
¶ÇÇÑ,
±×·¡ÇÈ °¨½Ã, ºÐ¼® ¹× ¿À¶óŬ µ¥ÀÌÅͺ£À̽ºÀÇ ÀÚµ¿ Æ©´×°ú °°Àº ¸¹Àº ¿À¶óŬ ¼º´É °ü¸® ¿µ¿ªÀ» ó¸®ÇÏ´Â À©µµ¿ì ±â¹Ý ¾ÖÇø®ÄÉÀÌ¼Ç ¼¼Æ®ÀÎ
Oracle Diagnostics and Tuning Packs °ú ÇÔ²² Á¦°øµÇ´Â ¿À¶óŬ GUI ÅøµéÀ» »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.
µñ¼Å³Ê¸®¿Í Ư¼ö ºä
µ¥ÀÌÅÍ ÀúÀåÀå¼Ò¸¦ »ó¼¼ÇÏ°Ô º¼ ÇÊ¿ä°¡ ÀÖÀ» °æ¿ì,
Åë°èÀڷḦ ¼öÁýÇÏ°í DBA_xxx¿Í Ư¼ö ºä ¿(column)À» Æ÷ÇÔ½ÃÅ°´Â ANALYZE ¸í·ÉÀ» »ç¿ëÇÒ ÇÊ¿ä°¡
ÀÖ½À´Ï´Ù.
ANALYZE´Â ´ÙÀ½°ú °ü·ÃµÈ ºä ¾È¿¡ ¿µéÀ» Æ÷ÇÔ½Ãŵ´Ï´Ù.
ÀÌ ¸í·ÉÀº 9Àå ¡°¿À¶óŬ ºí·ÏÀÇ È¿À²ÀûÀÎ »ç¿ë¡±¿¡¼ º¸´Ù »ó¼¼ÇÏ°Ô ¼³¸íµË´Ï´Ù.
V$ ºä
X$ Å×À̺í
Àüü ½Ã½ºÅÛ Åë°è
ÀνºÅϽº/µ¥ÀÌÅͺ£À̽º¿¡ ¼ÓÇÏ´Â ºä
¸Þ¸ð¸®¿¡ ¼ÓÇÏ´Â ºä
µð½ºÅ© ¼º´É¿¡ ¼ÓÇÏ´Â ºä
°æÇÕ¿¡ ¼ÓÇÏ´Â ºä
¼¼¼Ç °ü·Ã Åë°è
ÀϹÝÀûÀÎ Àüü ½Ã½ºÅÛ Åë°è
¸ðµç Á¾·ùÀÇ Àüü ½Ã½ºÅÛ Åë°è´Â V$STATNAME ºäÀÇ ¸ñ·Ï¿¡ ¸¸µé¾î Áý´Ï´Ù: ¾à 180°¡ÁöÀÇ
Åë°è
¿À¶óŬ ¼¹ö´Â ¸ðµç °è»êµÈ ½Ã½ºÅÛ Åë°è¸¦ V$SYSSTAT ºä·Î Ãâ·ÂÇÕ´Ï´Ù. ÀÌ ºä¸¦ ÁúÀÇÇÏ¿© ÀνºÅϽº°¡ ½ÃÀÛÇÑ ¶§ºÎÅÍ ´©ÀûµÈ ÃÑ
Åë°è¸¦ ãÀ» ¼ö ÀÖ½À´Ï´Ù.
¿¹
SQL> SELECT name, class, value FROM v$sysstat;
NAME
CLASS VALUE
-------------------- --------
---------
db block gets 8 7687
consistent gets
8 17547
physical reads 8 763
session uga
memory 1 1312236
session pga memory
1 57634176
sorts (memory) 64 497
sorts (disk)
64 0
sorts (rows) 64 605
À̵é Åë°è´Â ´ÙÀ½°ú °°ÀÌ Æ©´× ÁÖÁ¦º°·Î ºÐ·ùµË´Ï´Ù:
SGA ±Û·Î¹ú Åë°è
¿À¶óŬ
¼¹ö´Â ¸ðµç °è»êµÈ ¸Þ¸ð¸® Åë°è¸¦ V$SGASTAT ºä·Î Ãâ·ÂÇÕ´Ï´Ù. ÀÌ ºä¸¦ ÁúÀÇÇÏ¿© ÀνºÅϽº°¡ ½ÃÀÛÇÑ ¶§ºÎÅÍ ´©ÀûµÈ »ó¼¼ÇÑ ÃÑ SGA »ç¿ëÀ»
¾Ë ¼ö ÀÖ½À´Ï´Ù.
¿¹
SQL> SELECT * FROM v$sgastat;
POOL
NAME BYTES
--------------
----------------------------- --------
fixed_sga
46136
db_block_buffers
409600
log_buffer
524288
shared pool free memory
8341616
shared pool table columns
15248
shared pool SYSTEM PARAMETERS
42946
shared pool transactions
64800
shared pool dictionary cache 156524
shared pool library
cache 358660
shared pool sql area
551488
´ë±â À̺¥Æ® Åë°è
¸ðµç Á¾·ùÀÇ
´ë±â À̺¥Æ®´Â V$EVENT_NAME ºäÀÇ ¸ñ·Ï¿¡ ¸¸µé¾î Áý´Ï´Ù: ¾à 136°¡Áö Åë°è
¸ðµç ¼¼¼Ç¿¡ ´ëÇØ ´©ÀûµÈ Åë°è
V$SYSTEM_EVENT¿¡ ÀúÀåµÇ¾î, ÀνºÅϽº°¡ ½ÃÀÛÇÑ ¶§ºÎÅÍÀÇ Æ¯Á¤ À̺¥Æ®¿¡ ´ëÇÑ ÃÑ ´ë±â½Ã°£À» ³ªÅ¸³À´Ï´Ù.
¹®Á¦ÇØ°á ÁßÀ̶ó¸é,
ÇÁ·Î¼¼½º°¡ ÀÚ¿øÀ» ±â´Ù·Á¿Â ½Ã°£À» ¾Ë ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù.
ÀϹÝÀûÀÎ ¼¼¼Ç °ü·Ã Åë°è
¼¼¼Ç µ¥ÀÌÅÍ´Â ¿¬°á½Ã°£ºÎÅÍ ´©ÀûµË´Ï´Ù.
°¢
»ç¿ëÀÚ ·Î±×¿Â¿¡ °üÇÑ Çö ¼¼¼Ç Á¤º¸¸¦ Ãâ·ÂÇÒ ¼ö ÀÖ½À´Ï´Ù.
¶Ç ´Ù¸¥ ºä V$MYSTAT´Â Çö ¼¼¼ÇÀÇ Åë°è¸¦ Ãâ·ÂÇÕ´Ï´Ù.
¿¹: ¼¼¼ÇÀÇ ¿¬°á À¯ÇüÀ» °áÁ¤ÇÕ´Ï´Ù.
SQL> SELECT sid, username, type, server FROM
v$session;
SID USERNAME TYPE
SERVER
-------- ----------------------- ----------- --------
1 BACKGROUND DEDICATED
2
BACKGROUND DEDICATED
3
BACKGROUND DEDICATED
4
BACKGROUND DEDICATED
5
BACKGROUND DEDICATED
9 SYSTEM
USER DEDICATED
10 SCOTT
USER NONE
11 JIM USER
SHARED
¿À¶óŬ ¼¹ö´Â ¸ðµç °è»êµÈ ¼¼¼Ç Åë°è¸¦ V$SESSTAT
ºä·Î Ãâ·ÂÇÕ´Ï´Ù. ÀÌ ºä¸¦ ÁúÀÇÇÏ¿© ÀνºÅϽº°¡ ½ÃÀÛÇÑ ¶§ºÎÅÍ ´©ÀûµÈ ÃÑ ¼¼¼Ç Åë°è¸¦ ãÀ» ¼ö ÀÖ½À´Ï´Ù.
¿¹: 30000 ¹ÙÀÌÆ® ÀÌ»óÀÇ pga ¸Þ¸ð¸®¸¦ ¼ÒºñÇÏ´Â ¼¼¼ÇÀ»
°áÁ¤ÇÕ´Ï´Ù.
SQL> select username,
name, value
2 from v$statname n, v$session s, v$sesstat
t
3 where s.sid=t.sid
4 and
n.statistic#=t.statistic#
5 and
s.type=¡¯USER¡¯
6 and s.username is not
null
7 and n.name=¡¯session pga
memory¡¯
8* and t.value > 30000;
USERNAME
NAME VALUE
---------------- --------------------
-------------
SYSTEM session pga memory 468816
¼¼¼Ç ´ë±â À̺¥Æ® Åë°è
V$SESSION_EVENT ´Â ÀνºÅϽº°¡ ½ÃÀÛÇÑ ¶§ºÎÅÍ ¼¼¼Çº° ƯÁ¤ À̺¥Æ®ÀÇ ÃÑ ´ë±â ¼ö¸¦ ³ªÅ¸³À´Ï´Ù.
V$SESSION_WAIT
ºä´Â È°µ¿ÁßÀÎ ¼¼¼ÇÀÌ ±â´Ù¸®´Â ÀÚ¿øÀ̳ª À̺¥Æ®ÀÇ ¸ñ·ÏÀ» ³ªÅ¸³À´Ï´Ù.
ÇöÀç ¹®Á¦ ÇØ°á ÁßÀ̶ó¸é, ÇÁ·Î¼¼½º°¡ ÀÚ¿øÀ» ±â´Ù·Á ¿Â ½Ã°£À» ¾Ë
ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù. V$SESSION_WAIT ÀÇ ±¸Á¶´Â ¼¼¼ÇÀÇ ´ë±â ¿©ºÎ¿Í ´ë±â ÀÌÀ¯¸¦ ½Ç½Ã°£À¸·Î °Ë»çÇϱ⠽±°Ô µÇ¾î
ÀÖ½À´Ï´Ù.
SQL> select sid,
event
2 from V$SESSION_WAIT
3* where
wait_time = 0;
SID EVENT
----------
---------------------------
1 pmon timer
2 rdbms ipc message
3 rdbms ipc message
9 rdbms ipc message
16 rdbms ipc message
17
rdbms ipc message
10 rdbms ipc message
4 rdbms
ipc message
5 smon timer
9 rows selected.
±×·± ´ÙÀ½, ƯÁ¤ ¸ðµâÀÇ »ç¿ë°ú °°ÀÌ, ´ë±â°¡ ºó¹øÇÏ°Ô ¹ß»ýÇÏ´Â ÁöÀÇ ¿©ºÎ¿Í ´Ù¸¥ Çö»ó°ú »ó°ü°ü°è°¡ ÀÖ´ÂÁöÀÇ
¿©ºÎ¸¦ ¾Ë±â À§ÇÏ¿© ½ÉÃþ Á¶»çÇÒ ¼ö ÀÖ½À´Ï´Ù.
½ÃÀÛ ¹× Á¾·á ½ºÅ©¸³Æ®
µ¿ÀûÀÎ ºä´Â ½ÃÀÛÇÑ ¶§ºÎÅÍ ´©ÀûµÈ ÃÑ Åë°è¸¦ ³ªÅ¸³»Áö¸¸, ÀÌ°ÍÀº Á¾Á¾ ±×·¸°Ô µµ¿òÀÌ µÇÁö ¾Ê½À´Ï´Ù.
ÀνºÅϽº°¡ ´Ù½Ã ½ÃÀÛµÇÁö ¾Ê´Â´Ù¸é, Åë°è°¡ ¿À·¡µÇ¾î °ÅÀÇ Àǹ̰¡ ¾ø±â ¶§¹®ÀÔ´Ï´Ù.
°¡Àå ¹Ù»Û ½Ã°£À̳ª ¿ù¸»°ú °°ÀÌ Á¤ÀÇµÈ ±â°£ µ¿¾È
¼º´É°ü·Ã ¼öÄ¡¸¦ ¼öÁýÇÏ¿© report.txt º¸°í¼¸¦ »êÃâÇØ¾ß ÇÕ´Ï´Ù.
ÀÌÀÏÀº UNIX¿¡¼
$ORACLE_MOME/rdbms/admin µð·ºÅ丮¿Í NT¿¡¼ C:\Orant\Rdbms80\Admin¿¡ ÀúÀåµÈ
utlbstat.sql°ú utlestat.sql ½ºÅ©¸³Æ®¸¦ »ç¿ëÇÏ¿© ¼öÇàÇÒ ¼ö ÀÖ½À´Ï´Ù.
Åë°èÀÚ·á ¼öÁý ½ÃÀÛ
SVRMGR>
@$ORACLE_HOME/rdbms/admin/utlbstat.sql
ÀÌ ½ºÅ©¸³Æ®´Â BEGIN°ú END Å×À̺íÀ» »ý¼ºÇÏ¿© µ¿ÀûÀÎ ¼º´É Å×À̺í(V$xxx)·ÎºÎÅÍ µ¥ÀÌÅÍÀÇ ½º³À¼¦À» Âï¾î Ãʱâ
Åë°èÀڷḦ ¼öÁýÇÏ¿© BEGIN Å×ÀÌºí¿¡ ÀúÀåÇÕ´Ï´Ù.
SVRMGR> create table stats$begin_stats
as select * from
2> v$sysstat where 1=0;
SVRMGR>
create table stats$end_stats as select * from
2>
stats$begin_stats;
»óÅ Å×À̺í¸í |
±âº»À¸·Î ÇÏ´Â °Í |
stats$begin_latch stats$begin_file
|
v$latch |
Åë°è ¼öÁý Á¾·á
SVRMGR>
@$ORACLE_HOME/rdbms/admin/utlestat.sql
SVRMGR> insert into stats$end_latch select * from v$latch;
»óÅ Å×À̺í¸í |
±âº»À¸·Î ÇÏ´Â °Í |
stats$end_stats |
v$sysstat |
ÁÖÀÇ: ½ºÅ©¸³Æ®´Â SYSDBA·Î¼ ¿¬°áµÇ¾î SYSÀÇ µðÆúÆ® Å×ÀÌºí½ºÆäÀ̽º SYSTEM¿¡ Å×À̺íÀ» »ý¼ºÇÕ´Ï´Ù. ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇϱâ Àü¿¡, ÀÌ·¯ÇÑ ¸ñÀûÀ¸·Î »õ·Î¿î Å×ÀÌºí½ºÆäÀ̽º¸¦ »ý¼ºÇÏ°í SYSÀÇ µðÆúÆ® Å×ÀÌºí½ºÆäÀ̽º¸¦ ÀÌ »õ·Î¿î Å×ÀÌºí½ºÆäÀ̽º·Î º¯°æ½ÃÅ°½Ê½Ã¿À. 2°³ÀÇ ½ºÅ©¸³Æ® ½ÇÇàÀ» Á¾·áÇÑ ¶§¿¡´Â, SYSÀÇ µðÆúÆ® Å×ÀÌºí½ºÆäÀ̽º¸¦ SYSTEMÀ¸·Î ´Ù½Ã º¯°æÇϽʽÿÀ.
Report .txt
utlestat.sql ½ºÅ©¸³Æ®¿¡ ÀÇÇÏ¿© »ý¼ºµÈ º¸°í¼´Â DIFFERENCE Å×ÀÌºí¿¡ ÀÏ·ÃÀÇ SELECT
¹®À» Æ÷ÇÔÇÕ´Ï´Ù.
SQL> spool
report.txt;
SQL> select . . . from
stats$lib;
ÁÖÀÇ: ¾Æ·¡ ¼½¼ÇÀº ¿©±â¼ »ó¼¼ÇÏ°Ô ´Ù·çÁö ¾Ê°í,
´Ù¸¥ Àå¿¡¼ ´Ù·ç¾îÁú °ÍÀÔ´Ï´Ù. ÀÌ ¸ñ·ÏÀº À̵é Æ©´× ¿µ¿ª¿¡ Àͼ÷ÇÏ°Ô Çϱâ À§ÇÏ¿© Á¦½ÃµÈ °ÍÀÔ´Ï´Ù.
¶óÀ̺귯¸® ij½¬ Åë°è
¶óÀ̺귯¸®
ij½¬´Â °øÀ¯µÈ SQL°ú PL/SQL ¿µ¿ªÀ» Æ÷ÇÔÇÕ´Ï´Ù.
ÀÌ ¿µ¿ªÀ» Æ©´×ÇÑ´Ù´Â °ÍÀº, ¶óÀ̺귯¸® ij½¬ ½ÇÆа¡ ¿À¶óŬ ¼º´É¿¡ ¿µÇâÀ» ¹ÌÄ£´Ù´Â
°ÍÀ» ŽÁöÇÒ ¶§¸¶´Ù, SQLÀ̳ª PL/SQL¸¦ ó¸®ÇÏ´Â ºÐ¼® ¶Ç´Â ½ÇÇà ´Ü°è¿¡¼ ½ÇÆи¦ ÁÙÀÏ ¼ö ÀÖ´Ù´Â °ÍÀ» ÀǹÌÇÕ´Ï´Ù.
½Ã½ºÅÛ Åë°è
º¸°í¼ÀÇ ÀÌ ¼½¼ÇÀº
°¢ Àüü ½Ã½ºÅÛ Åë°è¿¡ »ç¿ëÀÚ Ä¿¹Ô ´ç ÃÑ ÀÛ¾÷ ¼ö¿Í ·Î±×¿Â´ç ÃÑ ÀÛ¾÷ ¼ö¸¦ ³ªÅ¸³»´Â ÃÑ ÀÛ¾÷ ¼ö¸¦ Á¦°øÇÕ´Ï´Ù. ÀÌ°ÍÀº ¿©·¯ ¿µ¿ªÀ» Æ©´×Çϴµ¥
µµ¿òÀÌ µË´Ï´Ù.
¿¹1: DBWR üũÆ÷ÀÎÆ®
Statistic Total Per Trans Per
Logon
--------------------------- ------ --------- ---------
DBWR
checkpoint buffers wri 219 .46 9.95
DBWR checkpoint write
reque 159 .33 7.23
DBWR üũÆ÷ÀÎÆ®´Â
DBWR¿¡ º¸³»Áø üũÆ÷ÀÎÆ® ¸Þ½ÃÁö ¼ö¸¦ ³ªÅ¸³À´Ï´Ù.
üũÆ÷ÀÎÆ® µ¿¾È I/O Áõ°¡´Â ¼º´É °¨¼ÒÀÇ °á°ú¸¦ ÃÊ·¡ÇÒ ¼ö
ÀÖ½À´Ï´Ù.
init.ora ÆĶó¹ÌÅÍ LOG_CHECKPOINT_INTERVALÀ» Áõ°¡½ÃÄÑ Ã¼Å©Æ÷ÀÎÆ®ÀÇ ¼ö¿Í ºóµµ¸¦ °¨¼Ò½ÃÅ°½Ê½Ã¿À.
±×·¯³ª, µå¹® üũÆ÷ÀÎÆ®´Â µ¥ÀÌÅͺ£À̽º º¹±¸ ½Ã°£À» Áõ°¡½ÃŲ´Ù´Â °ÍÀ» ¸í½ÉÇϽʽÿÀ.
¿¹2: Consistent
gets, db block gets, physical reads
Statistic Total Per Transact Per
Logon
---------------------- -------- ------------
------------
consistent gets 559715 1168.51
25441.59
db block gets 419280 20.77
452.23
physical reads 419280 875.32
19058.18
Consistent gets ´Â FOR UPDATEÀýÀ»
»ç¿ëÇÏÁö ¾Ê´Â ÁúÀǸ¦ À§ÇÏ¿© ¹öÆÛ Ä³½¬¿¡¼ ¾×¼¼½ºµÇ´Â ºí·ÏÀÇ ¼öÀÔ´Ï´Ù.
DB blocks gets´Â INSERT, UPDATE,
SELECT FOR UPDATE ¹®À» À§ÇÏ¿© ¹öÆÛ Ä³½¬¿¡¼ ¾×¼¼½ºµÇ´Â ºí·ÏÀÇ ¼öÀÔ´Ï´Ù.
À̵é ÇÕÀº logical reads ÀÇ
¼öÀÔ´Ï´Ù.
Physical reads´Â ¹°¸®Àû I/O¸¦ À¯¹ß½ÃÅ°´Â ºí·Ï¿¡ ´ëÇÑ ¿äû ¼öÀÔ´Ï´Ù.
ÀûÁß·üÀ» °è»êÇÏ¿©,
database buffer cache ÀÇ Å©±â°¡ ÃæºÐÈ÷ Å«Áö, ¶Ç´Â ¸Þ¸ð¸® ¾È¿¡ ÀÐÀº ºí·ÏÀ» Á¾Á¾ À¯ÁöÇÒ ¼ö ¾ø´ÂÁö¸¦
ŽÁöÇϽʽÿÀ.
´ë±â À̺¥Æ® Åë°è
°¢ ½Ã½ºÅÛ ´ë±â À̺¥Æ®´Â CPU
½Ã°£ÀÇ ºñ¿ëÀ» Ä¡¸£´Â context switchÀÔ´Ï´Ù. ÃÑ ½Ã°£À» Á¶È¸ÇÔÀ¸·Î½á, ¾î¶² °ÍÀÌ ÇÁ·Î¼¼½º°¡ ´ë±â »óÅÂÀÎ º´¸ñÇö»óÀ» ³ªÅ¸³»´ÂÁö °áÁ¤ÇÒ
¼ö ÀÖ½À´Ï´Ù.
·¡Ä¡ Åë°è
¿À¶óŬÀº ·¡Ä¡¸¦
»ç¿ëÇÏ¿© °øÀ¯ Ä¿¼¸¦ À§ÇÑ
¶óÀ̺귯¸® ij½¬³ª ¹öÆÛ Ä³½¬ ³»ÀÇ µ¥ÀÌÅÍ ¹öÆÛ¸¦ À§ÇÑ LRU(Least-Recently-Used, ÃÖÀú»ç¿ëºóµµ) ¸ñ·Ï°ú °°Àº ³»ºÎ ±¸Á¶¿¡
¾×¼¼½ºÇÏ´Â °ÍÀ» ¸·½À´Ï´Ù.
·¡Ä¡ ¿µ¿ªÀ» Æ©´×ÇÏ´Â °Í¿¡´Â ·¡Ä¡ ÇÒ´çÀ» À§ÇÑ °æÇÕÀ» °¨¼Ò½ÃÅ°´Â °ÍÀÌ
Æ÷ÇԵ˴ϴÙ.
·Ñ¹é °æÇÕ Åë°è
Æ®·£Àè¼ÇÀÌ °è¼Ó ¼öÇàµÇ±â Àü¿¡ ·Ñ¹é Çì´õ ³»¿¡¼ ½½·ÔÀ» Â÷ÁöÇϱâ À§ÇÏ¿© ´ë±âÇØ¾ß ÇÒ °æ¿ì, ¼º´ÉÀº
°¨¼ÒÇÕ´Ï´Ù.
ÀÌ ¼½¼ÇÀº ¾ðµÎ(undo) Çì´õ¸¦ À§ÇÑ °æÇÕÀ» °áÁ¤Çϴµ¥ µµ¿òÀÌ µË´Ï´Ù.
¹öÆÛ »ç¿ë Áß ´ë±â Åë°è
ÀÌ ÀÛÀº
¼½¼ÇÀº ¡°¹öÆÛ »ç¿ëÁß ´ë±â¡± ´ë±â À̺¥Æ®°¡ ³ôÀº °æ¿ì, ¾î¶² ºÎ·ùÀÇ ºí·Ï(µ¥ÀÌÅÍ ºí·Ï, ¼¼±×¸ÕÆ® Çì´õ ¶Ç´Â ¾ðµÎ Çì´õ)ÀÇ °æÇÕÀÌ ³ôÀºÁö¸¦
³ªÅ¸³À´Ï´Ù.
µñ¼Å³Ê¸® ij½¬ Åë°è
¸ðµç SQL
À̳ª PL/SQL ¹®Àº µñ¼Å³Ê¸® °´Ã¼¿Í µñ¼Å³Ê¸® ij½¬¿¡ ¾×¼¼½ºÇÒ ¼ö ÀÖ½À´Ï´Ù. µñ¼Å³Ê¸® ij½¬¿¡¼ÀÇ ½ÇÆд I/O ÀÇ Áõ°¡¿Í ¼º´ÉÀÇ ÀúÇϸ¦
°¡Á®¿É´Ï´Ù.
ÀÌ ¿µ¿ªÀ» Æ©´×ÇÏ´Â °ÍÀº µñ¼Å³Ê¸® ij½¬ ½ÇÆи¦ °¨¼Ò½ÃÅ°´Â °ÍÀ» ÀǹÌÇÕ´Ï´Ù.
ÀÌ ¼½¼ÇÀº ij½¬µÈ Ç׸ñÀÇ °¢
À¯Çü¿¡ ´ëÇØ ¼º°ø°ú ½ÇÆи¦ ³ªÅ¸³À´Ï´Ù.
µ¥ÀÌÅÍ ÆÄÀÏ/Å×ÀÌºí½ºÆäÀ̽º ´ç I/O Åë°è
ÀÌ ¼½¼ÇÀº °¢ µ¥ÀÌÅÍÆÄÀÏ°ú
Å×ÀÌºí½ºÆäÀ̽º¿¡ ´ëÇÑ À̵é ÀÛ¾÷À» À§ÇØ ¼Ò¿äµÈ ½Ã°£ÀÇ ¾ç, ¹°¸®Àû Àбâ/¾²±â ¼ö, ¹°¸®Àû ºí·Ï Àбâ/¾²±â ¼ö¸¦ °è»êÇÏ¿©,
¿©·¯ µð½ºÅ© µå¶óÀ̺꿡 ÆÄÀÏ I/O ¸¦ ºÐ»ê½ÃÅ°´Â ¹æ¹ýÀ» ³ªÅ¸³À´Ï´Ù.
ÃøÁ¤ ±â°£
ÀÌ ¼½¼ÇÀº
utlbstat°¡ ½ÃÀÛ °ü·Ã Åë°è¸¦ ¼öÁýÇϱ⠽ÃÀÛÇÑ ½Ã°£°ú utlestat°¡ Á¾·á °ü·Ã Åë°è¸¦ ¼öÁýÇϱ⠽ÃÀÛÇÑ ½Ã°£À» ³ªÅ¸³À´Ï´Ù.
Report .txt Ãâ·Â
report.txtÀÇ Ã¹¹ø° ¼½¼ÇÀÇ
¿¹Á¦ÀÔ´Ï´Ù.
Report .txt Ãâ·Â
report.txtÀÇ ¸¶Áö¸· ¼½¼ÇÀÇ
¿¹Á¦ÀÔ´Ï´Ù.
Event Management ½Ã½ºÅÛ
Event Management(EM) ½Ã½ºÅÛÀº ´ÙÀ½ ÀÛ¾÷¿¡ À¯¿ëÇÕ´Ï´Ù.
EM ÀúÀå¼Ò Å×ÀÌºí¿¡´Â ´ÙÀ½ »çÇ×ÀÌ µé¾î ÀÖ½À´Ï´Ù.
¹Ì¸® Á¤ÀÇµÈ À̺¥Æ® Å×½ºÆ® ¹üÁÖ
´ÙÀ½ 4°³ÀÇ ½½¶óÀ̵忡´Â °áÇÔ, °ø°£, ÀÚ¿ø ¹× ¼º´É Æ©´× ¿µ¿ªÀÇ À̺¥Æ® Å×½ºÆ®¿¡ ´ëÇÑ ³»¿ëÀÌ ÀÚ¼¼È÷ ³ª¿Í ÀÖ½À´Ï´Ù. °¨»ç °ü¸® Å×½ºÆ® ¹üÁÖ´Â Æ©´× ¹üÀ§¿¡ ¼ÓÇÏÁö ¾Ê½À´Ï´Ù.
°áÇÔ °ü¸® À̺¥Æ®
ÀÌ Å×½ºÆ®´Â µ¥ÀÌÅͺ£À̽º ¶Ç´Â ³ëµå ·¹º§¿¡¼ ¹ß»ýÇÒ ¼ö ÀÖ´Â °áÇÔÀ» ÁÖ·Î ¸ð´ÏÅÍÇÕ´Ï´Ù. °áÇÔ °ü¸® Å×½ºÆ®¿¡´Â ´ÙÀ½°ú °°Àº °ÍÀÌ ÀÖ½À´Ï´Ù.
°ø°£ °ü¸® À̺¥Æ®
ÀÌ Å×½ºÆ®¿¡¼´Â ½Ã½ºÅÛ ¶Ç´Â µ¥ÀÌÅͺ£À̽º¿¡¼ÀÇ µð½ºÅ© °ø°£ ¿ä±¸ »çÇ×À» ÁÖ·Î ¸ð´ÏÅÍÇÕ´Ï´Ù. °ø°£ °ü¸® Å×½ºÆ®¿¡´Â ´ÙÀ½°ú °°Àº °ÍÀÌ ÀÖ½À´Ï´Ù.
ÀÚ¿ø °ü¸® À̺¥Æ®
ÀÌ Å×½ºÆ®¿¡¼´Â µ¥ÀÌÅͺ£À̽º ÀÚ¿ø »ç¿ëÀ» ¸ð´ÏÅÍÇÕ´Ï´Ù. ÀÚ¿ø °ü¸® Å×½ºÆ®¿¡´Â ´ÙÀ½°ú °°Àº °ÍÀÌ ÀÖ½À´Ï´Ù.
¼º´É °ü¸® À̺¥Æ®
ÀÌ Å×½ºÆ®¿¡¼´Â ÁÖ·Î µ¥ÀÌÅͺ£À̽º Æ©´× Åë°è¸¦ ¸ð´ÏÅÍÇÕ´Ï´Ù. ¼º´É °ü¸® Å×½ºÆ®¿¡´Â ´ÙÀ½°ú °°Àº °ÍÀÌ ÀÖ½À´Ï´Ù.
¹Ì¸® Á¤ÀÇµÈ À̺¥Æ® »ç¿ë¹ý
´ÙÀ½ ÀýÂ÷¸¦ µû¸£¸é °ü¸®µÇ´Â ¸ðµç ³ëµå¿¡ À̺¥Æ®¸¦ »ý¼ºÇÒ ¼ö ÀÖ½À´Ï´Ù.
ºóµµ
°¢ À̺¥Æ®¿¡¼ ºóµµ´Â ÀÎÅÚ¸®ÀüÆ® ´ëÇàÀÚ°¡ À̺¥Æ® Á¶°ÇÀ» °Ë»çÇÏ´Â Áֱ⸦ °áÁ¤ÇÕ´Ï´Ù. °ü¸®ÀÚ´Â ±âÁ¸ À̺¥Æ®¸¦ ¼öÁ¤Çϰųª »õ À̺¥Æ®¸¦ »ý¼ºÇÏ¿© ºóµµ¸¦ Á¶Á¤ÇÒ ¼ö ÀÖ½À´Ï´Ù.
Ç®´Ù¿î ¸ñ·Ï¿¡¼ À̺¥Æ®¸¦ ¸ð´ÏÅÍÇÏ´Â ºóµµ¸¦ ¼±ÅÃÇÏ¿© À̺¥Æ® Á¶°ÇÀ» °Ë»çÇÏ´Â Áֱ⸦ °áÁ¤ÇÕ´Ï´Ù. À̺¥Æ® ÀÓ°è°ªÀÌ ÁöÁ¤ÇÑ ºóµµº¸´Ù ´õ ±ä ½Ã°£ µ¿¾È ÁöÁ¤ÇÑ ·¹º§ ÀÌ»óÀ¸·Î À¯ÁöµÇ¸é »õ ¾Ë¸²ÀÌ Àü¼ÛµÇÁö ¾Ê½À´Ï´Ù. ±×·¯³ª Á¶°ÇÀÌ ÁÖÀÇ¿¡¼ °æ°í·Î(¶Ç´Â °æ°í¿¡¼ ÁÖÀÇ·Î) ¹Ù²î¸é »õ ¾Ë¸²ÀÌ Àü¼ÛµË´Ï´Ù.
¸Å°³º¯¼ö
Fixit ÀÛ¾÷
Fixit ÀÛ¾÷Àº À̺¥Æ® ¹ß»ý ½Ã ¹®Á¦¸¦ ÇØ°áÇϱâ À§ÇØ »ý¼ºÇÏ´Â ÀÚµ¿ ¶Ç´Â ¼öµ¿ ÀÛ¾÷À» ¸»ÇÕ´Ï´Ù. ´ÙÀ½ µÎ ¹æ¹ý Áß Çϳª¸¦ »ç¿ëÇÏ¿© À̺¥Æ®°¡ °¨ÁöÇÑ ¹®Á¦¸¦ ÇØ°áÇÒ ¼ö ÀÖ½À´Ï´Ù.
Âü°í
In-House ½ºÅ©¸³Æ®
À¯Æ¿¸®Æ¼ ¹× Oracle Åø¿¡¼ ÇÊ¿ä·Î ÇÏ´Â ¸ðµç Åë°è¸¦ Á¦°øÇÒ ¼ö´Â ¾øÀ» °ÍÀÔ´Ï´Ù. ±×·¯¹Ç·Î ´ÙÀ½À» ¼öÇàÇÏ·Á¸é ½º½º·Î ½ºÅ©¸³Æ®¸¦ »ý¼ºÇÒ ¼ö ÀÖ¾î¾ß ÇÕ´Ï´Ù.
Oracle Diagnostics ¹× Tuning Pack
Ç¥ÁØ EM Á¦Ç° ÀÌ¿Ü¿¡µµ Diagnostics ¹× Tuning packÀº ½Ç½Ã°£ ±×·¡ÇÈ ¼º´É Á¤º¸¸¦ Á¦°øÇÏ¸é¼ Oracle µ¥ÀÌÅͺ£À̽º¿¡ ´ëÇÑ ±×·¡ÇÈ ¸ð´ÏÅÍ, ºÐ¼® ¹× ÀÚµ¿ Æ©´× µîÀÇ ¸¹Àº Oracle ¼º´É °ü¸® ºÐ¾ß¸¦ ´Ù·ç´Â Windows ±â¹Ý ÅëÇÕ ¸ð´ÏÅÍ ¹× Æ©´× ÀÀ¿ë ÇÁ·Î±×·¥À» ¼±Åà »çÇ×À¸·Î Á¦°øÇÕ´Ï´Ù.
Performance Manager
½Ç½Ã°£À¸·Î µ¥ÀÌÅͺ£À̽º ¼º´ÉÀ» ¸ð´ÏÅÍÇÏ´Â ±â´ÉÀ» Á¦°øÇÕ´Ï´Ù. »ç¿ëÀÚ, ó¸® ´É·Â, Å×ÀÌºí½ºÆäÀ̽º, ¸®µÎ ·Î±×, ¹öÆÛ, ij½Ã ¹× I/O¿¡ ´ëÇØ ¸Å¿ì ´Ù¾çÇÑ µ¥ÀÌÅͺ£À̽º ¼º´É Åë°è¸¦ Ç¥½ÃÇÏ´Â ¼ö½Ê °³ÀÇ ¹Ì¸® Á¤ÀÇµÈ Â÷Æ®¸¦ Á¦°øÇÕ´Ï´Ù.
TopSessions
¿¬°áµÈ ¼¼¼Ç¿¡¼ µ¥ÀÌÅͺ£À̽º ÀνºÅϽº ÀÚ¿øÀ» »ç¿ëÇÏ´Â ¹æ½ÄÀ» ½Ç½Ã°£À¸·Î ¸ð´ÏÅÍÇÕ´Ï´Ù. ¼±ÅÃÇÑ Åë°è¿¡ µû¶ó Á¤·ÄµÈ »óÀ§ n°³ÀÇ ¼¼¼ÇÀ» Ç¥½ÃÇÏ¿© ¼¼¼Ç ÀÛ¾÷¿¡ ´ëÇÑ °³¿ä¸¦ º¼ ¼ö ÀÖ½À´Ï´Ù.
¶ÇÇÑ µ¿ÀÏÇÑ ÀÚ¿ø¿¡ ¾×¼¼½ºÇÏ´Â »ç¿ëÀÚ °£ÀÇ Æı«ÀûÀÎ ÇàÀ§¸¦ ¸·±â À§ÇÑ ¹æ½ÄÀÎ Àá±ÝÀ» ¸ð´ÏÅÍÇÒ ¼ö ÀÖ½À´Ï´Ù.
Oracle Trace Manager
ÀÌ ÀÀ¿ë ÇÁ·Î±×·¥À» »ç¿ëÇÏ¸é ¿©·¯ ÀÀ¿ë ÇÁ·Î±×·¥¿¡¼ ¹ß»ýÇÏ´Â À̺¥Æ®¿¡ ´ëÇÑ µ¥ÀÌÅ͸¦ ¼öÁýÇÏ¿© ¼º´ÉÀ» ¸ð´ÏÅÍÇÒ ¼ö ÀÖ½À´Ï´Ù. µ¥ÀÌÅÍ ¼öÁýÀÌ ¹ß»ýÇϵµ·Ï ÇÏ·Á¸é Oracle Trace ·çƾ È£ÃâÀÌ ÀÌ ÀÀ¿ë ÇÁ·Î±×·¥¿¡ Æ÷ÇԵǾî ÀÖ¾î¾ß ÇÕ´Ï´Ù.
Oracle Trace Data Viewer
ÀÌ ÀÀ¿ë ÇÁ·Î±×·¥À» »ç¿ëÇϸé ÃßÀû Çü½Ä Ãâ·ÂÀ» º¼ ¼ö ÀÖ°í ÀûÀýÇÑ Æ©´× ¶Ç´Â ±¸¼º °áÁ¤À» ÇÒ ¼ö ÀÖ½À´Ï´Ù.
Capacity Planner
ÀÌ ÀÀ¿ë ÇÁ·Î±×·¥À» »ç¿ëÇϸé ÇöÀç ÀÛ¾÷ ·Îµå¸¦ ±â¹ÝÀ¸·Î ½Ã½ºÅÛ ÀÚ¿ø °èȹÀ» ¼ö¸³ÇÒ ¼ö ÀÖ½À´Ï´Ù.
Tablespace Manager
ÀÌ ÀÀ¿ë ÇÁ·Î±×·¥À» »ç¿ëÇÏ¸é µ¥ÀÌÅͺ£À̽º ÀúÀå ¿µ¿ªÀ» ¸ð´ÏÅÍ ¹× °ü¸®ÇÒ ¼ö ÀÖ½À´Ï´Ù. Å×ÀÌºí½ºÆäÀ̽º »ç¿ë Á¤º¸ °³¿ä¸¦ Ç¥½ÃÇÒ ¼ö ÀÖÀ¸¸ç º´ÇÕ ±â´ÉÀ» »ç¿ëÇÏ¿© ÀÎÁ¢ÇÑ »ç¿ë °¡´É ºí·ÏÀ» ¹À» ¼ö ÀÖ½À´Ï´Ù.
SQL Analyze
ÀÌ ÀÀ¿ë ÇÁ·Î±×·¥À» »ç¿ëÇϸé SQL ÀÀ¿ë ÇÁ·Î±×·¥À» Æ©´×ÇÒ ¼ö ÀÖ½À´Ï´Ù.
Oracle Expert
ÀÌ ÀÀ¿ë ÇÁ·Î±×·¥À» »ç¿ëÇÏ¸é µ¥ÀÌÅͺ£À̽º ȯ°æ ¼º´ÉÀ» ÃÖÀûÈÇÒ ¼ö ÀÖ½À´Ï´Ù. Oracle Expert´Â µ¥ÀÌÅͺ£À̽º Ãʱ⠱¸¼º ¹× ±âÁ¸ µ¥ÀÌÅͺ£À̽ºÀÇ ¼º´É Ư¡À» ¼öÁýÇÏ°í Æò°¡ÇÏ´Â ÀÛ¾÷À» Áö¿øÇÕ´Ï´Ù. ÀÌ ÅøÀº Áï½Ã ±¸ÇöÇÒ ¼ö ÀÖ´Â Æ©´× ±ÇÀå »çÇ×À» Á¦°øÇÕ´Ï´Ù.
Performance Manager Ư¼º
Performance Manager ÀÀ¿ë ÇÁ·Î±×·¥Àº ¼º´É µ¥ÀÌÅ͸¦ ½Ç½Ã°£ ±×·¡ÇÈ ºä·Î ĸó, °è»ê ¹× Ç¥½ÃÇϸç, »ç¿ëÀÚ´Â ÀÌ ºä¸¦ »ç¿ëÇÏ¿© ´ÙÀ½ ÀÛ¾÷¿¡ ÇÊ¿äÇÑ ÁÖ¿ä »çÇ×À» ¸ð´ÏÅÍÇÒ ¼ö ÀÖ½À´Ï´Ù.
½Ç½Ã°£ ¸ðµå·Î Ç¥½ÃµÇ´Â µ¥ÀÌÅÍ´Â ÀúÀåÇÏ¿© Àç»ýÇÒ ¼ö ÀÖ½À´Ï´Ù.
»õ Â÷Æ®¸¦ Á¤ÀÇÇÒ ¼ö ÀÖÀ¸¸ç ¸¹Àº ¹üÁÖÀÇ Â÷Æ®¸¦ Æ÷ÇÔÇϴ âÀ» Ç¥½ÃÇÒ ¼ö ÀÖ½À´Ï´Ù.
ÀÏ°ö °¡ÁöÀÇ ¹Ì¸® Á¤ÀÇµÈ Â÷Æ® ¹üÁÖ¸¦ »ç¿ëÇÏ¿© Ç¥½ÃÇÒ ¼ö ÀÖ½À´Ï´Ù. °¢ ¹üÁÖ¿¡´Â »óÀ§ ÁÖÁ¦¿¡ ÃÊÁ¡À» ¸ÂÃá ÀÏ·ÃÀÇ Æ¯Á¤ Â÷Æ®µéÀÌ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù.
Lock Manager
Locks, Blocking / Waiting Locks ¹× User Type Locks Â÷Æ®¸¦ Æ÷ÇÔÇÕ´Ï´Ù.
I/O
File I/O Rate, File I/O Rate Details, Network I/O Rate ¹× System I/O Rate Â÷Æ®¸¦ Æ÷ÇÔÇÕ´Ï´Ù.
Contention
Circuit, Dispatcher, Free List Hit %, Latch, Lock, Queue, Redo Allocation Hit %, Rollback NoWait Hit % ¹× Shared Server Â÷Æ®¸¦ Æ÷ÇÔÇÕ´Ï´Ù.
Database Instance
Process, Session, System Statistics, Table Access, Tablespace, Tablespace Free Space, # Users Active, # Users Logged on, # Users Waiting, # Users Waiting for Locks ¹× # Users Running Â÷Æ®¸¦ Æ÷ÇÔÇÕ´Ï´Ù.
Load
Buffer Gets Rate, Network Bytes Rate, Redo Statistics Rate, Sort Rows Rate, Table Scan Rows Rate ¹× Throughput Rate Â÷Æ®¸¦ Æ÷ÇÔÇÕ´Ï´Ù.
Memory
Buffer Cache Hit %, Data Dictionary Cache Hit %, Library Cache Hit %, Library Cache Details, SQL Area, Memory Allocated, Memory Sort Hit %, Parse Ratio ¹× Read Consistency Hit % Â÷Æ®¸¦ Æ÷ÇÔÇÕ´Ï´Ù.
Top Resource Consumers
Top Resource Consumers´Â µ¥ÀÌÅͺ£À̽º ¼ºñ½º¿¡ ´ëÇØ ¹Ì¸® Á¤ÀǵǾî ÀÖ´Â Â÷Æ®ÀÔ´Ï´Ù.
Overview of Performance
ÀÌ °³¿ä´Â ´Ù¸¥ ¿©·¯ ¹üÁÖ¿¡¼ °¡Àå ¸¹ÀÌ »ç¿ëµÇ´Â Â÷Æ®¸¦ Á¶ÇÕÇÏ¿© Ç¥½ÃÇÕ´Ï´Ù. °³¿ä Â÷Æ®¸¦ »ç¿ëÇÏ¿© µ¥ÀÌÅͺ£À̽º ÀÛ¾÷À» ÀüüÀûÀ¸·Î ÀÌÇØÇÑ ÈÄ ÇÊ¿ä¿¡ µû¶ó Á» ´õ ±¸Ã¼ÀûÀÎ º¸°í¼·Î µå¸± ´Ù¿îÇϽʽÿÀ. ´ÙÀ½ Ç׸ñÀÌ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù.
Overview of Throughput
ÀÌ°ÍÀº Overview of Performance Ŭ·¡½º¿¡ ´ëÇÑ ±×·ì Â÷Æ®ÀÔ´Ï´Ù. ¾ÆÀÌÄÜÀº ³× °³ÀÇ ÀÛÀº ¸·´ë ±×·¡ÇÁ ¸ð¾çÀÔ´Ï´Ù.
Overview of Cache Utilization
ÀÌ ±×·ì Â÷Æ®´Â Buffer Cache Hit %, Library Cache Hit %, Data dictionary Cache Hit %, Memory Sort Hit % ¹× Rollback (Nowait) Hit % Â÷Æ®¸¦ Æ÷ÇÔÇÕ´Ï´Ù.
User-Defined
»ç¿ëÀÚ°¡ Á¤ÀÇÇÑ Â÷Æ®°¡ ÀÖ´Â °æ¿ì, ÀÌ ¹üÁÖ¸¦ »ç¿ëÇÏ¿© »ç¿ëÀÚ°¡ Á¤ÀÇÇÑ Â÷Æ®¸¦ ¼±ÅÃÇÒ ¼ö ÀÖ½À´Ï´Ù.
TopSessions Ư¼º
DBA´Â Á¾Á¾ ÀÏ¹Ý µ¥ÀÌÅͺ£À̽º ¸ð´ÏÅÍ¿¡¼ Á¦°øÇÏ´Â Á¤º¸º¸´Ù ´õ ¸¹Àº Á¤º¸¸¦ ÇÊ¿ä·Î ÇÕ´Ï´Ù. ¿¹¸¦ µé¾î, DBA°¡ Performance Manager¸¦ ÅëÇÏ¿© ÆÄÀÏ I/O ¹®Á¦¸¦ °¨ÁöÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌ °æ¿ì °¡Àå ¸¹Àº I/O ÀÛ¾÷À» ¹ß»ý½ÃÅ°°í Àִ ƯÁ¤ »ç¿ëÀÚ ¼¼¼ÇÀÌ ¾î´À °ÍÀÎÁö ¾Ë¸é ½Å¼ÓÇÏ°Ô ¹®Á¦¸¦ ÇØ°áÇÏ´Â µ¥ µµ¿òÀÌ µÉ °ÍÀÔ´Ï´Ù.
TopSessions´Â ´ÙÀ½ »çÇ×À» ¸ð´ÏÅÍÇÏ´Â ÅøÀÔ´Ï´Ù.
°³¿ä Ç¥½Ã
TopSessions âÀº µ¥ÀÌÅͺ£À̽º¿¡ ¿¬°áµÇ¾î ÀÖ´Â ÀÏÁ¤ ¼öÀÇ »ç¿ëÀÚ ¼¼¼ÇÀ» ƯÁ¤ÇÑ Á¤·Ä ¼ø¼(±¸¼º °¡´É)·Î Ç¥½ÃÇÕ´Ï´Ù. âÀº ´ÙÀ½°ú °°Àº ±â´ÉÀ» °®°í ÀÖ½À´Ï´Ù.
Details â(Statistics Filter)
¸ðµç ¼¼¼ÇÀ» µå¸± ´Ù¿îÇÏ¿© TopSessions Details âÀ» ¿ ¼ö ÀÖ½À´Ï´Ù.
Statistics Filter ÇʵåÀÇ °ªÀ» ¼±ÅÃÇÏ¿© ¸ð´ÏÅÍÇÒ Åë°è ±×·ìÀ» ÁöÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. ±×·¯¸é Sort Statistics Çʵ尡 ÇØ´ç ±×·ì¿¡ ¼ÓÇÏ´Â ¸ðµç Åë°è·Î ä¿öÁý´Ï´Ù. ¾Æ·¡¿¡¼´Â °¢ Åë°è ÇÊÅ͸¦ ÇØ´ç ±×·ì¿¡ ¼ÓÇÏ´Â ¸î¸î Åë°è¿Í ÇÔ²² ¼³¸íÇÕ´Ï´Ù(V$STATNAMEÀÏ °æ¿ì).
TopSessions Details(TSD): Locks ÆäÀÌÁö
Locks ÆäÀÌÁö¿¡´Â ÁÖ·Î V$LOCK °íÁ¤ ºä¿¡ ÀÖ´Â Á¤º¸°¡ Ç¥½ÃµË´Ï´Ù. ÀÌ ÆäÀÌÁöÀÇ ÁÖ¿ä Á¤º¸´Â ´ÙÀ½°ú °°½À´Ï´Ù.
Locks ÆäÀÌÁö Çʵå
Locks ÆäÀÌÁö¸¦ ±¸¼ºÇÏ´Â °¢ ÇàÀÇ Çʵå´Â ´ÙÀ½°ú °°½À´Ï´Ù.
Tablespace Manager Ư¼º
report.txt Ãâ·ÂÀÇ I/O ¼½¼ÇÀ» ÅëÇØ ºÎÀûÀýÇÑ Å×ÀÌºí½ºÆäÀ̽º ±¸¼ºÀ¸·Î ÀÎÇÑ µ¥ÀÌÅͺ£À̽º ¼º´É ¹®Á¦¸¦ ÀǽÉÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌ·¯ÇÑ °æ¿ì Oracle Tablespace Manager¸¦ »ç¿ëÇÏ¿© µ¥ÀÌÅͺ£À̽º ÀúÀå ¿µ¿ªÀ» ¸ð´ÏÅÍÇÏ°í °ü¸®ÇÒ ¼ö ÀÖ½À´Ï´Ù.
´ÙÀ½ »çÇ×À» µå¸± ´Ù¿îÇÒ ¼ö ÀÖ½À´Ï´Ù.
¸¹Àº ´Ù¸¥ ÅøµéÀº µ¥ÀÌÅͺ£À̽ºÀÇ ³í¸®ÀûÀÎ Ãø¸éÀ» ´Ù·çÁö¸¸ Tablespace Manager´Â µ¥ÀÌÅͺ£À̽ºÀÇ ¹°¸®Àû Ãø¸éÀ» ´Ù·ì´Ï´Ù.
Trace Manager Ư¼º
Oracle Trace Manager´Â ´Ù¸¥ ¼ÒÇÁÆ®¿þ¾î Á¦Ç° ¹× ÀÀ¿ë ÇÁ·Î±×·¥¿¡¼ ¼º´É ¹× ÀÚ¿ø »ç¿ë µ¥ÀÌÅ͸¦ ¼öÁýÇÏ´Â µ¥ »ç¿ëµÇ´Â ÀÀ¿ë ÇÁ·Î±×·¥ÀÔ´Ï´Ù.
¼º´É ¸ð´ÏÅÍ ÀÀ¿ë ÇÁ·Î±×·¥¿¡¼ »ç¿ëÇÏ´Â ´ëºÎºÐÀÇ µ¥ÀÌÅʹ ǥº» ÃßÃâ ¹æ¹ý¿¡ ±â¹ÝÇÏ¿© ¼öÁýµË´Ï´Ù. ¿¹¸¦ µé¾î, Performance Manager ¹× TopSessions¿¡¼´Â ÀÌ ±â¹ýÀ» »ç¿ëÇÏ¿© µ¿Àû ¼º´É ºä¿¡¼ µ¥ÀÌÅ͸¦ Á¤±âÀûÀ¸·Î ¼öÁýÇÕ´Ï´Ù.
Oracle Trace Manager´Â »õ·Î¿î µ¥ÀÌÅÍ ¼öÁý ¹æ¹ýÀ» Á¦°øÇÕ´Ï´Ù. Áï Oracle Trace Manager´Â ¸ð´ÏÅÍÇÏ°í ÀÖ´Â ÀÀ¿ë ¼ÒÇÁÆ®¿þ¾îÀÇ ÁÖ¿ä À̺¥Æ® ¶Ç´Â µ¥ÀÌÅͺ£À̽º À̺¥Æ®°¡ ¹ß»ýÇÒ ¶§¸¶´Ù ÀÌ¿¡ ´ëÇÑ ¸ðµç µ¥ÀÌÅ͸¦ ¼öÁýÇÕ´Ï´Ù.
Oracle Trace ManagerÀÇ ÀϹÝÀûÀÎ ¿ëµµ
À̺¥Æ® ¿¹Á¦
Ư¼º
Oracle Expert´Â ÅëÇÕ ±ÔÄ¢°ú ´õºÒ¾î ÀÚµ¿ ¼º´É Æ©´×À» Á¦°øÇÕ´Ï´Ù. Oracle Expert´Â ´ÙÀ½ »çÇ×À» ÀÚµ¿ÈÇÕ´Ï´Ù.
Æ©´× ¹üÀ§
Instance Optimizations
SGA Å©±â, I/O ºÐ¹è, Á¤·Ä ÀÛ¾÷ ¼º´É µî µ¥ÀÌÅͺ£À̽º ÀνºÅϽº¸¦ Æ©´×Çϱâ À§ÇÑ Á¤º¸¸¦ ¼öÁýÇÕ´Ï´Ù.
SQL Reuse Opportunities
°øÀ¯ Ç®À» ºÐ¼®ÇÏ¿© °øÀ¯ Ç®À» ºñÈ¿À²ÀûÀ¸·Î »ç¿ëÇÏ´Â SQL ¹®À» ½Äº°ÇÕ´Ï´Ù.
Appropriate Space Management
Å×ÀÌºí½ºÆäÀ̽º, »ç¿ëÀÚ ¹× ´Ù¸¥ µ¥ÀÌÅͺ£À̽º ±¸Á¶¸¦ ºÐ¼®ÇÏ¿© µ¥ÀÌÅͺ£À̽º ÆÄÀÏ ¹èÄ¡ ¶Ç´Â ¼¼±×¸ÕÆ®¿¡ ´ëÇÑ ÀúÀå ¿µ¿ª ¸Å°³º¯¼ö¿Í °°Àº È¿°úÀûÀÎ ÀúÀå ¹æ½ÄÀ» °áÁ¤ÇÕ´Ï´Ù.
Optimal Data Access
À妽º°¡ Å×ÀÌºí¿¡ ÇÊ¿äÇÑÁö ºÒÇÊ¿äÇÑÁö °áÁ¤ÇÕ´Ï´Ù.
´ÙÀ½ »çÇ×À» ¼±ÅÃÇÏ¿© »ç¿ëÀÚ°¡ Optimal Data Access ÇÊµå °Ë»ç¸¦ Á¤ÀÇÇÒ ¼ö ÀÖ½À´Ï´Ù.
¼öÁý
µ¥ÀÌÅÍ´Â Æ©´× ¼¼¼Çº°·Î ¼öÁýµÇ¾î Oracle Expert ÀúÀå¼Ò¿¡ ÀúÀåµÇ¾î¾ß ÇÕ´Ï´Ù. ±×·¯¸é Oracle Expert´Â µ¥ÀÌÅ͸¦ ºÐ¼®ÇÏ¿© Æ©´× ±ÇÀå »çÇ×À» »ý¼ºÇÒ ¼ö ÀÖ½À´Ï´Ù.
¼±ÅÃÇÑ Æ©´× ¹üÁÖ¿¡ µû¶ó ´ÙÀ½°ú °°ÀÌ ´Ù¼¸ °³ÀÇ ¼öÁý Ŭ·¡½º°¡ ¼±Åõ˴ϴÙ.
¼¼¼Ç µ¥ÀÌÅÍ º¸°í¼
¼öÁýÇÑ µ¥ÀÌÅÍ¿¡ ´ëÇÑ »ó¼¼ Á¤º¸¸¦ Á¦°øÇÕ´Ï´Ù.
ºÐ¼® º¸°í¼
Oracle Expert´Â ÀÌ º¸°í¼ÀÇ ¼öÁý µ¥ÀÌÅ͸¦ ÀÚ¼¼È÷ ºÐ¼®ÇÑ ÈÄ ±ÔÄ¢À» »ç¿ëÇÏ¿© Æ©´× ±ÇÀå »çÇ×À» »ý¼ºÇÕ´Ï´Ù.
ÀνºÅϽº ±ÇÀå »çÇ× ±¸Çö
ÀνºÅϽº¿¡ ´ëÇÑ init.ora ÆÄÀÏÀÇ ÀνºÅϽº ¸Å°³º¯¼ö °ªÀ» Oracle Expert¿¡¼ »ý¼ºÇÑ .ora ÆÄÀÏÀÇ ÀνºÅϽº ¸Å°³º¯¼ö °ªÀ¸·Î ¹Ù²ß´Ï´Ù.
À妽º ±ÇÀå »çÇ× ±¸Çö
Oracle Expert¿¡¼ »ý¼ºÇÑ .sql ÆÄÀÏÀ» ½ÇÇàÇÕ´Ï´Ù. Oracle Expert°¡ ±âÁ¸ À妽º¸¦ ¼öÁ¤ÇÒ °ÍÀ» ±ÇÀåÇÒ ¶§ .sql ÆÄÀÏ¿¡´Â ¸ÕÀú ±âÁ¸ À妽º¸¦ »èÁ¦ÇÑ ÈÄ ±ÇÀå ¼öÁ¤ »çÇ×À» ÀÌ¿ëÇÏ¿© À妽º¸¦ »õ·Î »ý¼ºÇÏ´Â SQL ¹®ÀÌ Æ÷ÇԵȴٴ µ¥ À¯ÀÇÇϽʽÿÀ.
±¸Á¶ ±ÇÀå »çÇ× ±¸Çö
Oracle Expert¿¡¼ »ý¼ºÇÑ .txt ÆÄÀÏÀ» °Ë»çÇÕ´Ï´Ù. ÀÌ ÆÄÀÏ¿¡´Â ÇØ´ç Á¤º¸¸¦ Á¦°øÇØ¾ß ÇÏ´Â ÀÚ¸®¿¡ ¹®ÀÚ¿ <TBS>¸¦ Æ÷ÇÔÇÏ´Â SQL ¹®ÀÌ ÀÖ½À´Ï´Ù. ¿Ã¹Ù¸¥ Á¤º¸¸¦ ÀÔ·ÂÇÑ ÈÄ¿¡´Â ÀÌ ÆÄÀÏÀÇ SQL ¹®À» ½ÇÇàÇÒ ¼ö ÀÖ½À´Ï´Ù.
ÂüÁ¶ |
¹®¸Æ ÂüÁ¶ |
ÃʱâÈ ÆĶó¹ÌÅÍ |
TIMED_STATISTICS |
µ¿ÀûÀÎ ¼º´É ºä |
V$FIXED_TABLE |
µ¥ÀÌÅÍ µñ¼Å³Ê¸® ºä |
DBA_TABLES |
¸í·É¾î |
ANALYZE |
ÆÐÅ°ÁöµÈ ÇÁ·Î½ÃÀú ¹× ÇÔ¼ö |
None |
½ºÅ©¸³ÅÍ |
utlbstat.sql |