kalau mysql menghasilkan 300 ribu record dan semuanya harus didisplay di aplikasi, pasti akan lambat, terutama kalau aplikasinya itu web-based. dalam hal ini, aplikasi cpu utilizationnya akan tinggi, sekitar 90%+.
kalau hasil recordnya tidak begitu banyak, coba di dalam querynya itu dicek: - using index atau full table scan. - ada order by clause atau tidak. - ada mysql built-in function atau tidak (lower, upper, etc) 1 record setiap detik itu sekitar 2.5 juta records per bulan. Tablenya di partition? - bs On 3/28/07, evi s.r. ( PRD - Datacom Solusindo ) <[EMAIL PROTECTED]> wrote: > > Hi All, > > saya lagi ada masalah nih. Performance aplikasi yang connect ke MySQL jadi > lambat banget sejalan bertambahnya jumlah record di tablenya. > > Lambatnya terasa saat menjalankan query yang menghasilkan jumlah output > yang besar juga, misalnya sampai 300 ribu record. > > Sebagai info, tabel tsb secara kontinyu ditambahkan terus dengan periode > rata-rata 1 detik 1 record. > > Saat ini table tsb menggunakan primary index yang terdiri dari 1 field > key. > > Ada saran ndak untuk meningkatkan performancenya? > > thanks > > esr > > [Non-text portions of this message have been removed] > > > [Non-text portions of this message have been removed] -- www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] ## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ## ## Jaket ITCENTER tersedia di http://shop.itcenter.or.id Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/ITCENTER/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/ITCENTER/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[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/
