Page 1 of 1

Database Load average and Load spike

PostPosted: Thu Nov 01, 2012 3:28 am
by ruben23
Multi Server- 2DBRelication M/S(HA,HearBeat/MON),Web(Proxmox_VMs-LoadBalance),3-telephony
ASterisk 1.4.27-vici
Dahdi-current
2.4 svntrunk
Ubuntu server 10.04 LTS
Scracth Install
VERSION: 2.6
© 2012 ViciDial Group

Guys any idea how to prevent Database load spike and somehow lagging because of very huge leads data causing the vicidial_list table to lagged in every query, Update, insert.Any suggestion what can be done_im having leads files for almost 4 years and every cronjob script runs like

Code: Select all
3 1 * * * /usr/share/astguiclient/AST_DB_optimize.pl


Code: Select all
1 1,7 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug --postal-code-gmt


Image

Image

hoping for any advice somehow. Thanks

Re: Database Load average and Load spike

PostPosted: Thu Nov 01, 2012 3:43 am
by mflorell
Looks like you have a lot of leads, and your DB might be forcing the Lists display in the admin.php to go to a temp table when it tries to display that screen. If you upgrade there is a new system settings feature to no do the lead counts on that page. If you enable that option this problem will go away.

Re: Database Load average and Load spike

PostPosted: Thu Nov 01, 2012 3:50 am
by ruben23
@mflorell

Thanks for your prompt reply, on what particular setting its located on the campaign..? is it on the system setting or on the server_ whats the name of the exact feature settings.thanks

Re: Database Load average and Load spike

PostPosted: Thu Nov 01, 2012 11:00 am
by mflorell
It's a "System Settings" option: "Admin List Counts"

Re: Database Load average and Load spike

PostPosted: Mon Nov 05, 2012 9:09 am
by ruben23
@Mark Flynn

Thank you so much for the great help and resolving this issue really a vici_expert and a good man too.Thanks again..
Also acknowledge Omar_your always helping

Re: Database Load average and Load spike

PostPosted: Mon Nov 05, 2012 11:00 am
by williamconley
ruben23 wrote:@Mark Flynn

Thank you so much for the great help and resolving this issue really a vici_expert and a good man too.Thanks again..
Also acknowledge Omar_your always helping

Not a Vicidial Expert. THE Vicidial Expert. LOL

Re: Database Load average and Load spike

PostPosted: Tue Nov 06, 2012 4:30 am
by mark_flynn
No probs :)