问:http://www.zyshiqi.com/
127.0.0.1: 初始用户名:**********
密码:**********,网站又打不开,给查查什么原因,切换服务器后就经常给出问题
问:昨天还好好的 是不是缺少什么软件
答:您好,测试服务器80端口通的,但是网站打开转圈超时,和您提供这个截图没关系,我司查看是mysql的问题,mysql 锁表了。
最终核实是有个表有问题需要修复,修复后重启mysql正常了请您在核实测试,此工单扣除了一次金牌服务次数,独立IP主机问题下次提交工单时请选择主机租用vps、云主机类问题提交工单,非常感谢您长期对我司的支持.由此给您带来的不便之处,敬请原谅!谢谢!
问:经常会出问题,每次都是数据库问题,怎么增加下数据库配置,别再让出问题啊
问:现在又打不开了
问:还提示这个
答:您好,开启慢查询后查看到主要类似以下mysql语句执行慢经常锁表:
帮您创建了几个索引,我司测试查询要快些了但是查询多了后依然会导致慢,请您您联系程序方检查调整下程序,优化mysql查询,非常感谢您长期对我司的支持!
问:以前没有出现这个情况啊,也就是转到新服务在这样的,现在好像又卡住了
问:数据库问题 应该是后台卡,前台怎么也卡
答:您好,可能是之前没什么访问量问题不明显,有些访问量后问题暴露出来了,前台也是会读数据库的,页面上显示的产品等都会从数据库读出来的,
SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `shiqishangmao`.`ecs_goods` AS g, `shiqishangmao`.`ecs_order_info` AS o, `shiqishangmao`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('2','24','120','20','305','315','33','302','26','21','117','34','29','123','214','119','3','38','221','295','223','181','177','225','226','254','262','40','35','228','222','312','227','244','261','4','47','64','124','53','173','318','130','234','175','180','176','275','48','131','245','259','324','193','325','172','137','55','307','247','277','49','170','171','299','42','273','289','51','127','128','125','126','5','252','286','253','276','313','231','60','158','65','293','189','61','66','62','288','332','230','233','57','6','72','69','178','70','251','140','7','258','323','187','77','80','218','298','260','300','74','257','322','81','8','94','268','266','267','191','207','201','195','192','208','256','209','200','90','291','165','87','198','95','154','155','156','161','157','91','290','278','160','279','132','129','297','272','92','265','269','169','190','89','236','240','308','237','82','241','238','287','242','239','270','217','243','84','264','9','105','215','99','106','255','281','103','164','174','100','303','97','104','317','314','152','182','196','150','319','316','197','194','183','184','101','310','167','163','311','320','168','202','250','263','203','98','139','329','330','331','10','108','109','321','212','213','107','186','210','1','294','326','115','133','16','204','13','271','116','17','188','284','220','280','14','199','216','122','246','18','143','141','274','219','142','328','159','15','12','19','102','211','205','232','206','144','147','134','138','151','301','249','235','248','146','327','185','135','224','304','282','283','296','309','153','306') OR g.goods_id IN ('492','662','698') ) AND g.goods_number > 0 AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 8;
可以让程序方看下此语句是实现的什么功能,调整优化语句或功能,非常感谢您长期对我司的支持!
问:也就这两天才这样,以前都没问题啊,服务器配置还增加了,而且现在也没人操作,还是很卡,以前也是这么多数据 都没问题
答:您好,通过查询数据来看是首页这个销量排行功能,只要访问就会执行一次, 建议您调整此功能(看下后台是否有设置项,可考虑关闭此功能后再测试) ,此问题是程序代码优化方面的问题,我司确实也无法为您处理,如果您还有疑问建议您咨询程序方协助调整优化(比如把销量最高的产品数据写到一个表中不要每次都去读多个表联合查询排序看哪个销量大),非常感谢您长期对我司的支持!
问:昨天还好好的呢 是不是服务器被攻击了
答:您好,目前来看没有攻击的,日志分析来看有一些蜘蛛的访问比如帮您设置了拦截, 同时建议您联系程序方按上面的说明排查检查优化下,否则您网站后期访问量上去后问题会更严重,非常感谢您长期对我司的支持!
西部数码(west.cn)是经工信部、ICANN、CNNIC认证审批,持有ISP、云牌照、IDC、CDN、顶级域名注册商等全业务资质的正规老牌服务商,自成立至今20余年专注于域名注册、虚拟主机、云服务器、企业邮箱、企业建站等互联网基础服务!
截止目前,已经为超过2000万个域名提供了注册、解析等服务,是中国五星级域名注册注册商!已为超过50万个网站提供了高速稳定的云托管服务,获评中国最受用户喜欢云主机服务商。
西部数码提供全方位7X24H专业售后支撑,域名注册特价1元起,高速稳定云主机45元起,更多详情请浏览西部数码官网:https://www.west.cn/