Asterisk Database tables_archive

All installation and configuration problems and questions

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

Asterisk Database tables_archive

Postby marzo » Wed Apr 15, 2015 10:38 am

Hello,

The database Asterisk has a lot of tables whose name ends with _archive.

My question is: What is the function of these tables ?


Thanks
marzo
 
Posts: 66
Joined: Fri Apr 16, 2010 12:50 pm

Re: Asterisk Database tables_archive

Postby DomeDan » Fri Apr 17, 2015 8:47 am

Hi

they are tables that the script ADMIN_archive_log_tables.pl uses.

# This script is designed to put all records from call_log, vicidial_log and
# vicidial_agent_log in relevant _archive tables and delete records in original
# tables older than X days or months from current date. Also, deletes old
# server_performance table records without archiving them as well as optimizing
# all involved tables.


And the reason you want to run this script is to speed up queries made by vicidial,
If there is much load on the database (like if it takes some time before lead information appears on the agent interface) then its a good idea to run this script to archive old call/lead-data.
but the downside is that the reports wont be able to display data for the period you select in the script
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: Asterisk Database tables_archive

Postby marzo » Thu Apr 30, 2015 10:29 am

DomeDan

Thanks for your reply
marzo
 
Posts: 66
Joined: Fri Apr 16, 2010 12:50 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 68 guests