call_log table crashing

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

call_log table crashing

Postby fibres » Mon Mar 19, 2012 6:34 pm

Hi guys.

I am having a really strange problem. Every couple of days the call_log table is crashing. phpMyAdmin shows it as in use and myisamchk shows either an indecx error or too many records showing and has to rebuild the table.

I have 25million records in this table.

How do I move them into call_log_archive? I assume this should be done from time to time?

Also what is this table used for? vividial_log seems to duplicate most of the same information.

Regards
Vicibox 4.0.3 ISO install.
VERSION: 2.6-393a
BUILD: 130124-1721
Astersik 1.4.44-vici
No Hardware
No other software installed
fibres
 
Posts: 313
Joined: Sun May 20, 2007 3:12 pm
Location: UK

Postby fibres » Wed Mar 21, 2012 4:26 am

Any ideas anyone? This always seems to happen overnight. I will be fine when system is in use all day, at the moment. But then some mornings I will look at the table and it has crashed again overnight.

Any help would be much appreciated.

Regards
Vicibox 4.0.3 ISO install.
VERSION: 2.6-393a
BUILD: 130124-1721
Astersik 1.4.44-vici
No Hardware
No other software installed
fibres
 
Posts: 313
Joined: Sun May 20, 2007 3:12 pm
Location: UK

Postby mflorell » Wed Mar 21, 2012 6:21 am

I would suggest using the ADMIN_archive_log_tables.pl script regularly to roll your logs into archive tables, which I can guarantee you will help. You should run it the first time over a weekend though, it can take a while to run.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby fibres » Wed Mar 21, 2012 7:03 am

Hi Matt

Thanks for that. I will run that this weekend. That was what I was looking for!

Regards
Vicibox 4.0.3 ISO install.
VERSION: 2.6-393a
BUILD: 130124-1721
Astersik 1.4.44-vici
No Hardware
No other software installed
fibres
 
Posts: 313
Joined: Sun May 20, 2007 3:12 pm
Location: UK

Postby fibres » Tue Apr 03, 2012 6:42 am

Well I ran the script and stopped the database server rebooting every day and has solved the problem.

The only problem is now when I go into a lead that is over 2 months old I get no call log records. I assume this is because they have been moved to the archive table?

Is there any way to tell the admin interface to look in the archive table for these records?

Regards
Vicibox 4.0.3 ISO install.
VERSION: 2.6-393a
BUILD: 130124-1721
Astersik 1.4.44-vici
No Hardware
No other software installed
fibres
 
Posts: 313
Joined: Sun May 20, 2007 3:12 pm
Location: UK


Return to Support

Who is online

Users browsing this forum: No registered users and 145 guests