VICIdial database tables crash recovery : how to

Any and all non-support discussions

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

VICIdial database tables crash recovery : how to

Postby fredrick » Thu Dec 03, 2009 5:02 am

Hello all,

I have a BPO setup, where thousands of calls are initiated per day.

everything is fine about calls but i'm afraid of mysql tables in asterisk/vtigercrm databases which will have lacks of rows and i expect on one fine day one or more tables will be crashed !!!

my call_log table for 4 days have 118,026 rows !!!

Please let me know is there any mechanism to fix/monitor/avoid this problem.
fredrick
 
Posts: 13
Joined: Thu Dec 03, 2009 4:31 am

Postby boybawang » Thu Dec 03, 2009 5:57 am

For a quick way you can install phpmyadmin and do a repair table
Vicidial Installation + Configuration + Support + Custom Development
Download my ebook on installing vicidial for free http://download.vicidial.com/ubuntu/VIC ... 100331.pdf
skype: deodax.cordova@gmail.com
m: +639172063730
boybawang
 
Posts: 989
Joined: Sat Nov 14, 2009 1:18 pm
Location: Dumaguete City, Negros Oriental, Philippines

Postby mflorell » Thu Dec 03, 2009 10:33 am

Please don't double-post
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby spaquet » Sun Dec 06, 2009 3:28 pm

Easy. Here is what I'm doing:

1. Every night when my MySQL Servers are not loaded I'm running a cron job to repair all tables.

Repair command on MySQL also "compacts and reindexes" tables. So running it on a regular basis improves database performances.

2. Do not forget to do some mysqldump (backup actually). I let you see what's the best frequency for backup according to your data criticity.

Hope this will help you.

Bests
spaquet
 
Posts: 105
Joined: Sat May 30, 2009 7:05 am
Location: Morocco


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 87 guests