Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
/usr/share/astguiclient/ADMIN_archive_log_tables.pl --carrier-vlog-daily --days=180
----- DAYS OVERRIDE: 180 -----
-- ADMIN_archive_log_tables.pl --
This program is designed to put all records from call_log, vicidial_log,
server_performance, vicidial_agent_log, vicidial_carrier_log,
vicidial_call_notes, vicidial_lead_search_log and others into relevant
_archive tables and delete records in original tables older than
180 days ( 2016-01-16 11:29:22|1452940162 ) from current date
Processing call_log table... (6348170|0)
6348170 rows inserted into call_log_archive table
4831943 rows deleted from call_log table
781 rows deleted from call_log_archive table
Processing vicidial_log table... (4199554|0)
4199554 rows inserted into vicidial_log_archive table
3161939 rows deleted from vicidial_log table
Processing vicidial_closer_log table... (113168|0)
113168 rows inserted into vicidial_closer_log_archive table
93115 rows deleted from vicidial_closer_log table
Processing vicidial_log_extended table... (4312810|0)
4312810 rows inserted into vicidial_log_extended_archive table
3255115 rows deleted from vicidial_log_extended table
Processing vicidial_dial_log table... (4221697|0)
4218116 rows inserted into vicidial_dial_log_archive table
3178651 rows deleted from vicidial_dial_log table
Processing vicidial_api_log table... (12677|0)
12677 rows inserted into vicidial_api_log_archive table
9568 rows deleted from vicidial_api_log table
Processing vicidial_log_noanswer table... (0|0)
0 rows inserted into vicidial_log_noanswer_archive table
0 rows deleted from vicidial_log_noanswer table
Processing vicidial_did_agent_log table... (0|0)
0 rows inserted into vicidial_did_agent_log_archive table
0 rows deleted from vicidial_did_agent_log table
Processing server_performance table... (0)
0 rows deleted from server_performance table
Processing vicidial_url_log table... (17)
17 rows deleted from vicidial_url_log table
Processing vicidial_dtmf_log table... (124)
0 rows deleted from vicidial_dtmf_log table
Processing vicidial_agent table... (2853371|0)
2853371 rows inserted into vicidial_agent_log_archive table
2088339 rows deleted from vicidial_agent_log table
Processing vicidial_carrier_log table... (4254373|0)
4254373 rows inserted into vicidial_carrier_log_archive table
3210601 rows deleted from vicidial_carrier_log table
Processing vicidial_call_notes table... (7812|0)
7812 rows inserted into vicidial_call_notes_archive table
7811 rows deleted from vicidial_call_notes table
Processing vicidial_lead_search_log table... (5971|0)
5971 rows inserted into vicidial_lead_search_log_archive table
4713 rows deleted from vicidial_lead_search_log table
Processing vicidial_outbound_ivr_log table... (0|0)
0 rows inserted into vicidial_outbound_ivr_log_archive table
0 rows deleted from vicidial_outbound_ivr_log table
script execution time in seconds: 3161 minutes: 52.6833333333333
Users browsing this forum: No registered users and 50 guests