明輝手游網(wǎng)中心:是一個免費提供流行視頻軟件教程、在線學習分享的學習平臺!

astgo經(jīng)常死機變慢?試試mysql數(shù)據(jù)碎片整理吧

[摘要]使用SSH之類的工具或navicat鏈接數(shù)據(jù)庫后(注意:是鏈接數(shù)據(jù)庫后哦,不是直接SSH后就弄,這樣提示命令錯誤的) 執(zhí)行下面命令(目的是對ASTGO的數(shù)據(jù)庫內(nèi)除話單之外的所有表進行數(shù)據(jù)碎片整理,特別是用戶表和充值卡表,壓縮率非常高的)optimize table acct,acct_gatewa...
使用SSH之類的工具或navicat鏈接數(shù)據(jù)庫后(注意:是鏈接數(shù)據(jù)庫后哦,不是直接SSH后就弄,這樣提示命令錯誤的)

執(zhí)行下面命令(目的是對ASTGO的數(shù)據(jù)庫內(nèi)除話單之外的所有表進行數(shù)據(jù)碎片整理,特別是用戶表和充值卡表,壓縮率非常高的)

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

轉(zhuǎn)載自?

以上就是astgo經(jīng)常死機變慢?試試mysql數(shù)據(jù)碎片整理吧的詳細內(nèi)容,更多請關注php中文網(wǎng)其它相關文章!


學習教程快速掌握從入門到精通的SQL知識。