1 / 5

KELOMPOK 2

KELOMPOK 2. DIO PRASASTIA FAIS DWI A ABDUL WADUD. SOAL.

caroun
Télécharger la présentation

KELOMPOK 2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. KELOMPOK 2 • DIO PRASASTIA • FAIS DWI A • ABDUL WADUD

  2. SOAL Andabekerjasebagai DBA untuk Oracle.net. Pada database production Anda, saatiniukurandari Database Buffer Cache perlusegeradinaikkanuntuk instance database jugasampainantinya. Instance Oracle telahdikonfigrasiuntukmengakomodasisetiapperubahanpadaukuranstrukturmemori. Pada database Production ini, Andainginmenyelesaikantugastersebutdengantanpadampakpadakoneksi user. Apa yang akanAndalakukanuntukmenyelesaikanpermasalahantersebutbesertaaktivitasapasaja yang perludipersiapkansebelumnya!

  3. BUFFER CACHE • BUFFER CACHE Database Buffer cache atau buffer cache adalahbagiandari SGA yang digunakanuntukmenyimpan data block  darimasing-masing segment yang diaksesoleh user. Fungsi buffer cache: – menyimpan data hasilperintah SQL – kalo data yang dimintaberulang-ulangkecepatan query meningkat & mempercepatperubahan data dimemori – tidaklangsungdisimpandalam disk

  4. PEMECAHAN • LIHAT DULU HIT RASIONYA DENGAN MENGETIK • SQL > Select 1 – ((physical.value – direct.value – lobs.value) / logical.value) “ Buffer Cache Hit Ratio” from v$sysstat physical, v$sysstat direct, v$sysstat lobs, v$sysstat logical where physical.name=’physical reads’ and direct.name=’physical reads direct’ and lobs.name=’physical reads direct (lob)’ and logical.name=’session logical reads’;

  5. Jika Hit Rationyarendahmakasolusinyaadalahmemperbesarukuran db buffer cachenya. • Oracle menyediakan advisor untukmemperbesar db buffer cache : • SQL > show parameter db_cache_advice (>9i) • Memperbesarukuransga_max_size :SQL> Alter system set sga_max_size=200m scope=spfile;Lalu restart db.

More Related