zoukankan      html  css  js  c++  java
  • astgo经常死机变慢?试试mysql数据碎片整理吧

    使用SSH之类的工具或navicat链接数据库后(注意:是链接数据库后哦,不是直接SSH后就弄,这样提示命令错误的)

    执行下面命令(目的是对ASTGO的数据库内除话单之外的所有表进行数据碎片整理,特别是用户表和充值卡表,压缩率非常高的)

    optimize table acct,acct_gatewaygroup,acct_ratepackage,acct_user,acct_user_consumerpackage,acct_user_periodrate,acct_user_ratepackage,accttype,agent_vouchercard,app_recharge,ast_log,ast_reload,astgo_login_try,astgo_urlmenu,btobtel,btobtellist,callback_bindtel,callback_book,calleegroup,calleelist,callergroup,callerlist,calllist,cbsubmit,cbsubmitex,cbsubmitex1,cbsubmitivr,cc_authority,cc_blacklist,cc_brecord,cc_callerlist,cc_config,cc_customer,cc_customer_list,cc_ivr_call,cc_ivr_flow,cc_ivr_flowlist,cc_outcalltask,cc_sendsms,cc_sendsmstask,cc_sms,cc_submit_call,cc_submit_sms,cc_vocfiles,click_call_submit,code_verify,conference_call_submit,consumerpackage,consumerpackage_log,crm_businesstype,crm_cdr,crm_customer_information,crm_fax_revlist,crm_outcall_task,crm_userstate_log,crm_workorder,fax_outcall_task,fax_ratepackage,fax_timeline,gateway,gatewaygroup,gatewaygrouplist,gatewaypolicy,httpcallsubmit,inboundcode,inboundcodetype,mobileparycode,musiconhold,musiconhold_list,partcodes,pay_config,pay_softphone_list,paydirect,phone_imei,pub_config,queue_member_table,queue_table,rate,rategroup,rategrouplist,ratepackage,recommend_getfee,reg_getfee,sip_bindexten_buddies,sip_reg_error_count,sms_cdr,sms_send_submit,speeddial,syslog,tiffiles,trunkbill,trunkbillpartcodes,ttsfiles,version,voicefiles,vouchercard,vouchercard_consumerpackage,vouchercard_ratepackage,voucherlog

    转载自 http://www.51voip.org/post/66.html

  • 相关阅读:
    Mysql经常使用函数
    ZOJ 3690 Choosing number
    cocos2d-x 多触点监听
    ansible不配ssh连接,用户密码登录
    Ansible Role
    关闭centos自动升级内核
    让外部网络访问K8S service的四种方式
    Hadoop实战:Hadoop分布式集群部署(一)
    Docker:搭建私有仓库(Registry 2.4)
    Docker下的Spring Cloud三部曲之一:极速体验
  • 原文地址:https://www.cnblogs.com/51voip/p/6939548.html
Copyright © 2011-2022 走看看