changed vicidial_auto_calls table to MEMORY table and added memory unused reset nightly in ADMIN_keepalive_ALL.pl script

git-svn-id: svn://192.168.202.10@1465 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2010-07-04 02:05:41 +00:00
parent b4257b6996
commit c0b0dcca4c
5 changed files with 66 additions and 7 deletions
+15
View File
@@ -256,6 +256,9 @@ GRANT SELECT,INSERT,UPDATE,DELETE,LOCK TABLES on asterisk.* TO cron@localhost ID
GRANT RELOAD ON *.* TO cron@'%';
GRANT RELOAD ON *.* TO cron@localhost;
GRANT ALTER,CREATE on asterisk.* TO custom@'%' IDENTIFIED BY 'custom1234';
GRANT ALTER,CREATE on asterisk.* TO custom@localhost IDENTIFIED BY 'custom1234';
flush privileges;
use asterisk;
@@ -303,6 +306,18 @@ server, you will need to edit either the /etc/astguiclient.conf file or the
dbconnect.php files in the astguiclient, vicidial and agc directories of your
webroot.
NOTE: if you have a dedicated MySQL database server with a lot of RAM(8GB or
greater) then you should consider running the following MySQL queries to
turn heavily used tables into MEMORY tables to speed up execution and reduce
load on your database server:
ALTER TABLE vicidial_live_agents MODIFY closer_campaigns VARCHAR(8000) default '';
ALTER TABLE vicidial_live_agents MODIFY external_ingroups VARCHAR(8000) default '';
ALTER TABLE vicidial_live_agents MODIFY agent_territories VARCHAR(1000) default '';
ALTER TABLE vicidial_live_agents ENGINE=MEMORY;
ALTER TABLE vicidial_manager ENGINE=MEMORY;
3. Enter the astguiclient administration page:
http://10.10.10.15/vicidial/admin.php
NOTE: if you click on the Logout button you must leave the user/pass empty and click OK