kalo boleh coba di publish dulu , query-query tersebut menjadi satu kesatuan, mau liat hubungan validasi dan keterkaitan antar query itu. concern saya apakah xfilename dari query 2(proses insert) adalah hasil query filename dari query 1?
2010/4/27 Ola <[email protected]> > > > preses ke 2 itu > > query 1 > select filename > from FILE_A > where tgl_proses >= to_date(tgl1||' 00:00:00', 'dd-mm-yyyy hh24:mi:ss') > and tgl_proses <= to_date(tgl2||' 23:59:59', 'dd-mm-yyyy hh24:mi:ss') > and id2_channel = cur_dir > and id2_channel = :profiles.kode > -- order by tgl_proses asc, row_id desc ; > order by row_id ; > > query 2 > begin > insert into FILE_B (FILENAME ) > values (xfilename) ; > commit ; > end ; > > kalo query 1 di prosesnya pake cursor > memang sich ke 2 table diatas isinya hampir 1 jt row > > lalu bagaimana proses ini supaya cepat > > mohon pencerahan > > oL@ > > ----- Original Message ----- > From: Faridh Wisanggeni > To: [email protected] <indo-oracle%40yahoogroups.com> > Sent: Monday, April 26, 2010 10:50 PM > Subject: Bls: [indo-oracle] proses di 6i > > Saya sich mendingan pake Linux. > > Windows memang gak cocok buat speed yang kita butuhkan > Tapi ada baiknya anda check2 querynya (tuning) takutnya dari querynya > sendiri juga lama. > > ________________________________ > Dari: Ola <[email protected] <stikom.bogor%40yahoo.co.id>> > Kepada: [email protected] <indo-oracle%40yahoogroups.com> > Terkirim: Sen, 19 April, 2010 13:02:39 > Judul: [indo-oracle] proses di 6i > > saya memiliki 2 buah proses > > Proses ke-1. > proses dari teks file yang sebanyak 10 file. 1 file terdiri 1000 row data. > semua proses tersebut dimasukkan ke dalam > table IKLAN. > pada proses ini tidak semua row akan dimasukan ke dalam table. > > Proses ke-2 > proses mengambil yang dari table IKLAN tersebut untuk di proses ulang. > isinya < 2500 row (isinya hampir 1 jt row) > > catatan > 1. ke2 proses berada pada satu tombol item (ngak mungkin di break) > 2. OS windows 2003 standar, DB = 10g APP = ORacle 6i > > pertanyaannya > 1. kenapa proses akan terasa sangat lambat jika dilakukan proses 2 kali > 2. kenapa proses ke 2 amat sangat lambat ( 1 row looping proses = 5 detik), > > padahal proses pada looping tersebut sangat serderhana > 3. bagaimanakah mempercepat proses tersebut. proses tersebut akan normal > (cepat) jika komputer server dilakukan restart > > oL@ > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed] > > > -- Warm regards, Rudy Wardhany Yahoo ID: [email protected] [Non-text portions of this message have been removed] ------------------------------------ -- -----------I.N.D.O - O.R.A.C.L.E--------------- Keluar: [email protected] Website: http://indooracle.wordpress.com http://www.facebook.com/group.php?gid=51973053515 ----------------------------------------------- Bergabung dengan Indonesia Thin Client User Groups, Terminal Server, Citrix, New Moon Caneveral, di: http://indo-thin.blogspot.comYahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/indo-oracle/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/indo-oracle/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

