tag:blogger.com,1999:blog-7976103499490268682024-03-14T05:23:56.509+03:00Özcan YILDIRIM 's Oracle Blog;Oracle, According to Viewpoint of a DBAUnknownnoreply@blogger.comBlogger37125tag:blogger.com,1999:blog-797610349949026868.post-52556396671114772142012-09-25T14:08:00.001+03:002012-09-25T14:09:17.124+03:00PX Deq Credit: send blkd Wait Event Tuning<br />
<div style="margin-bottom: .0001pt; margin: 0cm; text-indent: 36.0pt;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;">PX Deq Credit: send blkd Nedir?<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<br /></div>
<div style="margin-bottom: .0001pt; margin: 0cm; text-indent: 36.0pt;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;">Wait eventi yüksek miktardaki datalar üzerinde parallel işlemler
çalışıtırıken ortaya çıkar. Normalde bu eventin gözükmesi doğaldı. Ancak bu
eventteki bekleme süresi 2-3 saniyeden fazla ise parallel işlemin tune edilmesi
gerekir.Bekleme süresini aşağıdaki sql den öğrenebilirsiniz.<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm; text-indent: 36.0pt;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> Beklemenin sebebi ise parallel
işlemler sonuçları QC proseslere göndermesi
sırasında large pool 'ın dolmasından kaynaklanır. Bu durumda LARGE_POOL_SIZE değerini ve </span><span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt;">PARALLEL_EXECUTION_MESSAGE_SIZE
</span><span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> değerini
artırmanız gerekir. Bu işlem içinde uygun memory’ ye sahip olmanız gerekir.<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<br /></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"></span></div>
<a name='more'></a><br /><br />
<div style="margin-bottom: .0001pt; margin: 0cm; text-indent: 36.0pt;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;">LARGE_POOL_SIZE<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<br /></div>
<div style="margin-bottom: .0001pt; margin: 0cm; text-indent: 36.0pt;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;">Format </span><span style="background: white; color: #222222; font-family: "Calibri","sans-serif"; font-size: 11.0pt;">LARGE_POOL_SIZE =</span><span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt;"> <i><span style="background: white; color: #222222;">integer</span></i> <span style="background: white; color: #222222;">[K | M | G]</span> </span><span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> şeklindedir.Eğer SGA_TARGET değeri set edilmiş
ise ve large_pool_size değeri set edilmedi ise default olrark 0 değerini alır.
Değer internal olarak oracle tarafından belirlenir. Değer 300K ile 2G arasında
set edilebilir. Eğer ASM instance kullanıyorsanız bu değer en azında 600K
olmalıdır.</span><span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt;"><o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<br /></div>
<div style="margin-bottom: .0001pt; margin: 0cm; text-indent: 36.0pt;">
<span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt;">PARALLEL_EXECUTION_MESSAGE_SIZE</span><span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;">;</span><span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt;"><o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm; text-indent: 36.0pt;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;">Parametresi parallel işlemler sırasında olulşan messagel arın boyutunu
belirler. Bu değerin artırılması memory kullanımını artırır. </span><span style="background: white; color: #222222; font-family: "Calibri","sans-serif"; font-size: 11.0pt;">PARALLEL_AUTOMATIC_TUNING</span><span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt;"> </span><span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;">parametresi eğer true olarak set edilmişse default </span><span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt;">PARALLEL_EXECUTION_MESSAGE_SIZE</span><span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> değeri 4096 , false olarak set edilmişse default değer 2048 dir.</span><span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt;"><o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt;">PARALLEL_EXECUTION_MESSAGE_SIZE</span><span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> <span lang="TR"> parametresi için
atanabilecek maximum değer 65535 dir.<o:p></o:p></span></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<br /></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<br /></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;">--Parallel işlemler
ne kadar süre bekliyor fikir sahibi olmak için aşağıdaki gibi bir sql
çalıştırılabilir.</span><span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt;"><o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<br /></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;">SELECT
s.inst_id,<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> S.USERNAME,<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> PX.SID,<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> PX.SERIAL#,<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> S.SQL_ID,<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> PX.SPID,<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> PX.STATUS,<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> S.EVENT,<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> PX.SERVER_NAME,<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> S.OSUSER,<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> S.MACHINE,<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> S.MODULE,<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> S.PREV_EXEC_START,<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> S.SECONDS_IN_WAIT<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> FROM GV$PX_PROCESS px, Gv$SESSION s<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> WHERE
px.sid = s.sid<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> AND s.event = 'PX Deq Credit: send blkd'<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> AND px.serial# = s.serial#<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> AND S.SECONDS_IN_WAIT > 3<o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<br /></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span lang="TR" style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ansi-language: TR;"> Özcan
YILDIRIM<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-797610349949026868.post-76778307176978666322012-08-27T14:03:00.000+03:002012-08-27T14:04:12.846+03:00Oracle Performans Troubleshooting 2 (Ash Reports)<br />
<div class="MsoNormal" style="margin-left: 36.0pt; text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
ASH (Active Session History)
aktif olan session bilgilerinin performans istatistiklerinin tutulduğu
rapordur. Mevcut session bilgileri v$session ve v$session_wait_history
eventlerinden gözlemlenebilir. Örneğin aşağıdaki sql veritabanında o an en
fazla gözlemlenen eventleri gösterir.<o:p></o:p></div>
<div class="MsoNormal" style="margin: 0cm 0cm 0.0001pt 36pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">SELECT</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> event</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">COUNT</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">*</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">)</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 0.0001pt 36pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">FROM</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">
v$session_wait_history<o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 0.0001pt 36pt;">
<span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">GROUP</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">BY</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> event<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 36.0pt; text-indent: 36.0pt;">
<span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">ORDER</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt; line-height: 115%;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">BY</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt; line-height: 115%;"> </span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">2</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt; line-height: 115%;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">DESC</span><o:p></o:p></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
Ancak bu viewlar aktif
sessionlara ait performans bilgilerini gözlemlemek, sorun tespit etmek ve çözüm
geliştirmek için yeterli historic (geçmişe dönük) bilgiye sahip değildir.
Sessionlar hakkındaki historic performans dataları için ASH raporları
kullanılabilir. ASH aktif sessionlara ait saniyelik sample(örnek veri) elde
ederek istatistiksel yorum yapılabililinmesini sağlayan very koleksiyonudur. İşte bu yazımızda ASH raporlarını tanıtmaya
çalışacak, ASH raporları ile neler yapılır ve ASH raporları nasıl
yorumlanmalıdır anlatmaya çalışacağız.<o:p></o:p></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b>Aktif Session Nedir?<o:p></o:p></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
ASH raporlarındaki aktif session
ile v$session.state ‘ACTIVE’ değeri karıştırılmamalıdır. ASH raporlarında çıkan
sessionlar Oracle RDBMS ‘e (Relational Database Management System) çağrı
yollayan sessionlardır. Bu sessionlar hakkında toplanan datalar;<o:p></o:p></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l5 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]-->Parse, Execute ve Fetch Operasyonları<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l5 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]-->I/O işleminin tamamlanması için meydana gelen
bekleme<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l5 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]-->Rac Sistemlerde remote instanceden mesaj yada
buffer beklemeleri<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l5 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]-->Cpu üzerindeki beklemeler<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l5 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]-->Tekrarlanan sesionlar için beklememe<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l5 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]-->Paralel işlemler<o:p></o:p></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l5 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]-->Idle Wait (Boş bekleyen session) dışındaki
digger tüm bekleme olayları’ dır.<o:p></o:p><br />
<br />
<a name='more'></a><br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b>ASH Raporu Nasıl Elde Edilir?<o:p></o:p></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
Ash raporu Enterprise Manager
üzerinden yada $ORACLE_HOME/rdbms/admin/ashrpt.sql scripti ile elde edilebilir.
Tabi Ash raporlarını toad gibi third party tool’lar ile elde etmekte mümkündür.<o:p></o:p></div>
<div class="MsoNormal">
<b> ASH Verilerine Nasıl Ulaşılır?<o:p></o:p></b></div>
<div class="MsoNormal">
<b> </b>Ash verilerine, yukarıdada
bahsettiğimiz gibi ash raporu oluşturarak, v$active_session_history wrh$_active_session_history
yada dba_hist_active_sess_history viewlarına sql sorgu ile ulaşılabilir.
Aşağaıdaki queryleri inceledikten sonra ASH raporu nasıl yorumlanır anlatmaya
çalışacağız.<o:p></o:p></div>
<div class="MsoNormal">
Öncelikle
ASH viewlarındaki en çok kullanılan kolonların ne anlam ifade ettiğini
açıklayalım.<o:p></o:p></div>
<div class="MsoNormal">
V$ACTIVE_SESSION_HISTORY;<o:p></o:p></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="background: white; mso-cellspacing: 0cm; mso-padding-alt: 2.25pt 2.25pt 2.25pt 2.25pt; mso-yfti-tbllook: 1184; width: 100%px;" summary="This table is described in the preceding text" title="V$ACTIVE_SESSION_HISTORY view">
<thead>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="bottom"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Kolon<o:p></o:p></span></b></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="bottom"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Veritipi<o:p></o:p></span></b></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="bottom"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Açıklama<o:p></o:p></span></b></div>
</td>
</tr>
</thead>
<tbody>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">SAMPLE_ID</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Sample id<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">SAMPLE_TIME</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">TIMESTAMP(3)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Sample alındığı zaman<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">SESSION_ID</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">V$SESSION.SID</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">SESSION_SERIAL#</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">V$SESSION.SERIAL#</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">SESSION_TYPE</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(10)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Session tipi:<o:p></o:p></span></div>
<ul style="margin-top: 0cm;" type="disc">
<li class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">FOREGROUND</span><span style="font-family: "Tahoma","sans-serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></li>
<li class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">BACKGROUND</span><span style="font-family: "Tahoma","sans-serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></li>
</ul>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">USER_ID</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Oracle user
identifier; maps to </span><span style="font-family: 'Courier New'; font-size: 9pt;">V$SESSION.USER#</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">SQL_ID</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(13)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Sample alındığı anda
session tarafından çaılıştırılan sql<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">SQL_CHILD_NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Sql child numarası<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">SQL_OPCODE</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">SQl cümle çalışırken
hangi operasyonda id? </span><span style="font-family: 'Courier New'; font-size: 9pt;">V$SESSION.COMMAND</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">SQL_PLAN_HASH_VALUE</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">SQl ‘ ait plan hash
değeri<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">QC_INSTANCE_ID</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Paralel çalışan sqller
için hangi instanced çalıştığına dair bilgi. Eğer bu değer 0 ise tüm instance
ler anlamına gelir.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">QC_SESSION_ID</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Paralel çalışan sqller
için hangi instanced çalıştığına dair bilgi. Eğer bu değer 0 ise tüm instance
ler anlamına gelir.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">QC_SESSION_SERIAL#</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Paralel çalışan sqller
için session numarası. Eğer bu değer 0 ise tüm sessionlar anlamına gelir.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">EVENT</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(64)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Eğer </span><span style="font-family: 'Courier New'; font-size: 9pt;">SESSION_STATE</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"> = </span><span style="font-family: 'Courier New'; font-size: 9pt;">WAITING</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">, durumunda ise sessionun hangi event’I beklediğini
gösterir.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Eğer </span><span style="font-family: 'Courier New'; font-size: 9pt;">SESSION_STATE</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"> = </span><span style="font-family: 'Courier New'; font-size: 9pt;">ON CPU</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">, ise bu kolon boş gelir. <o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">P1TEXT</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(64)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Evente ait P1 değeri
text ifadesi.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">P1</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Evente ait P1 değeri
numeric ifade<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">P2TEXT</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(64)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Evente ait P2 değeri
text ifadesi.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">P2</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Evente ait P2 değeri
numeric ifade.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">P3TEXT</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(64)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Evente ait P3 değeri
text ifadesi.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">P3</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Evente ait P3 değeri
numeric ifade.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">WAIT_CLASS</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(64)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Beklenen event gurubu. </span><span style="font-family: 'Courier New'; font-size: 9pt;">V$SESSION.WAIT_CLASS</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">WAIT_CLASS_ID</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Beklenen event gurup
numarası </span><span style="font-family: 'Courier New'; font-size: 9pt;">V$SESSION.WAIT_CLASS_ID</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">WAIT_TIME</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Toplam Bekleme Zamanı.Eğer
CPU da bekleniyorsa 0 olarak gözükür. </span><span style="font-family: 'Courier New'; font-size: 9pt;">V$SESSION.WAIT_TIME</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">SESSION_STATE</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(7)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Session durumu:<o:p></o:p></span></div>
<ul style="margin-top: 0cm;" type="disc">
<li class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">WAITING</span><span style="font-family: "Tahoma","sans-serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></li>
<li class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">ON CPU</span><span style="font-family: "Tahoma","sans-serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></li>
</ul>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">TIME_WAITED</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Eğer </span><span style="font-family: 'Courier New'; font-size: 9pt;">SESSION_STATE</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"> = </span><span style="font-family: 'Courier New'; font-size: 9pt;">WAITING</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">, durumunda ise eventi bekliyor demektir. <o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">BLOCKING_SESSION_STATUS</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(11)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Bloke eden session
durumu:<o:p></o:p></span></div>
<ul style="margin-top: 0cm;" type="disc">
<li class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">VALID</span><span style="font-family: "Tahoma","sans-serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></li>
<li class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">NO</span><span style="font-family: "Tahoma","sans-serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-family: "Courier New"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">HOLDER</span><span style="font-family: "Tahoma","sans-serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></li>
<li class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">GLOBAL</span><span style="font-family: "Tahoma","sans-serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></li>
<li class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">NOT IN WAIT</span><span style="font-family: "Tahoma","sans-serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></li>
<li class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-family: "Courier New"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">UNKNOWN</span><span style="font-family: "Tahoma","sans-serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></li>
</ul>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">BLOCKING_SESSION</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Eğer session başka bir
session tarafında n tutuluyorsa ve tutan sessionda aynı instance üzerinde ise
bloke eden yani tutan session id sini verir. </span><span style="font-family: 'Courier New'; font-size: 9pt;">V$SESSION.BLOCKING_SESSION</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">BLOCKING_SESSION_SERIAL#</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Bloke eden session
serial number.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">BLOCKING_INST_ID</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Bloke eden session
instance numarası.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">BLOCKING_HANGCHAIN_INFO</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(1)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Bloke eden session
hangmidir değilmidir bildirir. (</span><span style="font-family: 'Courier New'; font-size: 9pt;">Y</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">) or not (</span><span style="font-family: 'Courier New'; font-size: 9pt;">N</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">)<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">CURRENT_OBJ#</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Eğer session waiting
durumunda ise hangi <b>obje</b> üzerinde
beklediğini gösterir. Ancak bu bazı event guruplar için var olan bir
değerdir.Örneğin uygulama yada I/O gibi guruplar. </span><span style="font-family: 'Courier New'; font-size: 9pt;">V$SESSION.ROW_WAIT_OBJ#</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">CURRENT_FILE#</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Eğer session waiting
durumunda ise hangi <b>dosya</b> üzerinde
beklediğini gösterir. Ancak bu bazı event guruplar için var olan bir
değerdir.Örneğin uygulama yada I/O gibi guruplar. </span><span style="font-family: 'Courier New'; font-size: 9pt;">V$SESSION.ROW_WAIT_FILE#</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">CURRENT_BLOCK#</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Eğer session waiting
durumunda ise hangi <b>block</b> üzerinde
beklediğini gösterir. Ancak bu bazı event guruplar için var olan bir
değerdir.Örneğin uygulama yada I/O gibi guruplar. </span><span style="font-family: 'Courier New'; font-size: 9pt;">V$SESSION.ROW_WAIT_BLOCK#</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">CURRENT_ROW#</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Eğer session waiting
durumunda ise hangi <b>row</b> üzerinde
beklediğini gösterir. Ancak bu bazı event guruplar için var olan bir
değerdir.Örneğin uygulama yada I/O gibi guruplar. </span><span style="font-family: 'Courier New'; font-size: 9pt;">V$SESSION.ROW_WAIT_ROW#</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">CONSUMER_GROUP_ID</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Consumer group
numarası<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">XID</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">RAW(8)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Sessiona ait Transaction
numarası<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">REMOTE_INSTANCE#</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Session ‘ın beklediği blogun
hangi instance tarafından tutulduğunu gösterir.Bu kolon sadece cluster
eventler da geçerlidir.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">TIME_MODEL</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Time model bilgisi.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">IN_PARSE</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(1)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Sample alındığında
session parse ediliyor? (</span><span style="font-family: 'Courier New'; font-size: 9pt;">Y</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">) or not (</span><span style="font-family: 'Courier New'; font-size: 9pt;">N</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">)<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">IN_HARD_PARSE</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(1)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Indicates whether the
session was hard parsing at the time of sampling (</span><span style="font-family: 'Courier New'; font-size: 9pt;">Y</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">) or not (</span><span style="font-family: 'Courier New'; font-size: 9pt;">N</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">)<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">IN_SQL_EXECUTION</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(1)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Sample alındığında
session harde parse ediliyor? (</span><span style="font-family: 'Courier New'; font-size: 9pt;">Y</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">) or not (</span><span style="font-family: 'Courier New'; font-size: 9pt;">N</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">)<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">IN_PLSQL_EXECUTION</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(1)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Session pl/sql mi
çalıştırıyor? (</span><span style="font-family: 'Courier New'; font-size: 9pt;">Y</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">) or not (</span><span style="font-family: 'Courier New'; font-size: 9pt;">N</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">)<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">IN_PLSQL_COMPILATION</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(1)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Session pl/sql compile
işlemimi yapıyor? (</span><span style="font-family: 'Courier New'; font-size: 9pt;">Y</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">) or not (</span><span style="font-family: 'Courier New'; font-size: 9pt;">N</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">)<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">IN_JAVA_EXECUTION</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(1)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Session javamı
çalıştırıyor? (</span><span style="font-family: 'Courier New'; font-size: 9pt;">Y</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">) or not (</span><span style="font-family: 'Courier New'; font-size: 9pt;">N</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">)<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">IN_BIND</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(1)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Session bid işlemimi
yapıyor? (</span><span style="font-family: 'Courier New'; font-size: 9pt;">Y</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">) or not (</span><span style="font-family: 'Courier New'; font-size: 9pt;">N</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;">)<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">PROGRAM</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(48)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Sessiona ait işletim
sistemi program ismi<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">MODULE</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(48)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Sessiona’ a ait module
bilgisi </span><span style="font-family: 'Courier New'; font-size: 9pt;">DBMS_APPLICATION_INFO.SET_MODULE</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"> procedure<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">CLIENT_ID</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(64)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Client identifier of
the session; maps to </span><span style="font-family: 'Courier New'; font-size: 9pt;">V$SESSION.CLIENT_IDENTIFIER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">MACHINE</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">VARCHAR2(64)</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Client makina ismi<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">PORT</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Client port numarası<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">PGA_ALLOCATED</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Session tarafında
işgal edilen PGA alanı (bytes)<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">TEMP_SPACE_ALLOCATED</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Courier New'; font-size: 9pt;">NUMBER</span><span style="font-family: Tahoma, sans-serif; font-size: 12pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 2.25pt 2.25pt 2.25pt 2.25pt;" valign="top"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Tahoma, sans-serif; font-size: 12pt;">Session tarafında
işgal edilen TEMP alanı (bytes)<o:p></o:p></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
Aynı kolonlar
DBA_HIST_ACTIVE_SESS_HISTORY ve WRH$_ACTIVE_SESSION_HISTORY viewları içinde
kullanılabilir. Ancak v$active_session history de sadece active olan
sessionların bilgisi bulunur ve hersaniye snap alınır.Geçimişe yönelik bilgi
bulunmaz. WRH$_ACTIVE_SESSION_HISTORY ve DBA_HIST_ACTIVE_SESS_HISTORY viewları
ise 10 saniyede bir refresh edilir ve geçmişe yönelik bilgi tutabilirler. Bu
viewlar awr raporlarınında temeli niteliğindedir.<o:p></o:p></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">SELECT</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">INST_ID</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">SAMPLE_ID</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">SAMPLE_TIME</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,(SELECT</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> username </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">FROM</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> dba_users </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">WHERE</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> user_id </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">=</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">USER_ID</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">)</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> USERNAME</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">SESSION_ID </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">SID,A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">SESSION_SERIAL# SERIAL#</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">s</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">status</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">SQL_ID</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">SESSION_STATE</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">EVENT</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">TIME_WAITED</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">BLOCKING_SESSION</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">BLOCKING_SESSION_STATUS</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">CURRENT_BLOCK#</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">CURRENT_FILE#</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> D</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">OWNER Object_owner</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">D</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">OBJECT_NAME</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">D</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">OBJECT_TYPE<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">FROM</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> GV$ACTIVE_SESSION_HISTORY </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">a,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> dba_objects d</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">gv$session s<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">WHERE</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">SESSION_TYPE </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">=</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: red; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">'FOREGROUND'</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">AND</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">CURRENT_OBJ# </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">=</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> D</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">OBJECT_ID<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">and</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">a.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">SESSION_ID</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">=</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">s</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.sid</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><i><span style="background: white; color: green; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">-- and s.sid=100 </span></i><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><i><span style="background: white; color: green; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">--and s.status='ACTIVE'</span></i><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><i><span style="background: white; color: green; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">--and username='ORCL'</span></i><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><i><span style="background: white; color: green; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">--and
d.object_name='IDX_EMPLOYEE_PK'</span></i><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><i><span style="background: white; color: green; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">--a.sql_id='7u6pfhkqnp641'</span></i><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt; line-height: 115%;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">ORDER</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt; line-height: 115%;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">BY</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt; line-height: 115%;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt; line-height: 115%;">SAMPLE_TIME </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">DESC</span><span style="color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier;"><o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;"><br /></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
Bu sql aktif sessionların control
edilebilimesi için gayet iyidir ayrıca sid,USERNAME, sql id bazında ash
verilerine filtrede uygulanabilir. Aynı şekilde farklı versiyonunu da kullanmak
geçmişe dönük veriler istenirken faydalı olabilir.<o:p></o:p></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">SELECT</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">SAMPLE_ID</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">SAMPLE_TIME</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">S</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">INST_ID</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">SESSION_ID </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">SID,A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">SESSION_SERIAL#</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">s</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">status</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">, <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">(SELECT</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> username </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">FROM</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> dba_users </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">WHERE</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> user_id </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">=</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">USER_ID</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">)</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> USERNAME</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">SQL_ID</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,A.XID,A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">SESSION_STATE</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">EVENT</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">TIME_WAITED</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">BLOCKING_SESSION</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">BLOCKING_SESSION_STATUS</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">CURRENT_BLOCK#</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">CURRENT_FILE#</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> D</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">OWNER Object_owner</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">D</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">OBJECT_NAME</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">D</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">OBJECT_TYPE<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">FROM</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> DBA_HIST_ACTIVE_SESS_HISTORY
</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">a,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> dba_objects d</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">gv$session s<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">WHERE</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">SESSION_TYPE </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">=</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: red; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">'FOREGROUND'</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">AND</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">CURRENT_OBJ# </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">=</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> D</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">OBJECT_ID<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">and</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">a.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">SESSION_ID</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">=</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">s</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.sid</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><i><span style="background: white; color: green; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">--and s.status='ACTIVE'</span></i><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><i><span style="background: white; color: green; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">--and username='SSABATCH92'</span></i><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><i><span style="background: white; color: green; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">--and
d.object_name='SEARCHSERVICES_SYNC_NSA'</span></i><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><i><span style="background: white; color: green; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">--a.sql_id='7u6pfhkqnp641'</span></i><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt; line-height: 115%;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">ORDER</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt; line-height: 115%;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">BY</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt; line-height: 115%;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">A.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt; line-height: 115%;">SAMPLE_TIME </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">DESC</span><span style="color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier;"><o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
Bunlarla birlikte ash verilerine
istatistiksel olarak ulaşmakda mümkündür.aşağıdaki sqllere göz atabilirsiniz.<o:p></o:p></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<i><span style="background: white; color: green; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">--Son 1 dakika içindeki en çok active
sqller</span></i><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">SELECT</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> sql_id</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">COUNT</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">*</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">),</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">ROUND</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">(COUNT</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">*</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">)</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">/</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">SUM</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">(COUNT</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">*</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">))</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">OVER</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">(),</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">2</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">)</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> pctload<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">FROM</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> v$active_session_history<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">WHERE</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> sample_time </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">SYSDATE</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">-</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">1</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">/</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">24</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">/</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">60</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">AND</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> session_type </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;"><></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: red; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">'BACKGROUND'</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">GROUP</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">BY</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> sql_id<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">ORDER</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt; line-height: 115%;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">BY</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt; line-height: 115%;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">COUNT</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt; line-height: 115%;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt; line-height: 115%;">*</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">)</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt; line-height: 115%;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier; mso-highlight: white;">DESC;</span><span style="color: blue; font-family: Courier; font-size: 10.0pt; line-height: 115%; mso-bidi-font-family: Courier;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<i><span style="background: white; color: green; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">--Son 1 dakikaiçindeki en çok
active sqller</span></i><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">SELECT</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> sql_id</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">COUNT</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">*</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">),</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">ROUND</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">(COUNT</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">*</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">)</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">/</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">SUM</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">(COUNT</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">*</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">))</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">OVER</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">(),</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">2</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">)</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> pctload<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">FROM</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> v$active_session_history<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">WHERE</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> sample_time </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">SYSDATE</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">-</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">1</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">/</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">24</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">/</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">60</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">AND</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> session_type </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;"><></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: red; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">'BACKGROUND'</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">GROUP</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">BY</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> sql_id<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">ORDER</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">BY</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">COUNT</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">*</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">)</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">DESC;</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><i><span style="background: white; color: green; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">--Son 15 dakika içindeki en
önemli bekleme olaylarýnýn tespit edilmesi;</span></i><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">select</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> event</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">sum(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">wait_time </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">+</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> time_waited</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">)</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> total_wait_time<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">from</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> v$active_session_history<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">where</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> sample_time </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">between</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">(sysdate</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">-</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">(</span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">30</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">/</span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">2880</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">))</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">and</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">sysdate</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">group</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">by</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> event </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">order</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">by</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> total_wait_time </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">desc;</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<i><span style="background: white; color: green; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">--Son 15 dakika içinde hangi
kullanýcýlarýn en çok bekleme olayýna sebebiyet verdiðinini tespit edilmesi;</span></i><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">select</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> s</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.sid,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> s</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">username</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">sum(a.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">wait_time </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">+</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">a.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">time_waited</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">)</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> total_wait_time<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">from</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> v$active_session_history </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">a,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> v$session s<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">where</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">a.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">sample_time </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">between</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">sysdate</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">-</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">30</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">/</span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">2880</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">and</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">sysdate</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">and</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">a.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">session_id</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">=</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">s</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.sid</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">group</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">by</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> s</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.sid,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> s</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">username<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">order</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">by</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> total_wait_time </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">desc;</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<i><span style="background: white; color: green; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">--Son 15 dakika içinde en
fazla bekleme olayýna sebebiyet veren SQL komutlarýnýn tespit edilmesi;</span></i><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">select</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">a.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">user_id</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,u.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">username</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">s</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">sql_text</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">sum(a.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">wait_time </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">+</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">a.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">time_waited</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">)</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> total_wait_time<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">from</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> v$active_session_history </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">a,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> v$sqlarea s</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> dba_users </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">u</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">where</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">a.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">sample_time </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">between</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">sysdate</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">-</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">30</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">/</span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">2880</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">and</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">sysdate</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">and</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">a.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">sql_id </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">=</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> s</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">sql_id<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">and</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">a.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">user_id </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">=</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">u.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">user_id<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">group</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">by</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">a.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">user_id</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">s</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">sql_text</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">u.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">username</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">;</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<i><span style="background: white; color: green; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">--Hem cpu, hem IO hemde
beklemeleri sql id bazýnda veriyor.</span></i><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">select</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> ash</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">SQL_ID </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">sum(decode(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">ash</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">session_state</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background: white; color: red; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">'ON CPU'</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">1</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">0</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">))</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: red; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">"CPU"</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">sum(decode(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">ash</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">session_state</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background: white; color: red; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">'WAITING'</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">1</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">0</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">))</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">-</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">sum(decode(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">ash</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">session_state</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background: white; color: red; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">'WAITING'</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">decode(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">en</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">wait_class</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: red; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">'User I/O'</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">1</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">0</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">),</span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">0</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">))</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: red; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">"WAIT"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">sum(decode(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">ash</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">session_state</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background: white; color: red; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">'WAITING'</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">decode(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">en</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">wait_class</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: red; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">'User I/O'</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">1</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">0</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">),</span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">0</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">))</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: red; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">"IO"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">sum(decode(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">ash</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">session_state</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background: white; color: red; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">'ON CPU'</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">1</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">1</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">))</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: red; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">"TOTAL"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">from</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> v$active_session_history ash</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> v$event_name
en<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">where</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> SQL_ID </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">is</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">not</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">NULL</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">and</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> en</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">event#</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">=</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">ash</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">.</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">event#<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">group</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">by</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> sql_id<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">order</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">by</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"> </span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">sum(decode(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;">session_state</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background: white; color: red; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">'ON CPU'</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">1</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">,</span><span style="background: white; color: maroon; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">1</span><span style="background: white; color: blue; font-family: Courier; font-size: 10.0pt; mso-bidi-font-family: Courier; mso-highlight: white;">))</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
Şimdi bir Ash raporunda bakılması
öncelikle bölümler nerelerdir ve
performans tuning açısından bir ash raporu inceleyelim.Şekil 1 de ash raporunun
yapısı şematize edilmiştir.<o:p></o:p></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td><a href="http://4.bp.blogspot.com/-pIdVwI9hI74/UDtSUZptwGI/AAAAAAAAAVQ/nEyMpW0gh8A/s1600/ash_structure.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="250" src="http://4.bp.blogspot.com/-pIdVwI9hI74/UDtSUZptwGI/AAAAAAAAAVQ/nEyMpW0gh8A/s400/ash_structure.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="font-size: 13px;"><span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 17px;">Şekil 1 : Ash Rapor yapısı</span></td></tr>
</tbody></table>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-0bMVkHE8i4k/UDtSTmA9V5I/AAAAAAAAAVI/AafvKsEhJaY/s1600/2-ash_report.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="400" src="http://4.bp.blogspot.com/-0bMVkHE8i4k/UDtSTmA9V5I/AAAAAAAAAVI/AafvKsEhJaY/s400/2-ash_report.png" width="387" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: start; text-indent: 48px;">Şekil 2 : Ash Rapor Görünümü</span>
</td></tr>
</tbody></table>
<br />
<div class="MsoNormal" style="text-indent: 36.0pt;">
Şekil 2 de örnek bir ash rapor
bulunmaktadır. Linkler deki kısımlar ise ash raporda bulunabileecek bilgileri
içeririr. Şimdi bu kısımlarda ne şekilde bilgiler bulunur inceleyelim.<o:p></o:p></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b>Top Events:</b> Sesionlara ait en fazla bekleme olaylarını raporlar.Kullanıcı
eventleri , background eventler ve eventlere ait parametre değerleri bu bölümde
incelenebilir. Raporda ki en önemli ksısım denebilir.Eğer bu kısımda
beklenmedik bir wait event 1. Yada 2. Sırada görüntüleniyorsa tuning işlemine
bu wait event ten başlanması en doğru yöntemdir.<o:p></o:p></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b>Load Profile: </b>Session bazında yük dağılımını ulabileceğiniz
kısımdır.Bu kısımda Servis bazında veya sql tipi olarak en fazla yükse sebep
olan işlemleri gözlemleyebilir ve tuning işlemi için başlangıç noktası
belirleyebilirsiniz.<o:p></o:p></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b>Top Sql, PL/SQL, Object,FileSession:</b>En fazla yüse sahip sql PL/SQL
vs. işlemleri yada sessionları gözlemleyebileceğimiz kısımlardır.Örneğin top
session2s kısımında activity % değeri en yüksek olan session db ye en fazla yük
oluşturan yada db yi en fazla meşgul eden session dır denebilir. Aynı kıısmda
bu sessiona ait event bölümü nden ipucu alınarak bu session tune
edilebilir.Mesela bu kısımda faza activity gösteren session buffer busy wait
event ile karşımıza çıkıyorsa bu durumda bu session memoriden diske yazarken
dirty buffer bekliyor demektir.Böylece tune ederken ğere specific objeler bu
event e takılıyorsa obje parametreleri ile tuning yapılabilir.Yada Buffer cache
advisor ile memory durumu sorgulanabilir. Daha detaylı çözüm yöntemleri için <a href="http://ozcan-yildirim.blogspot.com/2012/04/buffer-busy-wait-nedir-ve-nasl-tune.html">buffer
busy wait event nedir ve nasıl tune edilir?</a> adlı yazımıza göz
atabilirsiniz. <o:p></o:p></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b>Activity Over Time:</b>Ash raporu alınan zaman dilimi için belli
periyotlarda en fazla karşılaşılan 3 adet bekleme olayı hakkında bilgi sunulur.
Activity over time kısmında toplam ash zaman aralığı 10 eşit periyoda bölünür.Bu
periyotlarda slot count ve event count kısımları önemlidir.Slot count active
session sayısı ile lişkilidir. Event count ise eventin gözülme sıklığını
gözterir.Bu değerlerdeki ani yükselişler performans probleminin temel sebebi
olarak bilinir.<o:p></o:p></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
Bir sonraki performans
Troubleshooting yazımız ADDM reports da görüşmek üzere.Ayırdığınız vakit
karşılığında okuduklarınızın faydalı olmasını dileriz.<o:p></o:p></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
Özcan YILDIRIM<b><o:p></o:p></b></div>
<div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-797610349949026868.post-22474407649377734012012-07-04T22:47:00.003+03:002012-07-04T22:47:49.673+03:00Exadata Nasıl Monitor Edilir?<br />
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Oracle Veritabanlarında ki gibi exadata da monitor önemlidir. Bu yazımızda exadata monitoring için kullanılabilecek bazı toollar hakkında bahsedeceğiz. Kısa başlıklar hakkında suncak olursa exadata;<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="TR" style="font-family: Symbol; mso-ansi-language: TR; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]--><span lang="TR">Exadata
Cell Metric<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="TR" style="font-family: Symbol; mso-ansi-language: TR; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]--><span lang="TR">Exadata
Cell Alert<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="TR" style="font-family: Symbol; mso-ansi-language: TR; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]--><span lang="TR">Exadata
Active Request<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="TR" style="background-color: white; font-family: Symbol; text-indent: -18pt;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR" style="background-color: white; text-indent: -18pt;">Database
Wait Events gibi yöntemlerle monitor edilebilir.</span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="TR" style="background-color: white; text-indent: -18pt;"><br /></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> Ancak öncelikle exadata da metric
ölçümlere ve alarmlara dair yapıyı imcelemekte fayda var.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Exadata Metric Ve Alarm Yapısı<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Metric; Cpu, Grid Disk, IORM (IO Resource Management), Cell Disk, Flash
Cache gibi Exadata Cell bileşenleri hakkında önemli çalışma ve istatistiksel
bilgilerdir. CELLSRV bu bilgileri peryodik olarak toplar ve MS’e (Management
Service) iletir.MS de bu bilgileri memeory de tutar ve saat te bir historic
olarak diske yazar. Şekil 1 de bu işleyişi temsil etmektedir.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://2.bp.blogspot.com/-nfJjAmYQBLk/T_Sc5M2CR-I/AAAAAAAAAUU/ptluEF_nXxw/s1600/1-Exadata+Metrik+ve+Alarm+Yap%25C4%25B1s%25C4%25B1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="243" src="http://2.bp.blogspot.com/-nfJjAmYQBLk/T_Sc5M2CR-I/AAAAAAAAAUU/ptluEF_nXxw/s400/1-Exadata+Metrik+ve+Alarm+Yap%25C4%25B1s%25C4%25B1.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: -webkit-auto; text-indent: 48px;">Şekil 1: Exadata Metric ve Alarm Yapısı</span></td></tr>
</tbody></table>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> </span></div>
<a name='more'></a> <o:p></o:p><br />
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Metric ve Alertlerin ne kadar tutulacağını <i>metricHistoryDays </i>cell parametresi ile belirleyebiliriz. Alter Cell
… şeklinde komut ile değeri değiştirilebilien bu parametenin default değeri 7
gündür.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Geçmişe dönük metric bilgileri <i>LIST
METRICHISTORY </i> komutu ile, şimdiki
metric değerleri ise <i>LIST METRICCURRENT </i>komutu
ile erişebilirsiniz.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Ayrıca Exadata, cell de meydana gelen eventleri önem derecesine göre
belirleyip alarm tetikleyen bir yapıya sahiptir. Cell Donanımı , Cell yazılımı
yada konfigürasyonu, CellSRV internal hataları ve metric değerlerin belirlenen
thresholdların üzerine çıkması durumlarında exadata alarm tetikler. Bu
alarmları <i>LIST ALERTHISTORY</i> komutu
ile görebiliriz.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Exadata Metricler ile Performans Monitor <o:p></o:p></span></b></div>
<div class="MsoNormal">
<span lang="TR"> Metrikler, belli bir period için
önemli ölçümlerin elde edilip memory’e kaydedilen ve daha sonra geçmiş dönük
istatistiksel veri olarak diske kaydedilen bilgilerdir. Şekil 2 de exadata
metriklerinin yapısı şematize edilmiştir. Herbir Metrik bir isme sahipti.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://2.bp.blogspot.com/-OzFZkzOkt3A/T_Sc6HyPJeI/AAAAAAAAAUc/wvW9tc2cDms/s1600/2-Monitoring_Ex_Metric.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="242" src="http://2.bp.blogspot.com/-OzFZkzOkt3A/T_Sc6HyPJeI/AAAAAAAAAUc/wvW9tc2cDms/s400/2-Monitoring_Ex_Metric.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: -webkit-auto; text-indent: 48px;">Şekil 2: Exadata Metrik Yapısı</span>
</td></tr>
</tbody></table>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR" style="background-color: white; text-indent: 36pt;"> </span><span style="background-color: white; text-indent: 36pt;"> </span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Her bir Metriğin bir ismi vardır ve metrikObjectName parametresi ile
belirtilir.Ayrıca Metriğin ilgili olduğu objede şekil 2 de gördüğünüz
objectType lardan biri olabilir. Her metriği değerinin bir tipi vardır. Bu aşağıdakilerden
biri olabilir.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="TR" style="font-family: Symbol; mso-ansi-language: TR; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]--><span lang="TR">Cumulatice:
Metrik olduşturulduğundan bu yana toplam değer.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="TR" style="font-family: Symbol; mso-ansi-language: TR; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]--><span lang="TR">İnstantaneous:Metriği
ölçüldüğü andaki değeri<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="TR" style="font-family: Symbol; mso-ansi-language: TR; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]--><span lang="TR">Transition:metriğin
değerinin değitiği anda yapılan ölçümdür.genel olarak donanım tipi objelerde bu
ölçümü görmeniz muhtemeldir.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="TR" style="font-family: Symbol; mso-ansi-language: TR; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]--><span lang="TR">Rate:Ortalama
istatsitiğin, ölçümleme yapılan peryoda oranıdır.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Metrik isimlerinin başıda genelde obje tipini simgeleyen bir kısaltma
vardır. Bu kısaltmadan yola çıkarak metriği exadata içindeki hangi objeye ait
olduğu tahmin edebilir. <o:p></o:p></span></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="TR" style="font-family: Symbol; mso-ansi-language: TR; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]--><span lang="TR">CL_ </span><span lang="TR" style="font-family: Wingdings; mso-ansi-language: TR; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span><span lang="TR"> Cell<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="TR" style="font-family: Symbol; mso-ansi-language: TR; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]--><span lang="TR">CD_ </span><span lang="TR" style="font-family: Wingdings; mso-ansi-language: TR; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span><span lang="TR"> Cell
Disk<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="TR" style="font-family: Symbol; mso-ansi-language: TR; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]--><span lang="TR">GD_ </span><span lang="TR" style="font-family: Wingdings; mso-ansi-language: TR; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span><span lang="TR"> Grid
disk<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="TR" style="font-family: Symbol; mso-ansi-language: TR; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]--><span lang="TR">FC_ </span><span lang="TR" style="font-family: Wingdings; mso-ansi-language: TR; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span><span lang="TR"> Flash
Cache<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="TR" style="font-family: Symbol; mso-ansi-language: TR; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]--><span lang="TR">DB_ </span><span lang="TR" style="font-family: Wingdings; mso-ansi-language: TR; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span><span lang="TR"> Database<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="TR" style="font-family: Symbol; mso-ansi-language: TR; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]--><span lang="TR">CG_ </span><span lang="TR" style="font-family: Wingdings; mso-ansi-language: TR; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span><span lang="TR"> Consumer
group<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="TR" style="font-family: Symbol; mso-ansi-language: TR; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]--><span lang="TR">CT_ </span><span lang="TR" style="font-family: Wingdings; mso-ansi-language: TR; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span><span lang="TR"> Category<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="TR" style="font-family: Symbol; mso-ansi-language: TR; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]--><span lang="TR">N_ </span><span lang="TR" style="font-family: Wingdings; mso-ansi-language: TR; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span><span lang="TR"> Network<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -18.0pt;">
<!--[if !supportLists]--><span lang="TR" style="font-family: Symbol; mso-ansi-language: TR; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><!--[endif]--><span lang="TR">IO_ </span><span lang="TR" style="font-family: Wingdings; mso-ansi-language: TR; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span><span lang="TR"> I/O
(Input Output; genellik okuma yazma ölçümleridir)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
<span lang="TR">Aşağıdaki cellcli komutları ilede metrikler hakkında bilgi alınıp metrik değerleri
gözlemlenebilir.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
<i><span lang="TR">CellCLI> LIST METRICDEFINITION where
objectType=’CELL’ Detail;<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
<i><span lang="TR">CellCLI> LIST METRICHISTORY where name
like ‘CL_.*’ and collectionTime > ‘2009-10-11T15:30:00’<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
<i><span lang="TR">CellCLI> LIST METRICCURRENT Where
objectType=’CELLDISK’<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Yukarıdaki script örneklerinden METRICDEFINITION ilgili metrik hakkında
bilgi edinmenizi, METRICHISTORY ilgili metirk hakkkında geçmişe dönük
değerleri, METRICCURRENT ise metrik ‘e ait şimdiki değerleri size verir.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Exadata Alarmlar ile Performans Monitor <o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-qWeOq6u4FEA/T_Sc66p_DqI/AAAAAAAAAUk/MgTiIiAtM1Q/s1600/3-Monitoring_Ex_Alert.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="245" src="http://4.bp.blogspot.com/-qWeOq6u4FEA/T_Sc66p_DqI/AAAAAAAAAUk/MgTiIiAtM1Q/s400/3-Monitoring_Ex_Alert.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: -webkit-auto; text-indent: 48px;">Şekil 3: Exadata Alarmlar ile Monitor</span>
</td></tr>
</tbody></table>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR" style="background-color: white; text-indent: 36pt;"> </span><span style="background-color: white; text-indent: 36pt;"> </span></div>
<div class="MsoNormal">
<span lang="TR"> Alarm belli bir olayın önem
derecesi belirlenip mail ile bildirilmesidir. Exadata da ki alarm durumları:
warning; uyarı, critaical; kritik yani müdahale edilmeli, clear; bir önceki
warning yada critical durumunun sonra erdiğini, info da bilgi amaçlı log
bilgileri olarak belirlenir. İnfo tipi alarmlar mail atılmaz ve herhangi bir
müdahaleyede gerek duymazlar.Diğer tip alarmlar mail atılırlar.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> Şekil 3 de exadata alarmların
yapısı şematize edilmiştir.name burada alarm ismidir. Source alarm
kaynağıdır.Şekil 3 de bazı alarm kaynakları gösterilmiştir. Daha önce
bahsettiğimiz metriklerde bir alarm kaynağıdır.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> İki tip alarm vardır.Stateful:
Clear olduğunda kendini otomatikman clear durumuna çeken ve stateless: Oto
clear olmayan ve exadata admin tarafından clear edilen alarmlardır. Bu tip
alarmların üremesini durudumak için examinedBy ifadesi şekil 3 deki gibi
kullanılabilir.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> Aşağıda cellCLI komut ekrarnında
alertler için kullanılabilecek bazı komutlar mevcuttur.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
<span lang="TR"> <i>CellCLI>LIST
ALERTDEFINITION ATTRIBUTES name ,
metricName, description<o:p></o:p></i></span></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
<i><span lang="TR">CellCLI> LIST ALERTHISTORY where severity=’critical’
and examinedBy=’’ DETAIL<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
<i><span lang="TR">CellCLI> ALTER ALERTHISTORY alert_sequence_ID examined by=”JFV”<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
<i><span lang="TR">CellCLI>CREATE THRESHOLD
ct_io_wt_lg_rq.interactive warning=1000, critical=2000, comporison ‘>’,
occurance=2 observation5;<o:p></o:p></span></i></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span lang="TR"> Exadata
Active Requestlerle Monitor<o:p></o:p></span></b></div>
<div class="MsoNormal">
<span lang="TR"> <o:p></o:p></span></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://2.bp.blogspot.com/-4inXI3jehQk/T_Sc76CjtAI/AAAAAAAAAUs/tT8Lgfl9hJM/s1600/4-Monitoring_Ex_ActiveReq.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="238" src="http://2.bp.blogspot.com/-4inXI3jehQk/T_Sc76CjtAI/AAAAAAAAAUs/tT8Lgfl9hJM/s400/4-Monitoring_Ex_ActiveReq.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: -webkit-auto;">Şekil 4: Exadata Aktif Requestler İle Monitör Edilmesi</span>
</td></tr>
</tbody></table>
<div class="MsoNormal">
<span lang="TR"> </span><span lang="TR" style="background-color: white;"> </span><span style="background-color: white;"> </span></div>
<div class="MsoNormal">
<span lang="TR"> Aktif Request exadata cell ‘e
client yada uygulama tarafından gelen canlı I/O
istekleridir.Aktif request o an cell’e gelen talebin durum bilgisini
verir. Accessing Disk (Disk ‘e erişim), Computing Result (Sonuç döndürme
aşamasında), Network receive (Networkten geliyor) bu udurmlarda nbazılarıdır.
Ayrıca Şekil 4 de actif request özellikleride verilmiştir. Aynı şekil
üzerindeki örnekte IoTpe özelliği ’Predicate pushing’ olan o anki taleplerin
detaylandırılması istenilmiştir.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> <o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Exadata Database Üzerinden
Monitor<o:p></o:p></span></b></div>
<div class="MsoNormal">
<span lang="TR"> Exadata, veritabanı üzerinden de
birtakım viewlara select atarak monitör edilebilir. Bu viewlar Şekil 5 de şematize
edilmiştir.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> V$CELL: Cell IP adresleri ve cell hash değerlerini
içerir. Cell hash değeri diğer viewlar içinde eşleme yapılarak istediğiniz cell’e
ait bilgiyi bulabilirsiniz.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> V$SYSSTAT , V$SESSTAT: Sisteme ve sessionlara dair tüm istatistikleri
bulabileceğiniz viewdır. Exadata ya özel izlemeniz gerekenistatistik isimleri
şekil 5 de şematize edilmiştir.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> V$SQL: Sqllere ait
istatisitikleri görebilirsiniz.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> V$BACKUP_DATAFILE: Exadata ile
ilgili rman backuplarına ait bilgileri görebilirsiniz.BLOCKS_SKIPPED_IN_CELL
kolonu rman incremental backupda kaç tane bloğun hariç tutulduğunu gösterir.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-8a71D2yvbbI/T_Sc84lWteI/AAAAAAAAAU0/pAcKLjPu_Mg/s1600/5-Exadata_DB_Monitor.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="253" src="http://4.bp.blogspot.com/-8a71D2yvbbI/T_Sc84lWteI/AAAAAAAAAU0/pAcKLjPu_Mg/s400/5-Exadata_DB_Monitor.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: -webkit-auto;">Şekil:5 Exadata Database Üzerinden Monitor</span>
</td></tr>
</tbody></table>
<div class="MsoNormal">
<span lang="TR" style="background-color: white;"> </span><span style="background-color: white;"> </span></div>
<div class="MsoNormal">
<span lang="TR"> Yukarıda bahsedilen viewlar
dışında V$CELL_STATE, V$CELL_THREAD_HISTORY, V$CELL_REQUEST_TOTAL gibi viewlardan
da exadata cell leri hakkında istatistiklere ve bilgilere ulaşabilirsiniz.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> Ayrıca exadata Enterprise
manager üzerinden, yada ILOM denilen cell ler üzerinde default olarak kurulu
tool ile yada vmstat, iostat, top gibi standart Linux komutlarıylada monitör edilebilir.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"><br /></span></div>
<div class="MsoNormal">
<span lang="TR"> Özcan YILDIRIM</span></div><div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-797610349949026868.post-76731162000426654882012-06-18T10:48:00.003+03:002013-02-13T15:32:17.866+02:00Oracle Exadata Teknolojileri<br />
<div class="MsoNormal">
<span lang="TR"> <o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> Günümüzde data yönetiminin önem
kazanması ile birlikte datanın en kısa zmaanda işlenmesi ve analiz edilmesi de
önem kazandı. Artık şirketler geçmişe dönük verilerini analiz edip istatistik
lerine göre pazarlama, üretim, kaynak temini gibi alanlarda bu istatistiklerden
oluşan raporları kullanıyor ve daha doğru sonuçlara ulaşıyorlar. Bu yöntem
eskiden de vardı ancak günümüz teknolojisi ile birlikte dakika lar seviyesinde
bu raporları elde edebiliyor ve iç çalışma mekanizmalarını devreye
alabiliyorlar. İşte bu kadar kısa sürede dev veri ambarlarını ve veritabanlarını yönetmemizi sağlayan
tenolojilerden en tanınmış olan Oracle Exadata dır.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> Şekil 1 de basitçe şematize
edilen exadata’nın geleneksel veritabnına göre çok farklı ve güçlü bir
sistematiği vardır. Bu yazımızda Exadata nedir? Neyi sağlar? Donnaım ve yazılım
özellikleri? Veri işleme performansı ne kadar hızlıdır? gibi sorularına cevap
olabilecek exadata tanıtım teknik ve kapasite tanıtımını yazacağız.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://1.bp.blogspot.com/-NYzmjjjU4DY/T97cPRGcPlI/AAAAAAAAATg/UXGVWesPA18/s1600/1-exadata_storage.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="230" src="http://1.bp.blogspot.com/-NYzmjjjU4DY/T97cPRGcPlI/AAAAAAAAATg/UXGVWesPA18/s400/1-exadata_storage.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: -webkit-auto;">Şekil 1: Oracle Exadata Server</span>
</td></tr>
</tbody></table>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span lang="TR"> Exadata iki temel bileşenden
meydana gelir. <o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> 1-Database Makinası (Oracle
Exadata Database Machine)<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> 2-Depolama Makinası (Oracle
Exadata Storage Machine)<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> Bu iki bileşen arada infiniband
adı verilen özel bir network ile birbirine bağlıdır. Bu network fiber optik
kablolama teknolojisi ile üretilmiştir. Geleneksel veritabanlarında bu network
2 Gb/s hızına sahipken, exadata network
20 Gb/s hzızına sahiptir. İki adet infinibanddan oluşan exadata network
toplamda her bir yön için 40 Gb/s hızına kadar ulaşabilir.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"></span></div>
<a name='more'></a><br />
<br />
<div class="MsoNormal">
<span lang="TR"> Exadata Storage Makinası ise oracle
tarafından üretilen özel bir depolama teknolojisidir ve smart scan mantığını
kullanır. Smart scan veritabanı tarafından çalıştırılan bir sorgunun storage
indexler sayesinde datanın hangi storage bloklarında bulunduğunun bilinmesi ve
en kısa zamanda datayı ulaşılıp getirilmesidir. Dikkat ediniz geleneksel
disklerde herhangi bir indexleme olamdığı için verinin diskten okunması çok
yavaştır.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> Exadatanın diğer bir önemli
yanıda Sıkıştırma özelliğidir. Exadata veriyi %85 e varan boyutlarda
sıkıştırabilir. Yani 100Gb lik bir tabloyu sıkıştırdığınızda 15 Gb civarında
olacaktır. Exadata sıkıştırma işlemi sırasında özel bir algoritma kullandığı
için sıkıştırılan tablo sadece exadata ortamında okunabilir.Ancak yoğun insert
update lerin geldiği bir tablonun sıkıştırılması performansı etkileyeceği için
tercih edilmeyebilir.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> Exadata da yönetimsil anlamda
avantaj kazandıran resource manager ile kullanıcılarının parallel çalıştırma vs
gibi seçenekleri limitlendirilerek daha efektif bir yönetim sağlanabilmektedir.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> Oracle Exadata Teknolojileri
hakkında genel bir bilgi sunduktan sonra exadata yı daha detaylı anlatmaya
başlayalım.<o:p></o:p></span></div>
<div class="MsoNormal">
<b><span lang="TR"> Exadata
Storage Server (Sun Fire X4270 M2)<o:p></o:p></span></b></div>
<div class="MsoNormal">
<b><span lang="TR"> </span></b><span lang="TR">Aşağıda exadata storage server detayların
ilşkin bir tablo bulunmaktadır.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"><br /></span></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://3.bp.blogspot.com/-ljJkSZij4xE/T97cQaex47I/AAAAAAAAATk/v_Tz07GtS_U/s1600/2-Exadata_Storage_server_details.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="202" src="http://3.bp.blogspot.com/-ljJkSZij4xE/T97cQaex47I/AAAAAAAAATk/v_Tz07GtS_U/s400/2-Exadata_Storage_server_details.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: -webkit-auto;">Şekil 2: Exadata Storage Server Detayları</span>
</td></tr>
</tbody></table>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span lang="TR"> Şekil3 dede Exadata Kapasite ve
belirgin depolama özellikleri belirtilmiştir.HP burada yüksek performansı HC
ise yüksek kapasiteyi belirtmektedir. GB=1000*1000*1000*1000 byte olarak
hesaplanmıştır.Ayrıca kapasiteye temporary alan, log,undo alanı ve indexler
dahil edilmemeiştir.IOPS ise I/O per Second anlamındadır. MBPS Mega Bit Per
Second ifade eder.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> </span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://3.bp.blogspot.com/-qOhePny-htQ/T97cRFuTmNI/AAAAAAAAATs/vh7-NGNb2HQ/s1600/3-Exadata_Capasity.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="171" src="http://3.bp.blogspot.com/-qOhePny-htQ/T97cRFuTmNI/AAAAAAAAATs/vh7-NGNb2HQ/s400/3-Exadata_Capasity.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: -webkit-auto; text-indent: 48px;">Şekil3 : Exadata Kapasite özellikleri</span>
</td></tr>
</tbody></table>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span style="background-color: white;"> </span><span style="background-color: white;"> </span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Infiniband Network<o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Infiniband Network heriki yönde 40 GB/s hız sağlar.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Normal Ethernet mantığı gibi çalışır. Hem Depolama hem de Rac Interconnect
için kullanılır.ZDP (Zero Dataloss Protokol) kullanır.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">ZDP oracle tarafından geliştirilmiştir ve açık kaynaktır. ZDP nin Cpu
maliyetide oldukça düşüktür. 1 GB/s veri kopyalarken sadece %2 lik bir cpu
maliyeti vardır.Buna karşın diğer ethernek protokollerinden çok daha yüksek
hızla ve düşük maliyetle çalışır. <o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Infiniband Network de Zero Copy-Zero Data loss mantığı hakimdir.Zero Copy,
datanın network üzerinden kopyalanırken buffer kullanmamasıdır.Buffer yani
memory burada sadece hardware in kopyalanacak datanın kopyalama boyunca, yeri
için rezerve edilir.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Exadata Smart Scan (Akıllı Data
Bulma Yapısı)<o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Exadata Storage indexleri sayesinde aranan datayı daha storage dan çekmeden
önce filtreler ve istenemyen datayı taramadığı için daha hızlı bir geri dönüş
sağlar.Bunu anlamak için şekil 4 ve şekil 5 yi inceleyelim. Şekil 4 de klasik
database I/O ve Sql işlemi metodu, şekil 5 de de exadata smart scan şematize
edilmiştir.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://2.bp.blogspot.com/-5zj4qfMqy4o/T97cSPnBTvI/AAAAAAAAAT0/oCGnyLaazvI/s1600/4-classic_scan.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="235" src="http://2.bp.blogspot.com/-5zj4qfMqy4o/T97cSPnBTvI/AAAAAAAAAT0/oCGnyLaazvI/s400/4-classic_scan.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: -webkit-auto; text-indent: 48px;">Şekil 4: Klasik I/O ve Sql işleme Metodu</span>
</td></tr>
</tbody></table>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> Klasik I/O ve Sql
İşleme Metodu Nedir?<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l1 level1 lfo1; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">Sql
çalıştırılır ve hangi extendlere gideceği database tarafından belirlenir.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l1 level1 lfo1; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">Belirlenen
extendler storage biriminden çekilmek üzere database tarafından depolama
birimine yönlendirilir.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l1 level1 lfo1; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">Tüm
extendler storage biriminden çekilir.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l1 level1 lfo1; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">Sql
deki filtreye göre çekilen tüm extendler arasında istenen data filtrelenir.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l1 level1 lfo1; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">Son
olarak istenen data geri döndürülür.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Klasik yöntem yukarıda da anlatıldığı gibi ve örnektede görüleceği üzere ne
kadar data istendiğine değil istenen datanın hangi extendler üzerinde olduğuna
bakar.Örnektede görüldüğü üzere siz 2 MB lik bir data da çekecek olsanız from
kısmındaki tüm tablonun extendleri taranır.Bundan dolayı 10 GB lik bir storage
işlemiş olursunuz. Tabloda index kullanmak burada sadece 2 MB lik bir datanın
10 Gb arasında süzülmesi için hız kazandırır. Ama yinede 10 Gb I/O işlemiş
olursunuz.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://1.bp.blogspot.com/-rxtRt5rdT6w/T97cS2V0xFI/AAAAAAAAAUA/AsFao6ynXxY/s1600/5-smart_scan.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="233" src="http://1.bp.blogspot.com/-rxtRt5rdT6w/T97cS2V0xFI/AAAAAAAAAUA/AsFao6ynXxY/s400/5-smart_scan.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: -webkit-auto; text-indent: 48px;">Şekil 5: Exadata Smart Scan</span>
</td></tr>
</tbody></table>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> Exadata Smart Scan
Metodu Nedir?<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l1 level1 lfo1; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">Sql
Çalıştırılır ve Exadata cell (storage server) birimine gönderilir.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l1 level1 lfo1; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">Sql
exadata stroage birimnde çalıştırılır.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l1 level1 lfo1; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">İstenen
data storage indexler sayesinde ayırt edilir.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l1 level1 lfo1; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">İstenen
data tüm exadata cell birimleri tarıfından elde edilir ve geri döndürülür.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Exadata Smart Scan yöntemide şekil5 de görüldüğü ve maddeler halinde
anlatıldığı gibidir. Burada tablonun boyutu ne olursa olsun sadece istenen veri
cell ler tarafından süzülmüş ve geri döndürülmüştür. Exadata Smart Scan
metodunda görüldüğü üzere sadece 2 MB lik bir I/O işlenmiş ve geri
döndürülmüştür.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Exadata Smart Storage
(Akıllı Depolama Birimi)<o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Exadata Depolama birimleri (cell) günümüz depolama birimlerine göre çok
daha akıllı bir yapıya sahiptir. Cell ler sadece data tutmaz aynı zmaanda
datanın işlenmesinde de rol üstlenerek database server ın çok 10 kat daha hızlı
veri işlemesini sağlar. Aşağıda exadata smart storage özellikleri açıklanmaya
çalışılmıştır.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">1-Row Filtreleme (Predicate
Filtering): </span></b><span lang="TR">Sql in veri
getireceği tablonun<b> </b>tüm srowları
değil sadece database server tarafından istenen rowlar işlenir. Sql tarafından
kullanılan row filtreleme işaretleri exadata tarafından desteklenir. Bunlar dan
bazıları =,!=,z,>,<=,>=,is null, is not null,like between,not
between,in, not in, exist,not exist, is of … Tüm operatörlerin listesi için
aşağıdaki sql kullanılabilir.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 0cm 0cm 0.0001pt 36pt; text-indent: 36pt;">
<span style="background-color: white; color: blue; font-family: Courier; font-size: 10pt;">SELECT</span><span style="background-color: white; font-family: Courier; font-size: 10pt;"> *<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; font-family: Courier; font-size: 10pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 10pt;">FROM</span><span style="background-color: white; font-family: Courier; font-size: 10pt;">
v$sqlfn_metadata<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span style="background-color: white; font-family: Courier; font-size: 10pt; line-height: 115%;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 10pt; line-height: 115%;">WHERE</span><span style="background-color: white; font-family: Courier; font-size: 10pt; line-height: 115%;"> offloadable </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 10pt; line-height: 115%;">=</span><span style="background-color: white; font-family: Courier; font-size: 10pt; line-height: 115%;"> </span><span style="background-color: white; color: red; font-family: Courier; font-size: 10pt; line-height: 115%;">'YES'</span><b><span lang="TR"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">2-Colon Filtreleme (Columnd
Filtering);</span></b><span lang="TR">Exadata sadece
sql query de geçen kolonu<b> </b>geri
döndürür böylece LOB vs. gibi ağır kolonlar işlenmemiş olur dolayısıyla performans
açısından ve badwith kullanımı açısından önemli bir kazanım sağlanır.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">3-Birleştirme İşlemi (Join
Prosesessing): </span></b><span lang="TR">Exadata
start şemalar için (büyük tablolar ve küçük tablo, tipik yıldız yapısı) bloom
filtre kullanır. Bloom filtre küçük tablonun taranıp bu taram sonucu ile hash
tablo oluşturulması ve daha sonra bu hash tablo üzerinde bitmap index
oluşturarak bu indexe göre join edilen kolon ve query filtre koşullarının
aranmasıdır. Bu işlemde çok büyük tablolar la küçük bir tablonun
birleştirilmesi işleminde nested yada hash joinden çok daha performanslıdır.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">4-Encript obje taraması (Scan
on encripted Data):</span></b><span lang="TR">Exadata
encript edimiş tablespace yada tabloyu veritabanı için decript edip
tarayabilir.Hata encript edilmiş bir tablo üzerinde row yada kolon filtreleme
yapabilir.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">5-Data Anlamlandırma (Scoring
for data mining):</span></b><span lang="TR">Exadata
dataming modellerinde kullanılan scoring fonksiyonlarını cell’lere yükler.Bu da Database mainasındaki Cpu
ve I/O yükünü azaltarak datawarehouse analiz işlemlerinin hızını artırır.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">6-Backup (Yedekleme):</span></b><span lang="TR">Yedekleme işlemlerinde cell’ler tarafından
veritabanına yanlızca değşen bloklar gönderildiği için backuplar daha kısa zmanda
alınabilir.Çünkü network üzerinde I/O trafiği azaltılmış olur ve bandwith daha
etkin kullnılmış olur.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">7-Create/extend Tablespace (Tablespace
oluşturma ve genişletme işlemleri):</span></b><span lang="TR"> Tablespace oluşturma ve genişletme işlemleri sırasında ki blok formatlama
işlemleri cell’ler tarafından yapıldığı için database makinasının bu işlemi
gerçeklşeştirme sırasındaki memory, cpu ve disk yazma, network yükü kaldırılmış
olur. Ve bu işlemler exadata ile daha kısa sürede yapılabilir.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Exadata Hybrid Columner
Compression ( Exadata HCC Sıkıştırma)<o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Exadata HCC sıkıştırma özelliğinin çok sık update görmeyen tablolar
üzerinde kullanılması tavsiye edilir.Sıkıştırma 10 kat’a kadar disk kazancı
sağlayabilir.Sıkıştırma özelliği tablo,parititon yada tablespace seviyesinde
yapılabilir. Ayrıca HCC sıkıştırma datawarehouse veya arşiv olarak iki modda
yapılabilir.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">1-DataWareHouse Compression:
</span></b><span lang="TR">Datawarehouse
uygulamaları için idealdir. Query performansı yüksektir.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">2-Online Archival
Compression: </span></b><span lang="TR">Maximum
sıkıştırma oranı na sahiptir. Bu tip sıkıştırma çok sık değişmeyen data lar
için idealdir ve storage kazancı sağlar.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Exadata Smart Flash Cache (Akıll
Memory Kullnımı)<o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Exadata, sık erişilen tablo ve index blokları, okuma tipine göre cache (keş
) eder ve her bir cell ortalama 75 000 I/O Per Second cache üzerinden
destekler. Exadata smart cache aşağıdaki objeleri cache eder.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l2 level1 lfo2; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">Sık
ulaşılan tablo ve indeler,<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l2 level1 lfo2; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">Kontrol
file okuma ve yazmaları,<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l2 level1 lfo2; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">File
Header okuma ve yazmaları,<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l2 level1 lfo2; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">Dba
tarafından cache edilen objeler.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> Bu bağlamda aşağıdaki işlemlerde
exadata flash cache kapsamında değildir.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level2 lfo3; tab-stops: 36.0pt 48.75pt; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">Mirror
copy’e yapılan I/O lar cachlenmez,<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level2 lfo3; tab-stops: 36.0pt 48.75pt; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">Backup
ile ilişkili I/O cachlenmez,<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level2 lfo3; tab-stops: 36.0pt 48.75pt; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">Data
Pump I/O cachelenmez,<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level2 lfo3; tab-stops: 36.0pt 48.75pt; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">Data
File formatları cachelenmez,<o:p></o:p></span></div>
<div class="MsoNormal" style="tab-stops: 36.0pt 48.75pt; text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="tab-stops: 36.0pt 48.75pt; text-indent: 36.0pt;">
<b><span lang="TR">Exadata Storage Index (Depo Birimi Indexleme)<o:p></o:p></span></b></div>
<div class="MsoNormal" style="tab-stops: 36.0pt 48.75pt; text-indent: 36.0pt;">
<span lang="TR">Exadata Storage indexler cell memory
lerinde tutulan ve cellee yapıaln fiziksel okuma ları azaltan yapılardır. Eğer query storage index kullanacak şekilde
filtre içeriyorsa storage indexler çok faydalı hale gelir.Storage indexler
manuel create, drop yada tüne edilmez. <o:p></o:p></span></div>
<div class="MsoNormal" style="tab-stops: 36.0pt 48.75pt; text-indent: 36.0pt;">
<span lang="TR">Storage indexler cell tarafından query
çalıştırıldığında otomatik olarak oluşturulur. Ayrıca cell reboot edildiğinde
indexler memory üzerinde olduğu için yok edilir ve cell tekrar açıldığında ve
query’nin ilk çalışması ile birlikte indexler tekrar oluşturulur. <o:p></o:p></span></div>
<div class="MsoNormal" style="tab-stops: 36.0pt 48.75pt; text-indent: 36.0pt;">
<span lang="TR">Storage index number,date,varchar2 gibi
data tiplerin için geçerlidir. NLSdata data tipi için geçerli değildir.<o:p></o:p></span></div>
<div class="MsoNormal" style="tab-stops: 36.0pt 48.75pt; text-indent: 36.0pt;">
<b><span lang="TR">Exadata I/O Resource Management ( I/O Kaynak Yönetimi)<o:p></o:p></span></b></div>
<div class="MsoNormal" style="tab-stops: 36.0pt 48.75pt; text-indent: 36.0pt;">
<span lang="TR">Geleneksek veritabanı sistemlerinde FIFO (First
Input First Output) kuralı ile diske gelen I/O talepleri karşılanır. Bundan
dolayı eğer siz bir kaynak üzerinde I/O yapıyorsanız sizden sonra yapılan işlem
sizin işleminizden sonra işlenir. Şekil 6 da geleneksel ve Exadata I/O yönetimi
şematize edilmiştir.<o:p></o:p></span></div>
<div class="MsoNormal" style="tab-stops: 36.0pt 48.75pt; text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="tab-stops: 36.0pt 48.75pt; text-indent: 36.0pt;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://2.bp.blogspot.com/-X2__F5uPRdM/T97cT6Ahj6I/AAAAAAAAAUE/sjZNQdyYbdY/s1600/6-resource_management.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="248" src="http://2.bp.blogspot.com/-X2__F5uPRdM/T97cT6Ahj6I/AAAAAAAAAUE/sjZNQdyYbdY/s400/6-resource_management.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: -webkit-auto; text-indent: 48px;">Şekil 6: Exadata Resource Management</span>
</td></tr>
</tbody></table>
<div class="MsoNormal" style="tab-stops: 36.0pt 48.75pt; text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Ancak Exadata da gelen I/O talepleri yüksek öncelikli ve düşük öncelikli
olarak sınıflandırılır. Be yüksek öncelikli taleplerin işlenmesini öncelik
tanınır.Bu akıllı I/O kaynak yönetimi db userları için tanımlanan poliçeler ile
sağlanır. Şöyle ki sistemde xuser diye bir user olsun ve bu user kişisel
kullanımda olsun.Eğer bu xuserın en
fazla 4 paralel çalıştırmasını istiyorsam xuser paralel limitini 4 yaparım ve
böylece önemli işlemler ve datawarehouse uygulaması için sağlanması gereken
kaynağı , xuser’ın kullanma ihtimalide kalmaz.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Bu yazımızda Oracle Exadata Teknolojileri hakkında detaya girmeden teorik
bilgiler sunmaya çalıştık.Özetle oracle Exadata denince; Storage (Cell Server)
ile Database (Database Machine) arasında her bir yönde 40 GB/s trafik sağlayan infiniband,HCC
Sıkıştırma, Depolama biriminde ki index ler vasitası ile I/O Db ye sunulan I/O
miktarının azaltılması, Akıllı Flash Cache
ve Kaynakların user bazında dağıtılabilmesi ve yönetilebilmesi
denilebilir. Exadata nasıl çalışır? Nasıl
bir sistemdir sorularına yanıt anlamında katkıda bulunmak istedik. Tüm resimler
ve bilgiler Oracle Dökümantasyondan alınmıştır. Faydalı olması dileğiyle.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><br /></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> Özcan
YILDIRIM<o:p></o:p></span></div>
<div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com12tag:blogger.com,1999:blog-797610349949026868.post-77651308205101627262012-06-13T11:01:00.001+03:002012-06-13T11:02:52.739+03:00Oracle Performance Troubleshooting 1 (AWR Reports)<br />
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Bu yazımızda Oracle Performans Troubleshooting de kullanılabilen en etkili
toolar olan awr,ash ve addm raporları hakkında
pratik kullanım bilgileri ve bu raporların hangi durumlarda daha etkili
bilgiler sunabileceği hakkında faydalı bilgiler yazmaya çalışacağız.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR" style="font-size: 12pt; line-height: 115%;">AWR Raporları<o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Awr Raporları Bir Oracle Veritabanındaki performans istatistikerinin
toplantığı data kaynağıdır. Ancak Awr raporlarından tam anlamıyla
yararlanabilmek için öncelikle istatistiklerin yorumlanabilmesi ve db ye ait
geçmişteki istatisklerin de bilinmesi ve db ye bağlanan uygulamalarında
yapısının biraz tanınmış olması gerekir. Bununla birlikte bir dba nın bu
bilgilere sahip olması uzun zaman ve uğraş isteyebilir. Biz burada awr
raporlarının pratik olarak yorumlanmasına değinecek ve veritabanındaki
performans darboğazlarının keşfedilmesinin awr raporları üzerinde nasıl
gerçekleştirileceğine dair bilgiler sunacağız.<o:p></o:p></span></div>
<div class="MsoNormal">
<b><span lang="TR"> Awr
Raporu Nasıl Elde Edilir?<o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Awr raporları en basit olarak Enterprise Manager Üzerinde elde edilebilir.
Aşağıdaki screen shutları sırasıyla inceleyerek aım adım awr raporlaru elde
edebilirsiniz.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-j2yO8t7mZ7M/T9hGg7iow0I/AAAAAAAAASI/BxRhEnZx5FE/s1600/awr_em_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="72" src="http://3.bp.blogspot.com/-j2yO8t7mZ7M/T9hGg7iow0I/AAAAAAAAASI/BxRhEnZx5FE/s400/awr_em_1.png" width="400" /></a></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Şekil 1: Enterprise Manager Database Home Ekranına ulaştıktan sonra Sarı
ile üzerini boyadığımız Server Tabına tıklanır.<o:p></o:p></span><br />
<span lang="TR"></span><br />
<a name='more'></a><span lang="TR"><br /></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-G3dqvVVr0X0/T9hGhqcPe4I/AAAAAAAAASQ/D1x41fnISl4/s1600/awr_em_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="220" src="http://4.bp.blogspot.com/-G3dqvVVr0X0/T9hGhqcPe4I/AAAAAAAAASQ/D1x41fnISl4/s400/awr_em_2.png" width="400" /></a></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Şekil2:Server tabında yine üzerini highlight ettiğimiz Automatic Workload
Repository linki ne tıklanır. Burada göreceğiniz gibi bir çok tool mevcuttur
ancak biz şu an AWR ile ilgileniyoruz.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-BBIzgqdbW5k/T9hGiUgkwxI/AAAAAAAAASc/y_POqwRTW2I/s1600/awr_em_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="183" src="http://3.bp.blogspot.com/-BBIzgqdbW5k/T9hGiUgkwxI/AAAAAAAAASc/y_POqwRTW2I/s400/awr_em_3.png" width="400" /></a></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Şekil3:Karşımıza çıkan Automatic Workload Repository ekranında Edit
Butonuna tılayarak AWR data toplama seçeneklerini değiştirebiliriz. Şekil 3 de
göründüğü üzere örnek veritabanı 30 gün süre ile awr bilgilerini tutuyor ve 60
dakikada bir sanpshot alıyor. Awr ayarlarına dair detaylı bilgiyi </span><a href="http://ozcan-yildirim.blogspot.com/2011/08/oracle-database-maintenance-database.html"><span lang="TR">Oracle Database Maintenance (Database
Bakımı)</span></a><span lang="TR"> yazımızdan
inceleyebilirsiniz.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Yine şekil 3 de üzeri boyanmış Run Awr Report Butonuna tıklıyoruz.<o:p></o:p></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-01QlrTyQLdg/T9hGkJoRbgI/AAAAAAAAASk/V5bwlZ6_DIM/s1600/awr_em_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="106" src="http://1.bp.blogspot.com/-01QlrTyQLdg/T9hGkJoRbgI/AAAAAAAAASk/V5bwlZ6_DIM/s400/awr_em_4.png" width="400" /></a></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Şekil 4 de üzeri boyanan yukarıdaki kısımda tarih ve aşağıdaki kısımda da
awr raporu için başlangıç noktasını seçiyoruz ve OK butonuna basıyoruz.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-F-3R2r_JeYI/T9hGkyekllI/AAAAAAAAASo/B_KjbnJNvqU/s1600/awr_em_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="78" src="http://1.bp.blogspot.com/-F-3R2r_JeYI/T9hGkyekllI/AAAAAAAAASo/B_KjbnJNvqU/s400/awr_em_5.png" width="400" /></a></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Şekil5 de de Yine tarih seçip awr raporu için bitiş noktası seçiyoruz.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-31zJk9ARhzQ/T9hGlUYswVI/AAAAAAAAASw/5o8PUdaGY3k/s1600/awr_em_6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="92" src="http://4.bp.blogspot.com/-31zJk9ARhzQ/T9hGlUYswVI/AAAAAAAAASw/5o8PUdaGY3k/s400/awr_em_6.png" width="400" /></a></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Şekil 6 da ki gibi bir ekran karşımız çıkacak bekliyoruz…<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-sJH_h87v4_E/T9hGl7YwFXI/AAAAAAAAAS4/wP0B6DN43S4/s1600/awr_em_7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="http://1.bp.blogspot.com/-sJH_h87v4_E/T9hGl7YwFXI/AAAAAAAAAS4/wP0B6DN43S4/s400/awr_em_7.png" width="395" /></a></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Şekil 7 de göreceğiniz gibi Awr raporumuz hazır dilersek yukarı sağda
buluna Save To file butonu ile raporumuzu bilgisayarımıza kaydedebiliriz.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Awr raporunu Yukarıda anlatıldığı gibi Enterprise Manager yada Grid Control
Ekranında elde etmek her ne kadar daha kolay ve daha okunabilir olsada iyi bir
dba scriptlede bu raporları elde etmeyi bilmelidir.Çünkü Grid yada Enterpise
Manager her zaman çalışacak diye bir şey yok. Yeri gelir bu ekranlarda
ulaşılamaz olabilir. Bu durumda Sorunun acil tespit edilip aksiyon alınması
için awr raporundan faydalanmak kaçınılmaz olabilir.Espirili anlatımı ile eğer
dba iseniz database ile aranıza kimseyi sokmamayı bilmelisiniz.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Aşağıda awr raporlarını script ile nasıl elde edeceğimiz bulunmaktadır.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><br /></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><b>--Awr ayarlarının değiştirilmesi için;</b><o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">SELECT snap_interval, retention FROM dba_hist_wr_control;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 36.0pt; text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
<span lang="TR">BEGIN<br />
DBMS_WORKLOAD_REPOSITORY.modify_snapshot_settings(<br />
retention => 43200, -- Dakika (43200
= 30 Days). <br />
interval => 30); -- Dakika.<br />
END;<br />
/<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
<span lang="TR"><br /></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><b>--Awr Snapshot üretilmesi</b><o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">BEGIN<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">
DBMS_WORKLOAD_REPOSITORY.create_snapshot ();<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">END;<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">/<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><br /></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><b>--Awr Snapshot Silinmesi</b><o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">BEGIN<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">
DBMS_WORKLOAD_REPOSITORY.drop_snapshot_range (low_snap_id => 1981,<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">
high_snap_id => 2004);<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">END;<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">/<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><br /></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><b>--Kullanabileceğiniz Awr Snapshotların listelenmesi</b><o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> SELECT snap_id,<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> CAST (begin_interval_time AS
DATE),<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> CAST (end_interval_time AS
DATE)<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> FROM dba_hist_snapshot<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">ORDER BY 3 ASC;<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><br /></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><b>--Awr Baseline Üretilmesi (Baseline Belli bir aralıktaki snapsotlar için awr
raporu üretilip db de saklanmasıdır. Daha sonra performans karşılaştırmasında
bunlar kullanılabilir.)</b><o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><b><br /></b></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">BEGIN<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> DBMS_WORKLOAD_REPOSITORY.create_baseline
(<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> start_snap_id => 2305,<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> end_snap_id => 2310,<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> baseline_name => 'Good Nightly Batch');<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">END;<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">/<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><br /></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><b>--Baseline lerin listelenmesi</b><o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> SELECT baseline_id,<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> baseline_name,<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> start_snap_id,<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> end_snap_id<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> FROM dba_hist_baseline<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">ORDER BY 1<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">/<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><br /></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><b>--Baselineların silinmesi</b><o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">BEGIN<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">
DBMS_WORKLOAD_REPOSITORY.drop_baseline ('Routine Jobs', TRUE);<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">END;<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">/<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><br /></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><b>--Awr Raporlarının Script ile üretilmesi</b><o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">$ORACLE_HOME/rdbms/admin/awrrpt.sql<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">$ORACLE_HOME/rdbms/admin/awrrpti.sql
--Belli bir instance için Awr raporu<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">$ORACLE_HOME/rdbms/admin/awrrpt.sql –Belli bir sql için awr raporu<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">$ORACLE_HOME/rdbms/admin/awrrpti.sql
--Belli bir instancdaki sql için Awr raporu<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">$ORACLE_HOME/rdbms/admin/awrddrpt.sql –Karşılaştırmalı awr raporu<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">$ORACLE_HOME/rdbms/admin/awrddrpti.sql
--Belli bir instance için karşılaştırmalı Awr raporu<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Awr Raporları Nasıl
Yorumlanmalıdır?<o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Eğer Veritabanımızda bir performans problemi varsa ilk bakmamız gerekn awr
raporudur. Awr raporuna bakarken “veritabanı
neyi bekliyor” sorunu sormamız gerekir. Odaklandığımız konu burada
beklemeler olmalıdır. Çünkü en çok beklemenin oluştuğu darboğazı çözmek
veritabanı performansı için en çok faydayı sağlamak demektir. Performans kaybına
en fazla sebep olan beklemeye odaklanabilmek için ilk bakacağımız awr
raporundaki “top 5 timed event” kısmı olmalıdır.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-QGdUat2tSpY/T9hGn5LyvBI/AAAAAAAAATQ/-8yXtSqXBS8/s1600/top_5_timed_events.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="152" src="http://1.bp.blogspot.com/-QGdUat2tSpY/T9hGn5LyvBI/AAAAAAAAATQ/-8yXtSqXBS8/s400/top_5_timed_events.png" width="400" /></a></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Yukarıdaki örnekte tipik bir top 5
timed event tablosu verilmektedir.Burada herbir evente ait %total call time
kolonuna baktığımızda % cinsinden veritabanının en fazla beklediği eventi
görebiliriz. Sonrasında bu evetlere ait beklemeleri azaltmak bizim asıl
hedefimiz olmalıdır. Aşağıda daha önce anlattığımız bazı eventler ve çözüm
yöntemlerine ait yazılarımızı bulabilirsiniz. Zamanla en genel bekleme
olaylarına ait yazılar yazmaya devam edeceğiz.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<a href="http://ozcan-yildirim.blogspot.com/2012/02/log-file-sync-log-file-parallel-write.html"><span lang="TR">Log File Sync & Log File Parallel
Write</span></a><span lang="TR"><o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<a href="http://ozcan-yildirim.blogspot.com/2012/03/latch-nedir-ve-latch-contention.html"><span lang="TR">Latch nedir ve latch contention tipleri</span></a><span lang="TR"><o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<a href="http://ozcan-yildirim.blogspot.com/2012/04/buffer-busy-wait-nedir-ve-nasl-tune.html"><span lang="TR">Buffer Busy Wait Beklemeleri ve olası çözümleri</span></a><span lang="TR"><o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<a href="http://ozcan-yildirim.blogspot.com/2012/04/enqueue-waits-locks-tipleri-nedir-ve.html"><span lang="TR">Enqueue Waits & Lock Tipleri ve
Çözümleri</span></a><span lang="TR"><o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Yine top 5 timed event arasında Cpu Time yüksek olması kötü yazılmış sql
lerin olmasından kaynaklanır. Cpu Time Değerinin %20 den fazla olması sql
tuning yapılması gerektiğini dair önemli bir ipucudur.Bu durumda awr
raporundaki sql istatistiklerine (aşağıdaki şekilde gösterildiği gibi) göz
atmanız gerekir.Sql istatistiklerine göz atarkende otrak noktanız “logical and physical reads”</span><span lang="TR" style="background-color: white; color: #333333; font-family: Tahoma, sans-serif;">
</span><span lang="TR">değerleri yüksek olan sqlleri
tespit etmek olmalıdır.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-2VKcIGNErDg/T9hGnVlncWI/AAAAAAAAATI/9Jgaw5e09Ek/s1600/sql_istatistiks.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="186" src="http://2.bp.blogspot.com/-2VKcIGNErDg/T9hGnVlncWI/AAAAAAAAATI/9Jgaw5e09Ek/s400/sql_istatistiks.png" width="400" /></a></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">I/O ile iligli eventlerin fazla
değere sahip olmasının sebei ise iki şey olabilir. Database çok fazla I/O
yapıyordur yada bireysel I/O lar yavaş çalışıyordur.Ancak I/O ile ilgili Avg.
Wait (ms) <20 genelde kabul edilebilir bir değerdir ve bu değer ne kadar
küçükse veritabanının I/O bakımından o kadar hızlı olduğunu gösterir. <o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Ancak Aşağıdaki örnektede incelerseniz Av Rd(ms) kolonu vardır. Bu değerin
Av Rd(ms)>20 I/O darboğaz olduğunu gösterir. Bu değerinde ortalama 7-8 civarında
olmasını bekleriz.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-y0orEul-lwY/T9hGgRJ934I/AAAAAAAAASA/xTBZrLxeMUg/s1600/Tablesp_Io_stats.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="162" src="http://1.bp.blogspot.com/-y0orEul-lwY/T9hGgRJ934I/AAAAAAAAASA/xTBZrLxeMUg/s400/Tablesp_Io_stats.png" width="400" /></a></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Genel olarak eğer database yavaşsa ve top 5 timed Events kısmında “db file
sequential reads” ve “db file scattered read” ve “Cpu Time” eventleri
görülüyorsa bu durumda sql Tuning’e
yoğunlaşmalıdır. Bu durum manuel yapılabileceği gibi “sql tuning advisor” da
kullanılabilir.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Bir diğer faydalanabileceğimiz kısımda load profile kısmıdır. Bu kısımda
database ‘ e ait yük istatistiklerini bulabilir ve kullanabiliriz. Eğer 2 gün
önce performans gayeet iyi iken bu gün performans problemi yaşıyorsanız ve
belirgin bir kök sebep bulamadıysanız load profile bölümlerin karşılaştırarak
kök neden hakkında doğru yol almış olursunuz. Nedir Değişen yük? Veya nedir
artan yük?<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-ow_V9H8wdJc/T9hGmdmDEnI/AAAAAAAAATA/WBPXoFTVbRY/s1600/load_profile.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://4.bp.blogspot.com/-ow_V9H8wdJc/T9hGmdmDEnI/AAAAAAAAATA/WBPXoFTVbRY/s400/load_profile.png" width="400" /></a></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Diğer bir önemli ksıısmda genel database performans tuning yaparken
kullandığımız Instance Efficiency Kısmıdır.
Bu kısımda “Execute to Parse %” oranının yüksek olması cursor
kullanımının iyi derecede olduğunu belirtir. “non-Parse Cpu” değerinin yüksek
olması ise sql tuning’e yoğunlaşmamız gerektiğini gösterir.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-sERP1WSED3w/T9hGfqY9VYI/AAAAAAAAAR8/owImB00diG8/s1600/Instance_Efficiency.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="117" src="http://1.bp.blogspot.com/-sERP1WSED3w/T9hGfqY9VYI/AAAAAAAAAR8/owImB00diG8/s400/Instance_Efficiency.png" width="400" /></a></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Bu yazımızda awr raporları nasıl elde edilebilir ve performans tuning
yaparken nasıl incelenmelidir araştırmaya ve faydalı bir yazı yazmaya
çalıştık.Burada yazılanlar awr raporlarının kullanılması için asla yeterli
olmayacaktır ancak belki bilgi dağarcığınıza yeni bir şeyler eklemiş olursanız
bu yazının amacı yerine gelmiş olur.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Bir sonraki yazımız ASH Raporları’ nda görüşmek üzere.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"><br /></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> Özcan YILDIRIM</span></div><div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com4tag:blogger.com,1999:blog-797610349949026868.post-32475190986777849582012-05-15T10:56:00.000+03:002012-05-15T10:58:37.969+03:00Oracle Data Guard Architecture<br />
<div class="MsoNormal" style="margin-left: 36.0pt; text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Oracle teknolojilerinin işletmeler tarafından en önemli kısımlarından
biride Data Guard Teknolojisidir. Çünkü
data guard ile işletmeler datalarını daha sağlam bir zeminde korumaya almış,
data kaybetme riskini neredeyse yok denebilecek seviyeye almış ve
erişilebilirliği ise maximum seviyede tutumuş olurlar.Bu da işletmleri gerek
müşterilerine karşı gerekse katma deer bakımında daha güvenilir göstermektedir.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> Öyleyse yazımızın devamında data
guard nedir? Data guard mimarisi ve temel terminolojileri konusun da açıklamalar
yapacağız ve mantıksal anlamda anlamay çalışacağız.Sonraki yazılarımızda da
teknolojik anlamda derinlemesine inceleyecek ve pratik örnekler ve kurulum
odelleri sunacağız. <o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Data Guard Konfigurasyon<o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">DataGuard temel anlamda bir veritabanının başka bir yere anlık kopyalanması
ve her hangi bir anda kopya veritabanının açılarak production olarak hizmet
sunabilmesi denilebilir. Biz burada asıl veritabanına primary kopya
veritabanına ise standby diyeceğiz. Bir Dataguard Konfigurasyonunda en az bir
adet primary veritabanı olmalıdır.Yine data guard konfigürasyonunda bir veya birden fazla standby veritabanı
bulunabilir.Konfigurasyon içersinde primary ve standby veritabanları arasındaki haberleşme
Oracle NET ile sağlanır. Yani listener ve tns ler yardımıyla. <o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Ayrıca Belirtmekte fayda varki primary ve standby veritabanları farklı
şehirlerde bile olabileceği gibi aynı makinada bile olabilir.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Standby veritabanı fiziksel olabileceği gibi mantıksalda olabilir. Ama
temel bir data guard konfigürasyonu aşağıdaki gibi şematize edilebilir.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://2.bp.blogspot.com/-o_K2kW4-EPI/T7IL0g_VcRI/AAAAAAAAARw/05550kXoqNM/s1600/1-Data_guard_config.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="101" src="http://2.bp.blogspot.com/-o_K2kW4-EPI/T7IL0g_VcRI/AAAAAAAAARw/05550kXoqNM/s400/1-Data_guard_config.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: -webkit-auto; text-indent: 48px;">Şekil-1: Temel Data Guard Konfigurasyonu</span>
</td></tr>
</tbody></table>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span style="text-indent: 36pt;"></span></div>
<a name='more'></a><br />
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Şekil 1 de görüleceği üzere Redo Log dosyaları Fizeksel olarak
uygulanabileceği gibi mantıksal olarakda Standby veritabanına uygulanabilir.
Burada ki ayrıma görede Fiziksel yada Mantıksal olarak Data guard konfigürasyonu
adlandırılabilir.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Data guard yönetimi Sql *PLUS , DGMGRL (Data guard Yönetim komut Ekranı)
yada Enterprise Manager üzerinde
yapılabilir.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Physical (Fiziksel) Standby
Database<o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Fiziksel standby database, primary ve standby database in bire bir eşit
olmasını sağlamak amacı ile primary db de üretilen redolog dosyalarının standby
veritabanına uygulanması ile elde edilmişolur. Burada blok bazında ve fiziksel
bir eşleme olduğu için fiziksel data guard da denir.Daha çok felaket kurtarma
senaryosu olarak kullanılır. <o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Genel de primary ile snadby farklı lokasyonlardadır.Örneğin primary
ankarada ise standby istanbulda dır. Ankaradaki binada yangın çıksa ve
makinalar hasar görse dahi datalar istanbulda korunumlu olarak tutulur ve aynı
anda tüm uygulamalar istanbuldaki fiziksel veritabanına yönelendirilebilir.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Logical (Mantıksal) Standby
Database<o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Mantıksal Standby database, primary ve standby veritabanlarının, primaryde
gerçekleşen değişikliklerin sql query olarak standby de uygulanması ile elde
edilir.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Mantıksal Standby veritabanları genel olarak down time almadan upgrade,
raporlama gibi isistemi yoran ve uzuzn süren işlemler veya patch geçişleri gibi
kritik işlemlerde riskleri production veritabanından uzak tutarak
gerçekleştirmek için kullanılır.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Data Guard Servisleri
Nelerdir?<o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Redo Transport Services:</span></b><span lang="TR">Primary Veritabanında üretilen redolog
dosylarını standby veritabanına ulaştıran servisdir. Herhangi bir network
failure durumunda , problemin oluşturğu aralıktaki arşivlenmiş redo
dosyalarının yönetimi işlemini üstlenir. Otomatik olarak kayıp arşiv log olup
olmadığını kontrol eder ve Daima primary deki arşiv loğlarla standby daki arşiv
loğları kontrol eder.Eksik olması durumunda primary db ye ait arşiv loğu standby
db ye kopyalar.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Log Apply Services: </span></b><span lang="TR">Log Apply servisleri standby yapısına göre
farklı şekilde elde edilen redo dosyasını işler. Eğer standby database fiziksek
ise Log Apply Servis redo log dosyalarını database ‘ e apply eder. Bununla
birlikte standby database eğer mantıksal ise log apply servis, primary den
gelen redologları sql queryler olarak algılar ve standby db de bu queryleri
çalıştırarak senkronizasyonu sağlar. <o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Role Transitions: </span></b><span lang="TR">Role transitions veritabanını, primary den
standby’ a durumuna yada standby da primary durumuna almaktır.<b> Switchover, </b>burada primary ve standby
veritabanlarının herikisde avail durumdadır ve standby veritabanı primary ‘ye
çevrilir. Aynı şekilde primary veritabanıda standby ‘a çevrilir. <b>Failover ,</b> durumunda ise primary
veritabanı erişilemez druuma
gelmiştir.Bu durumda standby veritabanı primary olarak açılır.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Databaselere ait role değişimleri SQL cümleleri Enterprise manager arayuzu
yada DGMGRL komut ekranında yapılabilir.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Data Guard Broker: <o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Data Guard Broker, Data guard konfigürasyonlarının kurulumu, yönetilmesi
gibi işlemlerin kontrol edilmesi amaçlı kullanılabilir. Data Guard Broker yerine
Enterprise Maanger da genel olarak kullanılır.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Data Guard Konfigurasyon Tipleri<o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Maximum Koruma:</span></b><span lang="TR">Primary veritabanının erişilmez olması
durumunda herhangi bir data kaybetmemek için kurulan data guard konfigürasyonudur.
Bu yapıda primary veritabanı üretilen arşiv loğları hem kendi localine hemde
standby veritabanına ait redo loğların kopyalandığı lokale aynı anda üretir. Bu
yapıda bir transaction; redo log dosyası primary ve standby log dest. Pathine kopyalanmadan
asla commit yada rollback edilemez.Bu şekilde primary veritabanı aniden kapansa
bile standby veritabanı son redo log dosyaları ile gelen transactionları recover
edebilir. <o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Eğer herhangi bir sebepten dolayı primary database standby log alanına
arşiv log yazamazsa, data kaybını engellemek amacı ile priamry veritabanı
shutdown olur.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Maximum Erişilebilirlik:</span></b><span lang="TR">Maximum korumadaki gibi tüm redo log
dosyaları standby’a kopylanmadıkça transactionlar donlandırılamaz.Ancak stnadby
log alanına herhangi bir sebepten dolayı arşiv log yazılamazsa bu modda primary
veritabanı shutdown edilmez. Burada Monitoring ciddi anlamda yapılmalı ve eğer
arşiv kopyala da hata alınmışsa müdahale edilmelidir.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Maximum Performance: </span></b><span lang="TR">Bu tip data guard konfigürasyonunda primary
veritabanı transactionları sonlandırmak için redo dosylarının standby
veritabanına taşınıp taşınmadığını gözetmez. Ancak Yetrli network ve band genişliği
sağlayabiliyorsanız maximum performance modunda data guard konfigure ederek en
iyi verimi alabilirsiniz. <o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Çünkü sonuçta data guard konfigürasyonunda önemli olan redo dosylarının
standby makinasına kopyalanabilmesidir.Bu da network kalitesi ve band genişliği
gibi kaynaklarada bağlıdır.Mümkün en kısa sürede redo dosylarını standby ‘a kopyalamayı
başarabiliyorsanız ve sorun durumunda alarm üretip anlık monitör edip müdahale
edebiliyorsanız problem oluşma
ihitmalide azalıyor ve performans dan da ödün vermemiş olabiliyorsunuz.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">Data Guard Kullanmanın
Faydaları<o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Felaket yaşanma durumlarında data kaybının önlenmesi ve maximum koruma.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">System kaynaklarının etkili kullanılabilmesi.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Performans gereksinimleri yada erişilebilirlik öncelikleri arasında etkili
ve dengeli seçim.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Koley erişilebilir, yönetimsel kolaylık gibi daha bir çok olumlu yanıda
bulunmaktadır.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> <o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Sonraki yazılarımızda fiziksel ve mantıksal data guard kurulumları yapıp,
data guard servislerinin ve data guard konfigürasyonunun yönetimi ve data guard
troubleshooting hakkında faydalı bilgiler sunmaya çalışacağız.<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR"> Özcan
YILDIRIM<o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<br /></div><div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-797610349949026868.post-65310261360370145112012-04-30T14:21:00.003+03:002012-04-30T14:32:56.199+03:00Enqueue Waits & Locks Nedir Ve Nasıl Tune Edilir?<br />
<div class="table-para">
<span lang="TR"> Enqueue bir
oracle shared memory (paylaşımlı memory) birimidir.enqueue ile database
kaynaklarına gelen erişimler serileşitirlir.Bir proses Kaynağa erişirken,
yapacağı işlemi bitirinceye kadar bu kaynağı lock konumunda tutar. Yani başka
proseslerin erişmesine izin vermez. Gelen diğer proseslerde bu lock durumunun bitmesini bekler.Lock
oluşturan prosesin yaptığımı işleme görede lock tipi şekillenir. Kaynak locklı
durumda iken gelen prosesler bir kuyruğa girerler. İşte bu tip locklara enqueue
lock denir. Genel olarak gösterimi “</span>enq: .. contention” gibidir.Biz bu
yazımızda en yaygın görülen aşağıdaki enqueue tipleri detaylı inceleyeceğiz ve
diğer enque tiplerini de tanımlayacağız.<o:p></o:p></div>
<div class="table-para">
TX <span style="font-family: Wingdings;">à</span> Transaction Locks<o:p></o:p></div>
<div class="table-para">
TM <span style="font-family: Wingdings;">à</span> DML Locks<o:p></o:p></div>
<div class="table-para">
ST <span style="font-family: Wingdings;">à</span> Space Management
Enqueue<o:p></o:p></div>
<div class="table-para">
<br /></div>
<div class="table-para">
<b> Bekleme Parametreleri<o:p></o:p></b></div>
<div class="table-para">
P1:Enqueue
adı ve bekleyen prosesin beklediği mode.Aşağıdaki sql ile v$session_wait view
den enque tipini öğrenebilirsiniz.<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">sid,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">CHR</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(BITAND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">p1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">-</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">16777216</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">/</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">16777215</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> || </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">CHR</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(BITAND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">p1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">16711680</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">/</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">65535</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"Name"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(BITAND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">
</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">p1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">65535</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">))</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"Mode"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$session_wait<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm; text-indent: 36pt;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> event </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">'enqueue'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">;</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="table-para">
P2:Lock
Kaynağını belirtir. V$lock tablosundaki ID1 kolonu ile aynıdır.v$lock.id1<o:p></o:p></div>
<div class="table-para">
P3:Lock
Kaynağını belirtir. V$lock tablosundaki ID2 kolonu ile aynıdır.v$lock.id2<o:p></o:p></div>
<div class="table-para">
</div>
<a name='more'></a><br />
<br />
<div class="table-para">
V$lock Tablosundaki ID1 ve ID2
yorumlanması enqueue tipine gore değişir.Aşağıdaki sql, sql tipine gore p1 ve p2
parametrelerinin yorumlaması kkonusunda ipucu verecektir.<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT *<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> FROM v$event_name<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> WHERE name LIKE '%enq: %'<o:p></o:p></span></div>
<div class="table-para">
<br /></div>
<div class="table-para">
Tablo1 de
bazı sık görülen enueue tiplerinin p1 ve p2 parametreleri için detaylı açıklama
mevcuttu.<o:p></o:p></div>
<div class="table-para">
<o:p></o:p></div>
<div class="table-para">
<br /></div>
<table border="1" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184; width: 79.88%;">
<thead>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.18%;" valign="top" width="15%"><div align="center" class="MsoNormal" style="text-align: center;">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Lock
type<o:p></o:p></span></b></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 83.64%;" valign="top" width="83%"><div class="MsoNormal">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">TX<o:p></o:p></span></b></div>
</td>
</tr>
</thead>
<tbody>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.18%;" valign="top" width="15%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">ID1<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 83.64%;" valign="top" width="83%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">ID1 rollback segment ve the slot numarasını belirtir. Değerler V$TRANSACTION viewında XIDUSN ve XIDSLOT kolonlarında görülebilir.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.18%;" valign="top" width="15%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">ID2<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 83.64%;" valign="top" width="83%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Rollback segment wrap veya sequence numarasıdır. Değerler V$TRANSACTION viewında XIDSQN kolonunda
görülebilir.<o:p></o:p></span></div>
</td>
</tr>
</tbody><thead>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.18%;" valign="top" width="15%"><div align="center" class="MsoNormal" style="text-align: center;">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Lock
type<o:p></o:p></span></b></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 83.64%;" valign="top" width="83%"><div class="MsoNormal">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">TM<o:p></o:p></span></b></div>
</td>
</tr>
</thead>
<tbody>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.18%;" valign="top" width="15%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">ID1<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 83.64%;" valign="top" width="83%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">ID1 , tablonun object ID sini
belirtir, DBA_OBJECTS.OBJECT_ID kolonu ile aynı değerdir.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.18%;" valign="top" width="15%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">ID2<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 83.64%;" valign="top" width="83%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Daima 0 dır.<o:p></o:p></span></div>
</td>
</tr>
</tbody><thead>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.18%;" valign="top" width="15%"><div align="center" class="MsoNormal" style="text-align: center;">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Lock
type<o:p></o:p></span></b></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 83.64%;" valign="top" width="83%"><div class="MsoNormal">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">TS<o:p></o:p></span></b></div>
</td>
</tr>
</thead>
<tbody>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.18%;" valign="top" width="15%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">ID1<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 83.64%;" valign="top" width="83%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Tablespace numarasıdır. TS$.TS#
kolonu ile aynı değeri gösterir.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.18%;" valign="top" width="15%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">ID2<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 83.64%;" valign="top" width="83%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Relatif Database Block Address
(DBA) i gösterir.<o:p></o:p></span></div>
</td>
</tr>
</tbody><thead>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.18%;" valign="top" width="15%"><div align="center" class="MsoNormal" style="text-align: center;">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Lock
type<o:p></o:p></span></b></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 83.64%;" valign="top" width="83%"><div class="MsoNormal">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">JQ<o:p></o:p></span></b></div>
</td>
</tr>
</thead>
<tbody>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.18%;" valign="top" width="15%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">ID1<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 83.64%;" valign="top" width="83%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Daima 0 dır.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.18%;" valign="top" width="15%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">ID2<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 83.64%;" valign="top" width="83%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Job number (Job numarasını)
gösterir.<o:p></o:p></span></div>
</td>
</tr>
</tbody><thead>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.18%;" valign="top" width="15%"><div align="center" class="MsoNormal" style="text-align: center;">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Lock
type<o:p></o:p></span></b></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 83.64%;" valign="top" width="83%"><div class="MsoNormal">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">MR<o:p></o:p></span></b></div>
</td>
</tr>
</thead>
<tbody>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.18%;" valign="top" width="15%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">ID1<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 83.64%;" valign="top" width="83%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Tamp fileler dahil Data file ID
dir.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.18%;" valign="top" width="15%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">ID2<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 83.64%;" valign="top" width="83%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Daima 0 dir.<o:p></o:p></span></div>
</td>
</tr>
</tbody><thead>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.18%;" valign="top" width="15%"><div align="center" class="MsoNormal" style="text-align: center;">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Lock
type<o:p></o:p></span></b></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 83.64%;" valign="top" width="83%"><div class="MsoNormal">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">RT<o:p></o:p></span></b></div>
</td>
</tr>
</thead>
<tbody>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.18%;" valign="top" width="15%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">ID1<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 83.64%;" valign="top" width="83%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Redo thread numarasıdır.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.18%;" valign="top" width="15%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">ID2<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 83.64%;" valign="top" width="83%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Always 0.<o:p></o:p></span></div>
</td>
</tr>
</tbody></table>
<div class="table-para" style="text-indent: 36.0pt;">
Tablo 1: Bazı enqueue tipleri ve
parametrelerin yorumlanması<o:p></o:p></div>
<div class="MsoNormal">
<span lang="TR"> Eğer uygulama Paralel DML
işlemlerini çok yoğun kullanıyorsa </span><i>ORA-00052:</i> "maximum
number of enqueue resources exceeded" <span lang="TR">hatasını alabilirsiniz ve bu durumda bu resource değerini yükseltmeniz gerekebilir.Ancak
Default değerler genelde yeterlidir. Aşağıdaki sql ile enqueue ile alakalı
resourceları ve değerlerini gözlemleyebilirsiniz.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;">
<span lang="TR"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">
*<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$resource_limit<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">
resource_name </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">IN</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">'enqueue_resources'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">'enqueue_locks'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">'dml_locks'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">'processes'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 72.0pt;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">
</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">'sessions'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">);</span><span style="color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b><span lang="TR"> Enqueue
Type ve Mode Belirleme<o:p></o:p></span></b></div>
<div class="MsoNormal">
<span lang="TR"> Enqueue tipini ve modunu v$session_wait
view P1 kolonundan analayabiliriz.Bunun için aşağıdaki gibi bir sql kullanmamız
gerekir.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">sid,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> event</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> p1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> p1raw</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">CHR</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(BITAND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">P1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">-</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">16777216</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">/</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">16777215</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> || </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">CHR</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(BITAND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">P1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">16711680</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">/</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">65535</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">TYPE,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">MOD</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">P1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">16</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"MODE"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$session_wait<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 72.0pt;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> event </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">'enqueue'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">;</span><span lang="TR"><o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> Eğer bir kaynak paylaşımlı
olarak birden çok proses tarafından aynı anda kullanılıyorsa oracle bu
kullanımı lock mode belirleyerek sağlar.Aşağıdaki tablo 1 de lock mode ile
ilgili bilgileri inceleyebilirsiniz. Tablo 2 de ise sql query lere göre
uygunluk gösterir.<o:p></o:p></span></div>
<table border="1" cellpadding="0" class="MsoNormalTable" style="margin-left: 3.0pt; mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184; width: 85.24%;">
<thead>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 13.46%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Mode<o:p></o:p></span></b></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 85.42%;" valign="top" width="85%"><div class="MsoNormal">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Açıklama<o:p></o:p></span></b></div>
</td>
</tr>
</thead>
<tbody>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 13.46%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">0<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 85.42%;" valign="top" width="85%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">None<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 13.46%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">1<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 85.42%;" valign="top" width="85%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Null (N)<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 13.46%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">2<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 85.42%;" valign="top" width="85%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Row-Share (RS), ayrıca Subshare
lock (SS) olarakda bilinir.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 13.46%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">3<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 85.42%;" valign="top" width="85%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Row-Exclusive (RX), ayrıca
Subexclusive lock (SX) olarakda bilinir.<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 13.46%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">4<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 85.42%;" valign="top" width="85%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Share (S)<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 13.46%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">5<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 85.42%;" valign="top" width="85%"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Share Row Exclusive (SRX), yada Share-Subexclusive
lock (SSX) <o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 13.46%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">6<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 85.42%;" valign="top" width="85%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Exclusive (X)<o:p></o:p></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal">
<span lang="TR"> Tablo 2 :
Lock Mode Bilgileri<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> <o:p></o:p></span></div>
<table border="1" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184; width: 100.0%;">
<thead>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.0%;" valign="top" width="15%"><div class="MsoNormal">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Sql Query<o:p></o:p></span></b></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Mode<o:p></o:p></span></b></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">N<o:p></o:p></span></b></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">RS<o:p></o:p></span></b></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">RX<o:p></o:p></span></b></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">S<o:p></o:p></span></b></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">SRX<o:p></o:p></span></b></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<b><span style="font-family: 'Times New Roman', serif; font-size: 12pt;">X<o:p></o:p></span></b></div>
</td>
</tr>
</thead>
<tbody>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.0%;" valign="top" width="15%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">SELECT <o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">N<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.0%;" valign="top" width="15%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">SELECT … FOR UPDATE<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">RS<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes*<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes*<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes*<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes*<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.0%;" valign="top" width="15%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">lock table in row share mode<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">RS<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.0%;" valign="top" width="15%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">INSERT<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">RX<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.0%;" valign="top" width="15%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">UPDATE<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">RX<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes*<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes*<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.0%;" valign="top" width="15%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">DELETE<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">RX<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes*<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes*<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.0%;" valign="top" width="15%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">lock table in row exclusive mode<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">RX<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.0%;" valign="top" width="15%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">lock table in share mode<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">S<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.0%;" valign="top" width="15%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">lock table in share row exclusive
mode<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">SRX<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="padding: .75pt .75pt .75pt .75pt; width: 15.0%;" valign="top" width="15%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">lock table in exclusive mode<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">X<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">Yes<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 12.0%;" valign="top" width="12%"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">No<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td colspan="8" style="padding: .75pt .75pt .75pt .75pt;" valign="top"><div class="MsoNormal">
<span style="font-family: 'Times New Roman', serif; font-size: 12pt;">* Yes burada eğer paylaşılan
kaynak başka bir row lock tarafından tutulmuyorsa paylaşımın mümkün olduğunu
gösterir.<o:p></o:p></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span lang="TR"> Genel
Enqueue Tipleri ve Çözüm Yöntemleri<o:p></o:p></span></b></div>
<div class="MsoNormal">
<span lang="TR"> Enqueue beklemelerinin sebebi ,
enqueue tipine göre değişiklik gösterir.Aşağıdaki sql ile v$enqueue_stat
viewina bakıp hangi enqueue tipinde sistem çok bekleme oluşturmuş görebiliriz.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">
*<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$enqueue_stat<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">
cum_wait_time </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">></span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">0</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 72.0pt;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">ORDER</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">BY</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> inst_id </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> cum_wait_time </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">desc;</span><span lang="TR"><o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> Aşağıda en yoğun karşılaşılan
enqueue tipleri ile ilgili oluşabilecek sorunlar ve çözüm yöntemleri
belirtilmiştir.<o:p></o:p></span></div>
<div class="MsoNormal">
<b><span lang="TR"> TX
Enqueue -Mode 6 (TX row lock Contention) : </span></b><span lang="TR">En genel TX enqueue tipidir. TX-Row lock contention olarakda
bilinir. İsminden de anlaşılacağı üzere row bazında bir contentiondur. Bir
transaction bir row u update etmeye çalışırken aynı row başka bir transaction
tarafından tutuluyorsa oluşur. Bu bir uygulama problemidir. Burada olması
gereken söz konusu row u tutan transactionın commit yada rollback yaparak row ‘u
bırakmasıdır. Ancak row’u tutan transaction kill edilirse rollback edilmiş
olur.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> Mode 6 TX enqueue , v$lock view’ında
aşağıdaki gibi gözükür.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: 'Courier New'; font-size: 10pt;">ADDR KADDR
SID TY ID1 ID2 LMODE REQUEST CTIME BLOCK<br />
-------- -------- --- -- ------ ------ ----- ------- ----- -----<br />
A3950688 A395069C 10 TM 188154 0
3 0 3
0<br />
<br />
<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;">
<b><span style="font-family: 'Courier New'; font-size: 10pt;">A304E2A0
A304E2B0 10 TX 65585 147836 0
6 3 0</span></b><span style="font-family: 'Courier New'; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 36pt;">
<span style="font-family: 'Times New Roman', serif; font-size: 10pt;"><br />
01AD23D4 01AD24A4 20 TX 65585 147836 6
0 10 1<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> Databasede TX lock
gördüğünüzde ilk yapmanız gerekn blocker sessionu bulmak ve bu sessionun alive
olup olmadığını kontrol etmektir.Ayrıce bu session alive olduğu halde parent
session dead olmuş olabilir. Bunada dikkat etmeniz gerekir.Sonrasında Uygulama
tarafında sessionın commit yada rollback yapılması gerektiğini belirtirsiniz.
Session canlı değilse zaten kill edilebilir ancak canlı ise uygulama tarafında
onay alınmadan kill edilmesi uygulama açısından doğru olmaz.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> TX enque için bloke
eden session aşağıdaki sql ile bulabilirsiniz.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">
</span><i><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: green; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">/*+ ordered */</span></i><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.sid</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">
blocker_sid</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">username blocker_username</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">serial#</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">logon_time</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> b</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.TYPE,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> b</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">lmode mode_held</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> b</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">ctime time_held</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> c</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.sid</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> waiter_sid</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> c</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">request request_mode</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> c</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">ctime time_waited<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$lock b</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$enqueue_lock c</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$session </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">
</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.sid</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> b</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.sid</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> b</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">id1 </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> c</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">id1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(+)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> b</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">id2 </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> c</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">id2</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(+)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> c</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.TYPE(+)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">'TX'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> b</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.TYPE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">'TX'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> b</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.block</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 72pt;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">ORDER</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">BY</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> time_held</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> time_waited</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">;</span><span lang="TR"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span lang="TR" style="font-size: 10pt;"> </span></b><span lang="TR">Ayrıca TX lock hangi obje üzerinde gerçekleşiyor
aşağıdaki sql ile bulabilirsiniz.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> c</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.sid</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> waiter_sid</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">object_name</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">object_type<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> dba_objects </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$session b</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$session_wait c<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">
</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">object_id </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> b</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">row_wait_obj# </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">OR</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">data_object_id </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> b</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">row_wait_obj#</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> b</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.sid</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> c</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.sid</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">CHR</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(BITAND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">c</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">P1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">-</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">16777216</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">/</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">16777215</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> || </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">CHR</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(BITAND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">c</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">P1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">16711680</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">/</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">65535</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">'TX'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 72pt;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> c</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">event </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">'enqueue'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">;</span><b><span lang="TR" style="font-size: 10pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b><span lang="TR">TX Enqueue – Mode 4: </span></b><span lang="TR">Mode 4 deki TX enqueue 3 şekilde
incelenebilir.Bunlar;<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">ITL (Interested
Transaction List) Shortage<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">Unique
Key Enforcement<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span><span lang="TR">Bitmap
Index Entry<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 72.0pt; mso-add-space: auto;">
<span lang="TR">Mode 4 enqueue v$lock viewinda aşağıdaki
gibi görüntülenebilir.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;">
<span style="font-family: 'Courier New'; font-size: 10pt;">ADDR KADDR
SID TY ID1 ID2 LMODE REQUEST CTIME BLOCK<br />
-------- -------- --- -- ------ ------ ----- ------- ----- -----<br />
8A2B6400 8A2B6414 8 TM 3172
0 3 0
248 0<br />
<br />
<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;">
<b><span style="font-family: 'Courier New'; font-size: 10pt;">89EF3A0C 89EF3A1C 8 TX
131147 13 0
4 248 0<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal">
<span lang="TR"> <b>ITL Shortage (enq: TX – Allocate ITL entry):</b>ITL , data blokları
içindeki transaction slotları dır.Bir ITL slot’un ilk değeri INITRANS ile
belirlenirken alabileceği en yüksek değer ise MAXTRANS ile belirlenir.Default
olarak tablolar da ITL 1 indexlerde ise dir.Her bir ITL default olarak 24 byte
uzunluğundadır.USN.SLOT#.WRAP# formatında olup Transaction ID bilgisini
gösterir.Herbir DML transaction data yı
değiştirmeden önce IT block içerisindeki ITL alanına ihtiyaç duyar.İşte
Contention denilen yoğunluğa bağlı kaynak uyuşmazlığı, PCTFREE alanından ITL için
yeterli boş alan bulunamamsından kaynaklanır.Bundan dolayı yeni transactionlar
için ITL denilen gerekli alan mevcut transactionlar işini bitirmedikçe ortaya çıkmaz
ve bekleme durumu ortaya çıkar.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> Aşağıda enq:
TX-Allocate ITL entry enqueue contention oluştuğunda, file# ve block#
bulabileceğiniz bir sql mevcuttur.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="TR"> <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> s</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.sid,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> s</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">serial#</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> s</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">username</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> s</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">sql_id</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> S</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">EVENT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> O</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">OBJECT_NAME</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> O</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">OBJECT_TYPE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> O</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">OWNER</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> S</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">ROW_WAIT_BLOCK# block#</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> S</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">ROW_WAIT_FILE# file#</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> D</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FILE_NAME file_name</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> D</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">TABLESPACE_NAME<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$session s</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> dba_objects o</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> dba_data_files d<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">
S</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">ROW_WAIT_OBJ# </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> O</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">OBJECT_ID<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> S</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">ROW_WAIT_FILE# </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> D</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FILE_ID<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> S</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">ROW_WAIT_OBJ# </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><></span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">
</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">-</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 72.0pt; tab-stops: 48.75pt;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">and</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> S</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">EVENT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">'enq: TX - allocate ITL entry'</span><b><span lang="TR"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Sonrasında </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">alter</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">system</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">dump</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">datafile</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"><</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">file#</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">></span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">block</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"><</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">block#</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">>;</span><span style="color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span lang="TR">komutu ile problemli objenin dumpını alıp
amnaliz edebiliriz.Analiz sonrasında aşağıdaki satırları dump dosyasında
görebileceksiniz.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 36.0pt; text-indent: 36.0pt;">
-- The ITL
portion of a block dump<br />
Itl Xid Uba Flag Lck Scn/Fsc<br />
0x01 0x000a.051.0001fcf2 0x07ca2145.4e11.18 --U- 0
scn 0x070e.03df2f08<br />
0x02 0x0005.049.00022d46 0x090618b7.5967.1c C--- 0 scn
0x070e.03df2f6a<br />
0x03 0x0012.008.0001244b 0x0580a510.26ac.0c --U- 0
scn 0x070e.03df2f7b<br />
0x04 0x0014.00d.00012593 0x090d4f93.28d3.1e C--- 0
scn 0x070e.03e08919<br />
. . .<span lang="TR"><o:p></o:p></span></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<span lang="TR">Bu şekilde blok’un Dump dosyasını almış olduk ve dump flag kolonu </span>--U- şeklinde gördüğünüz ITL ler active ITL ler
dir.Bu şekilde Aktif ITL lerin sayısına gorebilir ve Objeyi daha yüksek
INITRANS değeri ile create ederek sorunu çözebilirsiniz.Ayrıca PCTFREE değerini
artırmakda benzer bir çözüm sağlayacaktır.Aşağıdaki sql ilede en Fazla hangi objeler
üzerinde ITL beklemeleri yaşandığını
gözlemleyebilirsiniz.<o:p></o:p></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b>Unique Key Enforcement: </b>Unique Key Enforcement, birden fazla sessionun
anda unique key yada primary key bulunan kolona insert etmeye çalışması ile
oluşur.Bu durum ‘<i>enq: TX—row lock contention</i>’ olarak da bilinir. Unique
Key den dolayı oluşan TX enqueue bir uygulama problemidir ve uygulamanın
transaction yönetimi ile çözülebilir.<o:p></o:p></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b>ST – Enqueue: </b>Bir
veritabanında sadece bir tane ST lock bulunur.St contention temporary managed
tablespacelerde , birden Fazla sessionun aynı anda dinamik olarak alan almaya
çalışmasından kaynaklanır.St Contentionun’I azaltmak için aşağıdaki işlemleri
yapabilirsiniz.<o:p></o:p></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18.0pt;">
<span style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span>Locally managed Tablespace kullanın.<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18.0pt;">
<span style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span>Tüm temporary tablespceleri ‘CREATE TEMPORARY
TABLESPACE TEMPFILE’ komutu ile tekrar oluşturun.<o:p></o:p></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18.0pt;">
<span style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;">
</span></span>Dictionary managed tablespacelerde extend next
extend sizesini artırmakda contention çözmesinize yardımcı olabilir.<o:p></o:p></div>
<div class="MsoNormal" style="text-indent: 36.0pt;">
<b>TM – Enqueue: </b>Indexlenmemiş foreign
key kolonları TM –Enqueue lerin en buyuk
sebebidir. Ayrıca bir tablo share modda yada daha üst seviye bir modda aynı
anda çalışan DML işlemleri tarafından doğrudan lock edilmişse de TM enqueue
görüntülenebilir. Çözüm için lock oluşturan dml işleminin commit yada rollback
yapmasını ve uygulama tarafından kullanılan third party vendor code ‘larının
incelenmesi gerekir. Aşağıdaki sql ifade ile TM Lock olup olmadığını ve bu lock’I
oluşturan sql ifadeyi ve session bilgilerini bulabilirsiziniz.<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> S</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.SID,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> S</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SERIAL#</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> S</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SQL_ID</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> S</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">USERNAME</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> S</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">OSUSER</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> O</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">OWNER</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> O</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">OBJECT_NAME</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> O</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">OBJECT_TYPE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> l</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.TYPE,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> L</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">LMODE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">P.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SPID<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> gv$lock l</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> dba_objects o</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> gv$session s</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> gv$process </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">p</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">
l</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">id1 </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> O</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">OBJECT_ID<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> request </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">></span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">0</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> L</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.SID</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> S</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.SID</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 72.0pt; text-indent: 36.0pt;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> S</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">PADDR </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">P.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">ADDR</span><o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
<br /></div>
<div class="MsoNormal">
Özcan
YILDIRIM<span lang="TR"><o:p></o:p></span></div><div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-797610349949026868.post-43253528083287752052012-04-18T11:38:00.005+03:002012-04-18T16:37:18.590+03:00Buffer Busy Wait Nedir ve Nasıl Tune Edilir?<div class="MsoNormal" style="text-indent: 36.0pt;"><br />
<div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Buffer Busy Wait event, bir session buffer cache içerisinde ki bir data bloğuna erişmek istediğinde, bu blok başka bir session tarafından kullanılıyorsa ortaya çıkan bir bekleme durumudur. Buffer cache deki bahsedilen durumda olan data bloğu datafileden buffer cache alınıyor yada buffer cache içerisinde değiştiriliyor olabilir.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Buffer Busy wait eventi ile karıştırılmamalıdır.Buffer busy eventi Automatic Storage Management (ASM) kullanan veritabanlarında cache edilen metadaya erişimde yaşanan bekleme olayı olarak tarif edilir.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">V$SESSION gibi viewlara baktığınızda buffer busy wait event’e ait parametreler görürsünüz.Şimdi bu parametrelerin ne olduğunu ve nasıl kullanılabileceğini inceleyelim.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR"></span></div><a name='more'></a><br />
<br />
<div class="MsoNormal" style="margin-left: 36.0pt;"><span lang="TR">P1: File# (Beklenen data bloğunu içeren datafilenin numarasıdır. DBA_DATA_FILES viewında FILE_ID kolonu ile eşitlenerek beklenen bloğun ait olduğu data fileye dair bilgiler edinilebilir.)<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">P2: Block# (DBA_EXTEND viewında bulunan block_id kolonuna denk gelir.)<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">P3: Class#<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Buffer busy wait event gördüğünüzde, hangi bloğun beklendiğini bulmak için aşağıdaki sql den yaralanabilirsiniz.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 45.8pt; margin-right: 0cm; margin-top: 0cm;"><span style="font-family: 'Courier New'; font-size: 10.5pt;">SELECT tablespace_name, file_name<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 45.8pt; margin-right: 0cm; margin-top: 0cm;"><span style="font-family: 'Courier New'; font-size: 10.5pt;"> FROM dba_data_files<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 45.8pt; margin-right: 0cm; margin-top: 0cm;"><span style="font-family: 'Courier New'; font-size: 10.5pt;"> WHERE file_id = </span><b><span style="color: #3333ff; font-family: 'Courier New'; font-size: 10.5pt;">&v$session.p1;</span></b><span style="font-family: 'Courier New'; font-size: 10.5pt;"><o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Eğer P1 parametresinin değerini dba_data_files içerisinde göremiyorsanız, file muhtemelen temp filedir yada dba_files parametresinden değeri büyüktür. Bu durumda şağıdaki sql i kullanarak bloğu içerisinde barından datafileyi bulabilirsiniz.<o:p></o:p></span></div><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;">SELECT tablespace_name, file_name <o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> FROM dba_temp_files f, v$parameter p<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> WHERE p.name='db_files'<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> AND f.file_id+p.value = </span><b><span style="color: #3333ff; font-size: 10.5pt;">&v$session.p1</span></b><span style="font-size: 10.5pt;">;<o:p></o:p></span></pre><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Yada Aşağıdaki sql ile segment tipi, segment sahibi ve segment ismini belirleyebilirsiniz.<o:p></o:p></span></div><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;">SELECT owner , segment_name , segment_type <o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> FROM dba_extents<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> WHERE file_id = </span><b><span style="color: #3333ff; font-size: 10.5pt;">&v$session.p1</span></b><span style="font-size: 10.5pt;"><o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> AND </span><b><span style="color: #3333ff; font-size: 10.5pt;">&v$session.p2 </span></b><span style="font-size: 10.5pt;">BETWEEN block_id AND block_id + blocks -1<o:p></o:p></span></pre><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Aşağıdaki sql yardımıyla hangi dosyaların en fazla beklenen blokları içerdiğini görebilirsiniz.<o:p></o:p></span></div><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;">SELECT count, file#, name<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> FROM x$kcbfwait, v$datafile<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> WHERE indx + 1 = file#<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> ORDER BY count;<o:p></o:p></span></pre><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><b><span lang="TR">Buffer Busy Wait Tuning Nasıl Yapılır?<o:p></o:p></span></b></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Buffer Busy Wait çeşitli bloklara erişim sırasında yaşanan problem durumudur. Şöyleki bir session bazı blokları okumak için memory ‘ e alırken yada memorydeki boğu değiştirirken diğer bir sessin bu blok ile ilgili işlemini yapmak için önce diskten okuma yapıyor ve okuduğunu memory’e almak için buffer bekliyor. İşte bu durumda ilk çıkış noktamız hangi bloğun beklendiğini keşfetmek olmalıdır.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Hangi tip blok üzerinde işlem yaparken buffer busy wait event oluşuyor? Bu sorunun cevabı eventi oluşturan sessiona ait p1,p2,p3 değerleri ile yukarıda verdiğimiz sqlleri kullanarak hangi bloğun beklendiğini bulmak olacaktır. Ayrıca sistemde genel olarak ne tip bloklar bekleniyor aşağıdaki sorgu sonucunda görebilirsiniz.<o:p></o:p></span></div><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;">SELECT *<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> FROM v$waitstat<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> WHERE COUNT > 0 order by 2 desc;<o:p></o:p></span></pre><div class="MsoNormal"> <o:p></o:p></div><div class="MsoNormal"> İyileştirme çalışmaları içinde aşağıda en sık görülen blok tiplerine gore belirtilen çalışmalar yapılabilir.Buffer busy wait hangi blok tipinde sıkça görüldüğünüde aşağıdaki sql ile hızlıca görebiliriz.<o:p></o:p></div><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;">SELECT 'Segment Header' class,<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> a.segment_type,<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> a.segment_name,<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> a.partition_name<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> FROM dba_segments a, v$session_wait b<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> WHERE a.header_file = b.p1<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> AND a.header_block = b.p2<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> AND b.event = 'buffer busy waits'<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;">UNION ALL<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;">SELECT 'Freelist Groups' class,<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> a.segment_type,<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> a.segment_name,<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> a.partition_name<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> FROM dba_segments a, v$session_wait b<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> WHERE b.p2 BETWEEN a.header_block + 1<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> AND (a.header_block + a.freelist_groups)<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> AND a.header_file = b.p1<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> AND a.freelist_groups > 1<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> AND b.event = 'buffer busy waits'<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;">UNION ALL<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;">SELECT a.segment_type || ' block' class,<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> a.segment_type,<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> a.segment_name,<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> a.partition_name<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> FROM dba_extents a, v$session_wait b<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> WHERE b.p2 BETWEEN a.block_id AND a.block_id + a.blocks - 1<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> AND a.file_id = b.p1<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> AND b.event = 'buffer busy waits'<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> AND NOT EXISTS<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> (SELECT 1<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> FROM dba_segments<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> WHERE header_file = b.p1 AND header_block = b.p2);<o:p></o:p></span></pre><pre style="margin-left: 45.8pt;"><span style="font-size: 10.5pt;"> </span></pre><div class="MsoNormal"><b> <o:p></o:p></b></div><div class="MsoNormal"><b> Data block Contention:</b> Data block la rile ilgili işlemlerde iki durum için farklı çözümler mevcuttur.Şimdi bu durumları açıklayalım.<o:p></o:p></div><div class="MsoNormal"> <b><i><u>Durum 1</u></i>:</b>Birden çok session aynı anda ve aynı data bloğuna erişmek istiyorsa ve bu data bloğuda memoryde mevcut değilse, bu data bloğu diskten okunmaya başlar ve bloğu okumaya çalışan diğer sessionlar için buffer busy wait event meydana gelir ve beklemeye girerler.<o:p></o:p></div><div class="MsoNormal"><b> Çözüm Önerileri;<o:p></o:p></b></div><div class="MsoNormal"><b> </b>1-Uygulamanın level of concurrency (aynı anda ddl ve dml çalıştırma yoğunluğu) durumunun azaltılması. Ancak bu Pratik olarak kolay bir işlem değildir.Uygulamanın mantığı değişeceği için bu durumda uygulama yavaşlayabilir.<o:p></o:p></div><div class="MsoNormal"> 2-Buffer busy wait evente sebep olan sqllerin incelenmesi ve tune edilemsi etkili bir çözüm olarak karşımıza çıkar.Bu sqlleri tune ederken physical and logical reads (diskten ve memoriden okuma oranlarının azaltılması) azaltılmasına odaklanılmalıdır.<o:p></o:p></div><div class="MsoNormal"> 3-Tablolardaki FREELIST ve FREELIST GROUP saysısının artırırlmasıda performansda önemli bir pozitif etki sağlayacaktır.Bu işlemi sonra değineceğimiz segment header ile ilgili kısımda daha detaylı görebilirsiniz.<o:p></o:p></div><div class="MsoNormal"><b> <i><u>Durum2</u></i></b>:Birden çok session buffer cache de mevcut olan bir data bloğunun içindeki farklı rowları değişitirmek isterlerse, işlem yapan session dışındaki sessionlar için buffer busy wait event meydana gelir ve beklemeye girerler.<o:p></o:p></div><div class="MsoNormal"> 1-Durum 1 deki level of concurrency azaltılması yada partition metodunun değiştirilmesi fayda sağlayacaktır.<o:p></o:p></div><div class="MsoNormal"> 2-Eğer database bloksize 16K gibi büyükse bir bloktaki row sayısının azaltılması effektif bir çözüm olacaktır.Bunun için tablonun PCTFREE değerinin artırılması çözüm olabilir.PCTFREE default değeri %10 dur. Yada ALTER TABLE table_name MINIMIZE_RECORD_PER_BLOCK komutu çalıştırılabilir. Ayrıca tablonun Initrans değerini artırmayı deneyin ancak 100 den Fazla yapmayın. Default değeri tablolar için 1 indexler için 2 dir. <o:p></o:p></div><div class="MsoNormal"> 3-Objeyi başka bir tablespacede daha küçük blok size ile create etmekte etkili bir çözüm olacaktır.<o:p></o:p></div><div class="MsoNormal"> <b>Segment Header Contention;</b>Eğer buffer<b> </b>busy wait event data segment headerler üzerindeki yoğunlaşıyorsa bu durumda data segment headerlada yoğun işlemler oluştuğu durumu ortaya çıkar.<o:p></o:p></div><div class="MsoNormal"><b> Çözüm Önerileri;<o:p></o:p></b></div><div class="MsoNormal"> 1-Buffer busy wait eventin oluştuğu objelerin freelist ve freelist group sayılarının artırılması çözüm olacaktır.Öncelikle yukarıdaki sql ile segment adı ve segment tipi belirlenmelidir.Sonrasında en azından iki adet freelist groubu olacak şekilde obje tekrar oluşturulmalı ve freelist sayısıda artırılmalıdır.<o:p></o:p></div><div class="MsoNormal"> Aşağıda tablo 1 de freelist ve freelist_group syaıları değiştirilmiştir.Bu durumda data blok ve segment header contention miktarlarında ve bekleme sürelerindeki değerleri inceliyiniz.<br />
<br />
<div align="center" class="MsoNormal" style="tab-stops: 45.8pt; text-align: center;"><br />
</div><table border="1" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184; width: 91.84%;"><thead>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><b><span style="font-family: 'Times New Roman', serif;">V$WAITSTAT<o:p></o:p></span></b></div></td> <td colspan="2" style="padding: .75pt .75pt .75pt .75pt; width: 24.18%;" valign="top" width="24%"><div align="center" class="MsoNormal" style="text-align: center;"><b><span style="font-family: 'Times New Roman', serif;">Test #1<br />
Freelists = 1<br />
Freelist Groups = 1<o:p></o:p></span></b></div></td> <td colspan="2" style="padding: .75pt .75pt .75pt .75pt; width: 28.98%;" valign="top" width="28%"><div align="center" class="MsoNormal" style="text-align: center;"><b><span style="font-family: 'Times New Roman', serif;">Test #2<br />
Freelists = 12<br />
Freelist Groups = 1<o:p></o:p></span></b></div></td> <td colspan="2" style="padding: .75pt .75pt .75pt .75pt; width: 25.6%;" valign="top" width="25%"><div align="center" class="MsoNormal" style="text-align: center;"><b><span style="font-family: 'Times New Roman', serif;">Test #3<br />
Freelists = 4<br />
Freelist Groups = 3<o:p></o:p></span></b></div></td> </tr>
</thead> <tbody>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><b><span style="font-family: 'Times New Roman', serif;">Class</span></b><span style="font-family: 'Times New Roman', serif;"><o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><b><span style="font-family: 'Times New Roman', serif;">Count</span></b><span style="font-family: 'Times New Roman', serif;"><o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><b><span style="font-family: 'Times New Roman', serif;">Time</span></b><span style="font-family: 'Times New Roman', serif;"><o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><b><span style="font-family: 'Times New Roman', serif;">Count</span></b><span style="font-family: 'Times New Roman', serif;"><o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><b><span style="font-family: 'Times New Roman', serif;">Time</span></b><span style="font-family: 'Times New Roman', serif;"><o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><b><span style="font-family: 'Times New Roman', serif;">Count</span></b><span style="font-family: 'Times New Roman', serif;"><o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><b><span style="font-family: 'Times New Roman', serif;">Time</span></b><span style="font-family: 'Times New Roman', serif;"><o:p></o:p></span></div></td> </tr>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="color: blue; font-family: 'Times New Roman', serif;">data block<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="color: blue; font-family: 'Times New Roman', serif;">656432<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="color: blue; font-family: 'Times New Roman', serif;">534104<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="color: blue; font-family: 'Times New Roman', serif;">9299<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="color: blue; font-family: 'Times New Roman', serif;">6986<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="color: blue; font-family: 'Times New Roman', serif;">3045<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;"><span style="color: blue;">1447</span><o:p></o:p></span></div></td> </tr>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">sort block<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> </tr>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">save undo block<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> </tr>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="color: blue; font-family: 'Times New Roman', serif;">segment header<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="color: blue; font-family: 'Times New Roman', serif;">384272<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="color: blue; font-family: 'Times New Roman', serif;">150444<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="color: blue; font-family: 'Times New Roman', serif;">72337<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="color: blue; font-family: 'Times New Roman', serif;">110850<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="color: blue; font-family: 'Times New Roman', serif;">79<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;"><span style="color: blue;">6</span><o:p></o:p></span></div></td> </tr>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">save undo header<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> </tr>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">free list<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">8400<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">8503<o:p></o:p></span></div></td> </tr>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">extent map<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> </tr>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">1st level bmb<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> </tr>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">2nd level bmb<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> </tr>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">3rd level bmb<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> </tr>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">bitmap block<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> </tr>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">bitmap index block<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> </tr>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">file header block<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">1<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> </tr>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">Unused<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> </tr>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">system undo header<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> </tr>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">system undo block<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> </tr>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">undo header<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">2388<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">36<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">166<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">18<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">155<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">51<o:p></o:p></span></div></td> </tr>
<tr> <td style="padding: .75pt .75pt .75pt .75pt; width: 19.5%;" valign="top" width="19%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">undo block<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 10.24%;" valign="top" width="10%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.6%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.66%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 14.98%;" valign="top" width="14%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 13.98%;" valign="top" width="13%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> <td style="padding: .75pt .75pt .75pt .75pt; width: 11.26%;" valign="top" width="11%"><div align="center" class="MsoNormal" style="text-align: center;"><span style="font-family: 'Times New Roman', serif;">0<o:p></o:p></span></div></td> </tr>
</tbody></table><div align="center" class="MsoNormal" style="tab-stops: 45.8pt; text-align: center;"><br />
</div><br />
<span style="text-indent: 36pt;">Tablo1:freelist and freelist group test.</span><br />
<span style="text-indent: 36pt;"><br />
</span></div><div class="MsoNormal"><o:p></o:p></div><div class="MsoNormal"> 2-PCTFREE ve PCTUSED değerlerini artırmayı deneyin. PCTUSED değeri bir bloğun olabileceği maximum doluluk oranıdır. Default değeri 40 dır. Bu şu demek olurki bir bloğa yeni very girilmesi için bloğun %40 dan daha Fazla dolu olmamalıdır. PCTFREE ise blok içindeki verilere gelebilecek updateleri control edebilebilmek için ayrılmış boş alandır. Default değeri 10 dur.<o:p></o:p></div><div class="MsoNormal"> 3-Next extent size ın çok küçük olmadığından emin olun.<o:p></o:p></div><div class="MsoNormal"> Ayrıca tablo 1 de gördüğünüz 1<sup>st</sup> level bmp, 2<sup>nd</sup> level bmp ve 3<sup>rd</sup> level bmp contentionlar görüyorsanız bu contentionlar ASSM (Automatic segment space management) ile ilgilidir ve çözüm için metalinkten bilinen bugları araştırmalısınız yada support almalısınız.<o:p></o:p></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><b> Undo Segment Header Contention:</b> Freelist sayısını artırmayı deneyin ve freelist gruplarını kullanın.Daha Fazla rollback segment create etmeyi deneyin.<o:p></o:p></div><div class="MsoNormal"><b> Undo Block Contention:</b>Undo block contention için eğer undo tablespace ve undo retention yeterince buyuk ise veritabanında yapılabilecek bir çalışma maalesef bulunmamaktadır.Undo block contention uygulamanın aynı anda update çalıştıran çok Fazla sessiona sahip olduğunu gösterir.Uygulama farklı zamanlarda dml ve query çalışmaya yönelik geliştirilmelidir.<o:p></o:p></div><div class="MsoNormal"><b> Freelist Contention:</b> Freelist sayısını artırın. Eğer parallel serverlar kullanıyorsanız herbir serverın kendi freelist gubu olduğundan emin olun.<o:p></o:p></div><div class="MsoNormal" style="tab-stops: 45.8pt; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="tab-stops: 45.8pt; text-indent: 36.0pt;"> Özcan YILDIRIM<o:p></o:p></div></div><div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-797610349949026868.post-21410790128872032412012-04-13T16:30:00.001+03:002012-04-13T16:30:53.964+03:00Oracle RAC Servis Yönetimi<div class="MsoNormal"><span lang="TR">Belli bir gruba ait iş yükünü yönetmek yada database gelen bağlantıları yaptıkları işe göre guruplandırıp, bu guruplara benzer karakteristiklerde kurallar tanımlamak için oracle veritabanında servisler kullanılır. Örneğin çalışan Batch joblarda İnsan kaynakalrı ile alakalı olanlar için HR adında bir servis tanımlayıp insan kaynakları uygulamalarından gelen bağlantıları HR servisi üğzerinden database ulaştırabilir, sonrasında hr servisnin kullandığı cpu yu kısıtlayabilir veya farklı bir bağlantı metodu tanımlayabilir yad istersek bir rac sisteminin sadece belli bir noduna bağlanmasını sağlayabiliriz.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Bir servisi tüm node larda çalışacak şekilde oluşturursak buna UNIFORM servis denir. Yada tam Tersi olarak sadece tek bir makinada hizmet verecek şekilde oluşturursak buna da SINGLETON servise denir.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Yine bir servisi öncelikli olarak rac1 instancede çalışacak ancak rac1 instance online olmadığında yada crash durumu olduğunda rac2 instacede çalışacak şekilde oluşturusak; bu durumda rac1 PREFERRED , rac2 ise AVAILABLE instanceler olmuş olur.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Oracle Servisleri yukarıda tanıtmaya çalıştık. Şimdi bu servisler nedir, nasıl oluşturulur ve nasıl yönetilir konularında açıklamalar ve örneklemeler yapmaya çalışacağız.<o:p></o:p></span></div><div class="MsoNormal"><b><span lang="TR"> Default Servisler<o:p></o:p></span></b></div><div class="MsoNormal"><span lang="TR"> Bir database de en fazla 115 servis uygulama için oluşturulabilir. <b>SYS$BACKGROUND</b> ve <b>SYS$USERS </b>ise oracle tarafından default oluşturulan , silinemeyen ve değiştirlemeyen servislerdir.Yani internal servislerdir diyebiliriz. Default servisler tüm rac nodelarında daima erişilebilir durumdadır yani avail dir.<o:p></o:p></span></div><div class="MsoNormal"><b><span lang="TR"> Servis oluşturma ve yönetme<o:p></o:p></span></b></div><div class="MsoNormal"><b><span lang="TR"> </span></b><span lang="TR">Servisleri Enterprise Managerda, Cluster Managed Database Services sayfasında oluşturabilir ve yönetebilirsiniz. Ayrıca srvctl de bu işlemi daha pratik ve hızlı yapabileceğim bir komut yönetcisidir. Burada daha çok srvctl ile devam edeceğiz.<o:p></o:p></span><br />
<span lang="TR"></span><br />
<a name='more'></a><span lang="TR"><br />
</span></div><div class="MsoNormal"><span lang="TR"> *Örneğin RAC1 ve RAC2 isimlerinde iki adet instanceye ait RAC veritabanı için PROD adında bir servis oluşturalım.Ancak bu servis normalde RAC1 de çalışsın ancak RAC2 dede çalışabilecek durumda olsun.Yani RAC1 herhangi bir durumda hizmet veremez olursa RAC2 den çalışacak şekilde servis oluşturalım.Bunun için yapmanız gerekn aşağıdaki gibi bir komut çalıştırmak.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> srvctl add service –d RAC –s PROD –r RAC1 –a RAC2<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Burada kullandığımız komut opsiyonlarından bahsedecek olursak.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">–d : Database ismi<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">-s: Servis ismi<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">-r: Preferred yani yani servisin default çalışacağı instance<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">-a:Available yani servisin ikincil olarak seçeceği instance.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Burada dikkat etmeniz gereken ; srvctl ile servis oluşturulduğunda servis tnsnames.ora dosyasında güncellenmez ve başlamış olmaz.Servisin başlaması için bu işlemleri de yapmış olmanız gerekir.Aşağıda örnek bir tns tanımlaması bulunmaktadır.Clientlar için tns scan kullanılarak tanımlanmış ve load balance yani yük dengeleme opsiyonu da açılmıştır.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm; text-indent: 36pt;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">PROD</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">DESCRIPTION</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> <o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm; text-indent: 36pt;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> LOAD_BALANCE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=on)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> <o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm; text-indent: 36pt;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">ADDRESS</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">PROTOCOL</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">TCP</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)(HOST=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">cluster01</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">-scan)(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">PORT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">1521</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">))</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> <o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 72.0pt; text-indent: 36.0pt;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">CONNECT_DATA</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">=(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">SERVICE_NAME</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> PROD </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">)))</span> <span lang="TR"><o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Sonrasında Servisi tüm instancelerde başlatmak için yine srvctl ile aşağıdaki komutu çalıştırmanız yeterlidir.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">srvctl start service –d RAC –s PROD<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Bir servisi durdurmak içinse aşağıdaki gibi komut çalıştırılabilir.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">srvctl stop servise –d RAC –s PROD –I RAC1,RAC2<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Yine bir servisi bir instance de diasable etmek istiyorsanız.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">srvctl disable service –d RAC –s PROD –s PROD –i RAC1<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Peki bir servisi belli bir instance için preferred yapmak istiyorsanız?<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">srvctl modify service –d RAC –s PROD –i RAC2 -r<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Bazende bir instanceyi restart etmeniz yada bir nodu reboot etmeniz gerekebilir.Ancak bu sürede servis kesintisi almak istemezsiniz servisin diğer instancede devam etmsiniz isterseniz.Bunun için servisi taşımanız gerekir.Ancak bu işlem sırasında mevcut connectionlar reboot edilecek noda kalacağı için ( servis taşıma aslında yeni geleln connectionları diğer makinaya yönlendirmektir.) kısa süreli bir kesinti olabilir.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">srvctl relocate service -d RAC -s PROD –i RAC1 –t RAC2 --Bu örnekte PROD servisi RAC1 instancesinden RAC2 instancesine taşınmaktadır.<o:p></o:p></span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><span lang="TR"> <b>Servislerde Bağlantı Üzerinden Yük Nasıl Dengelenir?<o:p></o:p></b></span></div><div class="MsoNormal"><span lang="TR"> Bağlantı üzrinden yük iki şekilde degelenebilir.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> 1-Client taraflı dengeleme: Listener vasıtası ile clientların farklı instancelere gitmesi sağlanır.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> 2-Server taraflı dengeleme:Server tarafında ise yük için en uygun instance servise vasıtası ile sağlanıt ve client ‘ a ait bağlantı en iyi instanceye yönlendirilir.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Örneğin ERP uygulamasının bağlantıları uzun süreli çalışıyorsa ve HR uygulamasının bağlantılarıda kısa süreli çalışıyorsa bu iki uygualama için ayrı ayrı servisler oluşturarak load balance yani yük sengesi sağlanabilir. Böylece her iki uygulamanın yükünü instanceler arasında ve bağlantı açısından dengelemek mümkündür. Bu işlem için srvctl kullanılabilir.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">srvctl modify service –s service_name –j LONG|SHORT<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Bulunla birlikte servisler için kaynak yönetimi yapabilmek de mümkündür.Enterprise manager üzerinde server sayafasında consumer group mapping linki üzerinden bir servis için instance kaynaklarını limitleyebilirsiniz. %25 cpu kullansın vs..<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Servislere dair istatistikleri enterprise manager üzerinde top services sayfasında erişebilir yada gv$service_stats, gv$service_event,gv$service_wait_class,gv$servicemetric viewları üzerinden de ulaşabilirsiniz.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> </span></div><div class="MsoNormal"><span lang="TR"> ÖZCAN YILDIRIM <o:p></o:p></span></div><div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-797610349949026868.post-33350560032029612592012-04-10T10:09:00.002+03:002012-04-13T16:35:24.172+03:00Rac Database Wait Events<div class="MsoNormal"><span lang="TR"> <o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Bu yazımızda RAC veritabanını tüne ederken kullanabileceğimiz tool lardan, Rac instance Tuning nasıl yapılır, Rac veritabanında sıkça görülen wait eventlerden , AWr ve ADDM Rac veritabanı için yorumlama konularında paylaşımda bulunacağız.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR"><br />
</span></div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://3.bp.blogspot.com/-nipEDlo-bXY/T4Pbk7bFZ3I/AAAAAAAAARY/Tn4DwgQ3QGc/s1600/cpu%2526wait_time.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="185" src="http://3.bp.blogspot.com/-nipEDlo-bXY/T4Pbk7bFZ3I/AAAAAAAAARY/Tn4DwgQ3QGc/s320/cpu%2526wait_time.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: -webkit-auto; text-indent: 48px;">Sekil 1: Cpu ve Wait time arasındaki ilişki</span> </td></tr>
</tbody></table><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="text-indent: 36pt;"> </span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><b><span lang="TR">Cpu Time ve Wait Time arasındaki İlişki<o:p></o:p></span></b></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Öncelikle genel mantık olarak belirtelimki : Cpu Time ve Wait time değerlerini oranladığımızda eğer CPU Time baskın çıkıyorsa Cpu maliyeti yüksek sql lerin olduğunuz ve bu sqllerin tüne edilmesi gerektiğini çıkarabiliriz.Bu sqlleri de gv$sql view ‘ında Cpu_time kolonuna göre order by yaparak bulabiliriz. Eğer tüne edilebilecek sql yoksa yada sql tuning ile yeterli performans kazanımı elde edemediysek bu durumda CPU eklemek faydalı olacaktır. Eğer Wait Time baskın çıkıyorsa bu durumda Cpu eklemenin hiçbir faydası olmayacaktır.Wait eventleri gözlemlemeli ve performans darboğazlarda geliştirme yapmalıyız sonucunu çıkarabiliriz.Şekil 1 e de bakıldığında bu yorumları çıkarabilirsiniz.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Rac veritabanını tüne ederken her zmana çıkış noktamız her bir instanceyi tek başına çalışıyormuş gibi tüne etmeye yönelmektir. Sonrasında tabiki rac veritabanlarında ardaki intercnnect trafik hesaba katılmalı ve Rac veritabanı tüne edilirken istatiktiklerin yada tuning tollarının RAC yapısına oluştuğu ve buna göre yorumlanması gerektiği düşünülmelidir.<o:p></o:p></span></div><div class="MsoNormal"><br />
</div><a name='more'></a><br />
<div class="MsoNormal"><b><span lang="TR"> Instance Recovery And RAC<o:p></o:p></span></b></div><div class="MsoNormal"><span lang="TR"> Instance Eviction yani crash durumlarında instance nin tekrar başlatılması ve crash recover edilmesi zamanı FAST_START_MTTR_TARGET parametresine bağlıdır. Bu parametre 0-3600 sn arasında bir değere set edilebilir. Mesela bu paramtre 1800 ise instance 30 dk da recover edilecek ve başlayacak demektir.Ancak I/O yük miktarıda 3600 değerine göre çok daha yoğun olacaktır. Bundan dolayı I/O sistemlerinizin de desteklediği bir değere set etmek mantıklı olandır. FAST_START_MTTR_TARGET parametresi “ alter system set FAST_START_MTTR_TARGET=1800 scope=both;” şeklinde set edilebilir.Ancak bu paramtre her node için farklı olabilir. Yani 1. Nod için 1800 iken 2. Node için 900 olabilir. Bu 2. Nodun 15 dk da instance recover yapacağını ancak 1. Nodun 30 dk .da instance recover edeceğini gösterir.<o:p></o:p></span></div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-VIPKh0eXEc4/T4Pblhwov_I/AAAAAAAAARg/xfns00f6ras/s1600/instance_recovery_and_rac.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="222" src="http://4.bp.blogspot.com/-VIPKh0eXEc4/T4Pblhwov_I/AAAAAAAAARg/xfns00f6ras/s320/instance_recovery_and_rac.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: -webkit-auto; text-indent: 48px;">Şekil 2 : Instance Recovery And RAC</span><span style="text-indent: 36pt;"> </span></td></tr>
</tbody></table><div class="MsoNormal"><br />
</div><div class="MsoNormal"><span lang="TR"> Daha hızlı instance recover işlemi için RECOVERY_PARALELISM parametresi set edilmelidir. Bu paramternin değerini aşağıdaki gibi görebilirsiniz.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> SQL> Show parameter recovery_paralelism;<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Eğer sonuç 0 ise paralel instance recovery set edilmemeiştir. 1 ise paralel instance recover devrede demektir.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Eğer sonuç 1 ise PARALLEL_MIN_SERVERS parametresini paralel değeri için set edebilirsiniz. Bu parametre CPU_COUNT -1 değerine set edilebilir.Yine CPU_COUNT parametresini aşağıdaki gibi görebilirsiniz.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> SQL> Show parameter cpu_count;<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Ayrıca instance recover işlemini geciktiren durumlardan biride instance failure olmadan önce çalışan transaction ların roll_back edilmesidir. Bu işlemin paralel yapılması içinde FAST_START_PARALLEL_ROLLBACK parametresini set edebilirsiniz. <o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">FALSE: Paralel transaction rollback yapılmayacağı anlamına gelir.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">HI: 4*CPU_COUNT derecesinde paralel transaction rollback yapılacağını belirtir.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">LOW: 2*CPU_COUNT derecesinde paralel transaction rollback yapılacağını belirtir.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Son olarak instance recovery buffer_cache in %50 sini kullanır.Alert loğu da kontrol ederek bu değerin yeterli olup olmadığını kontrol edip ve eğer imkanınız varsa buffer_cache değerini artırabilirsiniz.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><b><span lang="TR">Oracle RAC Veritabanında Cache Fusion Etkisi,<o:p></o:p></span></b></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Global Cache olarak bilinen memory birimi RAC veritabanlarında kullanılan ve tüm rac node larının kullandığı cache memory birimidir. Global cache deki data bloklarına erişimin etkisini ve cache deki tutarlılığın yönetimi iki şekilde anlamlandırılabilir.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Global Cache Servise istatistikleri :gc currunt block received,gc cr block received..<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Global Cache Service Wait Events:gc current block 3-way, gc cr grant 2-way..<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Cache Fusion Teknolojisi aslında RAC birimleri arasındaki çok hızlı haberleşmenin sağlandığı adeta bu birimleri senkron gösteren teknolojidir. Cache Fusion cevap süresi ise birbirleri arasındaki mesjlaşma süresi ve birbirleri arasındaki işlem olanağı sağlayan fiziksel birimlerdir. Bu fiziksel birimlere interconnect de denir.IPC protokol ve GCS protokol interconnect birimleridir.Interconnect disk I/O faktörlerinden ekilenmez ve aynı şekilde disk I/O cevap sürelerini de etkilemez.Yani cluster sistemlerdeki disk I/O performansı ile single instance daki disk I/O performansı farklı değildir.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Şekil 3 de RAC sistemlerdeki bazı eventlerin ortalam olamsı gereken bekleme süreleri verilmişti.Bu aralıkların dışında değerler görüyorsanız sisteminizi incelemeniz gerekir.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://2.bp.blogspot.com/-Zgyykq_BIas/T4Pbh2i4u1I/AAAAAAAAAQ8/K5voZWkzc5k/s1600/3-Typical_RAC_Latencies.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="82" src="http://2.bp.blogspot.com/-Zgyykq_BIas/T4Pbh2i4u1I/AAAAAAAAAQ8/K5voZWkzc5k/s320/3-Typical_RAC_Latencies.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: -webkit-auto; text-indent: 48px;">Şekil3: RAC Oratalama bekleme değerleri </span><span style="text-indent: 36pt;"> </span></td></tr>
</tbody></table><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">AWR raporlarındaRAC istatistiklerinin tutulduğu tabloyu incelip eğer önemli bir artış varsa RAC tuning yapmanız gerekir. Aynı istatiskleri V$GES_STATISTICS view danda görebilirsiniz.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><b><span lang="TR">RAC Wait Event<o:p></o:p></span></b></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Wait eventler, sessionların neden beklediklerini analiz etmede kullanılır.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Wait event aslında sorun değil, oluşmuş bir sorun sonucunda oluşan beklemenin adreslenmesinde kullanılan tanımdır. “Hangi session ne iş yaparken, hangi eventi bekliyor” sorusunun ve “Hangi session beklem eventini ortaya çıkaracak iş yapıyor ve hangi kaynağı tutarak yada aşırı yük oluşturarak bekletiyor.” sorusunun cevapları Performans anaklizi yapmada ilk adımdır. Bu analizler için AWR, ADDM gibi toollar kullanılabileceği gibi aşağıdaki view larda incelenebilir.<o:p></o:p></span></div><div class="MsoListParagraphCxSpFirst" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">v$system_wait </span><span lang="TR" style="font-family: Wingdings;">à</span><span lang="TR"> Eventler için toplam bekleme.<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">v$session_event </span><span lang="TR" style="font-family: Wingdings;">à</span><span lang="TR"> Sessionlara ait beklemeler ve eventler<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">v$session_wait_class </span><span lang="TR" style="font-family: Wingdings;">à</span><span lang="TR"> Sessionlara ait event kategorileri ve beklemeler.<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">v$active_session_history </span><span lang="TR" style="font-family: Wingdings;">à</span><span lang="TR"> Aktif sessionlara ait son bilgiler.Her saniye snap alınır.<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">wrh$active_session_histor </span><span lang="TR" style="font-family: Wingdings;">à</span><span lang="TR"> Aktif sessionlara ait son bilgiler. V$active_session_history den en buyuk farkı 10 sn de bir snap alınıyor olması ve db restart olsa ile silinmemesidir. <o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">v$session_wait_history </span><span lang="TR" style="font-family: Wingdings;">à</span><span lang="TR"> Her bir aktif session için son 10 event.<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">v$session_wait </span><span lang="TR" style="font-family: Wingdings;">à</span><span lang="TR"> Sessionlara ait beklemeler.<o:p></o:p></span></div><div class="MsoListParagraphCxSpLast" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">v$sqlstats </span><span lang="TR" style="font-family: Wingdings;">à</span><span lang="TR"> Sql query lere ait beklemeler.Cluster_wait_time kolonu kullanılarak interconnect beklemeleri incelenebilir.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 54.0pt; margin-right: 0cm; margin-top: 0cm;"><b><span lang="TR">Global Cache Wait Event<o:p></o:p></span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> <o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> Aşağıdaki şekilde global cache wait eventler gösterilmiştir. Şekil 4 deki wait eventleri sonrasında açıklamaya çalışacağız.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> <o:p></o:p></span></div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://3.bp.blogspot.com/-cCDkfTNBElU/T4PbikviDTI/AAAAAAAAARE/IiNB7Xf7Tiw/s1600/4-global_cache_waits.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="201" src="http://3.bp.blogspot.com/-cCDkfTNBElU/T4PbikviDTI/AAAAAAAAARE/IiNB7Xf7Tiw/s320/4-global_cache_waits.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: -webkit-auto;">Şekil 4 : Global cache wait events</span> </td></tr>
</tbody></table><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> Global cache tüm rac nodelarının ortak kullandığı cache memory parçasıdır. Cluster içerisindeki senkronizasyon işlemlerinde kullanılır. Şekilde ve aşağıda kullanacağımız kısaltmaların anlamları ise şöyledir.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> gc: global cache cr:consistent reads<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> gc current/cr request: Hali hazırda işlenen memory birimi yada global cache deki uygun bir blok için yapılan talep ile alakalıdır. Talep gerçekleşene kadar yer tutar.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> gc current/cr block 2/3-way : Mevcut yada uygun olan bloklar için oluşturulan erişim taleplerinin 2 yada 3 network hop dan sonra karşılandığını gösterir. Network hop; datanın network üzerinden bir cihazdan diğerine taşınması işlemi yani bir network işlemidir.ping atarak hop count hesaplanabilir. Mesela bizim bilgisayarımıza internet üzerinden bir data girerken ISP, Switch,router vs. 16 cihaz geçiliyorsa 16 network hop yapmış demektir.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">gc current/cr block busy: Mevcut yada uygun olan bir cache bloğu erişilmiştir ancak LMS proses tarafından yapılacak gönderme işlemi bazı sebeplerden dolayı erteleniyordur.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">gc current/cr grant 2-way:Yetki tanımlanan block eğer local cache üzerinde değilse talep edilen instance üzerinde bir diskten okuma başlatılır.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> gc current grant busy: Yetki tanımlanan block eğer o an için başka bir proses tarafından tutuluyorsa grant mesajı alınsa dahi anlık olarak işlem elde edilmemiştir.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> gc current/cr block/grant congested: Block okumaları yada yetki gibi işlemlerde eğer internal kuyruklar 1 ms den fazla gecikme yaşıyorsa tıkanma anlamında congested wait eventi alınır.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> gc current/cr failure/retry: bir blok talebinin fail durumu dur.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> gc buffer busy: Global memory ye erişim zamanı, global memory i işarteleme zamanından daha az ise bu durumda müsait memory beklem durumu oluşur.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> Yukarıda RAC veritabanlarına ait bekleme leri kısaca tanımlamaya çalıştık. Şimdi en sık görülenleri açıklamaya ve çözüm önerileri sunmaya çalışalım.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> 2-way block request: Şekil 5 de ki proses aslında tam olarak 2-way block request açıklamaya uygundur. Sga1 yani birinci noda instance sga2 den bir bloğun okunması için direct request gönderir.Sga2 bu request’i yani direk okuma isteğini aldığında , istenen bloğu göndermeden önce LGWR prosesini tetkiler ki eğer cache edilen block son hali ile redo dosyalarını yazılsın.Aynı şekilde LMS proseside istenen bloğu transfer etmeden önce LGWR den flush işleminin bittiğine dair yanıt bekler.Sonrasında block sga1 ‘e transfer edilir. ve wait event bitmiş olur. 2 –way block request de harcanan süre işte bu işlmelerin tamamında harcanın süredir.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><br />
</div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://2.bp.blogspot.com/-Hq-ORgRZEJE/T4PbjhY70AI/AAAAAAAAARI/q-9T5l9VYpU/s1600/5-2-way_block_request.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="198" src="http://2.bp.blogspot.com/-Hq-ORgRZEJE/T4PbjhY70AI/AAAAAAAAARI/q-9T5l9VYpU/s320/5-2-way_block_request.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: -webkit-auto; text-indent: 48px;">Şekil 5 : 2 –way block request</span> </td></tr>
</tbody></table><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"> <span style="text-indent: 36pt;"> </span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">3-way blocl request: Şekil 6 da 3-way block request gösterilmiştir. Aslında 2-way dan farkı olayın 2 de b fazla noda üzerinde gerçekleşiyor olmasıdır.Request gönderilen noda bu requesti 3. Noda forward eder. Ve böylece işleme forward zamanıda eklenir ve bekleme süresi artabilir.<br clear="all" style="mso-special-character: line-break; page-break-before: always;" /> <o:p></o:p></span></div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-bDmm-6ZoYCg/T4PbkZB_3LI/AAAAAAAAARQ/NI5O48BzaTU/s1600/6-3-way_block_request.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="211" src="http://4.bp.blogspot.com/-bDmm-6ZoYCg/T4PbkZB_3LI/AAAAAAAAARQ/NI5O48BzaTU/s320/6-3-way_block_request.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: -webkit-auto; text-indent: 48px;"> Şekil 6: 3–way block request </span> </td></tr>
</tbody></table><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="text-indent: 36pt;"> </span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal"><b><span lang="TR"> RAC Veritabanında Genel Tuning Kuralları<o:p></o:p></span></b></div><div class="MsoNormal"><span lang="TR"> 1-Full Tablo Taramalarını Engellemek: Full scanleri engellemek GCS (Global Cache Service) isteklerini en aza indirmek için önemlidir. Çünkü bir quey tablolara full gidiyorsa kendi makinada cache biriminde de bulamadığı veriyi diğer makinlarda yani global cache de arayacaktır.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> 2-Automatic Segment Space Management instancenin arasındaki tablo bloklarına bağlı senkronizasyonu sağlayacaktır.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> 3-Sequence cashlerini artırmak önemli bir performans kazancı sağlayacaktır eğere insertlerin yoğun olduğu bir RAC db de tuning yapıyorsak.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> 4-Parttitioning Buffer kullanımını azaltacağı için buffer busy wait contentionlarıda azaltacaktır. <o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> 5-RAC Veritabanlarında library cache ve row cache operasyonları global olarak korine edilir.Dolayısıyla Ne kadar fazla pars varsa o kadar interconnect traffic var demektir.Bundan dolayı hard parse sayısının azaltılması gerekir.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> 6-Kullanılmayan indexlerin silinmesi gerekir.Çünkü indexler dml işlemlerini yavaşlatırlar.Eğere okuma işlemlerinde performans artırıcı etki göstermiyorsa insert ,delete ve update işlmelerini yavaşlatacak buda inter-instance contentionlara sebep olabilecekir.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> 7-Interconnect trafic herzamanprivate network üzerinden sağlanmalıdır.<o:p></o:p></span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><span lang="TR"> Özcan YILDIRIM</span></div><div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-797610349949026868.post-45426719274809535922012-03-14T16:07:00.001+02:002012-03-14T16:11:32.172+02:00Latch Nedir Ve Latch Contention Sebepleri<div class="MsoNormal" style="margin-left: 36.0pt; text-indent: 36.0pt;"><span lang="TR"> <o:p></o:p></span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><b><span lang="TR">Latch Nedir?<o:p></o:p></span></b></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Latch SGA içerisindeki shared data yapısını korumak amacıyla ile geliştirilmiş düşük seviyeli seri data erişim mekanizmasıdır.Yani prosesiın SGA içerisinde memory parçasının tutmmasıdır.Proses bittiğinde ise ilgili latch başka bir prosese verilir. Latch İşletim sisteminden bağımsız değildir. Çünkü bir prosesin ne zaman biteceği ve ne kadar süreceği işletim sistemine bağlıdır.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Latch bir çeşit lock dır.Şöyleki bir den çok kod betiklerinin aynı memory birimini kullanmaya çalışması ile meydana gelir. Çünkü latch tutan proses eğer sonlandırılırsa ilgili latch temizlenmiş olacaktır.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> <b>Latch ve Enqueue arasındaki farklar Nelerdir?<o:p></o:p></b></span></div><div class="MsoNormal"><span lang="TR"> Enqueue bir oracle lock mekaizması olmasına karşın , birkaç prosesion aynı zmaanlı olarak bir kaynağı kullanımına izin verebilir.Tablo lock ları burada en iyi örnektir.Çünkü iki proses bir tabloyu share modda yada share update modda lock edebilir.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Latch ve enqueue arasındaki en belirgin fark burada Enqueue İşletim sistemi lock mekanizması tarafından oluşturulabilir ve .Latch ise işletim sistemi lock larından bağımsız olarak meydana gelir.Enqueue kullanıcının lock içerisinde veri girişine izin verir. Eğer bir proses bir kaynağı lock edebilecek yapıya sahip değilse işletim sistemi tarafında enqueu mekanizmasında FIFO yasasına göre bekelmeye girer.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Diğer bir önemli fark ise latchler enqueu ler gibi kaynağı sürekli tutamazlar.Çünkü belli zamanlama ile proses tekrarlanır ve eğer multi prosessor varsa spin yapabilir. Dolayısıyla beleten tüm prosesler aynı anda işlem yapmayı denerler.<o:p></o:p></span><br />
<span lang="TR"></span><br />
<a name='more'></a><span lang="TR"><br />
</span></div><div class="MsoNormal"><b><span lang="TR"> Latch ve Mutex Arasındaki Farklar Nelerdir?<o:p></o:p></span></b></div><div class="MsoNormal"><span lang="TR"> Mutex ler library cache içerisindeki belli prosesler olarak tanımlanmıştır.Mutexler latch lere göre daha granuler bir yapıdadır.Örneğin eğer seri çalışma prensibi yoksa ve memory içerisindeki bir data parçası belli bir prosess tarafından değiştirilmişse ve başka birprosesde benzer bir değişiklik yapacaksa , sonraki proses değişikliği yapmadan önce mutex elde etmiş olur beklemeye girer. Böylece seri çalışma prensibinin olmadığı durumlarda data corruption bu şekilde engellenmiş olur.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Unutmamak gerekirki latch seri mekanizmanın olduğu yerde vardır. Mutex ise serilerştirmenin olmadığı yerde ortaya çıkar.<o:p></o:p></span></div><div class="MsoNormal"><b><span lang="TR"> Latch Request Moda ları nelerdir?<o:p></o:p></span></b></div><div class="MsoNormal"><span lang="TR"> Willing-to-wait:Willing-to-wait mode, bekle ve dene bekle ve dene… şeklinde bir loop oluşturur ve en sonunda latch elde edilir. Örneğin shared pool ve library cache latch.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> No wait:No wait modda eğer bir proses latch elde edememişse diğer bir proses elde etmeye çalışır ve bu şekilde eğer bütün prosesler fail olursa server proses wait konumuna geçer.Örneğin redo copy latch.<o:p></o:p></span></div><div class="MsoNormal"><b><span lang="TR"> Latch Contention Oluşma Sebebi Nedir?<o:p></o:p></span></b></div><div class="MsoNormal"><span lang="TR"> Eğer elde edilmeye çalışılan latch meşgulse loop içerisinde tekrar tekrar bu latch elde edimek için spin maydana gelir._SPIN_COUNT adındaki initialization parametre ise latch beletme üsresi kontrol altına alınmıştır.Eğer bu süre aşılırsa ilgili proses statusu CPU tarafından sleep olarak tanımlanır.Bu durum CPU da fazla kullanım miktarı ortaya çıkarır.Bu durum latch contention olarak tanımlanır ve latch kullanılabilir oluncaya kadar performans kaybına sebep olur._SPIN_COUNT parametresinin default değerinin değiştirilmesi ise oracle tarafından tavsiye edilen bir durum değildir.</span></div><br />
<div class="MsoNormal"><span lang="TR"> Latch contention;<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">V$LATCH,V$LATCH_PARENT ve V$LATCH_CHILDREN viewlarından belirlenebilir.Aşağıdaki değerler ise dikkat edilmeye değerdir.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> GETS: başaraılı willing-towait latch isteklerinin sayısı.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> MISSES:başarısız willing-towait latch isteklerinin sayısı.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> SLEEP:bir prosesin latch istekerlinden sonraya beklemeye girme sayısı<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> IMMEDIATE_GETS: Her bir latch için anlık başarılı latch istekleri<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> IMMEDIATE_MISSES:Her bir latch için anlık başarısız latch istekleri.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> V$LATCH_NAME ise yukarıdaki viewlar daki latchler hakkında bilgi içerir.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">select</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> latch#</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">name</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">from</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> v$latchname</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">;</span><span lang="TR"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">V$LATCH_HOLDER: Anlık Latch holder hakkında bilgi verir.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> Aşağıdaki sql ile latch hit ratio hesaplanabilir. Latch hit ratio 1 yada 1 e yakın olmalıdır.Aksi takdirde ilgili latch için tuning çalışması başlatılmalıdır.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> <o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><span lang="TR"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> L</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">INST_ID</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> L</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">ADDR</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> L</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">LATCH#</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> L</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.NAME,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">GETS </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">-</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> MISSES</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">/</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> GETS </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"willing-to-wait Hit Ratio"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">IMMEDIATE_GETS </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">-</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> IMMEDIATE_MISSES</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">/</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> IMMEDIATE_GETS<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"no wait Hit Ratio"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> gv$latch l<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> L</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">GETS </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><></span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">0</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> L</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">IMMEDIATE_GETS </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><></span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">0</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">order</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">by</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">5</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">6</span><span lang="TR"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> <o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><span lang="TR"> System bazında latch istatistikleri;<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><span lang="TR"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">inst_id</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.name,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">addr</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">latch#</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">wait_time</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">gets</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">misses</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">sleeps</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">immediate_gets</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">immediate_misses</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> b</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.sid,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> b</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">pid<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> gv$latch </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> gv$latchholder b<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">addr </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> b</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">laddr</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(+)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">ORDER</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">BY</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">sleeps </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">DESC,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">a.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">misses </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">DESC;</span><span style="color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;"><b><span lang="TR">Bir DBA’nın En Fazla Karşılaştığı Latch Tipleri<o:p></o:p></span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><b><span lang="TR">Buffer Catch Lathes: <o:p></o:p></span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">Bu Tip Latchler genelde çok yüksek miktarda I/O yapıldığında ortaya çıkar. Aşağıda buffer catch latch tiplerini ve bunların nasıl azaltılacağı yada tüne edileceğine dair tavsiyerl bulabilirsiniz.<b><o:p></o:p></b></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><b><span lang="TR">Cache Buffer Chain Latch</span></b><span lang="TR">: Bu tipler Latch durumunda genelde buffer cache deki bloğa erişim sağlandığında (pinned) ortaya çıkar.Cache Buffer Chain Latch leri azaltmak için sql’lerdeki logical I/O miktarının azaltılması gerekir. Üzerinde yüksek miktrada I/O trafiği bulunan bir bloğa “hot block ” denir. Hot block üzerindeki wait miktarıda hızlıca artar.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><b><span lang="TR">Hot Block Nasıl Belirlenir?<o:p></o:p></span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">Aşağıdaki sql birkaç kez çalıştırılarak yüksek miktarda SLEEP count ‘a sahip Latch ‘in addresi belirlenir.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> CHILD# </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"cCHILD"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">ADDR </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"sADDR"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">GETS </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"sGETS"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">MISSES </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"sMISSES"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SLEEPS </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"sSLEEPS"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$latch_children<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm; text-indent: 36pt;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">name</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">'cache buffers chains'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm; text-indent: 36pt;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">ORDER</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">BY</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">5</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">2</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">3</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">;<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> <o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">Daha sonra elde edilen addr aşağıdaki sql de yerine yazılarak TCH (Sql tarafından bloğun hit edilme sayısı) kolonuna göre hot block elde edilir.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><i><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: green; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">/*+ RULE */</span></i><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">e.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">owner || </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">'.'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> || </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">e.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">segment_name segment_name</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">e.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">segment_type</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">e.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">extent_id extent#</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> x</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">dbablk </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">-</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">e.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">block_id </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">+</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> block#</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> x</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">tch</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> l</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">child#<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> sys</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">v$latch_children l</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> sys</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">x$bh x</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> sys</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">dba_extents </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">e</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> x</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">hladdr </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">'00000003E08E3C20'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">e.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">file_id </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> x</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">file#<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> x</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">hladdr </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> l</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">addr<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> x</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">dbablk </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">BETWEEN</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">e.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">block_id </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">e.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">block_id </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">+</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">e.blocks</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">-</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 180.0pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">ORDER</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">BY</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> x</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">tch </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">DESC;</span><span lang="TR"><o:p></o:p></span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><b><span lang="TR">Bu objeler üzerindeki Contention azaltılması için ;<o:p></o:p></span></b></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">1-Uygulama incelenmeli ve bu objeler üzerindeki DML ve SELECt cümlelerinin Contention oluşturmayacak şekilde yeniden düzenlenmesi gerekebilir.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">2-Buffer Cache ‘i azaltmak küçük bir ihtimal faydalı olabilir.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">3-DBWR sayısını artırmak faydalı olabilir.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">4-Tabloya ait PCTFREE değerini artırmak faydalı olabilir.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">5-Index Range scan genel olarak kullanılmıyorsa reverse ket index kullanmak faydalı olabilir.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><b><span lang="TR">Cache Buffer LRU (Least Recent Used) Chain:</span></b><span lang="TR">Cache Buffer LRU Chain Buffer cache de yeni bir block tanımlanırken yada buffer diske tekrar yazarken meydana gelir.<b><o:p></o:p></b></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Cache Buffer LRU chain azaltmak için Buffer cache artırılabilir.Bunun için DB_CACHE_SIZE parametresi artırılmalıdır. Ancak burada yapılan temel hatayada düşmemek gerekir. Eğer buffer hit ratio %99 -98 civarında ise ve buffer yetmemesinin sebebi full table scan işlemleri yada buffer tüketen operasyonlarsa bu durumda buffer cache artırmanın bir anlamı kalmaz. Sql Tuning Yapılması gerekir. Ayrıca DB_BLOCK_LRU_LATCHES parametresi set edilerekde Cache Buffer LRU Chain azaltılabilir. Bilgi için eğer Metalink Supportunun varsa aşağıdaki dökümanı inceleyebilirsiniz.<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 36.0pt; text-indent: 36.0pt;"><strong><span style="font-family: Arial, sans-serif; font-size: 10pt; font-weight: normal; line-height: 115%;"><a href="https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=39017.1">“Init.ora Parameter "DB_BLOCK_LRU_LATCHES" Reference Note [ID 39017.1]”</a></span></strong><b><span lang="TR" style="font-size: 10pt; line-height: 115%;"><o:p></o:p></span></b></div><div class="MsoNormal"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><b><span lang="TR">Library Cache Latches: <o:p></o:p></span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><b><span lang="TR">Library Cache Latches: </span></b><span lang="TR">Aslında<b> </b>Library Cache Latch ler ,library cache içerisinde bulunan sql cümlelerinin ve pl/sql objelerin tanımlarını korur. Bir sql çalıştırıldığında oracle bunu pars ederken library cache içerisinde latch arar ve bulamazsa yeni bir latch elde ederek parse eder.Bu durumda bize sorun çıkaran tarafı nedir? Şöyleki eğer yeni latch elde etme işlemi aşırı tekrarlanırsa library cache latch contention ortaya çıkar. Bunu engellemek için sql ler de bind variable ler kullanılarak mümkün olduğunca her seferinde tekrar parse edilmesini önlemektir. Eğer Uygulama Tuning yapıldı ise ve sqllerin harde parse oranları (v$sql,v$sqlarea viewlarından monitör edilebilir) düşükse bu duurmda SHARED_POOL_SIZE parametresinin değeri artırılabilir. Eğer yine de Contention çözülmedi ise _KGL_LATCH_COUNT (library cache latch sayısı) parametresi artırılabilir. Default değer aslında yeterlidir.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;"><b><span lang="TR"> <o:p></o:p></span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><b><span lang="TR">Library Cache Pin Latch: </span></b><span lang="TR">Library Cache<b> </b>Pin Latch bir sql cümlesi library cachede tekrar çalışırsa oluşur. Aynı sql çok yüksek miktarda tekrar tekrar çalışırsa library cachede tuttuğu latch üzerinde beklemeler (misses) oluşur.<b> </b>Public Yerine Private<b> </b>synonym ler kulanmak yada owner.object_name gibi sql içerisinde direk objeyi belirtmek library cache pin latch sayısını azaltabilir. Library Cache Pin Latch daha detaylı bahsetmek gerekirse;<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">P1 </span><span lang="TR" style="font-family: Wingdings;">à</span><span lang="TR"> Handle Adres (sessionın beklediği library cache objesi)<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">P2 </span><span lang="TR" style="font-family: Wingdings;">à</span><span lang="TR"> Pin Adres ( pin ‘e ait adres)<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">P3 </span><span lang="TR" style="font-family: Wingdings;">à</span><span lang="TR"> Encode Mode & Nampesace…<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> <a href="http://www.blogger.com/post-edit.g?blogID=797610349949026868&postID=4542671927480953592" name="P3"><o:p></o:p></a></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Mode is the mode in which the pin is wanted. This is a number thus:<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 72pt; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 10pt;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">2 - Share mode<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 72pt; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 10pt;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">3 - Exclusive mode<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm;"><span lang="TR"><br />
Namespace is just the namespace number of the namespace in the library cache in which the required object lives:<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 72pt; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 10pt;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">0 SQL Area<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 72pt; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 10pt;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">1 Table / Procedure / Function / Package Header<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 72pt; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 10pt;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">2 Package Body<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 72pt; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 10pt;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">3 Trigger<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 72pt; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 10pt;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">4 Index<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 72pt; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 10pt;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">5 Cluster<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 72pt; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 10pt;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">6 Object<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 72pt; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 10pt;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">7 Pipe<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 72pt; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 10pt;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">13 Java Source<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 72pt; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 10pt;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">14 Java Resource<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 72pt; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 10pt;">·<span style="font-family: 'Times New Roman'; font-size: 7pt;"> </span></span><span lang="TR">32 Java Data<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">Library Cache Pin Latch Gördüğünüz sessiona ait parametrelerin anlamlarını yukarıda belirtmeye çalıştık.Bu parametreler kulanılarak daha detaylı problem analizi yapılabilir.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">Aşağıdaki sql de kglhdadr değerine p1 row yada p2 row yazılarak handle yada pin objesi bulunabilir.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> kglnaown </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"Owner"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> kglnaobj </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"Object"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> x$kglob<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 108.0pt; margin-right: 0cm; margin-top: 0cm; text-indent: 36.0pt;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> kglhdadr </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">'&P1RAW'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">;</span><span lang="TR"><o:p></o:p></span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Aşağıdaki sql ile library cache de latch handle edip bloke eden session bulunabilir.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> s</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.sid,s.serial#,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> kglpnmod </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"Mode"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> kglpnreq </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"Req"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> x$kglpn </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">p,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$session s<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">p.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">kglpnuse</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">s</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">saddr<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 108.0pt; text-indent: 36.0pt;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> kglpnhdl</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">'&P1RAW'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">;</span><span lang="TR"><o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Sonrasında isterseniz sid ve serial# bilgisini bulduğunuz sesionu kill ederek obje üzerindeki lock’ı kaldırmış olursunuz. Ancak eğer bu durum sık sık başınıza geliyor ve support almak istiyorsanız aşağııdaki gibi hang analiz yapabilir ve bu bilgileri Oracle ile paylaşarak kalıcı bir çözüme gitmiş olabilirsiniz.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt;"><span lang="TR"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">ALTER</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SESSION</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SET</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> max_dump_file_size </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">UNLIMITED;</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">ALTER</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">SYSTEM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">SET</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">EVENTS</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">'immediate trace name systemstate level 266'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">;</span><span lang="TR"><o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Yukarıdaki parametreleri set ettikten sonra USER_DUMP_DEST altında yada shared server kullanıyorsanız BACKGROUND_DUMP_DEST altında ilgili trace file lerini bulabilirsiniz.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Library Cache Latch Pin lockları çok fazla ise ve bu eventten kaynaklanan bekleme olayları oluşuyorsa bu udurumda dinamik sql kullanımı genel bir problemdir ve dinamik sql leri sisteminizden mümkün olduğunca azaltmanız gerekir.<o:p></o:p></span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><b><span lang="TR">Shared Pool Latches:<o:p></o:p></span></b></div><div class="MsoNormal"><b><span lang="TR"> Shared Pool Latches :</span></b><span lang="TR">Library Cache latch , library cachedeki operasyonları koruduğunu belirtmiştik.Shared pool latch de , shared pool içindeki operasyonlar Shared pool memory alanı alırken, bu operasyonları bozulmamasını ve sağlıklı bitmesini temin eder. Aslında shared pool latchlerin genel sebebi literal (bind içermeyen , her çalıştığında tekrar pars edilen sql) SQL kullanımıdır. Aşağıda shared pool latch lerin iyileştirilmesine yönelik tavsiyeler bulunmaktadır.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> 1-Hard Parse mümkün olduğunca az yapılacak şekilde sql tuning yapılmaktadır.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> 2-Literal Sql kullnımından kaçınılmalıdır.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> 3-Reload ların azalması için shareed_pool miktarını uygulamaya göre yeteri kadar büyütün.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> 4-Shared Server (MTS) kullanımı shared pool latch tuningde çok iyi bir etki yapacaktır.<o:p></o:p></span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><span lang="TR"> Aşağıdaki sqller yardımı ile shared pool latch analiz yapılabilir.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span lang="TR"> </span><i><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: green; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">-- literal SQL leri bulma</span></i><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SUBSTR</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">sql_text</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">40</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"SQL"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">COUNT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">*</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">),</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> <o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm; text-indent: 36pt;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SUM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">executions</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"TotExecs"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$sqlarea<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> executions </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">5</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">GROUP</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">BY</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SUBSTR</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">sql_text</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">40</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">HAVING</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">COUNT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">*</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">></span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">30</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">ORDER</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">BY</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">2</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">;</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><i><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: green; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">--10g ve sonrası için aşağıdaki sqlde kullanılabilir</span></i><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">WITH</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> c<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AS</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> FORCE_MATCHING_SIGNATURE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">COUNT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">*</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> cnt<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$sqlarea<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> FORCE_MATCHING_SIGNATURE !</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">0</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">GROUP</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">BY</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> FORCE_MATCHING_SIGNATURE<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">HAVING</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">COUNT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">*</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">></span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">20</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">),</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> sq<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AS</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> sql_text</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> FORCE_MATCHING_SIGNATURE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> ROW_NUMBER </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">()</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">OVER</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(PARTITION</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">BY</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> FORCE_MATCHING_SIGNATURE<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">ORDER</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">BY</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> sql_id </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">DESC)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">p</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$sqlarea s<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> FORCE_MATCHING_SIGNATURE </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">IN</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> FORCE_MATCHING_SIGNATURE </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> c</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">))</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> sq</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">sql_text</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> sq</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FORCE_MATCHING_SIGNATURE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> <o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">c</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">cnt </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"unshared count"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> c</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> sq<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> sq</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FORCE_MATCHING_SIGNATURE </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> c</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FORCE_MATCHING_SIGNATURE </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> sq</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.p</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">ORDER</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">BY</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> c</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">cnt </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">DESC</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><i><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: green; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">--Shared pool memory Fazla kullanan sqller</span></i><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SUBSTR</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">sql_text</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">40</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"Stmt"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">COUNT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">*</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">),</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SUM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">sharable_mem</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"Mem"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SUM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">users_opening</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"Open"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SUM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">executions</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"Exec"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$sql<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">GROUP</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">BY</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SUBSTR</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">sql_text</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">40</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">HAVING</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SUM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">sharable_mem</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">></span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">14778368</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">;</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> <o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><i><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: green; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">-- </span></i><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><i><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: green; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">--shareable_mem değeri byte cinsinden olmalıdır. Show parameter sga ifadesi ile sqlplusda bulunabilir.</span></i><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><br />
</div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><i><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: green; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">--Invalidasyon yapan sqller, ki bunların mümkün olduğunca azaltılması gerekir.<o:p></o:p></span></i></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><i><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: green; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span></i><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SUBSTR(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">sql_text</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">40</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">"SQL"</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> invalidations<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$sqlarea<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">ORDER</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">BY</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> invalidations </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">DESC;</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><b><span lang="TR"> Row Cache Object Latch:</span></b><span lang="TR"> Row cache Obje latchleri SGA da cache edilen data dictionary objelerine erişirken yaşanabilir. Bu tip latch Contentionlar genel yaşanan bir latch değildir.Engellemenin tek yolu SHARED_POOL_SIZE değerini artırmaktır.<o:p></o:p></span></div><div class="MsoNormal"><b><span lang="TR">Redo Log Buffer Latches:</span></b><span lang="TR"> <o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Bir data blok değiştiğinde , bu kayıt dan daha yeni bir SCN olmadığı kontroledilir. Sonrasında redolog bufferda uygun yer aranır ve yer bulunamazsa data LGWR tarafından diske yazılmak zorunda kalır. Eğer yer varsa redo bufferda, kopyalama için yer alınır ve recovery proceses için link oluşturulur.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Bu prosesleri gerçekleştirmek için veritabanında üç adet latch vardır.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Redo Copy Latch: Yukarıdaki parasesin tamamında bu latch vardır.Log file switch sonuna kadar da devam eder.LOG_SIMULTANEOUS_COPIES redo latch kopya sayısını belirtir.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Redo Allocation Latch: Redo allocation latch log buffer memory alanında yer alma sırasında oluşur.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Redo Writing Latch: Bu tip redo latchlar LGWR prosesisne log switch için aynı anda birden fazla proses gönderilmesini engeller. Bu durumda LGWR ye iletilecek prosesler beklenmeli yada log switch yapılmalıdır.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Aşağıdaki sql de redolog buffer latchlerinin istatistikleri görüntülenebilir.Bu istatistiklerdeb yola çıkarak eğer misses/gets oranı %1 denbüyükse yada immediate_misses / (immeidate_gets+ immediate_misses) oranı %1 en büyükse redo log contention var denebilir.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SUBSTR</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(LN.name,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">1</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">20</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">),</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> gets</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> misses</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> immediate_gets</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> immediate_misses<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$latch l</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$latchname </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">LN</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">LN.name</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">IN</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">'redo allocation'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">'redo copy'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">)</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> <o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 180pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">AND</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">LN.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">latch# </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> l</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">.</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">latch#</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">;</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">Latch Contention çıkması durumunda oracle öncelikle redo allocation latch tune edilmesini tavisye etmektedir. Latch Contentionu engellemek için ise aşağıdaki tavsiyeler denenebilir.<o:p></o:p></span></div><div class="MsoNormal"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> Oracle 10.2 versiyonunda redo buffer allocation retries istatistiği, bir prosesin redo buffer yer alması için beklediği süreyi belirtir.Ideal olan bu değerin 0 a yakın olmasıdır. Eğer bu değer artmaya başlamışsa bekleme olayı başlar. Bekleme olayının sebebi log buffer daki boş alanın daralması yada checkpointlerin sıklaşmasıdır. LOG_BUFFER (byte) parametresi artırılarak fayda sağlanabilir. Oracle 11.2 verisyonunda ise konu ile ilgili bir bug vardır inceleyebilirsiniz</span> <a href="https://support.oracle.com/CSP/main/article?cmd=show&type=BUG&id=13520743"><span style="font-family: Arial, sans-serif; font-size: 10.5pt; line-height: 115%;">Bug 13520743</span></a>.<o:p></o:p></div><div class="MsoNormal"> Request for Space Contention: Aşağıdaki sqlde “redo log space request ” istatistiğinin değerini bulabilirsiniz.Bu değerin 0 dan farklı olması user proseslerinin redo log file lerde yer beklediğini belirtir.Eğer değer 0 dan buyukse checkpoint sayısını artırmak yada archive proses sayısını artırmak faydalı olacaktır.<o:p></o:p></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">SELECT</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">name,</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">VALUE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 0.0001pt; margin-left: 108pt; margin-right: 0cm; margin-top: 0cm;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;">FROM</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt;"> v$sysstat<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 108.0pt;"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">WHERE</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">name</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">=</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: red; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">'redo log space requests'</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;">;</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"><o:p></o:p></span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: 'MS Shell Dlg 2', sans-serif; font-size: 10pt; line-height: 115%;"> Özcan YILDIRIM<o:p></o:p></span></div><div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-797610349949026868.post-32065945189281532182012-02-17T13:52:00.001+02:002012-02-17T13:53:20.300+02:00Log File Sync & Log File Parallel Write Wait Event<div class="MsoNormal" style="margin: 0cm 0cm 10pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;"> Analiz ve Çözüm Yöntemleri<o:p></o:p></span></span></b></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span style="font-family: Calibri;"><b style="mso-bidi-font-weight: normal;"><span lang="TR" style="mso-ansi-language: TR;"><span style="mso-tab-count: 1;"> </span></span></b><span lang="TR" style="mso-ansi-language: TR;">Oracle Veritabanında bir user commit işlemi çalıştırdığında, user’a ait session bilgileri memory den alınıp diske yazılmak üzere redolog dosyalarına yazılır. Commit işlemi sırasında session LGWR prosessine geçip log buffer içeriğini redolog dosyalarına<span style="mso-spacerun: yes;"> </span>yazacaktır. <o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Log buffer sessiona ait commitlenmiş ancak redolog dosyalarına henüz yazılamamış bilgiler içerir. LGWR prosesi redolog dosyalarına yazma işlemini tamamladığında işlem bitmiş olacaktır. Redolog dosyalarına yazma sırasında LGWR prosesesini beklerken kaybedilen zamana “Log File Sync” denir.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;"><span style="mso-tab-count: 1;"> </span>Ayrıca “log file sync” yaşanırken başka sessionlarda eğer commit işlemi çalıştırıyorsa aynı şekilde “log file sync” wait event göreceklerdir.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;"><span style="mso-tab-count: 1;"> </span><b style="mso-bidi-font-weight: normal;">Log File Sync Wait Event yüksek olmasının sebebi nedir?<o:p></o:p></b></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;"><span style="mso-tab-count: 1;"> </span>Bekleme; kullanıcılar tarafından onaylanan işlemlerin (commits) log buffer dan diske yazılmasına kadar her an da gerçekleşebilir. Ancak bir genelleme yapılacak olursa log file sync beklemelerinin 3 ana sebebi vardır;<o:p></o:p></span></span></div><br />
<a name='more'></a><br />
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;"><span style="mso-tab-count: 1;"> </span>1-LGWR I/O Performans.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;"><span style="mso-tab-count: 1;"> </span>2-Uygulama tarafından sürekli commit işleminin gerçekleşmesi.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;"><span style="mso-tab-count: 1;"> </span>3-Yazılım tarafından aşırı Cpu kaynak tüketimi.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;"><br />
</div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;"><span style="mso-tab-count: 1;"> </span>LGWR I/O Performans<o:p></o:p></span></span></b></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;"><span style="mso-tab-count: 1;"> </span>Log writer process diske yazma hızı yavaşmıdır? sorusuna cevap aramak gereklidir. Eğer “log file sync”<span style="mso-spacerun: yes;"> </span>de alınan ortalama bekleme süresi, “log file parallel write” da alınan ortalama bekleme süresinden büyükse; log buffer dan redo bilgilerinin log switch yapılması esnasında bekleme yaşandığını gösterir. “log file parallel write “ event yüksek gözüküyorsa redo bilgilerinin diske yazılmada bekletildiğini düşünebiliriz.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;"><span style="mso-tab-count: 1;"> </span>Burada “log file sync” log buffer yani memory birimi ile alakalı olduğu , “log file parallel write” da diske yazma hızı yani storage kalitesi ile alakalı olduğu görülebilir.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;"><span style="mso-tab-count: 1;"> </span>Normal sistemlerde avg wait time (ms) “log file sync” zamanı 3 den büyük olmamaıs gerekir. Yine avg wait time (ms) “log file parallel write değeride” 10 dan büyük olmaması gerekir. Aşağıdaki şekilde açıkça sorun yaşanan bir sistem görülmektedir.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;"><br />
</div><br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-OEwN9Lgv3wo/Tz4-NhZeZoI/AAAAAAAAAQU/4W1LDYpSts0/s1600/1-log_file_sync.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="215" src="http://4.bp.blogspot.com/-OEwN9Lgv3wo/Tz4-NhZeZoI/AAAAAAAAAQU/4W1LDYpSts0/s400/1-log_file_sync.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-family: Calibri;">Şekil 1: log file sync ile log file parallel write karşılaştırılması</span></td></tr>
</tbody></table><div class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span style="mso-no-proof: yes;"><v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe" stroked="f"><span style="font-family: Calibri;"> <v:stroke joinstyle="miter"> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0"> <v:f eqn="sum @0 1 0"> <v:f eqn="sum 0 0 @1"> <v:f eqn="prod @2 1 2"> <v:f eqn="prod @3 21600 pixelWidth"> <v:f eqn="prod @3 21600 pixelHeight"> <v:f eqn="sum @0 0 1"> <v:f eqn="prod @6 1 2"> <v:f eqn="prod @7 21600 pixelWidth"> <v:f eqn="sum @8 21600 0"> <v:f eqn="prod @7 21600 pixelHeight"> <v:f eqn="sum @10 21600 0"> </v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:formulas> <v:path gradientshapeok="t" o:connecttype="rect" o:extrusionok="f"> <o:lock aspectratio="t" v:ext="edit"> </o:lock></v:path></v:stroke></span></v:shapetype></span><span lang="TR" style="mso-ansi-language: TR;"><o:p></o:p></span></div><br />
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Peki bu sistemde performans iyileştirme için neler yapılabilir.<o:p></o:p></span></span></div><br />
<div class="MsoListParagraphCxSpFirst" style="margin: 0cm 0cm 0pt 72pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18pt;"><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span></span><span style="font-family: Calibri;">Öncelikle Sistem admin ile görüşüp redolog file lerin üzerinde bulunduğu disklerin hızı kontrol edilmelidir.Redolog dosyalarının bulunduğu diskler RAID 5 olmamalıdır. RAID 0 genelde tercih edilir. RAID 0 en hızlı disk sistemidir.<o:p></o:p></span></div><br />
<div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 72pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18pt;"><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span></span><span style="font-family: Calibri;">Tüm redolog dosyaları aynı disk üzerinde olmamalıdır. Bu durumda band genişliği yeterli olmadığı için bekleme yaşanabilir.<o:p></o:p></span></div><br />
<div class="MsoListParagraphCxSpLast" style="margin: 0cm 0cm 10pt 72pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18pt;"><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span></span><span style="font-family: Calibri;">Log Buffer memory alanı çok büyük olmamalıdır. Bu durumda <span style="mso-spacerun: yes;"> </span>ters etki gözlemlenecektir. Yani log buffer dolması beklenecek ve disklere yazma işlemi için beklenecektir.<o:p></o:p></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">LGWR proses tarafından üretilen trace file “</span></span><code><span style="font-size: 9pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">Warning: log write time 540ms, size…</span></code><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">” <o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Eğer LGWR proses tarafından üretilen trace filelerde ilgili satırı görüyorsanız disklerin hızın ve OS tarafından bir anormallik olup olmadığını kontrol edebilirsiniz. Eğer donanım ve OS tarafından herşey normal gözüküyorsa sorun yok demekdir. İlgili alarmı dikkate almayabilirsiniz.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><br />
</div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Redolog File Sizelarının Kontrol Edilmesi<o:p></o:p></span></span></b></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">“Log file sync” olayı <span style="mso-spacerun: yes;"> </span>daha öncede bahsettiğimiz gibi log switch yapma esnasındaki beklemedir. Standar t olarak logswitch işlemlerinin ortalama 15-20 dk. Da bir meydana gelmesi beklenir. Bu süreyi <span style="mso-spacerun: yes;"> </span>alert.log dosyasında görebilirsiniz. Ayrıca <span style="mso-spacerun: yes;"> </span>awr raporlarındada görmeniz mümkündür.<o:p></o:p></span></span></div><br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://2.bp.blogspot.com/-82gF7nZ9Pfk/Tz4-exC2RgI/AAAAAAAAAQc/hD4ecyZ0qSM/s1600/2-redolog_switch_period.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="141" src="http://2.bp.blogspot.com/-82gF7nZ9Pfk/Tz4-exC2RgI/AAAAAAAAAQc/hD4ecyZ0qSM/s400/2-redolog_switch_period.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Şekil 2: Avg redolog switch time : Alert log<o:p></o:p></span></span></td></tr>
</tbody></table><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-CWRWMnLsUx8/Tz4-yoUeVkI/AAAAAAAAAQk/5vcpP3Mhowo/s1600/3-avg_redo_switch.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="113" src="http://4.bp.blogspot.com/-CWRWMnLsUx8/Tz4-yoUeVkI/AAAAAAAAAQk/5vcpP3Mhowo/s400/3-avg_redo_switch.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Şekil 3: Avg redolog switch time :AWR<o:p></o:p></span></span></td></tr>
</tbody></table><div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><br />
</div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Bu sürenin daha kısa olması mesela aşağıdaki örnekteki gibi 2-3 dakikada bir olması redolog dosyalarının olması gerekenden daha küçük size da olduğunu gösterir. Dolayısıyla redolog dosylarını biraz büyütmeli yada daha fazla redolog group ve member eklemeniz gerekmektedir.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Redolog File Eklenmesi<o:p></o:p></span></span></b></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Aşağıdaki sql ile redolog dosyalarının bilgilerini görebilirsiniz.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0pt 36pt; mso-layout-grid-align: none;"><span style="font-family: Calibri;"><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">SELECT</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"> l</span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">.</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">group#</span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">,</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"><o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0pt 36pt; mso-layout-grid-align: none;"><span style="font-family: Calibri;"><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span>l</span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">.</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">thread#</span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">,</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"><o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0pt 36pt; mso-layout-grid-align: none;"><span style="font-family: Calibri;"><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span>f</span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">.</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">MEMBER</span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">,</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"><o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0pt 36pt; mso-layout-grid-align: none;"><span style="font-family: Calibri;"><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span>l</span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">.</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">archived</span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">,</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"><o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0pt 36pt; mso-layout-grid-align: none;"><span style="font-family: Calibri;"><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span>l</span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">.</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">status</span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">,</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"><o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0pt 36pt; mso-layout-grid-align: none;"><span style="font-family: Calibri;"><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">(</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">bytes </span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">/</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"> </span><span style="background: white; color: maroon; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">1024</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"> </span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">/</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"> </span><span style="background: white; color: maroon; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">1024</span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">)</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"> Size_MB<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0pt 36pt; mso-layout-grid-align: none;"><span style="font-family: Calibri;"><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">FROM</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"> v$log l</span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">,</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"> v$logfile f<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0pt 36pt; mso-layout-grid-align: none;"><span style="font-family: Calibri;"><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"><span style="mso-spacerun: yes;"> </span></span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">WHERE</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"> f</span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">.</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">group# </span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">=</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"> l</span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">.</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">group#<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt 36pt; text-indent: 36pt;"><span style="font-family: Calibri;"><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">ORDER</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"> </span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">BY</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"> </span><span style="background: white; color: maroon; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">1</span><span style="background: white; color: blue; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">,</span><span style="background: white; color: black; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;"> </span><span style="background: white; color: maroon; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-highlight: white;">2</span><span lang="TR" style="mso-ansi-language: TR; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Yeni redolog grubu aşağıdaki scriptle eklenebilir.Burada dikkat edilmesi gereken redolog gruplara ait redolog memberların farklı diskler üzerinde olmasıdır.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span style="background: white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;">ALTER</span><span style="background: white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;">DATABASE</span><span style="background: white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;">ADD</span><span style="background: white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;">LOGFILE</span><span style="background: white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;">group</span><span style="background: white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;">group_number</span><span style="background: white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;">(</span><span style="background: white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;">'/log01A.dbf'</span><span style="background: white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;">,</span><span style="background: white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;">'/log01B.dbf '</span><span style="background: white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;">)</span><span style="background: white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;">SIZE</span><span style="background: white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;">1024</span><span style="background: white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;">M;</span><span style="color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"><o:p></o:p></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Bu işlemden sonra yukarıdaki sql i yeniden açlıştırdığımızda eklediğimiz gurub gözlemleyebiliriz.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Redolog Grup Silinmesi<o:p></o:p></span></span></b></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Redolog grup silebilmeniz için alter database hakkına sahip olmanız gerekir.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Sistemde en az iki redo log grup bulunması gerekir.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Bir redlog grup ancak INACTIVE ise silinebilir.Silmek istediğiniz redolog grup inaltif değilse “ALTER SYSTEM SWITCH LOGFILE” komutunu çalıştırdıktan sonra ilgili sql ilede redolog grup statusunu kontrol edip “ALTER DATABASE DROP LOGFILE GROUP group_number;” şeklinde silebilirsiniz.Silme işlemi başarılı bir şekilde tamamlandı ise OS tarafında dosyayı silebilirsiniz.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Redolog grup eklem yada redo log file size değiştirme işlemlerini RAC ortamında yapıyorsanız her iki instance dada yapmanız gerekir.Normal olan aynı size ve grup sayış belirlemenizdir.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Optimum Redolog Size Nasıl Belirlenir<o:p></o:p></span></span></b></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;"><span style="mso-tab-count: 1;"> </span>10g den itibaren </span></span><span style="background: white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;">SELECT</span><span style="background: white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;"> OPTIMAL_LOGFILE_SIZE </span><span style="background: white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;">FROM</span><span style="background: white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%; mso-highlight: white;"> V$INSTANCE_RECOVERY</span><span style="color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">;</span><span style="mso-ansi-language: TR;"><span style="font-family: Calibri;"> <span lang="TR">querisi ile optimal redolog member sizesini MB olarak görebilirsiniz.Burada görülen değer instance recover time olan FAST_START_MTTR_TARGET süresine göre belirlenir. Eğer gördüğünüz OPTIMAL_LOGFILE_SIZE değeri sizing log file member’lardan büyükse bu durumda redolog file member larınız en az bu değere kadar büyütmeniz gerekmektedir</span></span></span><span style="color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">.</span><span lang="TR" style="mso-ansi-language: TR;"><o:p></o:p></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Uygulamanın aşırı sıklıkta commit çalıştırması<o:p></o:p></span></span></b></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Eğer uygulama aşırı sıklıkta commit işlemi yapıyorsa log buffer daki redo bilgisinin redolog dosyalarına aktarılması sağlanacağı için bu işlem de “log file sync” wait evente sebep olabilir.Eğer avg wait time “log file sync”, avg wait time “log file parallel write” dan çok fazla ise bu durumda redoların yazılmasında yavaşlığın sebebinin I/O hızı ile alakalı olmadığını ve commitlerden kaynaklandığını söyleyebiliriz.Aynı şekilde avg wait time “log file sync” düşük olmasına rağmen bekleme sayısı fazla ise yine uygulamanın çok sık commit yaptığını söyleyebiliriz.<o:p></o:p></span></span></div><br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-Ds6Cue5S3ds/Tz4-6hLYM0I/AAAAAAAAAQs/QX_qJKwXou0/s1600/4-user_calls-commits.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="116" src="http://4.bp.blogspot.com/-Ds6Cue5S3ds/Tz4-6hLYM0I/AAAAAAAAAQs/QX_qJKwXou0/s400/4-user_calls-commits.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Şekil 4 : User calls / user commit (average user calls / commit)<o:p></o:p></span></span></td></tr>
</tbody></table><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">AWR raporlarında user calls / user commit değeri 30 dan küçükse uygulamanın çok sık commit yaptığını söyleyebiliriz.Şekil 4 de ortalama 5 use call için bir commit işlemi çalıştırıldığı gözükmektedir.Bu durumda “log file sync” wait eventi commit sıklığından dolayı görülecektir.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Bu durumda uygulamaya ait transactionlar guruplanabilirliğine bakmak gerekir.Böylece commit sayısını azaltmak iyi bir etki gösterecektir.<o:p></o:p></span></span></div><br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;">Uygun olan batch processler için commit nowait kullanımı faydalı olabilir.Çünkü nowait opsiyonu ile beklemeden diske yazma işlemi yapacaktır.Ancak bunu kullanırken dikkatli olmak gerekir.<o:p></o:p></span></span></div><br />
<br />
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-indent: 36pt;"><span lang="TR" style="mso-ansi-language: TR;"><span style="font-family: Calibri;"><span style="mso-tab-count: 6;"> </span>Özcan YILDIRIM<o:p></o:p></span></span></div><div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-797610349949026868.post-43684431554447305672012-02-08T13:57:00.002+02:002012-02-10T13:56:51.108+02:00Oracle Sql Tuning MetodlarıSql Tuning Metodoloji si aslında sql querylerin yani uygulama tarafından sürekli kullanılmakta olan sqllerin performansının artırılması için oluşturulmuş standart çalışmalar bütünüdür diyebiliriz. İşte bu yazımızda inefficient (kötü yazılmış sql) nedir tanımlayacak ve daha sonra bu sqlleri belirlerken yada monitör ederken kullanılacak ttolları ve yöntemleri inceleyeceğiz. En son kısımda da performans geliştirme için neler yapılabilir listeleyeceğiz.<br />
Bir sql Neden Yavaş Çalışır?<br />
• Bir sql in nasıl çalışacağınız belirleyen oracle optimizer (10g ve Sonrasında COST Based Optimizer) ‘ın kullandığı data yoğunluğu ve dağılımına dair istitistiklerin güncel olmamaıs ve doğruyu bilgiler sağlamaması.<br />
• Sql’in veriye erişirken kullandığı index, view gibi yapıların bozulması yada geçerliliğiniz yitirmesi.<br />
• Optimizerın bir sql için cost,cardinality gibi değerleri yanlış hesaplaması ve dolayısıyla yanlış bir şekilde sql i çalıştırması.<br />
• Kötü yazılmış sqller.Örneğin Union all yerine union kullanmak yada join içerisine gereksiz tabloların sokulması yada indexi kullanılmayacak hale sokan filtrelerin yazılması.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://3.bp.blogspot.com/-sWkFftMiWxU/TzJiJCDp-wI/AAAAAAAAAQE/KMzahhpz3Lk/s1600/1-Performans+Monitor+ve+Tuning+Metodlar%C4%B1.png" style="margin-left: auto; margin-right: auto;"><img border="0" height="230" src="http://3.bp.blogspot.com/-sWkFftMiWxU/TzJiJCDp-wI/AAAAAAAAAQE/KMzahhpz3Lk/s400/1-Performans+Monitor+ve+Tuning+Metodlar%C4%B1.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Şekil1:Performans Monitor ve Tuning Metodları</td></tr>
</tbody></table> <br />
<a name='more'></a> <br />
Şekil1 de Performans Monitor yapabileceğiniz ve bu bilgileri kullanarak Tuning önerileri bulabileceğiniz toollar ve birbirleri ile bağlantıları gösterilmiştir. En yukarıda dikkat ettiyseniz services yazar. Aslında bu tooların hepsi servis bazında bir raporlarma yada monitoring yapar. İşte performans monitör yaparken de öncelikle database performansını kötü etkileyen servisi bulmak yapılacak en doğru işlemdir. Zaten çokda zor bir şey değildir. Yukarıdaki tooların hemen hemen hepsinde bu bilgi verilir. Sadece bilinç olmak açısından belirttim.<br />
Sonrasında performans darboğazı oluşturan event nedir bulunmaya çalışılır.Örneğin AWR raporlarında top 5 wait event bölümünde performas açısında en kötü olan 5 wait event sıralanır.Yine ASh raporunda da o an aktif olan sessionlara ait bilgiler bulunur. ASH raporunda Top Events Kısmında performans darboğazına sebeb olan eventi bulabilirsiniz.<br />
Artık yapılacak şey bu eventi oluşturan veritabanındaki işlemi bulmaktır.Bu kimi zaman bir kullanıcı tarafından gelişi güzel yazılmış bir sql olabileceği gibi bir backup prosessi, log switch işlemi yada networksel bir durum bile olabilir.<br />
Eğer sorunu keşfettiyseniz çözüm için gereken %50 aksiyonu tamamlmışssınız demektir.Artık sorununuzu araştırmak ve çözüm geliştirmek sizin bilginize ve araştırma yönünüze kalmıştır. Yada aşağıda şekil 2 deki Enterprise Manager sayfalarından sorununuza uygun olanı kullanarakta çözüm üretebilirsiniz.<br />
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://3.bp.blogspot.com/-fBAalVQa0QM/TzJiJlJmoxI/AAAAAAAAAQI/8vpvUWQ1NcQ/s1600/2-Enterprise+Manager+Performans+Monitoring+And+Tuning.png" style="margin-left: auto; margin-right: auto;"><img border="0" height="232" src="http://3.bp.blogspot.com/-fBAalVQa0QM/TzJiJlJmoxI/AAAAAAAAAQI/8vpvUWQ1NcQ/s400/2-Enterprise+Manager+Performans+Monitoring+And+Tuning.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Şekil 2 : Enterprise Manager Performans Monitor And Tuning sayfaları</td></tr>
</tbody></table><br />
Şimdiye Kadar bu yazıda problem tespiti ile ilgili birkaç yönlendirici bilgi vermeye çalıştık.Bu tool ların kullanımı ile ilgili ilerde detaylı yazılarımız olacaktır. Aşağıda da problem çözümü ile ilgili tool ve yöntemlere göz atabilirsiniz.<br />
Sql Tuning Araçları<br />
Sql Tuning Advisor:Sql cümlelerini analiz eder ve performans artırıcı olabilecek tavsiyeleri sunar.<br />
Sql Tuning Sets:Sql cümlelerinin tutulduğu bir repository database dir.Farklı makinalara taşınabilir.Sql Tuning Advisor, Sql tuning setleri kullanarak tekrar tekrar çalışabilir.Sql Tuning setler versiyon upgrade lerin optimizer uyumluluğunu test etmek içn dahi kullanılabilir.<br />
Sql Access Advisor:Sql cümlelerini analiz eder ve index,view,partition,materialized viewlar ile ilgili tavsiyeler sunar.<br />
Sql Performance Analyzer: Optimizer Upgrade yada en basit anlamda bir index yaratılması sql cümlelerinin performansında bir sapmaya yol açabilir. İşte bu sapmayı belirler ve bize bilgi sunar.<br />
Sql Monitor: Çalışan sqllerin performansını monitör etmemizi sağlar.<br />
Sql Plan Management: Sql cümlelerinin planlarını kontrol eder ve kullanılabilirlik analizi yapar.Sql Plan Management ile farklı planları gözlemleyebilir ve bu planlara Sql Plan History de erişebilirsiniz.<br />
Sql Tuning Çalışmalarında dba görevleri<br />
1-İstatistiklerin güncel olup olmadığını kontrol etmeli ve güncel olmayan istatistikleri yenilemelidir.Aşağıdaki scriptle objelerin istatistiklerini görebilir ve istatistik toplayabilirsiniz.Stale kolonu ‘NO’ değerine sahipse istatistikler güncel demektir. Stale kolonu ’YES’ değerine sahipse istatistikleri güncellemeniz gerekir.<br />
SELECT owner,<br />
table_name,<br />
partition_name,<br />
object_type,<br />
last_analyzed,<br />
global_stats,<br />
stale_stats<br />
FROM dba_tab_statistics<br />
WHERE owner = :schema_name<br />
SELECT owner,<br />
index_name,<br />
table_owner,<br />
table_name,<br />
partition_name,<br />
object_type,<br />
last_analyzed,<br />
global_stats,<br />
stale_stats<br />
FROM dba_ind_statistics<br />
where owner =:schema_name<br />
<br />
Tüm schemanın istatistiklerini toplamak için<br />
<br />
BEGIN<br />
DBMS_STATS.gather_schema_stats ('FMSDET',<br />
degree => 8,<br />
options => 'GATHER STALE',<br />
cascade => TRUE);<br />
END;<br />
<br />
Tablo istatistiklerini toplamak için;<br />
<br />
BEGIN<br />
DBMS_STATS.gather_table_stats<br />
(ownname => 'FMSDET',<br />
tabname => 'ENTITY',<br />
estimate_percent => 1,<br />
CASCADE => TRUE,<br />
DEGREE => 8,<br />
no_invalidate => false,<br />
granularity => 'GLOBAL AND PARTITION',<br />
method_opt => 'FOR ALL INDEXED COLUMNS SIZE AUTO'<br />
);<br />
COMMIT;<br />
END;<br />
/<br />
<br />
Index İstatistiklerini toplamak için;<br />
<br />
BEGIN<br />
DBMS_STATS.GATHER_INDEX_STATS( ownname => 'MARDATA'<br />
,indname => 'kk_harbil_X'<br />
,estimate_percent => 3<br />
,degree => 2<br />
,granularity => 'ALL',<br />
no_invalidate => FALSE<br />
)<br />
COMMIT;<br />
END;<br />
/<br />
<br />
2-Maliyeti yüksek olan sqlleri bulmak. Bunun içinde aşağıdaki sql kullanılabilir. Aynı şekilde enterprise manager üzerinden top activity sekmesinden maliyeti yüksek sqller tespit edilebilir.Aşağıdaki script ile cpu bakımından maliyeti en yüksek 20 sql tespit edilebilir. Eğer Memory maliyeti yüksek sqlleri tespit etmek istiyorsanız order by 7 yerine order by 8 (8 burada memoryCount sql deki kolonunun kolon sırasıdır.Ayrıca modül ismide sql i çalıştıran programı aratmak içindir.Java ile yazılmış uygulamalarda genelde JDBC şeklindedir.)<br />
<br />
select * from ( SELECT parsing_schema_name "Owner",<br />
last_load_time,<br />
last_active_time,<br />
executions,<br />
rows_processed,<br />
ROUND (rows_processed / executions) AS "RowCount",<br />
ROUND (cpu_time / executions) AS "CpuTimeCount",<br />
ROUND (buffer_gets / executions) AS "MemoryCount",<br />
ROUND (disk_reads / executions) AS "DiskReadCount",<br />
executions "# of Executions",<br />
(elapsed_time / executions) / 1000000 AS "TimeSpend sec.",<br />
DBMS_LOB.SUBSTR (SQL_FULLTEXT, 4000, 1) AS SqlFullText<br />
FROM gv$sql<br />
WHERE executions > 0<br />
AND parsing_schema_name = :schema_name<br />
AND module like '%&module_name%'<br />
AND TRUNC (last_active_time) = TRUNC (SYSDATE)<br />
ORDER BY 7 DESC)<br />
where rownum <21 <br />
<br />
3-Excution planları kontrol etmek ve gerekirse accecs pathleri yönlendirmek. Yani FULL scan yapan sqlleri tespit edip index den okumasını sağlamak ve eğer index yoksa index oluşturmak gibi.<br />
4-Access pathler yani mesela indexler yeterli değilse yeni index stratejileri oluşturmak veya indexleri rebuild etmek.<br />
<br />
Uygulamadaki Genel Performans Problemleri<br />
<br />
1-Yanlış bağlantı Yapılandırması: Uygulamanın her bir yapacağı iş için veritabanına connect olması ve sonrasında disconnect olmasıdır. Bu durumda bağlantı sürecince geçen zaman wait time olarak yansıyacak ve buda uygulamanın yavaş çalışmasına sebebp olacaktır.Bunun yerine bir kez bağlantı kuran ve daha sonra o bağlantı üzerinden işlemlerini yapan connectionlar tercih edilmelidir.<br />
<br />
2-Shared Pool Alanının Yanlış kullanımı: Bind variable kullanılmazsa oracle uygulamanın filtre değeri değişen tüm sqllerini farklı sql olarak tanımlayacak ve herbiri için execution plan oluşturmaya yönelik yeniden parse edecektir.Bu durumda shared pool dolacak ve library cache lock lar oluşacaktır.<br />
Shared pool dolması bile o sql i bekleyen ekran yavaş çalışacaktır.<br />
<br />
3-Ineffektif sql : Poor performans sağlayan sqllerin yazılması.Bu konuda geniş bir araştırma yapmanızı öneririm ancak öncesinde daha önce yazdığımız temel index prensipleri yazımızı okumak faydalı olacaktır.<br />
<br />
4-Uygunsuz Acces Pathler: Gereksiz yere index kullanımı yada full tablo taramalarıda uygulamaların yavaşlamasında önemli bir etkendir.<br />
<br />
5-Excessive Serialization:Aşır seri transactionların kullanımı undo segmentleri kullnırken birden çok kullanıcının beklemsine yol açacaktır.<br />
<br />
Proaktif Tuning Metodu <br />
<br />
Proaktif tuning metodu aslında tuning işlemlerine veritabanını design ederken başlamak demektir. Şöyleki; Basit tablo tasarlama, Uygulama tarafından yönetilecek datanın performans cycle larından geçirilerek modellenmesi, Tabloların relationlarının güçlü tasarlanması ve fazla index gerektirmeyecek şekilde business model tasarlanması (Fazla index kullanımı insert işlemlerini yavaşlatacaktır). View ların efektif bir biçimde kullanımı yine diskk yerine memory kullanımını sağlayacağı için uygulamayı hızlandırıcı bir etkendir. <br />
Parse maliyetinden kaçınmak için bind variable kullanılamlı ve cursor shaing ‘ e önem verilmelidir. Yazılan her bir sql planı kontrol edilmeli, ne kadar data çekmesi gerektiği ve ne kadar data çektiği karşılaştırılmalıdır. <br />
Özcan YILDIRIM<div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-797610349949026868.post-31731075952507996492012-02-01T11:02:00.003+02:002012-02-01T11:11:27.509+02:00Administering ASM Diskgroups<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-9YnzGVAZJKk/Tyj-VnMPDRI/AAAAAAAAAPk/XHwA8OPVvZs/s1600/1-asm_diskgroups.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div> <br />
Bir önceki yazımızda asm instance nasıl yönetilir anlatmaya çalışmıştık.Bu yazımızda ise asm diskgroupların yönetilmesi yada monitör edilmesi üzerine değineceğiz.Konuya başlamadan önce asm instance, oracle database, rac instance ve asm instance arasındaki ilişkiyi şema olarak gösterebileceğimiz şekil1 e göz atabilirsiniz.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://1.bp.blogspot.com/-9YnzGVAZJKk/Tyj-VnMPDRI/AAAAAAAAAPk/XHwA8OPVvZs/s1600/1-asm_diskgroups.png" style="margin-left: auto; margin-right: auto;"><img border="0" height="271" src="http://1.bp.blogspot.com/-9YnzGVAZJKk/Tyj-VnMPDRI/AAAAAAAAAPk/XHwA8OPVvZs/s400/1-asm_diskgroups.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Şekil1:Asm Disk Groups</td></tr>
</tbody></table> <br />
Şekil1 de görüldüğü üzere her makinada sadece bir adet asm instance bulunabilir.Bir makinada birden fazla database oluşturulabilir.Makinalar RAC sisteminde olabilir.Tüm asm instanceler tekbir storage gurubundan beslenir. Şekil1 de ki storage gurubunda Disk Group A ve Disk Group B şeklinde iki adet Asm disk group mevcuttur.Şimdi Bu diskgrouplar üzerinde ne gibi işlemler yapabiliriz ve yönetimini nasıl yaparız anlamaya çalışalım.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-tmX9zDgJxpE/Tyj-xt8ix5I/AAAAAAAAAPs/NsyOiYEupp0/s1600/2-asm_fast_mirror.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><br />
</a></div><br />
<a name='more'></a><br />
Asm Disk Group Oluşturma;<br />
Asm Disk group oluşturuken redundancy opisyonu seçmemiz gerekir.<br />
External Redundancy: Disklerin mirrorları tutulmaz. Disklerin OS tarafında mirrorlandığı varsayılır.<br />
<br />
CREATE DISKGROUP DATA EXTERNAL REDUNDANCY DISK '/devices/lun1','/devices/lun2'<br />
<br />
Normal Redundancy: Disklerin OS tarafında mirrorlarının tutulduğuna bakılmaksızın 2 adet fail group ile mirrorlarının tutulduğu yönetemdir.<br />
<br />
CREATE DISKGROUP DATA NORMAL REDUNDANCY <br />
FAILGROUP controller1 DISK<br />
'/devices/diska1','/devices/diska2','/devices/diska3','/devices/diska4'<br />
FAILGROUP controller2 DISK<br />
'/devices/diskb1','/devices/diskb2','/devices/diskb3','/devices/diskb4';<br />
<br />
High Redundancy: Normal redundancy dekimantık geçerli ancak 3 adet fail group oluşturulmasıdır.<br />
<br />
CREATE DISKGROUP DATA NORMAL REDUNDANCY <br />
FAILGROUP controller1 DISK<br />
'/devices/diska1','/devices/diska2','/devices/diska3','/devices/diska4'<br />
FAILGROUP controller2 DISK<br />
'/devices/diskb1','/devices/diskb2','/devices/diskb3','/devices/diskb4'<br />
FAILGROUP controller3 DISK<br />
'/devices/diskc1','/devices/diskc2','/devices/diskc3','/devices/diskc4';<br />
<br />
External redundancy burada en hızlı yöntemdir.Ayrıca external redundancy ile tüm diskleri data için kullanabilirsiniz.Ancak Eğer disklerin OS tarafında mirrorlarında sorun çıktığında data kaybı yaşayabilirsiniz. Normal ve High Redundancy de ise data güvenliği ön planda olmasına rağmen performans ve storage kaybı söz konusudur.<br />
Asm disk group oluştururken disk grouplarının fonksiyonalitesini belirleyebilirsiniz.Aşağıda bununla ilgili opsiyonlar bulunmaktadır.<br />
<br />
<b>AU_SIZE :</b> Allocation Unit size dır.Default değeri 1MB dir. 64 MB ye kadar set edilebilir.<br />
<b>DISK_REPAIR_TIME :</b> Disk offline oladuktan sonra asm bu diski ne kadar süre ile tutuacak ve üzerindeki yükü rebalance etmeyecek belirleme seçeneğidir. Saat Yada dakika olarak set edilebilir. Default değeri 3.6H saattir.136 yıla ‘a kadar set edilebilir.<br />
<b>COMPATIBLE:RDBMS :</b> Uygun software versiyonu belirlemek amaçlıdır.en az 2 numara gurubu yazmak gerekir.Öreneğin 10.2 gibi.Default değeri 10.1 dir.<br />
<b>COMPATIBLE:ASM : </b>Uygun Asm versiyonu belirlemek için kullanılır.Yine en az 2 numara gurubu yazmak gerekir.Öreneğin 10.1 gibi. Default değeri 10.1 dir.<br />
<b>COMPATIBLE:ADVM :</b> Asm volüme oluşturmaya izin verir.Default değeri none dir.Uygun değer 11.2 yada sonrası olmalıdır.<br />
<b>ACCESS_CONTROL.ENABLES :</b> Access Control List oluşturmaya izin verir.Uygun değeri booleandır.Default değeri FALSE dir.<br />
<b> SECTOR_SIZE : </b>512 den 4K ya kadar değerler verilebilir.DEfault değeri 512 dir.Şu an varolan disklerin hemen hepsi 512 sector size ile çalışır. Oracle Logic olarak 4K sector size kullanabilir.Ancak fiziksel altyapı henüz gelişmediği için 4K sektör size kullanmak ihtiyaçları karşılama aşamasında pek de tatmin edici olmayacaktır.<br />
<b>CELL:SMART_SCAN_CAPABLE :</b> Disk grubundaki tüm diskler exadata grid disk ise bu seçenek TRUE yapılarak scan özelliği enable edilmiş ve disk performansı artırılmış olur.Bu özellik disklere index eklemek gibi düşünülebilir.Default değeri FALSE dır.<br />
<br />
Mevcut ASM diskgroup ve attributeleri nasıl sorgulanır?<br />
<br />
$asmcmd lsdg<br />
<br />
SQL>SELECT G.NAME,<br />
G.TYPE,<br />
G.TOTAL_MB,<br />
G.FREE_MB,<br />
G.REQUIRED_MIRROR_FREE_MB,<br />
G.USABLE_FILE_MB<br />
FROM v$asm_diskgroup g<br />
<br />
$asmcmd lsattr –lm -G Disk_GROUPNAME; <br />
<br />
SQL>SELECT g.name "Group name", a.name "Attribute", a.VALUE "Value"<br />
FROM v$asm_diskgroup g, v$asm_attribute a<br />
WHERE g.group_number = a.group_number;<br />
<br />
$asmcmd lsdsk -k<br />
<br />
SQL>SELECT g.name "Disk group",<br />
g.group_number "Group#",<br />
d.disk_number "Disk#",<br />
d.name "Disk",<br />
D.STATE "State",<br />
D.TOTAL_MB,<br />
D.FREE_MB,<br />
d.mode_status "Disk status"<br />
FROM v$asm_disk d, v$asm_diskgroup g<br />
WHERE g.group_number = d.group_number<br />
<br />
ASM disk gruba yeni disk nasıl eklenir? Nasıl disk çıkarılır?<br />
<br />
SQL> alter diskgroup INDEKS add disk 'ORCL:INDEX2' name INDEX2 rebalance power 5;<br />
SQL> alter diskgroup data drop disk DATA_DISK_01;<br />
<br />
Eğer drop işlemini iptal etmek isterseniz;<br />
<br />
SQL> alter diskgroup disk_groupname|all undrop disk DISKS;<br />
<br />
Eğer SPFILE içerisinde Disk Groupların ismi yazılı ise otomatik olarak asm başlatıldığında disk grouplar mount edilecektir.Ancak manuel olarak mount ve dismount etmekte mümkündür.Aşağıdaki sql lleri inceleyebilirsiniz.<br />
<br />
SQL> alter diskgroup disk_groupname|all mount;<br />
SQL> alter diskgroup disk_groupname|all dismount;<br />
<br />
Scriptlerdeki rebalance power komutları ile disk ekledikten sonra diğer disklerdeki yükün bir kısmını yeni eklenen disk üzerine paylaştırabiliriz.Burada power opsiyonu vermke gerekir.1-11 arasında bir limit sunabilirsiniz 11 en hızlısıdır ancak aşırı I/O yüküne sebep olur.En ideali genelde sistemin I/O responslarına göre yada sizin işlemi yaptığınız zaman göre 3,4,5,6 dir.<br />
<br />
Asm disklerine ait operasyonlar nasıl Monitor Edilebilir?<br />
<br />
$asmcmd lsop;<br />
<br />
SQL> SELECT G.NAME, G.GROUP_NUMBER, o.*<br />
FROM v$asm_diskgroup g, v$asm_operation o<br />
WHERE O.GROUP_NUMBER = G.GROUP_NUMBER<br />
<br />
Asm diskgrouplarına hangi clientların bağlandığı nasıl görüntülenebilir?<br />
<br />
$asmcmd lsct<br />
<br />
SQL>SELECT G.NAME, G.GROUP_NUMBER, c.*<br />
FROM v$asm_diskgroup g, v$asm_client c<br />
WHERE G.GROUP_NUMBER = C.GROUP_NUMBER<br />
<br />
Ayrıca yanlış kullanmamanız konusunda bir uyarı ayaparak diskgroupları aşağıdaki gibi silebileceğimizi hatırlatırım.<br />
<br />
SQL> drop diskgroup disk_groupname;<br />
SQL> drop diskgroup disk_groupname including contents;<br />
SQL> drop diskgroup disk_groupname force including contents;<br />
<br />
Asm Fast Mirror Resynchronization<br />
Asm 11.1 versiyonu ile (COMPATIBLE:RDBMS=11.1) yeni bir özellik olarak gelen fast mirror rsync asm daha kullanışlı, güvenli ve performanslı yapmıştır.11 g den önce eğere disklerden birinde failure olsaydı asm bu disk ofline yapıp mirrolarından tekrar create ediyor ve sonrasında rebalance ediyordu.Tabi küçük boyuttaki datalar için bu işlem kısa sürebilir ancak VLDB ler için hiç de bitecek gibi durmaz ve tam bitti dediğinizde rebalance işlemi başatır ve birde I/O yükü başlardı. Bu şekilde uygulama ve sistem uzun süre sancılı zamanlar yaşayabilirdi. <br />
Asm fast Mirror rsync ile birlikte eğer disk üzerinde failure olursa asm sadece bu failure den etkilenen extentleri senkron ettiği için bu süre baya azaltılmış olur.Eğer DISK_REPAIR_TIME parametresini bir disk group için set edersek bu disk repair edildikten sonra belirlediğimiz bu parametredeki süre kadar resynchtoniation işlemini başlatmaz.<br />
Aşağıda şekil2 de fast mirror rsync çalışma prensibi ile ilgili bir şema bulabilirsiniz.<br />
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-tmX9zDgJxpE/Tyj-xt8ix5I/AAAAAAAAAPs/NsyOiYEupp0/s1600/2-asm_fast_mirror.png" style="margin-left: auto; margin-right: auto;"><img border="0" height="217" src="http://4.bp.blogspot.com/-tmX9zDgJxpE/Tyj-xt8ix5I/AAAAAAAAAPs/NsyOiYEupp0/s400/2-asm_fast_mirror.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"> Şekil2:Asm Fast Mirror Rsync</td></tr>
</tbody></table><br />
Asm Disk İstatistikleri de periyodik olarak kontrol edilmesi ve performans izlemeleri yapılması gerekn istatistiklerdir.Bunun için aşağıdaki queryler ve scriptler kullanılabilir. <br />
<br />
$asmcmd lsdsk --statistics<br />
$asmcmd lsdsk –iostat<br />
<br />
SQL>SELECT INSTNAME,<br />
G.NAME,<br />
sum(reads) reads,<br />
sum(bytes_read),<br />
sum(writes),<br />
sum(bytes_written)<br />
FROM v$asm_diskgroup g, v$asm_disk_iostat d<br />
WHERE G.GROUP_NUMBER = D.GROUP_NUMBER<br />
group by d.instname,g.name<br />
<br />
Ayrıca read ve write hataları alınıp alınmadığını aşağıdaki scriptle bulabilirsiniz,<br />
<br />
SQL>SELECT SUM (read_errs) + SUM (write_errs) errors <br />
FROM v$asm_disk<br />
<br />
Özcan YILDIRIM<div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-797610349949026868.post-79339991201734768042012-01-24T14:40:00.007+02:002012-02-13T14:53:17.037+02:00Administrating Asm Instance<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-y8EHYEQkRdU/Tx6vsDI4FmI/AAAAAAAAAOw/CDDTFknz1KU/s1600/3-asm_views.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div><div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-FqoXzAMrzvY/Tx6va4OtHYI/AAAAAAAAAOo/ZWYFZj63PI8/s1600/2-asmca_start_stop_asm.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div><div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/-EFzs-Atfuhc/Tx6vKLrnheI/AAAAAAAAAOg/xXW6_pekkfU/s1600/1-asm_instance.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"> </a></div> Daha önceki ayzılarımızda da belirttiğimiz gibi asm bir instance dir.Yani kendine has memeory alanları vardır.Nasılki oracle instance verileri yönetiyor , tutuyor ve erişimii sağlayıp kouyorsa, asm instance de aynı şekilde storage yönetimi için geliştirilmiştir.Ancak bir makinada birden fazla oracle instance olabilir.Neticede oracle instance database i yönetir.Ancak bir makinada sadece bir asm instance olur ve o makinanın gördüğü storage yapılarını asm instance yönetir.Şekil1 de asm instance storage yapısı şematize edilmiştir.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://3.bp.blogspot.com/-EFzs-Atfuhc/Tx6vKLrnheI/AAAAAAAAAOg/xXW6_pekkfU/s1600/1-asm_instance.png" style="margin-left: auto; margin-right: auto;"><img border="0" height="275" src="http://3.bp.blogspot.com/-EFzs-Atfuhc/Tx6vKLrnheI/AAAAAAAAAOg/xXW6_pekkfU/s400/1-asm_instance.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Şekil 1 : Asm Instacne storage structure</td></tr>
</tbody></table><br />
<br />
Asm instancenin de kendi intialization parametreleri vardır.Memory_taget, Instance_type bunlara örnek olarak verilebilir.Bu parametreler dpfile yada pfile içerisine yazılmalıdır.asm instance parametre dosyası “<grid_home>/dbs/spfile+ASM.ora” şeklindededir.<br />
<br />
<a name='more'></a><br />
Asm instance parametreleri alter system yada alter session komutları ile set edilebilirbu parametrelerden bazılarını inceleyelim.<br />
<br />
ASM_DISKGROUPS:Asm disk group içerisinde asm diskleri barındıran bir storage array gibi düşünülebilir.Default değeri null dır.Spfile içerisinde belirtilmelidir.Tabi manuel olarak set edilecekse pfile içersinde set edilir.ALTER SYSTEM SET ASM_DISKGROUPS=’DATA,FRA,STANDBY’ şeklinde tanıtılır.<br />
<br />
Asm instance başlatıldığında disk group otomatik olarak mount edilir.Eğer nomount opsiyonunda başlatılırsa diskgroup görüntülenemez.Diskgroup css servis tarafından kullanılır.OCR tarafından bilgileri tutulur.<br />
<br />
ASM_DISKSTRING:Asm instance tarafından tanınan disklerin pathleridir.* yada ? gibi işaretler kullanılabilir.Default değeri null dır.Asm_diskstring için bir örnek aşağıdaki gibi verilebilir.<br />
ASM_DISKSTRING= /dev/sd*3, /dev/sd*4 <br />
OS bazında asm_diskstring değişiklik gösterebilir.<br />
Linux = /dev/raw/*<br />
HP-UX= /dev/rdisk/*<br />
AIX=/dev/rhdisk/*<br />
Solaris=/dev/rdsk/*<br />
Windows=\\.\ORCLDISKn<br />
<br />
ASM_POWER_LIMIT:ASM_POWER_LIMIT parametresi asm disk groubun disk yukunu dağıtırken ki hızını belirtir.1-11 değerleri arasında değişir.Default değeri 1 dir.11 en jhızlı olanıdır.Ancak 11 vermek çok yüksek hızla rebalance yapar buna karşın çok fazla miktarda I/O yüküne sebep olacağı için I/O performans sorununu da beraberinde getirir.<br />
INSTANCE_TYPE:Instance_type asm instance için ASM şeklinde set edilmelidir.<br />
INSTANCE_TYPE=ASM<br />
CLUSTER_DATABASE:Eğer birden çok asm instance aynı diskleri yönetecekse cluster_database parametresi TRUE olarak set edilmelidir.<br />
MEMORY_TARGET:Default değeri 256 MB dir.Ancak 400 MB vermek tüm sistemler için memory responceleri açısından optimize edilmiş bir değer olur.<br />
Bu arada belirtmek faydalı olacak tır, birden fazla asm instancenin yönetileceği rac sistemlerde parametre set ederken aşağıdaki gibi komutları çalıştırmak tüm makinalar üzerinde aynı parametreyi çalıştırma yükünden kurtaracaktır.<br />
<br />
ALTER SYSTEM SET MEMORY_TARGET=400MB scope=SPFILE SID=’*’;<br />
Burada dikkate dilmesi gereken belirtilen pathlerdeki asm disklerin os tarafından formatlanmamış olmasıdır.Biz burada en yayagın asm parametrelerinden bahsettik ancak tüm parametreler hakkında bilgi almak için aşağıdaki linke başvurulabilir.<br />
<br />
http://docs.oracle.com/cd/B28359_01/server.111/b31107/asminst.htm<br />
<br />
Starting and Stopping ASM Instances:<br />
<br />
Srvctl komutları ile ;<br />
Srvctl start asm --Tüm nodelarda asm instanceyi başlatır<br />
Srvctl start asm –n node_name --Belirtilen node için asm instanceyi başlatır<br />
Srvctl status asm --Tüm asm instance statusunu kontrol eder.<br />
Srvctl status asm –n node_name --Belirtilen node için asm instance statusunu kontrol eder.<br />
Srvctl stop asm --Tüm nodelarda asm instanceyi kapatır<br />
Srvctl stop asm –n node_name --Belirtilen node için asm instanceyi kapatır.<br />
<br />
Burada opsiyon belirlemediğim için default parametre NORMAL dir.Eğer istenirse komutlar aşağıdaki gibiopsiyon verilerekte çalıştırılabilir.<br />
Srvctl stop instance –d database_name –i instance_name –o immediate<br />
<br />
SqlPlus ile;<br />
Sqlplus ilede startup yada shutdown komutları ile asm instance yönetilebilir.Ancak sqlplus a bağlanırken ORACLE_SID=+ASM ORACLE_HOME=<grid_home> (burada grid home asm kurulduğu path oalrak sayıyoruz/ olarak set edilmelidir.<br />
<br />
Asmca ile;<br />
Aşağıdaki şekil 2 dede görüldüğü üzere asmca üzerinde asm instance kapatıp açılabilir.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://1.bp.blogspot.com/-FqoXzAMrzvY/Tx6va4OtHYI/AAAAAAAAAOo/ZWYFZj63PI8/s1600/2-asmca_start_stop_asm.png" style="margin-left: auto; margin-right: auto;"><img border="0" height="250" src="http://1.bp.blogspot.com/-FqoXzAMrzvY/Tx6va4OtHYI/AAAAAAAAAOo/ZWYFZj63PI8/s400/2-asmca_start_stop_asm.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Şekil2: Asmca ile asm instance yönetimi</td></tr>
</tbody></table><br />
<br />
Asmcmd ile ;<br />
Asmcmd startup --nomount--pfile asm_init.ora;<br />
Asmcmd shutdown –immediate;<br />
<br />
Bunların dışında crsctl stop crs komut tüm cluster ile birlikte asm instanceyi de kapatacak ve yine crsctl start crs de açacaktır.(crs_stop –all ve crs_start –all komutlarıda aynı işlemi yapar.)<br />
Srvctl start listener –n node_name komut ile listener başlatılabilir yada yönetilebilir.Burada kullanım kolay lığı sağlayan srvctl status listener yada srvctl start listener gibi komutlar ile tek bir makine üzerinden diğer makinalarda ki listenerları yönetebiliyor olmaktır.<br />
<br />
ASM dynamic views ;<br />
ASM ile iligli hertürlü bilgi database ve asm instance altındaki viewlarda tutulur.Bu viewları bulmak için aşağıdaki query i çalıştımanız yetecektir.<br />
<br />
Select * from dict where table_name like ‘%ASM%’;<br />
<br />
Ayrıca aşağıda şekil 3 dede bu viewlar şematize edilmiş ve birbirleri ile bağlantıları gösterilmiştir.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-y8EHYEQkRdU/Tx6vsDI4FmI/AAAAAAAAAOw/CDDTFknz1KU/s1600/3-asm_views.png" style="margin-left: auto; margin-right: auto;"><img border="0" height="256" src="http://4.bp.blogspot.com/-y8EHYEQkRdU/Tx6vsDI4FmI/AAAAAAAAAOw/CDDTFknz1KU/s400/3-asm_views.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"> Şekil3 : Dynamic Performance Views</td></tr>
</tbody></table><br />
<br />
Bu viewlar kullanılarak yazılacak force viewlar yada sql ler ile asm diskler monitör edilebilir.<br />
Aşağıda diskgroupları ve buna bağlı disklerin size vs bilgilerini ve ayrıca read write performanslarını görebileceğiniz basit bir sql görebilirsiniz.<br />
<br />
SELECT DG.GROUP_NUMBER,DG.NAME,DG.FREE_MB,DG.TOTAL_MB,DG.OFFLINE_DISKS,<br />
DG.COMPATIBILITY,D.DISK_NUMBER,D.FAILGROUP,D.FREE_MB,D.HEADER_STATUS,<br />
D.NAME,D.OS_MB,D.PATH,D.REDUNDANCY,D.STATE,D.TOTAL_MB,DIO.DBNAME,<br />
DIO.DISK_NUMBER,DIO.READ_ERRS,DIO.READ_TIME,DIO.READS,DIO.WRITE_ERRS,<br />
DIO.WRITE_TIME,DIO.WRITES<br />
FROM v$asm_diskgroup dg, v$asm_disk d, v$asm_disk_iostat dio<br />
WHERE DG.GROUP_NUMBER = D.GROUP_NUMBER<br />
AND DIO.GROUP_NUMBER = DG.GROUP_NUMBER<br />
AND DIO.DISK_NUMBER = D.DISK_NUMBER<div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-797610349949026868.post-33633423587802323822012-01-20T14:02:00.001+02:002012-01-20T14:05:56.378+02:00Oracle Clusterware Troubleshooting (Monitoring ve Sorun Giderme)<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-aZ7FlOh7Hw4/TxlV7sDy14I/AAAAAAAAAOA/2UMZUivcPd0/s1600/1-cluster_alert_logs.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div> <br />
Oracle Clusterware monitör etmek, problem tespiti ve sorun gidermek aslında cluster servislerini ve alertleri gerektiği gibi yorumlamaktan geçer.Ancak bunların öncesinde cluster sorunlarında aklımızdan çıkarmamız gerekn bir kural vardır.Oracle Clusterda ilk kontrol edilecek olan Cluster node ların system zamanlarının aynı olması yani time synchronization.Eğer network time protocol (NTP) kullanılıyorsa aşağıdaki gibi time synchronization sağlanabilir.<br />
<br />
$ vi /etc/sysconfig/ntp OPTIONS=”-x -u ntp:ntp -p /var/run/ntpd.pid”<br />
<br />
Eğer NTP kullanılmıyorsa (CTSS) clusterware synchronization servisi otomatik olarak time seknkronizasyonu yapacaktır.NTP servis service ntpd start komutu ile başlatılır.Ctss servisi ise octcssd.bin daemon process tarafından çalıştırılır.Eğer iki node arasındaki zaman farkı 5 dakikadan fazla ise tüm instance ler kapatılır ve sonrasında system time ayarlamaları yapılır.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://1.bp.blogspot.com/-aZ7FlOh7Hw4/TxlV7sDy14I/AAAAAAAAAOA/2UMZUivcPd0/s1600/1-cluster_alert_logs.png" style="margin-left: auto; margin-right: auto;"><img border="0" height="181" src="http://1.bp.blogspot.com/-aZ7FlOh7Hw4/TxlV7sDy14I/AAAAAAAAAOA/2UMZUivcPd0/s320/1-cluster_alert_logs.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Şekil 1:Oracle Clusterware Alert Logs</td></tr>
</tbody></table> <br />
<a name='more'></a><br />
<b> Logs:</b><br />
Şekil 1 de görüldüğü üzere Clusterware servislerine ait loglar ve alert log grid infrastructure kurulduğu yerde ve her bir instanceye ait olarak hostname dosyası altında bulunmuktadır.Şimdi bu loglar hakkında bilgi vermeye çalışalım.<br />
<br />
• CRS logs: Cluster ready service ye ait loglardır. Bulunduğu yer $GRID_HOME/log/<hostname>/crsd/ şeklindedir. crsd.log dosyaları her 10 MB boyuta ulaştıkça arşivlenmektedir.(crsd.101,crsd102…)<br />
<br />
• Css logs:Cluster synchronization loglarıdır . GRID_HOME/log/<hostname>/cssd/ path altında bulunur. Her 20 Mb de bir arşivlenir.<br />
<br />
• Evm Logs:Event Manager loglarıdır. GRID_HOME/log/<hostname>/evmd/ path altındadır.<br />
Diğer loglarıda şekil 1 deki gibi bulunduğu path altında görebilir ve inceleyebilirsiniz.Tabi bu loğlardan gördüklerinizi yorumlayabilemek için ait oldukları servislere hakim olmanız gerekir.<br />
Diagnostic Collection Script<br />
<br />
GRID_HOME/bin/diagcollection.pl scripti önemli loğları toplamak için kullanılabilir.Bu scripti kullanabilmek için root yetksisine sahip olmanız gerekmektedir.Çünkü cluster yönetimi root dadır.<br />
Aşağıdaki gibi seçenekleri bulunmaktadır.<br />
<br />
GRID_HOME/bin/diagcollection.pl --collect logları toplar ve local directory altına atar.<br />
GRID_HOME/bin/diagcollection.pl --clean eski loğları temizler <br />
GRID_HOME/bin/diagcollection.pl --crs Crs loğlarını toplar.<br />
GRID_HOME/bin/diagcollection.pl --core Core fileleri toplar.<br />
GRID_HOME/bin/diagcollection.pl --all Tüm logları toplar.Bu seçenek defaulttur.<br />
<br />
<b> Cluster Verify</b><br />
Rac cluster’a eklenmiş farklı bir modül olarak düşünülebilir.Bu modül ile kurulum konfigürasyon ve operasyon işlemlerinde herzaman kontrol etme ve düzeltme işlemleri yaapılabilir.Örneğin fixup opsiyonu ile kurulumda alınana hataları gidermek için script üretilebilir.<br />
Cluvy adından da anlaşılacağı üzere check etmek ve doğrulamak için çok güçlü bir tool dır.Aşağıda Cluster verify utility kullanımına dair örnekler ve opsiyonlar bulunmaktadır. Ayrıca Cluvy comp –list komutu ile kullaılabilir tüm opsiyonları listeleyebilirsiniz.<br />
Şimdi biz bu opsiyonlardan bazılarının kullanımı hakkında örnek sunalım. Cluvfy komutunun kullanımım hakkında referans olarak kullanabileceğiniz ve syntax örneği görebileceğiniz oracle nin dökümantasyon sayfası mevcuttur. <br />
http://docs.oracle.com/cd/E14072_01/rac.112/e10717/cvu.htm#CACFJJJD<br />
<br />
Kullanımı: cluvfy comp <komponent-adı> <komponente ait opsiyon> [-verbose]<br />
Komponetler:<br />
Nodearch --Nodeların avail olup olmadığını kontrol eder. <br />
cluvfy comp nodereach -n all -srcnode node_to_perform_check –verbose<br />
Nodeapps --node uygulamalarının varlığının control eder<br />
cluvfy comp nodeapp -n all –verbose<br />
SCAN --Scan Konfigurasyonunu kontrol eder<br />
cluvfy comp scan -verbose<br />
<br />
<b> Resource Debugging</b><br />
<br />
Resource Debugging Oracle Clusterware kaynaklarını debug etmek ve sorun çözmek için kullanılabilir.Monitor etmede kullanılması doğru değildir.Çünkü performansı etkileyen bir tool dır.Aşağıdaki gibi oracle Clusterware Resource Debugging Enable edilebilir.<br />
crsctl set log resource “resource_name :debugging_level”<br />
<br />
resource_name:Oracle Clusterware kaynak ismi. “crsctl status resource “ komutu ile tüm kaynakların isimleri ve statusleri listelenebilir.<br />
Debuggin_level:1 den 5 e kadar numara verilir.1 en az ayrıntılı olan debug seviyesidir.<br />
<br />
Kaynağı debug etmenin diğer bir yöntemide <Grid_Home>/log/node1/admin/process_name.ini path altında şeklinde initialization file oluşturmaktır.process_name burada clscfg,css,ons gibi processler olabilir.<br />
<br />
<b>Dynamic Debugging</b><br />
Dinamik debug metodu ile bir servise ait istediğiniz modülleri farklı seviyelerde debug etme seçeneğine sahip olabiliriz. Aşağıdaki komutlar dinamik debugging için kullanılabilir.<br />
<br />
crsctl lsmodules css --css servisine ait modülleri listeler<br />
crsctl set log css “cssd=2”, “clsf=3” , “skgfd=1” --css kaynağına ait cssd,clsf,skgdf modüllerini 2,3,1 seviyelerinde debug ediyoruz.<br />
<br />
Cluster Kapanmasına sebep olan yada makinanın reboot olmasına sebep olan problem nedir?<br />
Oracle CLusterware troubleshooting aslında sorun ları tespit edebilme , önceden önlem almak için çalışmalar yapmaktır.Ancak ne kadar monitör edilip önlem alınsada neticede bu bir sistemdir ve bazen istenmeyen şekillerde 1 node reboot olabilir ve cluster kapanabilir.Böyle bir durumda öncelikle servis kesintisi yoksa herşey dışarıdan bakıldığında yolunda gözükmektedir ve bu sevinilecek bir durumdur.Sonrasında ilgili noda tekrar açılır ve servisleri tekrar başlatırsınız.<br />
Ancak servisler başarılı bir şekilde açılsada problemi monitör etmek , sorunun kaynağını tespit edip çözmek bir daha böyle bir durum yaşamamak için önemlidir.<br />
<br />
<b>Peki reboot’a sebep olabilecek processler nelerdir?</b><br />
<br />
<b>cclskd: </b>css tarafından kullanılır ve diğer nodalardan bir istek geldiğinde ilgili nodu reboot edebilir. <br />
$<Grid Home>/log/<hostname>/client/oclskd.log dosyasına bakılabilir.<br />
<br />
<b>cssdagent and cssmonitor:</b> Nodeları monitör eden ve clusterware hand eden proseslerdir.<br />
$<Grid Home>/log/<hostname>/agent/ohasd/oracssdagent_root<br />
$<Grid Home>/log/<hostname>/agent/ohasd/oracssmonitor_root<br />
<br />
<b>ocssd: </b>Internode arasındaki sağlıklı iletişimi kontrol eder. <br />
$/var/log/messages<br />
$<Grid Home>/log/<hostname>/cssd/ocssd.log dosyalarına bakılabilir.<br />
<br />
<b>hangcheck-timer:</b> Makinanın hang olduğu ve durduğu zamanları monitör eder.<br />
$/var/log/messages<br />
<br />
<b> Ocrdump</b><br />
Problem tespitinde yukarıda bahsettiğim yöntemler fiziksel veriler ile iligiliydi.Logical verilerin bilgilerini tutan oc içeriğini ise aşağıdaki metodlarla dump edebilir ve inceleyebiliriz.ocrdump komutu ile alacağımız bu dump dosyları default olarak bulunduğumuz dizine yazılır eğer path vermezsek.Ayrıca root ile alınan ocrdump ve grid ile alınana ocrdump farklıdır.Çünkü cluster yönetimi üzerinde hakları farklıdır.<br />
<br />
ocdump file_name_of_text.txt --ocr içeriğini text dosyasına çıkartır.<br />
Ocrdump –keyname system.language --ocr içeriğini belirlenen bir keliem için çıkartır.<br />
Ocrdump -stdout –xml --ocr içeriğini bir xml dopsyasına çıkartır.<br />
Ocrdump –backupfile week.ocr --ocr içeriğini bir backup dosyasına çıkartır.<br />
<br />
Son olarak ocr statusunu kontrol etmek için <b>ocrcheck</b> komutuda kullanılabilir.<br />
<br />
Özcan YILDIRIM<div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-797610349949026868.post-38121044516636241562012-01-13T14:46:00.002+02:002012-01-20T15:15:36.311+02:00Oracle RAC Node'lar Arasında SSH Konfigurasyonu Nasıl Yapılır? Ssh Konfigurasyonu rac sistemlerde bir node üzerinde tün nodelara kurulum yapmak vs işlemleriçin gereklidir.Ssh konfigürasyonu aslında nodelar arasında şifresiz hareket edebilmeyi sağlar.Bu yazımızda ssh konfigürasyonu yapacağız.<br />
Öncelikle aşağıdaki komutla ssh çalışıp çalışmadığı kontrol edilir.Eğer ssh çalışıyorsa birçok id sıralanacaktır.<br />
<br />
$ pgrep sshd<br />
858<br />
1520<br />
23668<br />
19892<br />
874<br />
<br />
Daha Sonra .ssh dizini oracle user tarafından yazılabilirmi kontrol edilir.Eğer .ssh dosyası yoksa home dizini altına create edilir. mkdir –p .ssh şeklinde create edilebilir.<br />
<br />
<a name='more'></a><br />
<br />
$ ls –al .ssh<br />
drwx------ 2 oracle oinstall 96 Dec 9 2010 .<br />
drwxr-xr-x 10 oracle oinstall 8192 Jul 26 14:56 ..<br />
-rw-r--r-- 1 oracle oinstall 1584 Jan 13 14:25 authorized_keys<br />
-rw------- 1 oracle oinstall 1671 Jan 13 14:15 id_rsa<br />
-rw-r--r-- 1 oracle oinstall 396 Jan 13 14:15 id_rsa.pub<br />
-rw-r--r-- 1 oracle oinstall 2312 Nov 28 21:13 known_hosts<br />
<br />
Yukarıda görüldüğü üzere .ssh dosyası oracle ye aittir.Eğer bu dosya oracle dışında biir user a ait se chmod 700 ile bu dosyaya hak verilebilir.Bu şartlar sağlanıyorsa aşağıdaki adımlardaki gibi ssh konfigürasyonu yapılır. <br />
SSH konfigürasyonu sırasında aslında yapacağımız iş RSA ve DSA keyleri herbir node üzerinde oluşturmak ve bu keyleri authorized_key dosyasına atıp bu dosyayı diğer node lar ile paylaşmaktır.<br />
Daha sonra aşağıdaki komutla public (~/.ssh/id_rsa.pub) ve private(~/.ssh/id_rsa) rsa keyler oluşturulur.Private rsa key paylaşılmamalıdır.<br />
<br />
$/usr/bin/ssh-keygen -t rsa<br />
<br />
Daha sonra aşağıdaki komutla public key local node üzerinde authorized_keys dosyasına atılır.<br />
<br />
$cat id_rsa.pub >> authorized_keys<br />
<br />
Sonrasında bu dosya digger noda taşınır.<br />
<br />
<br />
$scp authorized_keys node2:/home/crs/.ssh/<br />
<br />
Kopyalamadan sonra ssh node 2 diyerek diğer noda gidilir ve aynı şekilde id_rsa.pub dosyası authorized_keys dosyasına atılır ve node 1 e kopyalanır.<br />
Kaç tane node varsa aynı şekilde authorized_keys dosyası içerisine id_rsa_pub key atılır ve diğer noda lara bu dosya kopyalanır ve işlem sırasında şifre istenirse girilir.<br />
<div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-797610349949026868.post-85305575623924707832012-01-02T00:08:00.001+02:002012-01-02T00:10:21.512+02:00Oracle Clusterware Yönetimi<div class="MsoNormal"><span lang="TR"> </span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Bu yazımızda Oracle Clusterware yönetimi, konfigurasyonu, monitor edilmesi gibi konulardana bahsetmeye çalışacağız.Oracle clusterware crsctl ve srvctl şeklindeki iki komut ekranında yada EM (Enterprise manager üzerinde) yönetilir. Crsctl sadece clusterware admin gurubu tarafından kullanılabilir.Bu da genelde root userdır.Srvctl ise database admin gurubu tarafından kullanılabilir.</span></div><div class="MsoNormal" style="text-indent: 36pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Bu yazımızda biz crsctl ve srvctl komutları ile işlemleri yapmaya daha çok değineceğiz.Enterprise manager web tababnlı bir yönetim sistemidir.</span></div><div class="MsoNormal" style="text-indent: 36pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR">Clusterware’ i belli bir node üzerinde nasıl kapatılır, açılır, aktif veya pasif edilir?</span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl start crs --Clusterware üzerinde olduğunuz node için açma işlemi</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl stop crs --Clusterware üzerinde olduğunuz node için kapama işlemi</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl enable crs --Clusterware üzerinde olduğunuz node için aktif etme</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl disable crs --Clusterware üzerinde olduğunuz node için pasif işlemi</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR">Clusterware durumu nasıl kontrol edilir?</span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl check crs --Tüm clusterware durmunu kontrol eder</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl check cluster --CSS servisleri kontrol eder</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl check <daemon> --Belli bir cluster servisini kontrol etme.(crsd,evmd,cssd)</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
<a name='more'></a><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Daha önce Clusterware servislerinden bahsettiğim <a href="http://ozcan-yildirim.blogspot.com/2011/12/oracel-grid-infrastructure-architecture.html"><span style="color: windowtext; text-decoration: none;">Oracle Grid Infrastructure Architecture</span></a> yazımızda da clusterware mimarisine ve serviserine ait bilgiler bulabilirsiniz. </span></div><div class="MsoNormal" style="text-indent: 36pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR" style="font-family: "Constantia","serif";"> <b style="mso-bidi-font-weight: normal;">Clusterware konfigurasyon dosyalarının yeri nasıl bulunur?</b></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl query css votedisk --Voting disk yerini belirleme</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">cat /etc/oracle/ocs.loc --OCR dosyalarının yerini bulma</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrcheck --Oracle Cluster registry durumunu kontrol eder.</span></div><div class="MsoNormal" style="text-indent: 36pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR" style="font-family: "Constantia","serif";">Oracle Clusterware konfigürasyon dosyaıs olarak Votedisk ve OCR dosyalarının kullanır.Bu dosyaların güvenliği önemlidir.Bundan dolayı birden çok kopyasının bulundurulması önerilir.OCR ve Vote disk entegrasyonunu kontrol etmek için aşağıdaki komutlar kullanılabilir.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">cluvfy comp ocr -n all –verbose</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrcheck</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR" style="font-family: "Constantia","serif";">Votedisk nasıl eklenir, silinir ve taşınır?</span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl add css votedisk new_vote_disk_path -–vote disk ekleme</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl delete css votedisk new_vote_disk_path --votedisk silme</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl add votedisk asm_disk_group --asm diske votedisk eklemek</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl replace votedisk asm_diskgroup / vote_disk_path --votedisk taşımak</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Cluster down edilemden yukarıdaki votedisk işlemleri yapılabilir.Ancak COMPATIVLE.ASM parametresi 11.2.0.0 olarak setedilmelidir.OCR dosyalarını nbackup’ı otomatik olarak tek node üzerinden alınır.Backup 4 saatte bir alınır ve son 3 kopyayı tutar.Gün sonunda alınır ve son 2 kopya tutulur.Haftasonunda alınır ve son 2 kopya tutulur.</span></div><div class="MsoNormal" style="text-indent: 36pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR">OCR backuplarının nereye alınır ve ocr backup lokasyonu nasıl değiştirilir?</span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrconfig –showbackup auto --ocrbackupları hangi node ‘ a ve nereye alınır</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrconfig –backuploc shared_path_by_all node --ocr backup lokasyonu değiştirme</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">OCR backup lokasyonunu asm file system üzrine almamanız tavsiye edilir.Eğer crs tüm node lar üzerinde kapanırsa automatic ocr backup job çalışmaz hale gelir.Başlatıldığında ise otomatic backup alınmaz ve backup job zamanı resetlenir.</span></div><div class="MsoNormal" style="text-indent: 36pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR">OCR lokasyonu nasıl aklenir, çıkarılır ve repair edilir?</span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrconfig –add path_of_location --ocr lokasyon ekleme.path asm veya filesystem olabilir.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrconfig –replace new_path --ocr lokasyonu değiştirme</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrconfig –repair –add +DATA1—ocr lokasyonu repair etmek.Cluster çalışırken yapılamaz.</span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR">OCR lokasyonu ASM üzerine nasıl taşınır?</span></b></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">1-oracle clusterware versioyonun 11gr2 olduğundan emin olalım.</span><b style="mso-bidi-font-weight: normal;"><span lang="TR" style="font-family: "Constantia","serif";"></span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl query crs activeversion</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">2-Tüm nodelar üzerinde asm çalışıyor olmalıdır ve ocr lokasyonu taşınacak diskgroup en az 1 GB olmalıdır.OCR tutacak diskgroup’un normal redundancy de olması önerilir.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ps –ef | grep pmon</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">asmcmd lsdg</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">3-root user ile aşağıdaki komut çalıştırılarak asm üzerine ocr lokasyon eklenir.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrconfig -add +OCR</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">4-File systemdeki ocr lokasyonlar silinir.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrconfig –delete /path_of_ocr</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Aynı adımlar takip edilerek OCR okasyonu ASM üzerinden file system’ede taşınabilir.</span></div><div class="MsoNormal" style="text-indent: 36pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR">Manuel OCR backup nasıl alınır?</span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrconfig –manuelbackup --Fiziksel olarak ocr backup alma işlemi.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrconfig –showbackup manuel –Manuel alınmış backupları gösterir.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrconfig –export /path_of_export –Mantıksal ocr backup alma işlemi</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">Önemli konfigürasyon değişiklikleri olduğunda manuel backup alınması tavsiye edilir.Bu değişikliklerin geri alınması için bir önceki OCR backupların restore edilmesi doğru bir işlem değildir.Bu işlem OCR ile systemin uyuşmamasına ve problemler yaşamamıza sebep olur.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR">OCR recover etme:Fiziksel backup kullanılarak.</span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">1-Son backup’ı belirliyoruz.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrconfig –showbackup</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">2-Oracle clusterware tüm nodelar üzerinde kapatılmalıdır.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl stop cluster –all</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">3-Oracle High availability servisler tüm nodelarda kapatılmalıdır.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl stop crs</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">4-Fiziksel OCR backup kullnılarak restore edilir.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrconfig -restore /path_of_ocr_backup</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">5-Oracle High availability servisler tün node’larda başlatılır.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl start crs</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">6-OCR entegrasyonu kontrol edilir.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">cluvfy comp ocr –n all</span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR">OCR recover etme:Mantıksa backup kullanılarak.</span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">1-Son alınan export lokasyonu belirlenir.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">2-Oracle clusterware tüm nodelar üzerinde kapatılmalıdır.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl stop cluster –all</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">3-Oracle High availability servisler tüm nodelarda kapatılmalıdır.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl stop crs</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">4-Fiziksel OCR backup kullnılarak restore edilir.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrconfig import /path_of_ocr_exportbackup</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">5-Oracle High availability servisler tün node’larda başlatılır.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">crsctl start crs</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">6-OCR entegrasyonu kontrol edilir.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">cluvfy comp ocr –n all</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR">OCR Local Registry (OLR)</span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">Herbir cluster node üzerinde o noda ait local bir registry bulunur.OLR (Oracle Local Registry) Oracle clusterware kurulduğunda kurulur.OLR , clusterware node üzerinde çalışmasa bile komutlara ve işlemlere erişim sağlamaya elverir.Diğer Yandan OCR ve voting disk ASM üzerinde ise clusterware başlatılması için OLR olanak sağlar.OLR node ile Cluster arasındaki köprüdür.OLR default olarak $GRID_HOME/cdata/hostname.olr lokasyonundadır.ocrcheck, ocrconfig, ocrdump gibi komutlara –local opsiyonu getirilerek OLR ynetimi yapılabilir.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrcheck –local --olr kontrol edilmesi</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrdump –local –stdout --olr içeriğini texy dosyasına bastırmamaızı sağlar</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrconfig -local –export file_name --olr export işlemi</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrconfig –local –import file_name --olr import işlemi</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ocrconfig –local –repair olr filename --olr dosyasının modifiye edilmesi</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR">Clusterware network ayarları nasıl kontrol edilir?</span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">oifcfg iflist –p –n --cluster ip arayuzlerinin listesini gösterir</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">oifcfg getif --cluster public ve private ip arayuzlerini listeler</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">srvctl config nodeapps –a --VIP IP,host subnetmask gibi atayuzleri listeler </span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR">Public Vip adres nasıl değiştirilir?</span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">1-Vip adresin değiştirilmek istendiği node daki tüm servisler kapatılır</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">srvctl stop service –d RDBA –s crm,hr –n host1</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">2-Vip adress için set edilelecek mevcut ip adress konfigurasyonu yapılır.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">srvctl config vip –n host1</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">3-VIP adress kapatılır.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">srvctl stop vip –n host1</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">4-VIP adresin çalışmadığı kontrol edilir</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">ifconfig –a</span><span lang="TR"> </span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">5- /etc/hosts dosyasına gerekli satırlar tüm nodelar üzerinde yeni ip adres için girilir.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">6-Node üzerinde ki uygulamalar ve yeni ip dönüşümü yapılır.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">srvctl modify nodeapps –n host1 –A new_vip_ip</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">7-Node vip adress açılır.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">srvctl start vip –n host1</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">8-Tüm adımlar her bir node üzerinde tekrarlanır.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">9-Cluster içerisindeki nodelar arasındaki bağlantı kontrol edilir.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">cluvfy comp nodecon –n all-verbose</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR">Interconnect adapter nasıl değiştirilir</span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">1-Cluster içindeki bir node üzerinde yeni global interface tanımlanır</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">oifcfg setif –global eth2/192.0.0.2:cluster_interconnect </span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">2-Değişimler kontrol edilir ve sonrasında clusterware tüm node lar için kapatılır.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">oifcfg getif</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">crsctl stop crs</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">3- Yeni network adapter tüm node’lar üzerinde network adrese yönlendirilir.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">ifconfig eth2 192.0.2.15 netmask 255.255.255.0 broadcast 192.0.2.255</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">4- Eski interconnect adapter kaldırılıp clusterware açılır.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">oifcfg delif –global eth1/192.168.1.10</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR">crsctl start crs</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR"> Scan Vip ve Scan Listener nasıl eklenir?</span></b></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">srvctl add scan –n cluster01-scan --Scan vip ekleme</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">srvctl remove scan –f --Scan vip kaldırma</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">srvctl add scan_listener --scan listener eklemek</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">srvctl add scan_listener –p <i>port </i>--nondefault port scan listener ekleme</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">srvctl remove scan_listener –f --scan listener silme</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">srvctl modify scan –n cluster01-scan --mevcut scan başka bir scan ile eşlemek.</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;"><span lang="TR" style="color: #7030a0; font-family: "Constantia","serif";">srvctl modify scan_listener –u --mevcut scan_listener ‘ı var olan scan ile eşlemek. </span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR" style="font-family: "Constantia","serif";"> Özcan YILDIRIM</span></div><div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-797610349949026868.post-81240968146923966042011-12-28T15:31:00.004+02:002011-12-29T01:34:02.083+02:00Oracle Asm Architecture (Asm Mimarisi)<div class="MsoNormal" style="text-indent: 36pt;"><span lang="TR">Asm (Automatic Storage Management) mimarisinden ve asm içeriğinden bahsetmeden önce asm faydalarından kısaca bahsetmenin asm mantığını kavramada faydalı olacağını düşünüyorum.</span></div><div class="MsoListParagraphCxSpFirst" style="margin-left: 72pt; mso-add-space: auto; mso-list: l1 level1 lfo1; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><span lang="TR">Asm diskler üzerinde dengeli yük dağılımını sağlar.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 72pt; mso-add-space: auto; mso-list: l1 level1 lfo1; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><span lang="TR">Yüksek performans sağlayan cluster yapıdadır.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 72pt; mso-add-space: auto; mso-list: l1 level1 lfo1; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><span lang="TR">Diskler entegre olmuş gibi asm ortamında tek parça olarak gözükür.</span></div><div class="MsoListParagraphCxSpLast" style="margin-left: 72pt; mso-add-space: auto; mso-list: l1 level1 lfo1; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><span lang="TR">Asm ile storage yönetimi kolaydır ve asm bir çok disk probleminide çözmüştür.</span></div><div class="MsoNormal" style="text-indent: 36pt;"><span lang="TR">Asm faydaları tabi bu saydıklarımızla sınırla değildir ancak temel olarak yukarıdaki 4 madde baz alınabilir. Her bit makina için sadece bir asm instance kurulabilir.Ancak bir asm instance da birden çok veritabanı olabilir.Aşağıda şekil 1 ve şekil 2 de farklı asm konfigurasyonlarını görebilirsiniz.</span></div><div class="MsoNormal" style="text-indent: 36pt;"><br />
</div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-Qt2BkNQaT5Y/TvsY4De5vxI/AAAAAAAAAM0/Zw59h6kh_KU/s1600/1-noncluster_asm.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="238" src="http://4.bp.blogspot.com/-Qt2BkNQaT5Y/TvsY4De5vxI/AAAAAAAAAM0/Zw59h6kh_KU/s320/1-noncluster_asm.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span lang="TR"> Şekil 1 : Asm non-cluster multi database konfigurasyon</span></td></tr>
</tbody></table><br />
<a name='more'></a><br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://1.bp.blogspot.com/-fwqRviJXtQI/TvsZGYV7DLI/AAAAAAAAANA/-U6CVlJEqhE/s1600/2-cluser_asm_cluster_db.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="211" src="http://1.bp.blogspot.com/-fwqRviJXtQI/TvsZGYV7DLI/AAAAAAAAANA/-U6CVlJEqhE/s320/2-cluser_asm_cluster_db.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span lang="TR">Şekil 2: Asm cluster database konfigurasyon</span></td></tr>
</tbody></table><div class="MsoNormal" style="text-indent: 36pt;"><span lang="TR"> </span></div><div class="MsoNormal"><span lang="TR"> Şekillerde de gördüğümüz gibi bir makinada sadece bir tane asm olabilir ancak bir asm birden çok database destekleyebilir.Asm instance ‘a ulaşmak için sqlplus / sys as sysasm komutunu çalıştırmamız gerekir.Başka bir user ilede asm ‘ e bağlanılabilir ancak bu userın sysasm,sysdba,yada sysoper rollerinden birine sahip olması gerekir. Sqlplus / oyildirim as sysasm gibi.Bu rollere ait haklar ise aşağıdaki gibibdir.</span></div><div class="MsoNormal"><span lang="TR"> SYSASM </span><span lang="TR" style="font-family: Wingdings;">:</span><span lang="TR"> Tüm Yetkiler</span></div><div class="MsoNormal"><span lang="TR"> SYSDBA </span><span lang="TR" style="font-family: Wingdings;">:</span><span lang="TR"> Asm üzerindeki datalar erişim, dosya silme ve oluşturma, ve dosyalar üzerindeki yetki yönetimi</span></div><div class="MsoNormal"><span lang="TR"> SYSOPER </span><span lang="TR" style="font-family: Wingdings;">:</span><span lang="TR"> Yanlıs asm açma kapama ve alter diskgroup ... komutları.</span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><span lang="TR"> Asm ‘ remote bağlantı için REMOTE_LOGIN_PASSWORDFILE parametresi set edilmelidir.Defaul hali none dir.Bir password dosyası asm kurulurken oluşturulur ve içinde sadece sys ve asmsnmp userlarını barındırır.Ancak orapwd komutu ile sonradanda oluşturulabilir.User lar bu password dosyasına sqlplus üzerinden grant verilerek yada asmcmd komut windowunda orapwuser komutu ile yazdırılabilirler.</span></div><div class="MsoNormal"><span lang="TR"> SQL> GRANT SYSASM TO OYILDIRIM;</span></div><div class="MsoNormal"><span lang="TR"> Asmcmd orapwusr –add –priviliege sysasm oyildirim;</span></div><div class="MsoNormal" style="text-indent: 36pt;"><span lang="TR">Ayrıca bu password dosyası içinde hangi userların olduğunuda aşağıdaki komutlarla görebiliriz.</span></div><div class="MsoNormal" style="text-indent: 36pt;"><span lang="TR">SQL> select * from v$pwfile_users;</span></div><div class="MsoNormal" style="text-indent: 36pt;"><span lang="TR">Asmcmd lspwusr</span></div><div class="MsoNormal"><span lang="TR"> Daha anlaşılır olması ve işlevinin ve yönetiminin konsepti açısından Asm kendi içinde bileşenlerine yada komponentlerine ayırabiliriz.</span></div><div class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span lang="TR"> Software:</span></b><span lang="TR"> Oracle Base ve Oracle Home şeklinde 2 adet directory olmalıdır. Grid Infrastructure oracle dışında farklı bir user altınada kurulabilir. Oracle Software için gerekli yer 5 Gb civarındadır.</span></div><div class="MsoNormal" style="margin-left: 36pt;"><span lang="TR">ORACLE BASE = /u01/app/oracle</span></div><div class="MsoNormal" style="margin-left: 36pt;"><span lang="TR">ORACLE_HOME=$ORACLE_BASE/11.2.0/db </span></div><div class="MsoNormal" style="text-align: justify;"><b style="mso-bidi-font-weight: normal;"><span lang="TR"> Asm Instance:</span></b><span lang="TR"> Şekil 3 de görüleceği üzere asm instance SGA ve background processlerden oluşur.Asm instanceye ait Shared pool, large pool, asm cache ve free memory alanlarına sahiptir.Asm ‘ e ait background processler ise RBAL,ARBn,GMON ... gibi processleri vardır.Bu processleri asm yönetiminde daha detaylı değineceğiz.</span></div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://1.bp.blogspot.com/-sMGLtgpBRVc/TvsZeCOdaQI/AAAAAAAAANM/kFinj2EpkzU/s1600/3-asm_instance.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="207" src="http://1.bp.blogspot.com/-sMGLtgpBRVc/TvsZeCOdaQI/AAAAAAAAANM/kFinj2EpkzU/s320/3-asm_instance.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span lang="TR">Şekil 3 : ASM Instance</span></td></tr>
</tbody></table><br />
<div class="MsoNormal" style="text-align: justify; text-indent: 36pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR">Node Listener:</span></b><span lang="TR"> ASM Clients ile ASM instance arasındaki networkun devamlılığını sağlayan process’e node listener da denir.Default olarak 1521 portu üzerinden ve $ORACLE_HOME/bin dizininde çalışır.Linux üzerinde tnslsnr processi olarak adlandırılır.Aşağıdaki gibi srvctl komutları ile kapatıp açılabilir.Konfigurasyon dosyaları /etc/oratab, /etc/oraInst.loc, </span><span lang="TR" style="font-size: 10pt; line-height: 115%;">$ORACLE_HOME/dbs/orapw+ASM</span><span lang="TR"> </span><span lang="TR" style="font-size: 10pt; line-height: 115%;">$ORACLE_HOME/network/admin/listener.ora , $ORACLE_HOME/network/admin/sqlnet.ora dosyalarıdır.</span><span lang="TR"></span></div><div class="MsoNormal" style="text-align: justify; text-indent: 36pt;"><span lang="TR">Srvctl start listener –n node_name</span></div><div class="MsoNormal" style="text-align: justify; text-indent: 36pt;"><span lang="TR">Srvctl stop listener –n node_name</span></div><div class="MsoNormal" style="text-align: justify; text-indent: 36pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR">ASM Disk Group:</span></b><span lang="TR"> 3 farklı redundancy (yedekleme) metodu vardır.Temel storage elemanıdır.Disk group oluşturulduğunda aşağıdaki redundancy metodlarından biri seçilir.</span></div><div class="MsoNormal" style="text-align: justify; text-indent: 36pt;"><span lang="TR">-High:3 yedek alınan en güvenli moddur.</span></div><div class="MsoNormal" style="text-align: justify; text-indent: 36pt;"><span lang="TR">-Normal: 2 yedek alınan moddur.</span></div><div class="MsoNormal" style="text-align: justify; text-indent: 36pt;"><span lang="TR">-External : Yedeği yoktur.Ancak en performans lı moddur.Genelde hardware mirror varsa kullanılır ve default tur.</span></div><div class="MsoNormal" style="text-align: justify; text-indent: 36pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR">Asm Fail Group: </span></b><span lang="TR">Asm fail group ASM disk group içindeki bir disk yapısıdır.Asm shared storage olduğu için hardware failure olayları ile karşılaşılabilir ve bundan dolayı fail group içerisinde asm diskgroupların bilgileri mirror edilir ve böylece koruma sağlanmış olur. Normal redundancy için en az 2 high redundancy için en az 3 adet fail group tanımlamak gereklidir.Birden çok disk gurubu için bir fail group tanımlanabilir.</span></div><div class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span lang="TR"> Asm Disks;</span></b><span lang="TR">Asm Diskler Asm Diskgroupların bir parçasıdır.Asm Diskler Aşağıdaki kaynaklardan şekillendirilebilir.</span></div><div class="MsoListParagraphCxSpFirst" style="margin-left: 72pt; mso-add-space: auto; mso-list: l0 level2 lfo2; text-indent: -18pt;"><span lang="TR" style="font-family: "Courier New";">o<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><span lang="TR">Storage arraylere ait disk yada partititonlar</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 72pt; mso-add-space: auto; mso-list: l0 level2 lfo2; text-indent: -18pt;"><span lang="TR" style="font-family: "Courier New";">o<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><span lang="TR">Bütün bir disk yada disk partitionları</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 72pt; mso-add-space: auto; mso-list: l0 level2 lfo2; text-indent: -18pt;"><span lang="TR" style="font-family: "Courier New";">o<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><span lang="TR">Logical Volume yada (LV) yada Logical Unitlerden (LUN)</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 72pt; mso-add-space: auto; mso-list: l0 level2 lfo2; text-indent: -18pt;"><span lang="TR" style="font-family: "Courier New";">o<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><span lang="TR">Network Filelerden (NAS)</span></div><div class="MsoListParagraphCxSpLast" style="margin-left: 72pt; mso-add-space: auto; mso-list: l0 level2 lfo2; text-indent: -18pt;"><span lang="TR" style="font-family: "Courier New";">o<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><span lang="TR">Exadata Grid Disk</span></div><div class="MsoNormal" style="text-indent: 36pt;"><span lang="TR">Disk Group’a eklenirken farklı isimlendirilebilir.Allocation Unit Size 1,2,4..64MB ye kadar farklı olarak set edilebilir.</span></div><div class="MsoNormal" style="tab-stops: 47.25pt;"><span lang="TR"> Asm Yönetimi içinse Asmca, EM (Enterprise Manager), Sqlplus ,Asmcmd,lsnrctl ve srvctl utilitileri kullanılabilir.</span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal" style="tab-stops: 47.25pt;"><span lang="TR"> Özcan YILDIRIM</span></div><div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-797610349949026868.post-53460408361570528662011-12-28T10:19:00.001+02:002011-12-28T10:29:25.153+02:00Oracle ‘da Mail Göndermek & Grid Control Target Status Monitor Etmek<div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36pt;"><span lang="TR">Veritabanı Yönetiminde bazen bir durumu sürekli veritabanı üzerinden kontrol etmemeiz yada monitor etmemeiz gerekebilir. İstemediğimiz bir event oluştuğunda anında haberdar olmak ve mudahale etmek isteriz.Bunun için veritabanında çalıştırdığımız sql yada pl/sql programların bize döndürdüğü sonuç nasıl mail atılır inceleyelim.</span></div><div class="MsoNormal" style="text-indent: 36pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Öncelik Veritabanında mail atmak için aşağıdaki ayarlamaların yapılması gerekmektedir.</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Mail gönderebilmemeiz için bizim bir SMTP configurasyonu yapılmış bir makinamız olmalı.Bu makinanın IP sini aşağıdaki gibi veritabanına tanıtacağız.Örneğin bizim SMTP server IP miz 192.168.2.1 olsun.SMTP konfigurasyonunda default port 25 dir.Bu yüzden port tanımlamayacağız.Siz isterseniz farklı port tanımlayabilirsiniz.Bu durumda oracle üzerinde de SMTP_OUT_SERVER=’192.168.2.1:NEW_PORT’ şeklinde parametre set etmeniz gerekir.</span></div><div class="MsoNormal" style="text-indent: 36pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">SQL> ALTER SYSTEM SET SMTP_OUT_SERVER=’192.168.2.1’ scope=BOTH;</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Daha Sonra mail göndereceğimiz Oracle USER için ACL(Access Control List) Tanımları yapmalıyız.</span></div><div class="MsoNormal" style="text-indent: 36pt;"><span lang="TR"></span></div><a name='more'></a><br />
<div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Örneğin mail göndereceğimiz user SYSMAN olsun. Hatta SYSMAN bize Grid Control tarafından izlenen Oracle Veritabalarından bilgi alınmasını sağlayan Grid Kontrol Agent ve Targetlerin durumlarını belli periyodlarla sorgulayıp bize mail atacak olsun.Bu durumda önce SYSMAN için ACL tanımlayalım.</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">EXECUTE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> <b><i>DBMS_NETWORK_ACL_ADMIN.CREATE_ACL</i></b></span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'acl_for_mail.xml'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'ACL for Control Center'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'SYSMAN'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">TRUE,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'connect'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">EXECUTE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> <b><i>DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL</i></b></span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'acl_for_mail.xml'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'192.168.2.1'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">25</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">COMMIT;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">EXEC</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> <b><i>DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE</i></b></span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">acl </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">=></span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'acl_for_mail.xml'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">principal</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">=></span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'SYSMAN'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">is_grant</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">=>true,privilege=></span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'connect'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">EXEC</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> <b><i>DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE</i></b></span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">acl </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">=></span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'acl_for_mail.xml'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">principal</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">=></span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'SYSMAN'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">is_grant</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">=></span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">true,privilege=></span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'resolve'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">COMMIT;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><i><span style="background: none repeat scroll 0% 0% white; color: green; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">--exec DBMS_NETWORK_ACL_ADMIN.DROP_ACL('acl_for_mail.xml');</span></i><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="margin-left: 36.0pt; text-indent: 36.0pt;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">COMMIT;</span><span lang="TR"></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Sonrasında bazı $ORACLE_HOME/rdbms/admin altında bulunan aşağıdaki paketleri kurmamaız gerekiyor.</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">SQL>@$ORACLE_HOME/rdbms/admin/utlmail.sql;</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">SQL>@$ORACLE_HOME/rdbms/admin/utlsmtp.sql;</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">SQL>@$ORACLE_HOME/rdbms/admin/utltcp.sql;</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Artık işlemlerimizi yapmamız için tek yapmamaız gereken SYSMAN altında aşağıdaki işlemlerin yapılması.Öncelikle SEND_MAIL adında mail gönderen proceduru oluşturalım.</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">CREATE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">OR</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">REPLACE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">PROCEDURE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> SYSMAN</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: olive; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">send_mail</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">P_MESSAGE </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">VARCHAR2</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> SUBJECT </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">VARCHAR2</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">)</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">IS</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> MESG </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">VARCHAR2</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">32767</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> TO_ADDRESS </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">VARCHAR2</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">32767</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">)</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">''</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> CC_ADDRESS </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">VARCHAR2</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">32767</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">)</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">''</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> BCC_ADDRESS </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">VARCHAR2</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">32767</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">)</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">''</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> v_SUBJECT </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">VARCHAR2</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">32767</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> C_CRLF </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">CONSTANT</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">VARCHAR2</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">20</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">)</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">CHR(</span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">13</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">)</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">CHR(</span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">10</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> CONN UTL_SMTP</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">CONNECTION</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> MAX_SIZE </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">CONSTANT</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">NUMBER</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">32767</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">BEGIN</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> CONN </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> UTL_SMTP</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">OPEN_CONNECTION </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'192.168.2.1'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">25</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> UTL_SMTP</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">HELO </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">CONN</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'192.168.2.1'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> UTL_SMTP</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">MAIL </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">CONN</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'Target_Control'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> UTL_SMTP</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">RCPT</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">CONN</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'AlıcıMailAdresi'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> TO_ADDRESS </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'AlıcıMailAdresi'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><i><span style="background: none repeat scroll 0% 0% white; color: green; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">--Birden çok alıcı adresinin aynı şekilde tanımlayabilirsiniz</span></i><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> v_SUBJECT </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> SUBJECT</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> UTL_SMTP</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">OPEN_DATA </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">CONN</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> MESG </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'Date: '</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">TO_CHAR</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(SYSDATE,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'dd Mon yy hh24:mi:ss'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">)</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || C_CRLF</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'From: '</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'Gönderici Adresi'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || C_CRLF</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'Subject: '</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || v_SUBJECT</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || C_CRLF</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'To: '</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || TO_ADDRESS</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || C_CRLF</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'Cc: '</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || CC_ADDRESS</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || C_CRLF</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'Mime-Version: 1.0'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || C_CRLF</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'Content-Type: multipart/mixed; boundary="DMW.Boundary.605592468"'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || C_CRLF</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">''</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || C_CRLF</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'--DMW.Boundary.605592468'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || C_CRLF</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'Content-Type: text/html; charset=US-ASCII'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || C_CRLF</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'Content-Transfer-Encoding: 7bit'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || C_CRLF</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">''</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || C_CRLF</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">SUBSTR</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">P_MESSAGE</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">1</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> MAX_SIZE</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">)</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || C_CRLF</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> UTL_SMTP</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">WRITE_DATA </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">CONN</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> MESG</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> MESG </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> C_CRLF || </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'--DMW.Boundary.605592468--'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> || C_CRLF</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> UTL_SMTP</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">WRITE_DATA </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">CONN</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> MESG</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> UTL_SMTP</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">CLOSE_DATA </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">CONN</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> UTL_SMTP</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">QUIT </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">CONN</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="margin-left: 72.0pt; text-indent: 36.0pt;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">END;</span><span lang="TR" style="font-size: 10pt; line-height: 115%;"></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Şimdide Grid Control Target Stataus Kontrollerini yapacak olan Proseduru tanımlayalım ve elde ettiğimiz bilgileri send_mail prosedurumuz ile mail atalım.</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">CREATE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">OR</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">REPLACE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">procedure</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> SYSMAN</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: olive; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">Grid_Target_Monitor</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">as</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">varchar2</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">32767</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">begin</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'<TABLE BORDER=1 BGCOLOR="#EEEEEE">'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">l_body||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'<TR BGCOLOR="RED">'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">l_body||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'<TH><FONT COLOR="WHITE">Host</FONT>'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">l_body||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'<TH><FONT COLOR="WHITE">Target</FONT>'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">l_body||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'<TH><FONT COLOR="WHITE">Target_Type</FONT>'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">l_body||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'<TH><FONT COLOR="WHITE">Target_Status</FONT>'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">l_body||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'<TH><FONT COLOR="WHITE">Time_Stamp</FONT>'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">l_body||</span><u><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "Courier New"; font-size: 10pt;">'<TH><FONT COLOR="WHITE">Message</FONT>'</span></u><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">l_body||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'</TR>'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">FOR</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> c </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">IN</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">SELECT</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">T.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">HOST_NAME </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">Host,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">substr(T.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">TARGET_NAME</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">1</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">20</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">)</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> Target</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">T.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">TYPE_DISPLAY_NAME Target_Type</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">DECODE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(M.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">CURRENT_STATUS</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">0</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'Down'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">1</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'Up'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">2</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'Metric Error'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">3</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'Agent Down'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">4</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'Unreachable'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">5</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'Blackout'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">6</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'Unknown'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">)</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> Target_Status</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">M.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">START_COLLECTION_TIMESTAMP Time_Stamp</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> S</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">MESSAGE Message</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">FROM</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: olive; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">MGMT_AVAILABILITY</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">m,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: olive; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">MGMT_TARGETS</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">t,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> mgmt_severity s</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">WHERE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">M.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">TARGET_GUID </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">T.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">TARGET_GUID</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">AND</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> S</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">SEVERITY_GUID </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">M.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">SEVERITY_GUID</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">AND</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">M.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">END_COLLECTION_TIMESTAMP </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">IS</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">NULL</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">AND</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">M.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">CURRENT_STATUS </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">IN</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">0</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">2</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">3</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">4</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: maroon; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">6</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">)</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">ORDER</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">BY</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">Host</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">Time_Stamp </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">Desc</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">)</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">LOOP</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">l_body||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'<TR>'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">l_body||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'<TD>'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">||c</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.Host</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'</TD>'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">l_body||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'<TD>'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">||c</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">Target||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'</TD>'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">l_body||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'<TD>'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">||c</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">Target_Type||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'</TD>'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">l_body||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'<TD>'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">||c</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">Target_Status||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'</TD>'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">l_body||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'<TD>'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">||c</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">Time_Stamp||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'</TD>'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">l_body||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'<TD>'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">||c</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">Message||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'</TD>'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">l_body||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'</TR>'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">END</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">LOOP;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">l_body||</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'</TABLE>'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">BEGIN</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> SYSMAN</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><span style="background: none repeat scroll 0% 0% white; color: olive; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">SEND_MAIL</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">l_body</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'Grid Control Monitor: Please Control Target''s Status'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);END;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">end;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">/</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"> <span lang="TR">Artık Tanımlamalarımız bitti. Exec </span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">SYSMAN</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">.</span><span style="background: none repeat scroll 0% 0% white; color: olive; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">Grid_Target_Monitor</span><span style="color: olive; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">; </span><span lang="TR">şeklinde çalıştırdığımızda</span><span lang="TR" style="color: olive; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span lang="TR">bize grid control üzerindeki targetlerin statuleri, hata sebepleri, target tipleri vs.. istediğiniz bilgiler mail olarak gönderilecek.Peki ama ben bunu saatte bir çalışan job olmasını istiyorum derseniz bu durumda aşağıdaki scriptide çalıştırarak grid Control targetlerini monitor etme işlememizi otomatize etmiş oluruz ve artık sadece gelen maillleri kontrol ederek bir sorun olduğunda targetlere mudahale edip gerekli aksiyonu almış oluruz.</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">DECLARE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> X </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">NUMBER</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">BEGIN</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> SYS</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">.</span><b><i><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">DBMS_JOB.SUBMIT</span></i></b><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">(</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">job</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">=></span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> X</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">what </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">=></span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'begin SYSMAN.GRID_TARGET_MONITOR;end;'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">next_date </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">=></span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">to_date(</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'12.26.2011 02:30:09'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,</span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'mm/dd/yyyy hh24:mi:ss'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">)</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">,interval</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">=></span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'SYSDATE+1/24 '</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">JobNumber </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">:=</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">to_char(</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">X</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">);</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="margin-left: 72.0pt;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">END;</span><span lang="TR"></span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><span lang="TR"> Grid Control Mimarisi, Yönetimi, Konfigürasyonu ve kurulumu hakkında bilgilere ilerleyen yazılarımızda yer vereceğiz.Faydalı olması dileğiyle.</span></div><div class="MsoNormal"><span lang="TR"> Özcan YILDIRIM</span></div><div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-797610349949026868.post-60328973765739886182011-12-23T03:48:00.004+02:002011-12-28T15:43:44.003+02:00Oracle Grid Infrastructure Architecture<div class="MsoNormal"><span lang="TR"> </span></div><div class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span lang="TR"> Oracle Clusterware</span></b></div><div class="MsoNormal"><span lang="TR"> Cluster şekil 1 dede görüldüğü üzere birbirinden bağımsız ancak aralarında haberleşmeyi sağlayan interconnect denilen bir bağ ile birbirini gören makinelerin yapısıdır.Cluster yapısı performansı artırmak, kesintisiz erişim sağlamak ve yük dengelemek amacıyla kurulur.</span></div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://2.bp.blogspot.com/-i73XZd5Gwzs/TvPcGQCWYNI/AAAAAAAAALE/NFx8JZ3vIs4/s1600/1-cluster.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="275" src="http://2.bp.blogspot.com/-i73XZd5Gwzs/TvPcGQCWYNI/AAAAAAAAALE/NFx8JZ3vIs4/s320/1-cluster.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span lang="TR"> Şekil 1 = Cluster Yapısı</span></td></tr>
</tbody></table><div class="MsoNormal"><span lang="TR"> </span><span lang="TR"></span></div><div class="MsoNormal"><span lang="TR"> Oracle Cluster yapısı ise Oracle Grid infrastructure temelidir.ASM (Automatic Store Management by oracle for oracle database) ile entegre çalışabilir.ASM cluster file system (ACFS) temelini oluşturur.Oracle cluster yapısı sadece oracle db için değil başka uygulamalar içinde cluster yapısı olarak kullanılabilir.Örneğin Apache server. Aşağıda oracle clusterware servislerini tanımlanmıştır.</span><br />
<span lang="TR"></span><br />
<a name='more'></a></div><div class="MsoListParagraphCxSpFirst" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>Cluster Management: </b>Cluster servislerinin ve uygulama kaynaklarının monitor edilmesine ve cluster içindeki herbir node için yönetimine izin veren servislerdir.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>Node Monitoring:</b> Herbir nodun gerçek zamanlı monitor edilmesi, ulaşılabilir olması ve desteklediği kaynakları yönetebilme kapasitesi sağlayan servislerdir.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>Event Services: </b>Cluster içindeki değişimlerin yayınlandığı servislerdir.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>Time Synchronization :</b> Cluster içinde ki tüm nodaların zmaanlarının senkron olması gerekir.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>Network Management: </b>Virtual ip ler ile uygulamanın cluster içindeki ulaşılabilir node ları görmesi sağlanır.Bununla birlikte Grid Naming Service (GNS) network içindeki isim çözme işlemini üstlenir.</span></div><div class="MsoListParagraphCxSpLast" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>High Availability : </b>Gerektiğinde tüm servisler restart edilebilir ve uygulama kaynakları için monitor edilebilir.</span></div><div class="MsoNormal" style="margin-left: 36.0pt; text-indent: 18.0pt;"><span lang="TR">Oracle Clusterware Network yapısında ise şekil 2 dede görüleceği üzere her bir node üzerinde 2 adet Network Interface Kart olmalıdır.Bunlardan bir tanesi nodalerın birbiri ile haberleşeceği private network diğeri ise switch vasıtası ile clientlere erişim sağlayan public networku oluşturur.Private networke interconnect de denir.Private network UDP veya RDS desteklemelidir.Public network ise TCP desteklemelidir.</span></div><div class="MsoNormal" style="margin-left: 36.0pt;"><br />
</div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-emmEkIhLBNo/TvPcXBuhO9I/AAAAAAAAALo/ixsDC0ihOoY/s1600/2-cluster_network.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="140" src="http://4.bp.blogspot.com/-emmEkIhLBNo/TvPcXBuhO9I/AAAAAAAAALo/ixsDC0ihOoY/s400/2-cluster_network.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span lang="TR">Şekil 2 : Oracle Cluster Network</span></td></tr>
</tbody></table><div class="MsoNormal" style="margin-left: 36.0pt;"><br />
<span lang="TR"></span></div><div class="MsoNormal" style="margin-left: 36.0pt;"><span lang="TR"> </span></div><div class="MsoNormal" style="margin-left: 36.0pt;"><span lang="TR"> Netstat komutu ile interconnect hatalarını görebiliriz.Ayrıca ifconfig komut ilede düşen paketler gözlemlenebilir.</span></div><div class="MsoNormal" style="margin-left: 36.0pt;"><span lang="TR"> Oracle Clusterware processleri init daemon deniken /etc/init.d/init.ohasd scripti ile başlatılır.Vlusterware başlatılması /etc/inittab içeriği dünelenerek değiştirilebilir.Şekil 3 de göreceğiniz clusterware processllerinin neler olduğunu aşağıda açıklıyor olacağız.</span></div><div class="MsoNormal" style="margin-left: 36pt;"><br />
</div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://1.bp.blogspot.com/-l3ip8IRr67U/TvPczdxNSEI/AAAAAAAAAMA/RQL-WloE5Pg/s1600/3-cluster_processes.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="137" src="http://1.bp.blogspot.com/-l3ip8IRr67U/TvPczdxNSEI/AAAAAAAAAMA/RQL-WloE5Pg/s400/3-cluster_processes.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span lang="TR">Şekil 3: Oracle Clusterware Processes</span></td></tr>
</tbody></table><div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-V-1LMWPOwYI/TvPchsZ6Y_I/AAAAAAAAAL0/1i8flNhBlwg/s1600/3-cluster_processes.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><br />
</a></div><div class="MsoNormal" style="margin-left: 36.0pt; text-indent: 36.0pt;"><span lang="TR">Şekil 4 de Clusterware Prosesslerinin neler olduğunu bulabilirsiniz.Daha sonra ise bu servisler hakkında açıklamlara göz atalım.</span></div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://2.bp.blogspot.com/-8wQvn8XsZEc/TvPdH8LC-7I/AAAAAAAAAMM/fWdhE_fcohc/s1600/4-cluster_process_architecture.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="216" src="http://2.bp.blogspot.com/-8wQvn8XsZEc/TvPdH8LC-7I/AAAAAAAAAMM/fWdhE_fcohc/s400/4-cluster_process_architecture.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span lang="TR">Şekil 4: Oracle Clusterware processes Architecture</span></td></tr>
</tbody></table><span lang="TR"> </span> <br />
<div class="MsoListParagraphCxSpFirst" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>Cluster Ready Service (CRS) :</b>Crs Process cluster içindeki high availability operasyonlerı yönetir.Bu servise Tüm cluster bazında değerlendirilecek cluster kaynaklarını ve herbir node için değişebilen local kaynakları yönetir.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>Cluster Synchronization Service (CSS):</b>Servis cluster configurasyonuna ait bilgileri yönetir.Ynai hangi node cluster uyesi yada hangi node cluster çıkarılmış..Servis 3 proses halinde çalışır. Bunlar ocssd (Css daemon), cssdagent (Css Agent), cssdmonitor (Css Monitor).</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>Disk Monitor (diskmon):</b>Exadata storage servislerini yöneten prosesdir .Exadata rac sistemine herhangi zamanda yeni bir rac eklenebilir.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>Event Manager (EVM):</b>Oracle Clusterware değişimlerini yayınlayan background processdir.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>Multicast Domain Name Service (mDNS):</b>DNS taleplerinin sağlanmasını yönetir.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>Oracle Grid Naming Service (GNS):</b>Clusterware mDNS ile Dış DNS server arasında bir kapı niteliği taşır.GNS process cluster içindeki isim çözme işini üstlenir.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>Oracle Notification Service(ONS):</b>Oracle tarafından alınan alarm yada Bildirileri yayınlayan servisdir. </span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>Oracle Root Agent (orarootagent):</b>Network veya Grid VIP address gibi kaynakların root tarafından CRSD prosessi ile yönetilmesini sağlayan prosesdir.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>Cluster Kill Daemon (oclskd):</b>CSS tarafından belirlenen instance taleplerinin taşınmaısını sağlar.</span></div><div class="MsoListParagraphCxSpLast" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>Grdi IPC Daemon (gipcd):</b>Altyapı haberleşmesinde rol oynar.</span></div><div class="MsoNormal" style="margin-left: 18.0pt; text-indent: 36.0pt;"><b><span lang="TR">Grid Naming Service (GNS)</span></b></div><div class="MsoNormal" style="margin-left: 18.0pt; text-indent: 36.0pt;"><span lang="TR">Varsayalım public network üzerinde çalışan bir DHCP var ve VIP adrese yada SCAN adrese atayabilecek yeterli ip var.GNS cluster için bir adet statik ip tutar.Buna GNS VIP IP de denir.Bu adress DNS domaine kayıt edilmelidir.GNS cluster içinde mDNS Multicast DNS set eder ve bu DNS sercer içinde statik bir konfigurasyon olmadanda diğer nodların isim çözme işlevini görür.</span></div><div class="MsoNormal" style="margin-left: 18.0pt; text-indent: 36.0pt;"><span lang="TR">GNS kullanmak için DNS admin tarfından cluster ait domainin subdomainlerine yayın yetkisi verilmelidir.Single Client Accces Name ise clientların cluster’a bağlanırken kullandığı addresdir.Ancak Bu adress dinamik olarak virden çok ip adresine bakar.Böylece yük dağılımı sağlanır ve ip sabit olmadığı için sürekli availability de sağlanmış olur.Scan ip adresler cluster ip adresslerle aynı subdomainde olamalıdır.</span></div><div class="MsoNormal" style="margin-left: 18.0pt; text-indent: 36.0pt;"><span lang="TR">cluster01.example.com 192.168.2.155</span></div><div class="MsoNormal" style="margin-left: 18.0pt; text-indent: 36.0pt;"><span lang="TR">cluster01-scan. cluster01.example.com 192.168.2.200</span></div><div class="MsoNormal" style="margin-left: 18.0pt; text-indent: 36.0pt;"><span lang="TR">cluster01-scan. cluster01.example.com 192.168.2.201</span></div><div class="MsoNormal" style="margin-left: 18.0pt; text-indent: 36.0pt;"><span lang="TR">cluster01-scan. cluster01.example.com 192.168.2.202</span></div><div class="MsoNormal" style="margin-left: 18.0pt; text-indent: 36.0pt;"><span lang="TR">SCAN 11 g r2 ile gelmiş bir özelliktir.Scan kullanabilemek için REMOTE-LISTENER parametresi scan listener’a bakacak şekilde aşağıdaki gibi set edilebilir.</span></div><div class="MsoNormal" style="margin-left: 18.0pt; text-indent: 36.0pt;"><b><span lang="TR">ALTER SYSTEM SET REMOTE_LISTENER= cluster01-scan. cluster01.example.com:1521</span></b></div><div class="MsoNormal" style="margin-left: 18.0pt; text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="margin-left: 18.0pt; text-indent: 36.0pt;"><span lang="TR">Aşağıdaki srvctl komutları ilede scan listener yönetilebilir.</span></div><div class="MsoListParagraphCxSpFirst" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>srvctl config scan :</b>Scan konfgürasyonunu gösterir</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>srvctl config scan_listener:</b>Scan listenera ait portu gösterir</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>srvctl add scan -n cluster01-scan:</b>Cluster için Teni scan bilgisi ekler</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>srvctl remove scan –f:</b>Scan Bilgisini kaldırır.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>srvctl add scan_listener:</b>Default port 1521 ğüzerinden yeni scan ekler</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>srvctl add scan_listener -p 65001 ## non default port number ##:</b>Yeni scan bilgisi ekler</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>srvctl remove scan_listener:</b>Scan Listener ‘ ı kaldırı.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>srvctl modify scan -n cluster_scan: </b>Scan bilgisini değiştirir. (dns için scan değiştiriken /etc/hosts değiştirildikten sonra kullanılır.)</span></div><div class="MsoListParagraphCxSpLast" style="margin-left: 90.0pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -18.0pt;"><b><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span></b><span lang="TR"><b>srvctl modify scan_listener –u:</b>Scan listener bilgisini yeni scan vip bilgisi ile uyum sağlaması için düzenler.</span></div><div class="MsoNormal" style="margin-left: 18.0pt; text-indent: 36.0pt;"><br />
</div><div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com4tag:blogger.com,1999:blog-797610349949026868.post-29693527464394249082011-11-28T13:58:00.000+02:002011-11-28T13:58:34.619+02:00ORACLE RECOVER TEKNOLOJILERI<div class="MsoNormal" style="margin-left: 36.0pt; text-indent: 36.0pt;"><span lang="TR"><br />
</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Oracle recover yani kurtarma teknolojileri adlı bu makalemizde;Recover gerçekleştirmek için nelere ihtiyaç duyulur, Enterprise manager yada RMAN de recover nasıl yapılır, Recover opsiyonları nelerdir ve Control file, Redolog File ve Data file Recover nasıl yapılır açıklamaya ve örneklemeye çalışacağız.Şimdiden faydalı olmasını diliyoruz.</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Öncelikle Veritabanını açabilmek için neler gereklidir ve veritabanı açılış aşamaları nelerdir açıklmaya çalışalım.Bir Veritabanını açabilmek için;</span></div><div class="MsoListParagraphCxSpFirst" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l2 level1 lfo1; text-indent: -18.0pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Tüm Control File ‘ler hazır ve senkron olmalıdır.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l2 level1 lfo1; text-indent: -18.0pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Tüm Online Data Fileler hazır ve senkron olmalıdır.</span></div><div class="MsoListParagraphCxSpLast" style="margin-left: 72.0pt; mso-add-space: auto; mso-list: l2 level1 lfo1; text-indent: -18.0pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">En az bir adet redolog dosyası hazır ve senkron olmalıdır.</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span lang="TR">Bununla birlikte Veritabanı açılış aşamaları için şekil 1 referans olarak gösterilebilir.</span></div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://3.bp.blogspot.com/-E_bdLEmb2cc/TtNDXsogF4I/AAAAAAAAAKI/zbE6PRK4co8/s1600/1-open_database.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="141" src="http://3.bp.blogspot.com/-E_bdLEmb2cc/TtNDXsogF4I/AAAAAAAAAKI/zbE6PRK4co8/s320/1-open_database.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span lang="TR" style="font-size: 10pt; line-height: 115%;">Şekil 1: Oracle Veritabanı Nasıl Açılır</span></td></tr>
</tbody></table><a name='more'></a><br />
<div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> Oracle Database Nasıl Açılır?</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> Bir oracle veritabanını açmak problem yoksa çok kolaydır.SqlPlus da startup komutu ile veritabanı tamamen açılır.Ancak kapalı yani shutdown konumdan açık konuma ulaşması için bazı aşamalardan geçer.Şekil1’de de gösterilen bu aşamaları açıklayalım,</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> <b style="mso-bidi-font-weight: normal;">Nomount</b>:Veritabanının datafile yada database dosyalarını kontrol etmediği yada ihtiyaç duymadığı konumdur.Bu konumda parametre dosyları okunur.Oracle yi bir program olarak düşünürsek, nomount konumu bu programın açık olması ancak henuz data dosyalarını açıp kulanıma ve yönetime sunabilecek yetenekte olmaması olarak tasvir edebiliriz.</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> <b style="mso-bidi-font-weight: normal;">Mount</b>:Bu konumda oracle instance, parametre dosyalarında okuduğu Control file’leri kontrol eder ve bunların senkronize olmasını ister.Birtek kontrol dosyası bile kullanılamaz halde ise veritabananı mount moda alınamaz. </span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> <b style="mso-bidi-font-weight: normal;">Open</b>:Veritabanının open yani açık modda olması demek kontrol fileler tarafından bilinen en az bir adet redolog dosyasının hazır olması, yine kontrol fileler tarafından bilgileri tutulan dta dosyalarının hazır olması ve database tarafından kullanılıyor olması gerekir.Burada ofline dosyalar dba tarafından online olmadıkça açılmaz.System ve Undo datafileler ofline olamaz.Recover gerektiren data dosyaları V$RECOVER_FILE ve V$DATAFILE viewdan kontrol edilebilir.</span></div><div class="MsoNormal" style="line-height: normal; margin-left: 72.0pt; tab-stops: 57.05pt;"><span lang="TR" style="color: #002060; font-size: 10pt;">SELECT d.name, r.error</span></div><div class="MsoNormal" style="line-height: normal; margin-left: 72.0pt; tab-stops: 57.05pt;"><span lang="TR" style="color: #002060; font-size: 10pt;"> FROM v$recover_file r, v$datafile d</span></div><div class="MsoNormal" style="line-height: normal; margin-left: 72.0pt; tab-stops: 57.05pt;"><span lang="TR" style="color: #002060; font-size: 10pt;"> WHERE r.file# = d.file#</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> Database Uzun Süre Açık Kalmasını Sağlamak!!!</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> Veritabanının sürekli açık kalmasını sağlamak aslında veritabanı neden kapatılacak kadar hata verir bilmekle olur.Eğer tüm kontrol fileler sağlam değilse, redolog dosyalarından en az bir tanesi ulaşılabilir değilse ve system veya undo dosyalarından en az bir tanesinde sorun yaşanırsa media failure sebebiyle instance fail olur yani kapatılıp data recovery yapmak gerekir.</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> Bu durumda data recovery advisor kullanılabilir. DRA (Data Recovery Advisor) Enterprise managerda advisor centralda bulunur.Yada rman komut satırında aşağıdaki gibi kullanılabilir.</span></div><div class="MsoNormal" style="line-height: normal; margin-left: 72.0pt; tab-stops: 57.05pt;"><span lang="TR" style="color: #002060; font-size: 10pt;"> [oracle@vmora ~]$ rman target / nocatalog</span></div><div class="MsoNormal" style="line-height: normal; margin-left: 72.0pt; tab-stops: 57.05pt;"><span lang="TR" style="color: #002060; font-size: 10pt;">Recovery Manager: Release 11.2.0.1.0 - Production on Wed Oct 26 10:27:22 2011</span></div><div class="MsoNormal" style="line-height: normal; margin-left: 72.0pt; tab-stops: 57.05pt;"><span lang="TR" style="color: #002060; font-size: 10pt;">Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.</span></div><div class="MsoNormal" style="line-height: normal; margin-left: 72.0pt; tab-stops: 57.05pt;"><span lang="TR" style="color: #002060; font-size: 10pt;">connected to target database: VMORA (DBID=3435845536)</span></div><div class="MsoNormal" style="line-height: normal; margin-left: 72.0pt; tab-stops: 57.05pt;"><span lang="TR" style="color: #002060; font-size: 10pt;">using target database control file instead of recovery catalog</span></div><div class="MsoNormal" style="line-height: normal; margin-left: 72.0pt; tab-stops: 57.05pt;"><span lang="TR" style="color: #002060; font-size: 10pt;">RMAN> list failure all;</span></div><div class="MsoNormal" style="line-height: normal; margin-left: 72.0pt; tab-stops: 57.05pt;"><span lang="TR" style="color: #002060; font-size: 10pt;">no failures found that match specification</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR" style="font-size: 10pt; line-height: 115%;"> </span><span lang="TR">Yukarıdaki rman script’te görüldüğü üzere herhangi bir kayıp sözkonusu değil.Peki ya bir bazı data dosyalarında hataların olduğunu bize bildirseydi? Ki bu datalar control file, redolog file, system veya undo file veya data file bile olabilir.Bu durumda izlememiz gereken yol nasıl olurdu açıklamaya çalışalım.</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> <b style="mso-bidi-font-weight: normal;">Loss Of a Control File:</b></span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> 1-Eğer instance hala açıksa “shutdown abort” komutu ile kapatılmalı.</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> 2-Kontrol filelerden birini kayıp yada corrup olan control filenin yerine kopyalanmaklıdır.Eğer diskte sorun varsa farklı bir lokasyona kopyalanmalı ve bu lokasyon da parametre dosyasına eklenmelidir.</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> Oracle en az 2 adet Control file hazır ve senkron olmasını ister.Dolayısıyla Control filelerin sayısını fazla ve farklı lokasyonlarda tutmak avantaj olacaktır.</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> 3-startup komutu ile instance başlatılmalıdır.</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR"> Loss Of a RedoLog File:</span></b></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> Eğer en azından bir redolog grup üyesi mevcutsa kayıp olan redolog dosyasını var olan redolog dosyasında kopyalayerak oluşturabiliriz.Ancak aynı log gurubuna ait redo dosyalarından en az birtanesi sağlam olmalıdır.Normal durumda instance etkilenmez.Alert loglarda loglardan birinin bulunamadığına dair bilgi bulursunuz.Kaybolan log dosyasını diğer dosyadan kopyalayarak oluşturabiliriz.</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> Eğer database archile modda ise diğer log dosyasını kopyaladıktan sonra aşağıdaki komutla kayıp log dosyasını tekrar oluşturabilirsiniz.</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> ALTER DATABASE CLEAR LOGFILE GROUP #;</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> Dikkat edilmesi gerekn durunm burada eğer database archive modda değilse bu işlemi yapmak data kaybına yol açabileceği için öncelikle veritabanının ful backupını almalısınız.Sonrasında aşağıdaki komut çalıştırılabilir.</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP #;</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR"> Loss of a Datafile in NOARCHIVELOG Mode:</span></b></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> Eğer database archivelog mode konumunda değilse ve datafile kaybı yaşadıysanız aşağıdaki işlemleri yapmanız gerekir.</span></div><div class="MsoListParagraphCxSpFirst" style="margin-left: 75.0pt; mso-add-space: auto; mso-list: l0 level1 lfo2; tab-stops: 57.05pt; text-indent: -18.0pt;"><span lang="TR">1-<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Shutdown database.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 75.0pt; mso-add-space: auto; mso-list: l0 level1 lfo2; tab-stops: 57.05pt; text-indent: -18.0pt;"><span lang="TR">2-<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Kontrol fileler dahil olmak üzere bütün database restore edilmelidir.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 75.0pt; mso-add-space: auto; mso-list: l0 level1 lfo2; tab-stops: 57.05pt; text-indent: -18.0pt;"><span lang="TR">3-<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Open database.</span></div><div class="MsoListParagraphCxSpLast" style="margin-left: 75.0pt; mso-add-space: auto; mso-list: l0 level1 lfo2; tab-stops: 57.05pt; text-indent: -18.0pt;"><i style="mso-bidi-font-style: normal;"><span lang="TR">4-<span style="font: 7pt "Times New Roman";"> </span></span></i><i style="mso-bidi-font-style: normal;"><u><span lang="TR">Tüm userlar son backuptan itibaren işlemlerini tekrarlamalıdırlar</span></u></i></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR"> Loss of a Non-Critical Datafile in ARCHIVELOG Mode</span></b></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> Eğer datafile zarar gördü yada bir şekilde kulanılamaz hale geldiyse ve system yada undo dosyası değilse aşağıdaki prosedür ile kayıp datafile kurtarılabilir.</span></div><div class="MsoListParagraphCxSpFirst" style="margin-left: 75.0pt; mso-add-space: auto; mso-list: l3 level1 lfo3; tab-stops: 57.05pt; text-indent: -18.0pt;"><span lang="TR">1-<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Enterprise Manager de Maintenance sayfasında Perform Recovery bölümüne girin.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 75.0pt; mso-add-space: auto; mso-list: l3 level1 lfo3; tab-stops: 57.05pt; text-indent: -18.0pt;"><span lang="TR">2-<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Kurtaracağınız datafile yi recover type olarak girin ve ardından “restore to current time” seçin.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 75.0pt; mso-add-space: auto; mso-list: l3 level1 lfo3; tab-stops: 57.05pt; text-indent: -18.0pt;"><span lang="TR">3-<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Corrupt olan tüm datafileleri seçin.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 75.0pt; mso-add-space: auto; mso-list: l3 level1 lfo3; tab-stops: 57.05pt; text-indent: -18.0pt;"><span lang="TR">4-<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Datafileyi nereye restore edeceğinizi seçin (eğer disk te sorun varsa farklı bir lokasyon olabilir)</span></div><div class="MsoListParagraphCxSpLast" style="margin-left: 75.0pt; mso-add-space: auto; mso-list: l3 level1 lfo3; tab-stops: 57.05pt; text-indent: -18.0pt;"><span lang="TR">5-<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Daha sonra elde ettiğiniz rman scriptini çalıştırın.</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><br />
</div><div class="MsoNormal" style="tab-stops: 57.05pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR"> Loss of A System Critical Datafile in in ARCHIVELOG Mode</span></b></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR"> </span></b><span lang="TR">Eğer zarar gören datafile system yada unto datafileler ise critic datafilelerden biri zarar görmüş demektir.Bu durumda recover işlemi için aşağıdaki prosedür takip edilebilir.</span></div><div class="MsoListParagraphCxSpFirst" style="margin-left: 75.0pt; mso-add-space: auto; mso-list: l1 level1 lfo4; tab-stops: 57.05pt; text-indent: -18.0pt;"><span lang="TR">1-<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Eğer database hala açısa “shutdown abort” komutunu çalıştırın.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 75.0pt; mso-add-space: auto; mso-list: l1 level1 lfo4; tab-stops: 57.05pt; text-indent: -18.0pt;"><span lang="TR">2-<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Database ‘i moun edin. “Startup mount”.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 75.0pt; mso-add-space: auto; mso-list: l1 level1 lfo4; tab-stops: 57.05pt; text-indent: -18.0pt;"><span lang="TR">3-<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Enterprise Manager de Maintenance sayfasında Perform Recovery bölümüne girin.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 75.0pt; mso-add-space: auto; mso-list: l1 level1 lfo4; tab-stops: 57.05pt; text-indent: -18.0pt;"><span lang="TR">4-<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Kurtaracağınız datafile yi recover type olarak girin ve ardından “restore to current time” seçin.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 75.0pt; mso-add-space: auto; mso-list: l1 level1 lfo4; tab-stops: 57.05pt; text-indent: -18.0pt;"><span lang="TR">5-<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Corrupt olan tüm datafileleri seçin.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 75.0pt; mso-add-space: auto; mso-list: l1 level1 lfo4; tab-stops: 57.05pt; text-indent: -18.0pt;"><span lang="TR">6-<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Datafileyi nereye restore edeceğinizi seçin (eğer disk te sorun varsa farklı bir lokasyon olabilir)</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 75.0pt; mso-add-space: auto; mso-list: l1 level1 lfo4; tab-stops: 57.05pt; text-indent: -18.0pt;"><span lang="TR">7-<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Daha sonra elde ettiğiniz rman scriptini çalıştırın.</span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 75.0pt; mso-add-space: auto; mso-list: l1 level1 lfo4; tab-stops: 57.05pt; text-indent: -18.0pt;"><span lang="TR">8-<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Database’i açın “alter database open”.</span></div><div class="MsoListParagraphCxSpLast" style="margin-left: 75.0pt; mso-add-space: auto; mso-list: l1 level1 lfo4; tab-stops: 57.05pt; text-indent: -18.0pt;"><span lang="TR">9-<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Son commitden itibaren tüm veriler recover edilmiştir.</span></div><div class="MsoNormal" style="margin-left: 57.0pt; tab-stops: 57.05pt;"><b style="mso-bidi-font-weight: normal;"><span lang="TR">Data Recovery Advisor</span></b></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> Data recovery advisor data ile iligili corruption yada hataları analiz etmede ve öneriler almada kullanılabilir.Aşağıdaki şekildede görüleceği üzere DRA hataları kontrol eder ve healt monitor dene kontrol mekanizması ile sorun ları tespit eder.Sonrasında hataları listeler gözlemlememizi sağlar. Bununla birlikte var olan sorunlar için çözüm önerileri sunar ve bizde bu önerileri kullanarak recover işlemlerini yapabiliriz.aşağıda şekil 2 de Data Recover Advisor (DRA) işlemlerini sırayla gözlemleyebiliriz.</span></div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://3.bp.blogspot.com/-T9uEM7RqPXo/TtNDYI9nEMI/AAAAAAAAAKM/XXfe5P7ypII/s1600/2-dra.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="180" src="http://3.bp.blogspot.com/-T9uEM7RqPXo/TtNDYI9nEMI/AAAAAAAAAKM/XXfe5P7ypII/s320/2-dra.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span lang="TR"></span><span lang="TR" style="font-size: 10pt; line-height: 115%;">Şekil 2 : Data Recovery Advisor</span></td></tr>
</tbody></table><span lang="TR"> </span><span lang="TR" style="font-size: 10pt; line-height: 115%;"></span><span lang="TR"> </span> <br />
<div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> V$IR_FAILURE, V$IR_FAILURE_SET,V$IR_REOCVER ve v$IR_MANUEL_CHECKLIST viewlardanda failure ve advislerleri kontrol edebilirsiniz.Ayrıca rman da list failure komutunu çalıştırıdığında hataları listeler ve advis failure komutunu çalıştırdığınızdada çözüm önerilerini görebilirsiniz.</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> Bu yazımızda Oracle Recovery konseptine ilişkin yazmayaçalıştık.Yüzeysel olarak data kayıplarından bahsettik ve bunların kurtarılmasına dair en bilinen prosedürleri işledik.Sonraki yazılarımızda dah detaylı olarak data kayıpları ve RMAN ile recover ve restore prosedürlerinden bahsedeceğiz ve rman komut satırını recover işlemleri için etkin kullanmaya dair örnekler sunacağız.</span></div><div class="MsoNormal" style="tab-stops: 57.05pt;"><span lang="TR"> Özcan YILDIRIM</span></div><div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-797610349949026868.post-88430942609145366992011-11-16T12:26:00.007+02:002012-02-27T09:13:07.072+02:00ORACLE VERITABANINDA DATAFILE NASIL TAŞINIR<div class="MsoNormal" style="text-indent: 36.0pt;">Bir Oracle Veritabanında datafile 'ı başka bir diske taşıma işleminin adımları veritabanının arşiv modda olup olmaması durumuna göre belirlenir.Bu işlemleri aşağıda olumsuz durumlar karşısında geri dönme senaryoları ile birlikte bulabilirsiniz.</div><div class="MsoNormal" style="text-indent: 36.0pt;"> <span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">SELECT</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> log_mode </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">FROM</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> v$database</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">;</span><span style="color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"></span></div><div class="MsoNormal" style="text-indent: 36.0pt;">Sorgusu ile veritabanının arşiv modda olup olmadığını görebilirsiniz.</div><div class="MsoNormal" style="text-indent: 36.0pt;">Eğer Veritabanı Arşiv Modda ise (ARCHIVELOG) datafile aşağıdaki adımlarla diger bir diske taşınabilir.</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">ALTER</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">DATABASE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">DATAFILE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">'old_datafile_path/datafile_name'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">OFFLINE;</span><span style="color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">Adım 1;</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">cp </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">/</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">old_datafile_path</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">/</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">datafile_name </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">/</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">new_datafile_path</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">/</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">datafile_name</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">;</span><span style="color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"></span></div><div class="MsoNormal" style="text-indent: 36.0pt;">Datafile diğer diske başarılı bir şekilde kopyalanırsa;</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">Adım 2;</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">ALTER</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">DATABASE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">RENAME</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">FILE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'old_datafile_path/datafile_name'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">to</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'new_datafile_path/datafile_name'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><br />
<br />
<a name='more'></a></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">RECOVER</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">DATAFILE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'new_datafile_path/datafile_name'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">ALTER</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">DATABASE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">DATAFILE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">'new_datafile_path/datafile_name'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">ONLINE;</span><span style="color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"></span></div><div class="MsoNormal" style="text-indent: 36.0pt;">Tüm Adımlar başarılı bir şekilde tamamlanmışsa eski diskteki datafile silinebilir.Böylece fuzuli yer israfıda engellenmiş olur.</div><div class="MsoNormal" style="text-indent: 36.0pt;"><u><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "Courier New"; font-size: 10pt; line-height: 115%;">rm</span></u><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">/</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">old_datafile_path</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">/</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">datafile_name</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">;</span><span style="color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;">Taşıma işlemi sırasında peki hata alınırsa sisteme zarar vermeden nasıl geri dönülür?</div><div class="MsoNormal" style="text-indent: 36.0pt;">Eğer Adım 1 de hata alınmışsa geri dönüş için;</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">ALTER</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">DATABASE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">DATAFILE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">'old_datafile_path/datafile_name'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">ONLINE;</span><span style="color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"></span></div><div class="MsoNormal" style="text-indent: 36.0pt;">Eğer Adım 2 de hata alınmışsa geri dönüş için;</div><div class="MsoNormal" style="margin-left: 36.0pt;"><span style="color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">ALTER DATABASE RENAME FILE 'new_datafile_path/datafile_name' to 'old_datafile_path/datafile_name';</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">ALTER DATABASE DATAFILE 'old_datafile_path/datafile_name' ONLINE;</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">rm /new_datafile_path/datafile_name;</span></div><div class="MsoNormal" style="text-indent: 36.0pt;">Eğer Veritabanı Arşiv Modda değil ise (NOARCHIVELOG) datafile aşağıdaki adımlarla diger bir diske taşınabilir.</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">Adım 1:</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">SHUTDOWN IMMEDIATE;</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">STARTUP</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">MOUNT;</span><span style="color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none; text-indent: 36.0pt;"><u><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "Courier New"; font-size: 10pt;">cp</span></u><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">/</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">old_datafile_path</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">/</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">datafile_name </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">/</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">new_datafile_path</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">/</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">datafile_name</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none; text-indent: 36.0pt;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">ALTER</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">DATABASE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">RENAME</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">FILE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'/old_path/name_of_datafile'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">TO</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">'/new_path/name_of_file'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">;</span><span style="color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">Adım 2:</span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">ALTER DATABASE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">OPEN;</span><span style="color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"></span></div><div class="MsoNormal" style="text-indent: 36.0pt;">Eğer Adım 1 de hata alınmış ise geri dönüş için;</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">ALTER</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">DATABASE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">OPEN;</span><span style="color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"></span></div><div class="MsoNormal" style="text-indent: 36.0pt;">Eğer Adım 2 de hata alınmış ise geri dönüş için;</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none; text-indent: 36.0pt;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">ALTER</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">DATABASE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">RENAME</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">FILE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'/new_path/name_of_file'</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">TO</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"> </span><span style="background: none repeat scroll 0% 0% white; color: red; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">'/old_path/name_of_datafile'</span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;">;</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt;"></span></div><div class="MsoNormal" style="text-indent: 36.0pt;"><br />
</div><div class="MsoNormal" style="text-indent: 36.0pt;"><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">ALTER</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">DATABASE</span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> </span><span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">OPEN;</span><br />
<br />
Eğer<span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"><span style="font-family: inherit;"> <span style="color: black;">datafileler ASM diskgrouplar üzerinde ise taşıma olayı aşağıdaki işlemlerle adım adım yapılabilir.</span></span></span><br />
<br />
<span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;">1-SQL>alter database datafile '+FRA/file_on_fra.3912.766160401' offline;<br />
<br />
2-RMAN> COPY DATAFILE '+FRA/file_on_fra.3912.766160401' TO '+DATA';</span><br />
<span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"><br />
</span><br />
<span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"><span style="color: black;">Bu aşamadan sonra +DATA üzerine kopyalanan disk ismi RMAN ekranından okunur ve aşağıdaki yerine yazılır.</span></span><br />
<span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"><br />
3-SQL>ALTER DATABASE RENAME FILE<br />
'+FRA/file_on_fra.3912.766160401' to <br />
'+DATA/file_on_data.6123.775963395';<br />
<br />
4-RMAN> SWITCH DATAFILE '+DATA/file_on_data.6123.775963395' TO COPY;<br />
<br />
5-RMAN> RECOVER DATAFILE '+DATA/file_on_data.6123.775963395' ;<br />
<br />
6-SQL>ALTER DATABASE DATAFILE '+DATA/file_on_data.6123.775963395' ONLINE;<br />
<br />
7-SQL>SELECT file_name FROM dba_data_files;<br />
<br />
8-SQL>ALTER DISKGROUP FRA DROP FILE '+FRA/file_on_fra.3912.766160401'; </span><br />
<br />
<span style="background: none repeat scroll 0% 0% white; color: blue; font-family: "MS Shell Dlg 2","sans-serif"; font-size: 10pt; line-height: 115%;"> <span style="color: black;"> Özcan YILDIRIM</span></span></div><div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-797610349949026868.post-1759963304851343172011-09-20T22:17:00.002+03:002011-11-27T02:19:27.373+02:00ORACLE BACKUP TEKNOLOJILERI<div class="MsoNormal"><span lang="TR"> <o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Oracle veritabanı yönetiminde backup yani tedekler alıp ihtiyaç olursa bu yedeklerden data kaybını önlemek bir dbanın temel görevlerindendir.Oracle veritabanı backupını alırken üç teknik vardır.Bunlar RMAN, Oracle Secure Backup ve User Managed Backup dır.User Managed Backup dediğimiz teknik dba tarafından yazılan scriptler ile alınır.İşletim sistemine görede bu scriptler değişebilir.Biz bu yazıda daha çok oracle tarafından yazılmış backup teknikleri olan RMAN ve Secure Backup teknolojierinden bahsedeceğiz.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Öncelikle Backup terminolojisinden bahsedelim ve kavram ve terimleri açıklamaya çalışalım.</span><br />
<br />
<span lang="TR"></span><br />
<a name='more'></a><span lang="TR"> </span><br />
<span lang="TR"><o:p></o:p></span></div><div class="MsoListParagraphCxSpFirst" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l3 level1 lfo1; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Whole Database Backup;Tüm data file leri ve en azından bir control file yi içerir(Çünkü tüm control fileler birbirinin aynısıdır)<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l3 level1 lfo1; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Partial Database Backup;Database 'e ait herhangi bir parçanın backup'ıdır.Bir tablespace, datafile yada control file olabilir.<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l3 level1 lfo1; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">FULL Backup;Tüm data bloklarının backup 'ını içerir.<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l3 level1 lfo1; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Incremental Backup;En son alınan backupdan itibaren değişen data blokların backupıdır.Incremental backup level 0 ve level 1 olamak üzere 2 çeşittir.En son level 0 backupdan itibaren tüm değişen data blockların backupına <i>cumulative</i> <i>backup</i> denir.<i>Differential backup </i>ise yine en son alınan backupdan itibaren değişen tüm data blokların bacupına denir ancak cumulative backupdan farkı level 0 yada level 1 olabilmesidir.<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l3 level1 lfo1; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Offline Backup;Consistent yada cold backupda denir.Database kapalı iken alınır.Data file headerler içerisindeki SCN ile control fileler içerisindeki SCN ler eşittir.<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l3 level1 lfo1; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Online Backup;Inconsistent yada ho backupda denir.Database açık iken alına backupdır.Burada control filelerdeki bilgi ile datafilelerdeki bilginin eşleşmesi konusunda bir garantiniz yoktur.Inconsistent backup recover gerektirir.<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l3 level1 lfo1; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Image Copies;İşletim sistemi tarafından dosyaların kopyalanması gibidir.Yani data ve archive log dosyalarının kopyalanmasıdır.<o:p></o:p></span></div><div class="MsoListParagraphCxSpLast" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l3 level1 lfo1; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Backup sets;Bir yada daha fazla Control file , data file, parametre file veya archive log file içeren binary dosyaların koleksiyonudur denilebilir.Boş data blokları backup setlere alınmaz böylece diskten yer kazanılmış olur. Ayrıca backup setler sıkıştırılabilir.Backup set ile image copy'e oranla %20 yer kazanımı sağlanır.Backup setler diske yada teyp e direk yazılabilir.İmage copy ise disk'e yazılmalıdır.Buna rağmen image copy restore işlemelrinde granularity 'i yüksek tutar.<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 35.7pt;"><span lang="TR"> <b>ORACLE SECURE BACK UP<o:p></o:p></b></span></div><div class="MsoNormal"><span lang="TR"> Oracle Secure Backup RMAN fonksiyonelitesini artıran ek işlevler gibi düşünebilir.Secure backup ile database 'e ait olsun olmasın data koruması sağlanabilir.Media yönetimi yapılabilir.Secure backupdan önce RMAN backupların teyp 'e çıklması gibi işlemlerde üçüncü parti tool lar kullanılırdı.İşte secure backup media katmanında ymentime elverişli yapar.RMAN il kullanıldığında tümüyle oracle ye ait bir backup çözümü elde edilmiş olur. Ayrıca secure backup ile network çözümlü depolama alanlarına da direkt backup dosyları alınabilir.Çünkü secure backup server, client, NAS (Network attached Storage) gibi konfigurasyonları destekler.<o:p></o:p></span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><b><span lang="TR"> RMAN (RECOVERY MANAGER)<o:p></o:p></span></b></div><div class="MsoListParagraphCxSpFirst" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Script diline sahip ve güçlü bir kontrol yapısı vardır.<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Enterprise manager ile entegre olup bir çok işlevini grafiksel olarak yapabilirsiniz.<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Backup programları tarafından çalıştırılabilen API teknolojisine sahiptir.<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Tüm backup çeşitlerini gerçekleştirebilir.<o:p></o:p></span></div><div class="MsoListParagraphCxSpLast" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">Diske yada teyp 'e backup alabilirsiniz.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Şimdi de RMAN ile backup nasıl alınır pratikler ile inceleyelim.Öncelikle eğer veritabanı archivelog modda değilse archivelog moda alalım, çünküönemli veritabanları archivelog modda olmalıdır ve bizde gerçeğe uygun pratikler yapmak isteriz.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> rman komut satırını açmak için putty yada OS komut satırına rman target / yazarız.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">[oracle@vmora ~]$ rman target /<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Recovery Manager: Release 11.2.0.1.0 - Production on Thu Sep 8 12:41:31 2011<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">connected to target database: VMORA (DBID=3433352097)<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN><o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="margin-bottom: 0cm;"><span lang="TR"> Böylece atrık rmna komut satırına bağlanmış olduk.Şimdi default ayarları ve konfigurasyon seçimlerini görelim:<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> show all;<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN configuration parameters for database with db_unique_name VMORA are:<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE BACKUP OPTIMIZATION OFF; # default<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE MAXSETSIZE TO UNLIMITED; # default<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE ENCRYPTION FOR DATABASE OFF; # default<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/vmora/dbs/snapcf_VMORA.f'; # default<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN><o:p></o:p></span></b></div><div class="MsoNormal"><span lang="TR"> <o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Daha önceki yazımızda da belirttiğimiz gibi control filelerin backupını almak önemlidir.Ancak burada ki ayarlarda görüyoruz ki controlfileler otomatik backup alınmıyor.Dilersek tekbir parametre ayarı ile control filelerin otomatik backupını alabiliriz ve böylece her seferinde ayrıca control fileleri yedeklemek zorunda kalmayız.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">new RMAN configuration parameters:<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE CONTROLFILE AUTOBACKUP ON;<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">new RMAN configuration parameters are successfully stored<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN><o:p></o:p></span></b></div><div class="MsoNormal"><span lang="TR"> Bu şekilde diğer parametreleri de inceleyip kendi ihitiyaçlarımıza uygun olarak yendien default değerler atayabilir, bazı parametreleri de enable edebiliriz.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Ben control file backuplarını makinamda oluşturduğum /oracle/backup/control_files_backup directorisi altında tutmak istiyorum ancak default directory /oracle/flash_recovery_area. Bu durumda tekrar bir parametreyi set edeceğiz ve controlfilelerin otmatik backuplarının istediğimiz klasöre alınmasını sağlayacağız.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/oracle/backup/control_files_backup/cf_vmora_%F';<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">new RMAN configuration parameters:<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/oracle/backup/control_files_backup/cf_vmora_%F';<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">new RMAN configuration parameters are successfully stored<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN><o:p></o:p></span></b></div><div class="MsoNormal"><span lang="TR"> Yukarıdaki komutla control file backuplarının için /oracle/backup/control_files_backup directorisini belirledik.Scriptte dikkat ederseniz %F işareti bulunmaktadır.Bu işaret backup ismine bizim belirlediğimiz "cf_vmora_" kısmından sonra control filelerin isminin verilmesini sağlar.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Eğer yaptığımız bir parametrenin konfigurasyon değişikliğini tekrar default haline döndürmek istiyorsak aynı şekilde CLEAR komutunun aşağıdaki gibi kullanmamız yeterlidir.Aşağıda control file otomatik backup alınması iptal edilmiştir.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> CONFIGURE CONTROLFILE AUTOBACKUP CLEAR;<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">old RMAN configuration parameters:<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE CONTROLFILE AUTOBACKUP ON;<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN configuration parameters are successfully reset to default value<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> <o:p></o:p></span></b></div><div class="MsoNormal"><span lang="TR"> Backupların depolanacağı donanım içinde konfigurasyon ayarları mevcuttur.Eğer birden fazla disk üzerine yada teyp üzerine backup alınacaksa paralelizm değeri aşağıdaki gibi kullanılabilir.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> CONFIGURE DEVICE TYPE <device> PARALLELIZM <n>;<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR"> <device> burada disk yada teyp n ise paralellik değeridir.n kaç adet donanım varsa genelde o sayıdır.Yani iki adet disk kullnıyorsanız n=2 dir.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR"> Daha öncede bahsettiğimiz gibi backupları backup set olarak yada image copy olarak alabiliriz.Ayrıca backupların sıkıştırılmasını istiyorsak bunun içinde default bir parametre belirleyebiliriz.Aşağıdaki scriptte storage tipi disk ve backup tipi backupset olarak ayarlanmıştır.Bunun yerine isterseniz </span><b><span lang="TR" style="color: #002060; font-size: 8pt;">SBT</span></b><span lang="TR"> ve </span><b><span lang="TR" style="color: #002060; font-size: 8pt;">COPY</span></b><span lang="TR"> yazarak backupların teype image copy olarak alınmasını da sağlayabilirsiniz.Ayrıca scriptte </span><b><span lang="TR" style="color: #002060; font-size: 8pt;">COMPRESSED</span></b><span lang="TR"> parametreside verilerek backupların sıkıştırılmasıda istenmiştir.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET;<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">new RMAN configuration parameters:<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">new RMAN configuration parameters are successfully stored<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN><o:p></o:p></span></b></div><div class="MsoNormal"><span lang="TR" style="font-size: 8pt; line-height: 115%;"> </span><span lang="TR">Eğer daha önce backup'ı alınana dosyaların backupını almaka istemiyorsanız bu durumuda yapmanız gereken BAckup Optmızatıon On ayarıdır.Bu parametreye dair örnek aşağıda verilmiştir.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> CONFIGURE BACKUP OPTIMIZATION ON;<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">new RMAN configuration parameters:<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">CONFIGURE BACKUP OPTIMIZATION ON;<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">new RMAN configuration parameters are successfully stored<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN><o:p></o:p></span></b></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><span lang="TR"> Ancak dikkat edilmesi gereken bu parmetre DB_RECOVERY_FILE_DEST directorisi için enable edilir.Eğer backuplar teype alınıyorsa backup scripti aşağıdaki gibi force komutuda içermelidir.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><span lang="TR"> </span><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> BACKUP DEVICE TYPE type BACKUPSET ALL FORCE;</span></b><span lang="TR"><o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 35.4pt;"><span lang="TR">Şimdiye kadar RMAN configurasyon ayarlarından bahsettik ve bazılarına dair açıklamalar yapıp örnek scriptler sunduk.Şimdi RMAN ile backuplar almaya başlayalım.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 35.4pt;"><i><span lang="TR">Backupset Oluşturma;Aşağıda user tablespace 'e ait bir backupset örneği mevcuttur.Format komutu ilede backup nereye alınacağı ve isminin ne şekilde olacağı belirtilmiştir.%d burada DB name %s backupset dizi numarası ve %p de backup piece numarasıdır.<o:p></o:p></span></i></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> backup as backupset<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">2> format '/oracle/backup/df_%d_%s_%p.bckset'<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">3> tablespace users;<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Starting backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">using channel ORA_DISK_1<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting full datafile backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: specifying datafile(s) in backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00004 name=/oracle/oradata/vmora/users01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: finished piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">piece handle=/oracle/backup/df_VMORA_5_1.bckset tag=TAG20110908T140106 comment=NONE<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Finished backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Starting Control File Autobackup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">piece handle=/oracle/backup/control_files_backup/cf_vmora_c-3433352097-20110908-01 comment=NONE<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Finished Control File Autobackup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN></span><span lang="TR"><o:p></o:p></span></b></div><div class="MsoNormal"><span lang="TR"> <i>Image Copy oluşturma;Aşağıdaki örnektede users01.dbf dosyasının ve archivelogların image copy backupı alınmıştır.Benim makinamada archivelog olmadığı için archivelog backup almayacaktır.<o:p></o:p></i></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> backup as copy datafile '/oracle/oradata/vmora/users01.dbf'<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">2> format '/oracle/backup/users_dbf_%d_%s_%p.bck';<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Starting backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">using channel ORA_DISK_1<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting datafile copy<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00004 name=/oracle/oradata/vmora/users01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">output file name=/oracle/backup/users_dbf_VMORA_9_1.bck tag=TAG20110908T141026 RECID=3 STAMP=761321426<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Finished backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Starting Control File Autobackup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">piece handle=/oracle/backup/control_files_backup/cf_vmora_c-3433352097-20110908-03 comment=NONE<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Finished Control File Autobackup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN><o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> backup as copy archivelog like 'arch%' format '/oracle/backup/arch_log_%d_%s_%p.bck';<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Starting backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">using channel ORA_DISK_1<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">specification does not match any archived log in the repository<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">backup cancelled because there are no files to backup<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Finished backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN><o:p></o:p></span></b></div><div class="MsoNormal"><i><span lang="TR"> <o:p></o:p></span></i></div><div class="MsoNormal"><i><span lang="TR"> Whole Database Backup oluşturma;Aşağıdaki rmna scripti ile control fileler ve archiveloglar dahil tüm veritabanı yedeğini alabilirsiniz.Ayrıca yedeklenen archive loglarda delete input dediğiniz için silinecektir.<o:p></o:p></span></i></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> backup database plus archivelog delete input format '/oracle/backup/df_%d_%s_%p.bckset';<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Starting backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">current log archived<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">using target database control file instead of recovery catalog<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">allocated channel: ORA_DISK_1<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: SID=39 device type=DISK<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting compressed archived log backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: specifying archived log(s) in backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input archived log thread=1 sequence=9 RECID=4 STAMP=761333230<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: finished piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">piece handle=/oracle/backup/df_VMORA_15_1.bckset tag=TAG20110908T172711 comment=NONE<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: deleting archived log(s)<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">archived log file name=/oracle/flash_recovery_area/VMORA/archivelog/2011_09_08/o1_mf_1_9_76kn5yvf_.arc RECID=4 STAMP=761333230<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Finished backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Starting backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">using channel ORA_DISK_1<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting compressed full datafile backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: specifying datafile(s) in backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00001 name=/oracle/oradata/vmora/system01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00002 name=/oracle/oradata/vmora/sysaux01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00005 name=/oracle/oradata/vmora/example01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00003 name=/oracle/oradata/vmora/undotbs01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00004 name=/oracle/oradata/vmora/users01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: finished piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">piece handle=/oracle/flash_recovery_area/VMORA/backupset/2011_09_08/o1_mf_nnndf_TAG20110908T172712_76kn60tx_.bkp tag=TAG20110908T172712 comment=NONE<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: backup set complete, elapsed time: 00:01:15<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Finished backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Starting backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">current log archived<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">using channel ORA_DISK_1<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting compressed archived log backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: specifying archived log(s) in backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input archived log thread=1 sequence=10 RECID=5 STAMP=761333308<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: finished piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">piece handle=/oracle/backup/df_VMORA_17_1.bckset tag=TAG20110908T172828 comment=NONE<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: deleting archived log(s)<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">archived log file name=/oracle/flash_recovery_area/VMORA/archivelog/2011_09_08/o1_mf_1_10_76kn8d2l_.arc RECID=5 STAMP=761333308<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Finished backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Starting Control File Autobackup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">piece handle=/oracle/backup/control_files_backup/cf_vmora_c-3433352097-20110908-05 comment=NONE<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Finished Control File Autobackup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN><o:p></o:p></span></b></div><div class="MsoNormal"><span lang="TR" style="font-size: 8pt; line-height: 115%;"> </span><span lang="TR">Yukarıdaki örnekte Whole database backup nasıl alınır gördük.Full backup ile Whole database backup karıştıtılmamalıdır.Full backup tüm kullanılan data bloklarını içerir.Bununla birlikte RMAN incremental backup tipleride aşağıda örnekleriyle birlikte açıklanmıştır.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> <i>Level 0 incremental backup:Full backup ile aynıdır.<o:p></o:p></i></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> backup incremental level 0 database format '/oracle/backup/df_%d_%s_%p.bckset';<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Starting backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">using channel ORA_DISK_1<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting compressed incremental level 0 datafile backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: specifying datafile(s) in backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00001 name=/oracle/oradata/vmora/system01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00002 name=/oracle/oradata/vmora/sysaux01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00005 name=/oracle/oradata/vmora/example01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00003 name=/oracle/oradata/vmora/undotbs01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00004 name=/oracle/oradata/vmora/users01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: finished piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">piece handle=/oracle/backup/df_VMORA_19_1.bckset tag=TAG20110908T173857 comment=NONE<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: backup set complete, elapsed time: 00:01:25<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Finished backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Starting Control File Autobackup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">piece handle=/oracle/backup/control_files_backup/cf_vmora_c-3433352097-20110908-06 comment=NONE<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Finished Control File Autobackup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> <o:p></o:p></span></b></div><div class="MsoNormal"><span lang="TR" style="font-size: 8pt; line-height: 115%;"> </span><i><span lang="TR">Cummulative incremental level 1 backup;Son incremental level 0 backuptan beri değişen blokların backupdır.Aşağıdaki örnek scripti ve çıktısını inceleyebilirsiniz.<o:p></o:p></span></i></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> backup incremental level 1 cumulative database format '/oracle/backup/df_%d_%s_%p.bckset';<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Starting backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">using channel ORA_DISK_1<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting compressed incremental level 1 datafile backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: specifying datafile(s) in backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00001 name=/oracle/oradata/vmora/system01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00002 name=/oracle/oradata/vmora/sysaux01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00005 name=/oracle/oradata/vmora/example01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00003 name=/oracle/oradata/vmora/undotbs01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00004 name=/oracle/oradata/vmora/users01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: finished piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">piece handle=/oracle/backup/df_VMORA_21_1.bckset tag=TAG20110908T174636 comment=NONE<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: backup set complete, elapsed time: 00:00:35<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Finished backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Starting Control File Autobackup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">piece handle=/oracle/backup/control_files_backup/cf_vmora_c-3433352097-20110908-07 comment=NONE<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Finished Control File Autobackup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN><o:p></o:p></span></b></div><div class="MsoNormal"><span lang="TR" style="font-size: 8pt; line-height: 115%;"> </span><i><span lang="TR">Differential incremental level1 backup;Son incremental backuptan itibaren değişen blokların backupıdır.<o:p></o:p></span></i></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> backup incremental level 1 database format '/oracle/backup/df_%d_%s_%p.bckset';<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Starting backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">using channel ORA_DISK_1<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting compressed incremental level 1 datafile backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: specifying datafile(s) in backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00001 name=/oracle/oradata/vmora/system01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00002 name=/oracle/oradata/vmora/sysaux01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00005 name=/oracle/oradata/vmora/example01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00003 name=/oracle/oradata/vmora/undotbs01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00004 name=/oracle/oradata/vmora/users01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: finished piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">piece handle=/oracle/backup/df_VMORA_23_1.bckset tag=TAG20110908T175149 comment=NONE<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Finished backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Starting Control File Autobackup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">piece handle=/oracle/backup/control_files_backup/cf_vmora_c-3433352097-20110908-08 comment=NONE<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Finished Control File Autobackup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN><o:p></o:p></span></b></div><div class="MsoNormal"><span lang="TR">***Backup tipleri arasındaki farkı özetlemek gerekirse level0 incremental backup full backupdır.level 1 cumulative backup full backup alındığından beri değişen data bloklarının backupıdır.Yani level 1 cumulative incremental backup ne zaman alınırsa alınsın son level 0 incremental yani full backuptan itibaren değişen data blokları yedekler.level 0 differential incremental backup ise incremental backuptan itibaren değişen blokları yedekler.Buradan yola çıklarak şu şekilde bir backup stratejisi oluşturulabilir.Ayda 1 level 0 incremental (full backup), haftada bir level 1 cumulative incremental backup ve her saat level 1 differential incremental backup.Tabi ihitiyaçlara gööre bu süreler kısa yada daha uzun tutulabilir.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Fast Incremental Backup:Block change tracking olarak da bilinir.Son backuptan itibaren değişen data blokların kaydı tutulur,Redo üretildiğinde bu kayıt bir dosyaya yazılır, backup alındığında bu dosyaya otoamtik olarak erişilir ve böylece backup daha hızlı alınmış olur.Şekil 1 de fast incremental backup sembolize edilmiştir.<o:p></o:p></span></div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-AkpUgL4kUSA/Tnjlc_48ExI/AAAAAAAAAJs/H4nBRqEVz-Q/s1600/1-fast_incremental_backup.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="90" src="http://4.bp.blogspot.com/-AkpUgL4kUSA/Tnjlc_48ExI/AAAAAAAAAJs/H4nBRqEVz-Q/s400/1-fast_incremental_backup.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span class="Apple-style-span" style="font-size: small;">Şekil 1: Fast incremental backup(Block change tracking)</span></td></tr>
</tbody></table><div class="MsoNormal"><br />
</div><div class="MsoNormal"><span lang="TR"> Blok change tracking aşağıdaki scriptle enable edilmiş olur.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">SQL> alter database enable block change tracking using file '/oracle/backup/block_change.ora';</span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Database altered.</span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">SQL><o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;"><br />
</span></b></div><div class="MsoNormal"><span lang="TR"> Yukarıdaki scriptle block change trackingi enable etmiş ve block_change.ora dosyasına yazılmasına yönlendirmiş oluyoruz.Bu soya enable block change tranking enable edildiğinde otomatik olarak oluşturulur ve disable edilirse yine otomatik olarak silinir.Block change tracking için minimum size 10MB dir.Bu dosyanın ismi alter database rename 'block_change.ora' to 'new_name'; şeklinde değiştirilebilir ancak bu işlem için database in mount konumunda açılması gereklidir.Çünkü bu dosyaya ait bilgiler control file içerisine yazılır.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Block change trancking aşağıdaki sorgular ile monitor edilebilir.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><span lang="TR"> </span><b><span lang="TR" style="color: #002060; font-size: 8pt;">SELECT filename, status, bytes FROM v$block_change_tracking;<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;"> <o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;"> SELECT file#,<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;"> AVG (datafile_blocks),<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;"> AVG (blocks_read),<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;"> AVG (blocks_read / datafile_blocks) * 100 AS PCT_READ_FOR_BACKUP,<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;"> AVG (blocks)<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;"> FROM v$backup_datafile<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;"> WHERE used_change_tracking = 'YES' AND incremental_level > 0<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;"> GROUP BY file#<o:p></o:p></span></b></div><div class="MsoNormal" style="text-indent: 35.4pt;"><br />
</div><div class="MsoNormal" style="text-indent: 35.4pt;"><span lang="TR">Backup Kopyaları oluşturma;Eğer disk üzerinde backupları saklıyorsanız bazen veriatabanının critk olamsından dolayı başka bir ortamda yani tape dede backup kopyalarını saklamak istersiniz ancak her seferinde bu backupları kopyalamak yada bu işi os düzeyinde yapmak yavaş ve maliyetli olabilir.Bunun için RMAN de aşağıdaki configurasyon ayarlarını yapmanız yeterlidir.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> configure archivelog backup copies for device type sbt to 2;<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> configure datafile backup copies for device type sbt to 2;<o:p></o:p></span></b></div><div class="MsoNormal" style="text-indent: 35.4pt;"><span lang="TR">Bu işlemlerden sonra aşağıdaki gibi backup alındığında backupın bir kopyası tape ye atılacaktır.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> backup database plus archivelog;<o:p></o:p></span></b></div><div class="MsoNormal" style="text-indent: 35.4pt;"><br />
</div><div class="MsoNormal" style="text-indent: 35.4pt;"><span lang="TR">Ancak aşağıdaki scriptle backup alındığında sadece diske backup dosyası atılmış olur.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN>backup device type disk as copy database;<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><br />
</div><div class="MsoNormal" style="text-indent: 35.4pt;"><span lang="TR">Backup alma işleminden sonra aşağıdaki komutu çalıştırıldığında alınan backuplar hakkında bilgi sağlayabilir dilerseniz bunları mail bile atabilirsiniz.<o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt; line-height: 115%;">RMAN>list backup;</span></b><span lang="TR"><o:p></o:p></span></div><div class="MsoNormal" style="text-indent: 35.4pt;"><span lang="TR">Eğer veritababında read only tablespaceler varsa SKIP READONLY komutunu ekleyerek bu tablespaceleride backupa ekleyebilirsiniz.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> backup tablespace rep_ro skip readonly;<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR"> Archive Backup:Bazen hukuki yada iş sebeplerinden dolayı belli bir sürelik backupı tutmanız gerekebilir.Örneğin son 6 ayılık veraitabanı backupa sürekli tutmalısnızdır.Bu tür bir ihityacı karşılamak için Archive Backup alınır.Archive backuplar RMAN ile aşağıdaki gibi alınabilir<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> Backup database keep until time 'sysdate +180' restore point sonaltıay format '/oracle/backup/df_%d_%s_%p.bckset';<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Starting backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">current log archived<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">using channel ORA_DISK_1<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">backup will be obsolete on date 06-MAR-12<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">archived logs required to recover from this backup will be backed up<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting compressed full datafile backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: specifying datafile(s) in backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00001 name=/oracle/oradata/vmora/system01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00002 name=/oracle/oradata/vmora/sysaux01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00005 name=/oracle/oradata/vmora/example01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00003 name=/oracle/oradata/vmora/undotbs01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00004 name=/oracle/oradata/vmora/users01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: finished piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">piece handle=/oracle/backup/df_VMORA_27_1.bckset tag=TAG20110908T192426 comment=NONE<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: backup set complete, elapsed time: 00:01:25<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">current log archived<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">using channel ORA_DISK_1<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">backup will be obsolete on date 06-MAR-12<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">archived logs required to recover from this backup will be backed up<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting compressed archived log backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: specifying archived log(s) in backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input archived log thread=1 sequence=12 RECID=7 STAMP=761340352<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: finished piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">piece handle=/oracle/backup/df_VMORA_28_1.bckset tag=TAG20110908T192426 comment=NONE<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">using channel ORA_DISK_1<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">backup will be obsolete on date 06-MAR-12<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">archived logs required to recover from this backup will be backed up<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting compressed full datafile backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: specifying datafile(s) in backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">including current control file in backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: finished piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">piece handle=/oracle/backup/df_VMORA_29_1.bckset tag=TAG20110908T192426 comment=NONE<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Finished backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN><o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><br />
</div><div class="MsoNormal"><span lang="TR"> Multisection Backup;Eğer veritabanınız büyük bir veritabanı ise hem backup almak uzun süre olacağı gibi çok büyük boyutta olacağı içinde restore operasyonuda uzun sürecektir.Multisectionale backup ile backup dosyası parçalara bölünür ve böylece hem performans kazancı hemde yönetilebilir küçük backup parçları elde edilmiş olur.Multisextional backup 11g ile birlikte gelmiştir.Aşağıda multisection backup script örneği mevcuttur.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN> backup datafile 5 section size 200M tag '200Msection' format '/oracle/backup/df_%d_%s_%p.bcksection';<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Starting backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">using channel ORA_DISK_1<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting compressed full datafile backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: specifying datafile(s) in backup set<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">input datafile file number=00005 name=/oracle/oradata/vmora/example01.dbf<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: starting piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: finished piece 1 at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">piece handle=/oracle/backup/df_VMORA_30_1.bcksection tag=200MSECTION comment=NONE<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">channel ORA_DISK_1: backup set complete, elapsed time: 00:00:07<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Finished backup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Starting Control File Autobackup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">piece handle=/oracle/backup/control_files_backup/cf_vmora_c-3433352097-20110908-0a comment=NONE<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">Finished Control File Autobackup at 08-SEP-11<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN><o:p></o:p></span></b></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><span lang="TR" style="font-size: 8pt; line-height: 115%;"> </span><span lang="TR">Compressing Backups;Rman default olarak bzip2 metodu ile backupları sıkıştırır.Extra bir işlem uygulamaya gerek yoktur.Bzip2 zlibden farklı olarak daha iyi sıkıştırma oranına sahiptir.Buna karşın daha yavaştır.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Encrypting backups:RMAN ile backuplarınızı encrypt yapabilir ve daha güvenli hale getirebilirsiniz.Bu bazen bir gereklilik olabilir.Örneğin kredi kartı bilgilerinin olduğu bir veritabanının backupını aldığınızda backup çalınmasına karşın encryp yapabilirsiniz.Bunun için rman 3 tip encryp metodu sunar.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> 1-Transparent encryption:Bu metod default dur ve bir wallet kullnır.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> 2-Password encryption:Şifre temelli encrypt metodudur.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> 3-Dual mode encryption:Transparent ve password metodlarının her ikisininde kullanılamasıdır.Bu metod eğer veritabanının başka makinada restore edilme olasılığı varsa kullanılır.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR">Aşağıda password encryption metodunun kullanımına dair bir örnek mevcuttur.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><span lang="TR"> </span><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN>set encryption identified by password;<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;"> RMAN>backup datafile 5;<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;"> RMAN>set decryption identified by password;<o:p></o:p></span></b></div><div class="MsoNormal"><span lang="TR" style="font-size: 8pt; line-height: 115%;"> </span><span lang="TR">Kurtarma dosyalarının Yedeklenmesi:Kurtarma dosyalarının yedeklenmesi flash recovery alanı yada başka directorydeki recovery dosylarının yedeklenmesidir.Bunun için kullanılabilecek rman scriptleri aşağıda verilmiştir.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Birinci script sadece flash recovery alanını yedekler, 2. si ise tüm recovery dosyalrının yedekler.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><span lang="TR"> </span><b><span lang="TR" style="color: #002060; font-size: 8pt;">RMAN>Backup recovery area;<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt;"><b><span lang="TR" style="color: #002060; font-size: 8pt;"> RMAN>backup recovery files;<o:p></o:p></span></b></div><div class="MsoNormal"><span lang="TR" style="font-size: 8pt; line-height: 115%;"> </span><b><i><span lang="TR">Backupların Yönetilmesi;Raporlama<o:p></o:p></span></i></b></div><div class="MsoNormal"><span lang="TR"> Aşağıda backuplar ile ilgili bilgi alabileceğimiz rman komutları mevcuttur.<o:p></o:p></span></div><div class="MsoListParagraphCxSpFirst" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l0 level1 lfo3; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">list:backuplar hakkında bilgi verir.<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l0 level1 lfo3; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">report:backuplar ile ilgili detaylı analiz bilgileri sağlar.<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l0 level1 lfo3; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">report need backup:backup gerektiren tüm datafileleri listeler.<o:p></o:p></span></div><div class="MsoListParagraphCxSpLast" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l0 level1 lfo3; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">report obselete:ihtiyaç bulunmayan backup dosyalarını listeler. <o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> <b><i>Backupların Yönetilmesi;Dynamic Performans Views<o:p></o:p></i></b></span></div><div class="MsoNormal"><b><i><span lang="TR"> </span></i></b><span lang="TR">Backuplar hakkında bilgi alabileceğiniz viewlar.<o:p></o:p></span></div><div class="MsoListParagraphCxSpFirst" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l2 level1 lfo4; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">V$BACKUP_SET:backup setlerin bilgileri<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l2 level1 lfo4; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">V$BACKUP_PIECE:backup parçalarının bilgileri<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l2 level1 lfo4; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">V$DATAFILE_COPY:datafilelerin diskteki kopyaları<o:p></o:p></span></div><div class="MsoListParagraphCxSpLast" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l2 level1 lfo4; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">V$BACKUP_FILES:backup oluşturulduğunda oluşan tüm dosyaların bilgileri<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> <b><i>Backupların Yönetilmesi;Cross-Checking ve backupların Silinmesi<o:p></o:p></i></b></span></div><div class="MsoListParagraphCxSpFirst" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l4 level1 lfo5; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">crosscheck:Rman repository db de backupların durumlarının kontrolunu yapar.Sadece rman 'e kayıtlı dosyalar üzerinde crosscheck işlemi yapılabilir.<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l4 level1 lfo5; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">delete expired: Rman repository db de statusu expired olan backupları siler.<o:p></o:p></span></div><div class="MsoListParagraphCxSpLast" style="margin-left: 53.4pt; mso-add-space: auto; mso-list: l4 level1 lfo5; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font: 7pt "Times New Roman";"> </span></span><span lang="TR">delete obselete:İhtiyaç bulunmayan backupları siler.<o:p></o:p></span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><span lang="TR"> Oracle backup teknolojileri isimli yazımızın sonuna geldik.Umarım faydalı olmuştur.ilerde oracle Recover teknolojilerinde bahsedeceğiz.<o:p></o:p></span></div><div class="MsoNormal"><span lang="TR"> Özcan YILDIRIM<o:p></o:p></span></div><div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-797610349949026868.post-48544479092460224742011-09-13T01:15:00.009+03:002011-11-27T02:20:16.915+02:00ORACLE YEDEKLEME VE KURTARMA TEMELLERİ<div class="MsoNormal"> Bu yazımızda oracle yedekleme ve kurtarma yapabilemk için bilinmesi gereken temel bilgiler, kavramlar, terimler üzerinde duracağız.Böylelikle yedekleme ve kurtarmanın mantığının daha iyi anlaşılacağını düşünüyorum.</div><div class="MsoNormal"><span lang="TR"> Yedekleme ve kurtarma senaryoları oluşturma, veritababının düzenli yedeklerinin alınması ve olası bir hata karşısında kurtarma yapabilme bir dba' nın temel görevlerindendir.Burda önemli olan tabiki bu işleri yapabilmekten ziyade veritabanının gereken en kısa zamanda tekrar ayağa kaldırılması önemlidir.Mesela banka yada Telekom gibi sektörlerde ki bir veritabanı için bu süre bazen 1 dk. bile olsa kabul edilemezdir.Hiç hata almaz mı? Tabiki alabilir ancak kesintisiz servis ayrı bir uzmanlıktır ve ilerleyen yazılarımızda açıklamaya çalışacağız.Şimdi yedeklem ve kurtarma temelleri nelerdir açıklamaya çalışalım.</span><br />
<span lang="TR"></span><br />
<a name='more'></a><span lang="TR"> </span></div><div class="MsoNormal"><span lang="TR"> Öncelikle ne için yedekleme yapıyoruz yada ne zaman ve neölçüde kurtarma yapmalıyız sorusuna karşılaşabileceğimiz hata tiplerini açıklamakla başlayabiliriz.</span></div><div class="MsoListParagraphCxSpFirst" style="mso-list: l2 level1 lfo1; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman';"> </span></span><b><i><span lang="TR">Statement Failure :</span></i></b><span lang="TR">DML ve DDL queryleri çalışırken alınana hatadır.</span></div><div class="MsoListParagraphCxSpMiddle" style="mso-list: l2 level1 lfo1; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman';"> </span></span><b><i><span lang="TR">User proces Failure :</span></i></b><span lang="TR"> Bir sessiona yada kullnıcıya dair alınan hatadır.</span></div><div class="MsoListParagraphCxSpMiddle" style="mso-list: l2 level1 lfo1; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman';"> </span></span><b><i><span lang="TR">Network Failure:</span></i></b><span lang="TR"> Database erişiminin kesilnmesidir.</span></div><div class="MsoListParagraphCxSpMiddle" style="mso-list: l2 level1 lfo1; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman';"> </span></span><b><i><span lang="TR">User Error:</span></i></b><span lang="TR"> Kullnıcının mesela tablo silmek gibi bir işlemi başarı ile tamamladığı halde işlmein hatalı sayılmasıdır.</span></div><div class="MsoListParagraphCxSpMiddle" style="mso-list: l2 level1 lfo1; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman';"> </span></span><b><i><span lang="TR">Instance Failure :</span></i></b><span lang="TR">Database instance nin beklenmedik bir anda kapanması gibi sıradışı instance hatalarıdır.</span></div><div class="MsoListParagraphCxSpLast" style="mso-list: l2 level1 lfo1; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol;">·<span style="font-family: 'Times New Roman';"> </span></span><b><i><span lang="TR">Media Failure:</span></i></b><span lang="TR">DAta file lerden bir yada daha fazlasının kullanılamaz hale gelmesidir.</span></div><div class="MsoNormal"><span lang="TR"> Şimdi bu hata tiplerine ait muhtemel problemler ve çözümleri hakkında açıklamalar yapalım.</span></div><div class="MsoNormal"><b><i><span lang="TR"> Statement Failure</span></i></b></div><div class="MsoNormal"><span lang="TR"> Tablo 1 de <b><i> </i></b>statement failure hakkında olası problemler ve çözümleri listelenmiştir.</span></div><table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-bottom: medium none; border-collapse: collapse; border-left: medium none; border-right: medium none; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;"><tbody>
<tr><td style="background: #00b0f0; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 147.15pt;" valign="top" width="196"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Genel Failure Tipleri</span></div></td><td style="background: #00b0f0; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 313.45pt;" valign="top" width="418"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Muhtemel Çözümler</span></div></td></tr>
<tr><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 147.15pt;" valign="top" width="196"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Tabloya hatalı veri girilmesi</span></div></td><td style="background: #92d050; border-bottom: black 1pt solid; border-left: medium none; border-right: black 1pt solid; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 313.45pt;" valign="top" width="418"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Tablo özellikleri incelenmeli ve doğru data seçilmelidir.</span></div></td></tr>
<tr><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 147.15pt;" valign="top" width="196"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Yetkiler Yetersiz</span></div></td><td style="background: #92d050; border-bottom: black 1pt solid; border-left: medium none; border-right: black 1pt solid; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 313.45pt;" valign="top" width="418"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Yapılan işlem uygunsa gereken yetki verilmeldir.</span></div></td></tr>
<tr><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 147.15pt;" valign="top" width="196"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Yer Hatası</span></div></td><td style="background: #92d050; border-bottom: black 1pt solid; border-left: medium none; border-right: black 1pt solid; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 313.45pt;" valign="top" width="418"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Kullnıcıya kota sınırı artırılmalı veya yer eklenmeli veya kullanıcıya ilgili yetki verilmelidir.</span></div></td></tr>
<tr><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 147.15pt;" valign="top" width="196"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Uygulamadaki mantık hatası</span></div></td><td style="background: #92d050; border-bottom: black 1pt solid; border-left: medium none; border-right: black 1pt solid; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 313.45pt;" valign="top" width="418"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Mantık hataları analizi için LogMiner(EM>Availability>View and Manage Transactions) kullanılabilir.Developer ile birlikte çözüm aranmalıdır</span></div></td></tr>
</tbody></table><div class="MsoNormal"><span lang="TR"> Tablo 1 : Statement Failure Tipleri ve Çözümleri</span></div><div class="MsoNormal"><b><i><span lang="TR"> User Process Failure</span></i></b></div><div class="MsoNormal"><b><i><span lang="TR"> </span></i></b><span lang="TR">Tablo 2 de Kullnıcı işlemlerindeki hatalara değinilmiştir.</span></div><table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-bottom: medium none; border-collapse: collapse; border-left: medium none; border-right: medium none; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;"><tbody>
<tr><td style="background: #00b0f0; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 246.4pt;" valign="top" width="329"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Genel Failure Tipleri</span></div></td><td style="background: #00b0f0; border-bottom: windowtext 1pt solid; border-left: medium none; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 214.2pt;" valign="top" width="286"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Muhtemel Çözümler</span></div></td></tr>
<tr style="height: 28.5pt; mso-yfti-irow: 1;"><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: windowtext 1pt solid; border-top: medium none; height: 28.5pt; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-themecolor: text1; mso-border-right-alt: solid windowtext .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 246.4pt;" valign="top" width="329"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Kullanıcının bağlantısının anormal bir şekilde kopması</span></div></td><td style="background: #92d050; border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; height: 28.5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 214.2pt;" valign="top" width="286"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">İlgili Durumlarda Dba için bir kurtarma genelde söz konusu deildir.</span></div></td></tr>
<tr><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: windowtext 1pt solid; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-themecolor: text1; mso-border-right-alt: solid windowtext .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 246.4pt;" valign="top" width="329"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Kullanıcının bağlantısın anormal bir şekilde sonlandırılması</span></div></td><td style="background: #92d050; border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 214.2pt;" valign="top" width="286"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Çünkü İnstance commitlenmemeiş verileri </span></div></td></tr>
<tr><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: windowtext 1pt solid; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-themecolor: text1; mso-border-right-alt: solid windowtext .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 246.4pt;" valign="top" width="329"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Kullanıcının kullandığı başya programlardan solayı bağlantısının sonlanması</span></div></td><td style="background: #92d050; border-bottom: windowtext 1pt solid; border-left: medium none; border-right: windowtext 1pt solid; border-top: medium none; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 214.2pt;" valign="top" width="286"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">bu gibi durumlardarolback yapar.</span></div></td></tr>
</tbody></table><div class="MsoNormal"><span lang="TR"> Tablo 2: User Process Failure tipleri ve olası çözümleri</span></div><div class="MsoNormal"><b><i><span lang="TR"> Network Failure</span></i></b></div><div class="MsoNormal"><span lang="TR"> Tablo 3 de Network failure genel problemeleri ve olası çözümler belirtilmiştir.</span></div><table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-bottom: medium none; border-collapse: collapse; border-left: medium none; border-right: medium none; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;"><tbody>
<tr><td style="background: #00b0f0; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 147.15pt;" valign="top" width="196"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Genel Failure Tipleri</span></div></td><td style="background: #00b0f0; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 313.45pt;" valign="top" width="418"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Muhtemel Çözümler</span></div></td></tr>
<tr><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 147.15pt;" valign="top" width="196"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Listener fail olma durumu</span></div></td><td style="background: #92d050; border-bottom: black 1pt solid; border-left: medium none; border-right: black 1pt solid; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 313.45pt;" valign="top" width="418"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Listener 'a ait backup oluşturulmalı, gerekirse işleme konulmaldır.</span></div></td></tr>
<tr><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 147.15pt;" valign="top" width="196"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Network İnterface Card</span></div></td><td style="background: #92d050; border-bottom: black 1pt solid; border-left: medium none; border-right: black 1pt solid; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 313.45pt;" valign="top" width="418"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Birden çok Network card kullanılması doğru olnadır.</span></div></td></tr>
<tr><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 147.15pt;" valign="top" width="196"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Network bağlantı hatası</span></div></td><td style="background: #92d050; border-bottom: black 1pt solid; border-left: medium none; border-right: black 1pt solid; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 313.45pt;" valign="top" width="418"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Network bağlantısına ait gerekli backuplar alınmalıdır.</span></div></td></tr>
</tbody></table><div class="MsoNormal"><span lang="TR"> Tablo 3: Network failure tipleri ve olası çözümler</span></div><div class="MsoNormal"><b><i><span lang="TR"> User Error</span></i></b></div><div class="MsoNormal"><span lang="TR"> Tablo 4 de Kullanıcı hataları ve muhtemel çözümlerinden bahsedilmiştir.</span></div><table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-bottom: medium none; border-collapse: collapse; border-left: medium none; border-right: medium none; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;"><tbody>
<tr><td style="background: #00b0f0; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 147.15pt;" valign="top" width="196"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Genel Failure Tipleri</span></div></td><td style="background: #00b0f0; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 313.45pt;" valign="top" width="418"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Muhtemel Çözümler</span></div></td></tr>
<tr><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 147.15pt;" valign="top" width="196"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Kullanıcının sildiği yada değiştirdiği data</span></div></td><td style="background: #92d050; border-bottom: black 1pt solid; border-left: medium none; border-right: black 1pt solid; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 313.45pt;" valign="top" width="418"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Eğer commitlenmemişse rollback yapılabilir.</span></div></td></tr>
<tr><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 147.15pt;" valign="top" width="196"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Tablo silinmesi</span></div></td><td style="background: #92d050; border-bottom: black 1pt solid; border-left: medium none; border-right: black 1pt solid; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 313.45pt;" valign="top" width="418"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Tablo recycle bin içerisinden geri alınabilir.Ağer recycle bin temizlenmiş ise tablo pint-in-time-recovery (PITR) kullanılarak geri alınabilir ancak oracle'ınbuna uygun şekilde configurasyonu gereklidir.</span></div></td></tr>
</tbody></table><div class="MsoNormal"><span lang="TR"> Tablo 4 : Kullanıcı hataları ve muhtemel çözümleri</span></div><div class="MsoNormal"><span lang="TR"> Genel belli bir kısım datayı geri getirmek yada silinen tabloları geri getirmek için Flashback teknolojisi kullanılır.Flashback Teknolojisi silinmiş yada herhangi bir sebepler değiştirilmiş ve commitlenmiş verilerin geçmiş durumunu izlemek ve geri getirmek için kullanılır.Flashback teknolojisinin kullanım alanları aşağıda basitçe sıralanmıştır.Flashback kullanımı hakkında daha detaylı yazımızı ilerde yazacağız ancak şimdilik konsept olarak açıklama yapalım.</span></div><div class="MsoNormal"><span lang="TR"> <b>Flashback Query:</b>Commitleniş bir datanın geçmiş durmunu AS OF kelimleri ile select query yazıp SCN numarasına göre yada timestamp noktasına göre izlemek ve bu datayı insert select metodu ile geri getirmektir.</span></div><div class="MsoNormal"><span lang="TR"> <b>Flashback Version Query</b>;Belli bir zaman aralığı verilerek commitlenmiş verinin değişimi incelenebilir.</span></div><div class="MsoNormal"><span lang="TR"> <b>Flashback Transaction Query</b>;</span><span lang="TR" style="background-color: white; color: black; font-family: Courier; font-size: 10pt; line-height: 115%;"> </span><span style="background-color: white; color: black; font-family: Courier; font-size: 10pt; line-height: 115%;">FLASHBACK_TRANSACTION_QUERY</span><span style="color: black; font-family: Courier; font-size: 10pt; line-height: 115%;"> </span><span lang="TR">tablosunda tutulan transaction bilgilerinden yola çıkılarak istenmeyen değişikler geri alınabilir. </span></div><div class="MsoNormal"><span lang="TR"> <b>Flashback Transactio backout</b>;Flashback transaction backout ile bir transaction sonucunda istenirse bu transaction öncesine data geri döndüüreliebilir.Ancak bu özelliğin kullanılabilmesi için aşağıdaki ayarların daha önce yapılmış olması gerekir.</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none;"><span lang="TR"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 10pt;">ALTER</span><span style="background-color: white; color: black; font-family: Courier; font-size: 10pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 10pt;">DATABASE</span><span style="background-color: white; color: black; font-family: Courier; font-size: 10pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 10pt;">add</span><span style="background-color: white; color: black; font-family: Courier; font-size: 10pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 10pt;">supplemental</span><span style="background-color: white; color: black; font-family: Courier; font-size: 10pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 10pt;">log</span><span style="background-color: white; color: black; font-family: Courier; font-size: 10pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 10pt;">data;</span><span style="background-color: white; color: black; font-family: Courier; font-size: 10pt;"></span></div><pre><span style="background-color: white; color: blue; font-family: Courier;"> ALTER</span><span style="background-color: white; color: black; font-family: Courier;"> </span><span style="background-color: white; color: blue; font-family: Courier;">DATABASE</span><span style="background-color: white; color: black; font-family: Courier;"> </span><span style="background-color: white; color: blue; font-family: Courier;">add</span><span style="background-color: white; color: black; font-family: Courier;"> </span><span style="background-color: white; color: blue; font-family: Courier;">supplemental</span><span style="background-color: white; color: black; font-family: Courier;"> </span><span style="background-color: white; color: blue; font-family: Courier;">log</span><span style="background-color: white; color: black; font-family: Courier;"> </span><span style="background-color: white; color: blue; font-family: Courier;">data</span><span style="background-color: white; color: black; font-family: Courier;"> </span><span style="background-color: white; color: blue; font-family: Courier;">(primary</span><span style="background-color: white; color: black; font-family: Courier;"> </span><span style="background-color: white; color: blue; font-family: Courier;">key)</span><span style="background-color: white; color: black; font-family: Courier;"> </span><span style="background-color: white; color: blue; font-family: Courier;">columns;</span><span style="color: blue; font-family: Courier;"></span></pre><pre><span style="color: blue; font-family: Courier;"> </span></pre><pre><b><span lang="TR"> </span></b><b><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Flashback Table</span></b><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">: Bir tablo daha önceki bir tarihine yada SCN denilen system change number değerine döndürelebilir.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> <b>Flashbach Drop</b>:Db objelerini drop edildikten sonra recycle bin den geri alabilirisiniz.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"></span></pre><pre><b><i><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Instance Failure</span></i></b></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Tablo 5 de instance hataları ve muhtemel çözümlerinden bahsedilmiştir.</span></pre><table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-bottom: medium none; border-collapse: collapse; border-left: medium none; border-right: medium none; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;"><tbody>
<tr><td style="background: #00b0f0; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 230.3pt;" valign="top" width="307"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Genel Failure Tipleri</span></div></td><td style="background: #00b0f0; border-bottom: windowtext 1pt solid; border-left: medium none; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 230.3pt;" valign="top" width="307"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Muhtemel Çözümler</span></div></td></tr>
<tr><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: windowtext 1pt solid; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-themecolor: text1; mso-border-right-alt: solid windowtext .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 230.3pt;" valign="top" width="307"><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Güç Kesintisi</span></pre></td><td rowspan="4" style="background: #92d050; border-bottom: windowtext 1pt solid; border-left: medium none; border-right: windowtext 1pt solid; border-top: medium none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 230.3pt;" valign="top" width="307"><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">İnstance startup komutu ile tekrar açılır.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Bu işlem sırasında </span><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">instance recover </span><span class="Apple-style-span" style="font-family: Calibri,sans-serif; font-size: 15px;">otomatik olarak </span></pre><pre><span class="Apple-style-span" style="font-family: Calibri,sans-serif; font-size: 15px;">yapılır ve aynı zamanda </span><span class="Apple-style-span" style="font-family: Calibri,sans-serif; font-size: 15px;">redologlardaki değişimler </span></pre><pre><span class="Apple-style-span" style="font-family: Calibri,sans-serif; font-size: 15px;">korunur </span><span class="Apple-style-span" style="font-family: Calibri,sans-serif; font-size: 15px;">ve commitlenmemiş </span><span class="Apple-style-span" style="font-family: Calibri,sans-serif; font-size: 15px;">değişiklikler roll back </span></pre><pre><span class="Apple-style-span" style="font-family: Calibri,sans-serif; font-size: 15px;">yapılır.</span><span class="Apple-style-span" style="font-family: Calibri,sans-serif; font-size: 15px;">Hata alert log ve </span><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">trace den</span><span class="Apple-style-span" style="font-family: Calibri,sans-serif; font-size: 15px;"> </span><span class="Apple-style-span" style="font-family: Calibri,sans-serif; font-size: 15px;">incelenir. </span></pre></td></tr>
<tr><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: windowtext 1pt solid; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-themecolor: text1; mso-border-right-alt: solid windowtext .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 230.3pt;" valign="top" width="307"><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Donanım Hatası</span></pre></td></tr>
<tr><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: windowtext 1pt solid; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-themecolor: text1; mso-border-right-alt: solid windowtext .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 230.3pt;" valign="top" width="307"><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Backgroud proces hatası</span></pre></td></tr>
<tr><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: windowtext 1pt solid; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-themecolor: text1; mso-border-right-alt: solid windowtext .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 230.3pt;" valign="top" width="307"><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Acil kapatılma işlemi</span></pre></td></tr>
</tbody></table><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Tablo 5 : Instance hataları ve muhtemel çözümleri</span><span lang="TR"></span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"></span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Tablodan görüleceği üzere instance recovery işlemi restart sırasında otoamtik olarak yapılır.Peki oracle instance recovery işlemini nasıl otomatik olarak yapar.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> <i><u>1-Checkpoint Process</u></i>:Checkpoint işlemi aslında oracle taraından her 3 sn de bir yada daha sık olarak database writer işlemi tarafından SGA dana diske yazdırılan değişien block ların bilgisinin kontrol file içinde depolanması dır.Checkpoint işleminin amacı instance recover işleminin başalatılacağı redolog file ların içindeki konumu belirlemektir.Buna Checkpoint Poisition denir.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Ayrıca checkpoint işlemi log switch olayında checkpoint bilgilerini data filelerin header kısmına yazar.Checkpoint işlemi aşağıdaki sebeplere bağlı olarak yapılır.</span></pre><pre style="margin-left: 81.7pt; mso-list: l1 level1 lfo2; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 11pt;">·<span style="font-family: 'Times New Roman';"> </span></span><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Değişen data blockların memory den diske düzenli bir biçimde yazıldığından emin olmak için, Böylece instance yada database hatası meydan gelirse data kaybı önlenmiş olur.</span></pre><pre style="margin-left: 81.7pt; mso-list: l1 level1 lfo2; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 11pt;">·<span style="font-family: 'Times New Roman';"> </span></span><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Instance recovery (instance kurtarma) işlemi için için gerekli olan zaman azaltılmış olur.</span></pre><pre style="margin-left: 81.7pt; mso-list: l1 level1 lfo2; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 11pt;">·<span style="font-family: 'Times New Roman';"> </span></span><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Shutdown işlemi sırasında commitlenmiş tüm verilerin diske yazıldığından emin olmak için.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Özetle checkpoint bilgleri checkpoint process tarafından kontrol filelerin içerisine yazılır.Çünkü oracle başlatıldığından kontrol filelerden gerekli bilgileri okur.Ayrıca checkpoint işlemlerinin önemli içeriklerini özetlemek gerekirse;,SCN number(System change number), recover işleminin başlatılacağı redo log filelerin içerisindeki konum, log bilgileri.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"></span></pre><pre><i><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> <u>2-Redo log file ve log writer;</u></span></i><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Şekil 1 de redo log file ve log file arasındaki ilişki sembolize edilmiştir.Redolog file değişimleri database için kaydeder ve sayısı ve boyutu kayıp riskini azaltmak için çoklanabilir.Log writer ise Redolog buffer alanı adı verilen memory parçasındaki dataları redolog dosyalarına yazar.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> <i>Log writer;</i></span></pre><pre style="margin-left: 72pt; mso-list: l0 level2 lfo4; text-indent: -18pt;"><span lang="TR" style="font-size: 11pt;">o<span style="font-family: 'Times New Roman';"> </span></span><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">redolog gruplarından biri dolduğunda,</span></pre><pre style="margin-left: 72pt; mso-list: l0 level2 lfo4; text-indent: -18pt;"><span lang="TR" style="font-size: 11pt;">o<span style="font-family: 'Times New Roman';"> </span></span><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">commit sırasında, </span></pre><pre style="margin-left: 72pt; mso-list: l0 level2 lfo4; text-indent: -18pt;"><span lang="TR" style="font-size: 11pt;">o<span style="font-family: 'Times New Roman';"> </span></span><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Database writerdan önce </span></pre><pre style="margin-left: 72pt; mso-list: l0 level2 lfo4; text-indent: -18pt;"><span lang="TR" style="font-size: 11pt;">o<span style="font-family: 'Times New Roman';"> </span></span><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">ve yada her 3 saniyede bir çalışır.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> **Mümkünse herbir redolog group farklı disk üzerinde depolanması yerinde olur.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> </span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"></span></pre><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://3.bp.blogspot.com/-Y1nbdHOu7-M/Tm6DYu0lVNI/AAAAAAAAAJU/BhUVs0G-0CM/s1600/1-redolog_file-log_writer.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="http://3.bp.blogspot.com/-Y1nbdHOu7-M/Tm6DYu0lVNI/AAAAAAAAAJU/BhUVs0G-0CM/s1600/1-redolog_file-log_writer.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span class="Apple-style-span" style="font-size: small;"></span><br />
<pre><span class="Apple-style-span" style="font-size: small;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Şekil 1 : Redo-log dosyaları ve logwriter</span></span></pre></td></tr>
</tbody></table><pre><span class="Apple-style-span" style="font-family: Calibri,sans-serif;"><span class="Apple-style-span" style="font-size: 15px;">
</span></span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Instance kurtarma işlemi adım adım ve sembolize olarak şekil 2 de gösterilmiştir.</span></pre><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://2.bp.blogspot.com/-nO-xvW0wQ_Q/Tm6DZIE40yI/AAAAAAAAAJY/pI2mhIJDCnw/s1600/2-instance_kurtarma_ad%C3%84%C2%B1mlar%C3%84%C2%B1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="235px" src="http://2.bp.blogspot.com/-nO-xvW0wQ_Q/Tm6DZIE40yI/AAAAAAAAAJY/pI2mhIJDCnw/s320/2-instance_kurtarma_ad%25C4%25B1mlar%25C4%25B1.png" width="320px" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span class="Apple-style-span" style="font-size: small;"></span><br />
<pre><span class="Apple-style-span" style="font-size: small;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Şekil 2 : instance recover (kurtarma) adımları</span></span></pre></td></tr>
</tbody></table><pre><span class="Apple-style-span" style="font-family: Calibri,sans-serif;"><span class="Apple-style-span" style="font-size: 15px;">
</span></span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Instance Recovery Tuning </span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"></span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Instance kurtarma işleminin hızlandırılması için checkpoint position ile redolog dosyasının son konumu arasındaki farkın azaltılması gerekmektedir.Bu fark şekil 3 de sembolize edilmiştir.Bu farkın azaltılması MTTR (Mean Time To Recover) ayarının dba tarafından yapılması gerekir.Bu ayar redo log dosyalarının boyutları ilede alakalıdır.Örneğin 2 redo log gurubu için aradaki farkın en küçük redolog gurubun %90 'ınından daha büyük olmamalıdır.MTTR ayarı MTTR advisor dan yardım alınarak da yapılabilir.</span></pre><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-HXLFusRopMY/Tm6DZsPkuzI/AAAAAAAAAJc/8Z5DLemI05E/s1600/3-instance_recovery_tuning.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="95px" src="http://4.bp.blogspot.com/-HXLFusRopMY/Tm6DZsPkuzI/AAAAAAAAAJc/8Z5DLemI05E/s320/3-instance_recovery_tuning.png" width="320px" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span class="Apple-style-span" style="font-size: small;"></span><br />
<pre><span class="Apple-style-span" style="font-size: small;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Şekil 3 : Instance recovery Tuning</span></span></pre></td></tr>
</tbody></table><pre><span class="Apple-style-span" style="font-family: Calibri,sans-serif;"><span class="Apple-style-span" style="font-size: 15px;">
</span></span></pre><pre><b><i><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Media Failure</span></i></b></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Oracle tarafından tanımlanan media failure, veri kayıplarına neden olabilecek her türlü hata tipidir.Media failure tipleri ve muhtemel çözümler tablo 6 da listelenmiştir.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> </span></pre><table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-bottom: medium none; border-collapse: collapse; border-left: medium none; border-right: medium none; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;"><tbody>
<tr><td style="background: #00b0f0; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 161.35pt;" valign="top" width="215"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Genel Failure Tipleri</span></div></td><td style="background: #00b0f0; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 299.25pt;" valign="top" width="399"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span lang="TR">Muhtemel Çözümler</span></div></td></tr>
<tr><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 161.35pt;" valign="top" width="215"><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Disklerin bozulması</span></pre></td><td rowspan="3" style="background: #92d050; border-bottom: black 1pt solid; border-left: medium none; border-right: black 1pt solid; border-top: medium none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 299.25pt;" valign="top" width="399"><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">1.Etkilenen dosya backupdan yüklenir.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">2.Eğer gerekli ise yeni veri dosyaları için </span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">başka bir </span><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">konum </span><span class="Apple-style-span" style="font-family: Calibri,sans-serif; font-size: 15px;">belirlenir.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">3.Eğer gerekli ise redo log bilgilerinden </span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">dosya kurtarılır.</span></pre></td></tr>
<tr><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 161.35pt;" valign="top" width="215"><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Disk kontrol ünitelerinin bozulması</span></pre></td></tr>
<tr><td style="background: #92d050; border-bottom: black 1pt solid; border-left: black 1pt solid; border-right: black 1pt solid; border-top: black 1pt solid; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding-bottom: 0cm; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0cm; width: 161.35pt;" valign="top" width="215"><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Database dosyalarının silinmesi </span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">yada bozulması</span></pre></td></tr>
</tbody></table><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Tablo 6: Media Bozuklukları ve genel çözümleri</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> </span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Oracle yedekleme ve kurtarma içeriği hakkında belli bir sınıflandırma yaparak hata tiplerini açıklamaya çalışıp çözümlerinide tablo şeklinde sembolize ettik.Hata ne olursa olsun önemli olan veri kaybetmeden en kısa zamandan kurtarma işleminin yapılmasıdır.Bu amaca uygun olarak oracle veritabanı konfigürasyonu sağlanabilir.</span></pre><pre style="margin-left: 81.7pt; mso-list: l3 level1 lfo3; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 11pt;">·<span style="font-family: 'Times New Roman';"> </span></span><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Düzenli backupların alınması,</span></pre><pre style="margin-left: 81.7pt; mso-list: l3 level1 lfo3; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 11pt;">·<span style="font-family: 'Times New Roman';"> </span></span><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Control File dosyalarının çoklanması,</span></pre><pre style="margin-left: 81.7pt; mso-list: l3 level1 lfo3; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 11pt;">·<span style="font-family: 'Times New Roman';"> </span></span><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Redolog dosyalarının çoklanması,</span></pre><pre style="margin-left: 81.7pt; mso-list: l3 level1 lfo3; text-indent: -18pt;"><span lang="TR" style="font-family: Symbol; font-size: 11pt;">·<span style="font-family: 'Times New Roman';"> </span></span><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Redolog dosyalarının arşiv kopyalarının bulundurulması.</span></pre><pre style="margin-left: 45.7pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"></span></pre><pre style="margin-left: 45.7pt;"><i><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Control File dosyalarının çoklanması;</span></i></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Cotrol file dosyaları veritabanının durumunun saklandığı ve açılması yada veri dosyalarının mount edilmesi gibi olaylarda ulaşılabilir olması gerekir.Eğer bir control file bozulmuşsa yenisinin oluşturulması gerekir.Control file dosyalarından biri kopyalanarak control bile ler çoklanmış olur.Bu işlem aşağıdaki gibi yapılabilir.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> </span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Benim kendi sanal makinamda kurulu oracle için baktığımda bir adet kontrol file bulunmaktadır.Control file dosyaları default olarak oradata klasöründedir.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> </span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">[oracle@vmora vmora]$ ls -ltrh</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">total 1.5G</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">-rw-r----- 1 oracle oinstall 21M Sep 6 15:02 temp01.dbf</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">-rw-r----- 1 oracle oinstall 5.1M Sep 6 15:28 users01.dbf</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">-rw-r----- 1 oracle oinstall 51M Sep 6 15:28 undotbs01.dbf</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">-rw-r----- 1 oracle oinstall 681M Sep 6 15:28 system01.dbf</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">-rw-r----- 1 oracle oinstall 501M Sep 6 15:28 sysaux01.dbf</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">-rw-r----- 1 oracle oinstall 51M Sep 6 15:28 redo02.log</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">-rw-r----- 1 oracle oinstall 51M Sep 6 15:28 redo01.log</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">-rw-r----- 1 oracle oinstall 101M Sep 6 15:28 example01.dbf</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">-rw-r----- 1 oracle oinstall 9.3M Sep 6 15:32 control01.ctl</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">-rw-r----- 1 oracle oinstall 51M Sep 6 15:32 redo03.log</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;"></span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Görüldüğü üzere aynı klasörde birçok datafile lar var.Biz burada konumuz itibarı ile control fileler ve redolog fileler ile ilgileneceğiz.Kontrol fileler çoğaltmak için aşağıdaki prosedür uygulanabilir.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> 1-System'e eklenecek control filelerin tutulacağı konum spfile içerisine yazılır.</span></pre><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 35.4pt; mso-layout-grid-align: none;"><span lang="TR"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">alter</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">system</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">set</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> control_files </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">=</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt; mso-layout-grid-align: none;"><span style="background-color: white; color: red; font-family: Courier; font-size: 8pt;">'/oracle/oradata/vmora/control01.ctl'</span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">,</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"></span></div><div class="MsoNormal" style="line-height: normal; margin: 0cm 0cm 0cm 70.8pt; mso-layout-grid-align: none;"><span style="background-color: white; color: red; font-family: Courier; font-size: 8pt;">'/oracle/oradata/vmora/control02.ctl'</span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">,</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"></span></div><pre style="margin-left: 70.8pt;"><span style="background-color: white; color: red; font-family: Courier; font-size: 8pt;">'/oracle/oradata/vmora/control03.ctl'</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">SCOPE=SPFILE;</span><span style="color: blue; font-family: Courier; font-size: 8pt;"></span></pre><pre style="margin-left: 70.8pt;"><span style="color: blue; font-family: Courier;"></span></pre><pre style="margin-left: 35.4pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> 2-Oracle Shutdown edilir.</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">SQL> shutdown immediate;</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Database closed.</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Database dismounted.</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">ORACLE instance shut down.</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"></span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">3-İşletim sistem üzerinden varolan control file dosyası kopyalanarak çoğullanır.</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">[oracle@vmora vmora]$ cp control01.ctl control02.ctl</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">[oracle@vmora vmora]$ cp control01.ctl control03.ctl</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"></span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">4-Veritabanı açılır ve işlem tamamlanmış olur.</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">SQL> startup</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">ORACLE instance started.</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;"></span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Total System Global Area 849530880 bytes</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Fixed Size 1339824 bytes</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Variable Size 499125840 bytes</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Database Buffers 343932928 bytes</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Redo Buffers 5132288 bytes</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Database mounted.</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Database opened.</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Eklenen dosyaları V$CONTROLFILE Viewdan takip edebilirsiniz.</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"></span></pre><pre style="margin-left: 45.7pt;"><i><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">RedoLog File dosyalarının çoklanması;</span></i></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Redolog file dosyaları hakkında daha öncede bahsettiğimiz gibi commitlenen veriler diske yazılmadan önce redolog dosyalarına yazılır.Bunun en önemli sebebi performanstır.Çünkü diske yazmak seri logdosyalarıbna yazmaktan çok daha maliyetli ve zaman alan bir işlemdir.Ancak redolog dosyalarının bulunduğu redolog guruplarından kurtarma açısından optimal durumu farklı diskler üzerine olması ve herbir gurupta en az 2 adet redolog member (redolog dosyası) olmasıdır.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Redolog gurupları yada dosyaları enterprise manager üzerinde server>storage>redolog groups tabında yapılabileceği gibi script ilede yapılabilir.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> </span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Redolog group eklemek için;</span></pre><pre style="margin-left: 45.8pt;"><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">ALTER</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">DATABASE</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">ADD</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">LOGFILE</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">GROUP</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: maroon; font-family: Courier; font-size: 8pt;">4</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">(</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: red; font-family: Courier; font-size: 8pt;">'/oracle/oradata/vmora/redo4.log'</span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">)</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">SIZE</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: maroon; font-family: Courier; font-size: 8pt;">51200</span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">K;</span><span style="color: blue; font-family: Courier; font-size: 8pt;"></span></pre><pre style="margin-left: 45.8pt;"><span style="color: blue; font-family: Courier; font-size: 8pt;"></span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;">Redolog gruba member eklemek için;</span></pre><pre style="margin-left: 45.8pt;"><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">ALTER</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">DATABASE</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">ADD</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><u><span style="background-color: white; color: blue; font-size: 8pt;">LOGFILE</span></u><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">MEMBER</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: red; font-family: Courier; font-size: 8pt;">'/oracle/oradata/vmora/redo4_1.log'</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">TO</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">GROUP</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: maroon; font-family: Courier; font-size: 8pt;">4</span><span style="color: maroon; font-family: Courier; font-size: 8pt;">;</span></pre><pre style="margin-left: 45.8pt;"><span style="color: maroon; font-family: Courier; font-size: 8pt;"></span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Eklenen yeni redo dosyasının durumuna V$LOGFILE dan kontrol ettiğinizde invalid olarak görürsünüz.Bunun sebebi henuz eklenmiş olan redolog dosyasına veri yazılamamış olamsıdır.Eğer log switch olayı meydana gelir ve log dosyası kullanılmaya başlanırsa Durmunun diğerleri null konumuna çekildiğini farkedeceksiniz.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"></span></pre><pre><b><i><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Archive Log Dosyaları;</span></i></b></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Archive Log dosyaları, pasif konumda olan redolog dosyalarının kopyalanması olarak nitelendirilebilir.Bir veritabanı eğer NOARCHIVELOG modda çalışıyorsa redolog do syaları arşivlenmez.Redolog dosyalarının kopyalanması için veritabanının ARCHIVELOG modda çalışıyor olması gerekir.Redolog dosyalarına online log dosyaları da denir.Online log dosyalarınını kopyalayan yani archive log dosyaları yapan oracle background process'e archive process (ARCHn) denir.Şekil 4 de archive process sembolize edilmiştir.Archiver process opsiyoneldir.Yani devre dışı bırakılabilir.Ama maximum derecede kurtarılabilir bir veritabanı modeli istiyorsanız veritabanı archive modda çalışmalıdır.</span></pre><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-dmOdnWJP_Tk/Tm6DaOLyNAI/AAAAAAAAAJg/1FHYa9LHhN4/s1600/4-archiver_proces.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="320px" src="http://4.bp.blogspot.com/-dmOdnWJP_Tk/Tm6DaOLyNAI/AAAAAAAAAJg/1FHYa9LHhN4/s320/4-archiver_proces.png" width="297px" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span class="Apple-style-span" style="font-size: small;"></span><br />
<pre><span class="Apple-style-span" style="font-size: small;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Şekil 4 : Archiver process</span></span></pre></td></tr>
</tbody></table><pre><span class="Apple-style-span" style="font-family: Calibri,sans-serif; font-size: 15px;"> </span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Eğer online log gruplarından biri dolarsa oracle instance diğer log gurubuna yazma işlemini başlatır.Bu olaya <b>log switch</b> denir.İşte archiver process herbir log switch olayında devreye girer ve dolmuş olan online log dosyasının kopyalanmasını sağlar.Bu sayede eğer disk zarar görürse aynı noktada kurtarma işlemi başlatılabilir.Eğer veritabanı archive log modda çalışmıyorsa dolan log gurupları tekrar kullanılmaya başlatıldığında üzerindeki bilgiler yani yazılan bilgiler için ezilir.Ancak archive alınırsa dolan log gurupları kopyalandığı için redolog dosyalarındaki bilgilerin kaybedilmesi gibi bir risk ortadan kalkmış olur.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"></span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Arşiv log dosyaları aşağıdaki gibi isimlendirme yapılabilir.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> <b>%s</b>:dosyaya ait log sequence numarası.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> <b>%t:</b> " threat numarası.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> <b>%r:</b> " reset log ID (herbir arşiv log isminin uniq olması için).</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> <b>%d</b>: " database ID.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> </span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Archive dosyalarının yazılacağı default directory <i>DB_RECOVERY_FILE_DEST </i>dir.Ancak bu değiştirilebilir.Değiştirmek için Enterprise Manager > Availability > Recovery settings kısmından yada init.ora dosyasındaki <i>DB_RECOVERY_FILE_DEST </i> parametresini değiştirerek değiştrebilirsiniz.Yada aşağıdaki komut ilede bu işlem yapılabilir.</span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"></span></pre><pre style="margin-left: 45.8pt;"><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">ALTER</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">SYSTEM</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">SET</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> DB_RECOVERY_FILE_DEST </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">=</span><span style="background-color: white; color: red; font-family: Courier; font-size: 8pt;">'/oracle/flash_recovery_area'</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">SCOPE</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">=</span><span style="background-color: white; color: black; font-family: Courier; font-size: 8pt;"> </span><span style="background-color: white; color: blue; font-family: Courier; font-size: 8pt;">SPFILE;</span><span style="color: blue; font-family: Courier; font-size: 8pt;"></span></pre><pre style="margin-left: 45.8pt;"><span style="color: blue; font-family: Courier;"></span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> <b><i>Oracle Archive log moda nasıl alınır? </i></b></span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Oracle veritabanını archive log moda yanlızca mount konumunda açarak alabiliriz.Bunun için aşağıdaki adımları izlemeliyiz.</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">SQL> archive log list;</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Database log mode No Archive Mode</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Automatic archival Disabled</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Archive destination USE_DB_RECOVERY_FILE_DEST</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Oldest online log sequence 8</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Current log sequence 10</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;"></span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> </span><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">SQL> shutdown immediate;</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Database closed.</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Database dismounted.</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">ORACLE instance shut down.</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">SQL> startup mount;</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">ORACLE instance started.</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;"></span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Total System Global Area 849530880 bytes</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Fixed Size 1339824 bytes</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Variable Size 520097360 bytes</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Database Buffers 322961408 bytes</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Redo Buffers 5132288 bytes</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Database mounted.</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">SQL> alter database ARCHIVELOG;</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;"></span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Database altered.</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;"></span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">SQL> alter database open;</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;"></span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Database altered.</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;"></span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">SQL> archive log list;</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Database log mode Archive Mode</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Automatic archival Enabled</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Archive destination USE_DB_RECOVERY_FILE_DEST</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Oldest online log sequence 8</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Next log sequence to archive 10</span></pre><pre style="margin-left: 70.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 8pt;">Current log sequence 10</span></pre><pre style="margin-left: 45.8pt;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"></span></pre><pre><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Bu yazımızın sonuna geldik.Özetle bu yazımızda oracle yedekleme ve kurtarma hakkında bilgiler ve açıklamalar sunmaya çalıştık.Bu sayede yedekleme ve kurtarma sırasında çalışan processler ve oracle bizlere neler sunar açıklamaya çalışıp, konu konseptini yazmaya çalıştık.Sonraki yazılarımızda yedekleme ve kurtarma nasıl yapılır ve RMAN hakkında bilgiler sunmaya çalışacağız.Faydalı olmasını dilerim. </span></pre><pre style="text-align: right;"><span lang="TR" style="font-family: Calibri,sans-serif; font-size: 11pt;"> Özcan YILDIRIM</span></pre><div class="blogger-post-footer">Özcan YILDIRIM</div>Unknownnoreply@blogger.com0