监控sql:
-asm
SELECT COUNT(1),NOW() from jdp_tb_trade where create_time>UNIX_TIMESTAMP('2020-10-10')*1000;
SELECT COUNT(1),NOW() from jd_trade where create_time>UNIX_TIMESTAMP('2020-10-10')*1000;
SELECT COUNT(DISTINCT receiver_mobile),NOW() from ec_sales_order where modify_time>UNIX_TIMESTAMP('2020-10-10')*1000 ;-- 大淘系订单转化(单节点)
SELECT * from ec_task where `name`<>'违规出货预警任务';
-- 大淘系订单转化(单节点)
SELECT COUNT(1),NOW() from ec_sales_order where modify_time>UNIX_TIMESTAMP('2020-10-10')*1000 ;-- 大淘系订单转化(单节点)
-- 云仓推送接口
SELECT COUNT(1),NOW() FROM ec_sales_order WHERE modify_time > UNIX_TIMESTAMP('2020-10-10') * 1000
AND ec_shipping_type = 'WLB_SHIPPING'
AND push_shipping_flag = 1;-- 云仓推送接口
--oms
SELECT
COUNT(1),
NOW()
FROM
oms_sales_order
WHERE
create_time BETWEEN UNIX_TIMESTAMP('2020-10-13 15:10:00') * 1000
AND UNIX_TIMESTAMP('2020-10-13 15:20:00') * 1000;
-- oms电商渠道推送订单中心
-- SELECT COUNT(1),NOW() from original_sales_order where modify_time> UNIX_TIMESTAMP('2020-10-10') * 1000;-- 同步原始订单到oms(单节点)
SELECT COUNT(1),NOW() from oms_sales_order where modify_time> UNIX_TIMESTAMP('2020-10-10') * 1000 and `status`<>'PROCESSING';-- 订单中心推送订单到EWM(单节点)
1 附(EC性能性能测试结果)
l 数据维度
ü 总订单量:139.5W
ü 店铺商品:59种,商品物料:11种
ü 涉及店铺:12家,包括(大淘系11家,B2C系1家)
ü 模拟用户数:139W
ü 模拟收货手机号:112.01W
接口 |
数据量 |
耗时 |
每小时处理 |
大淘系订单转化(单节点) |
10000 |
1.1min |
54.6W |
云仓自动推送 |
10000 |
5.3 |
11.2W |
电商渠道推送订单中心 |
1000 |
5.97 |
10.05W |
同步原始订单到oms(单节点) |
10000 |
1.6min |
37.2W |
订单中心推送订单到EWM(单节点) |
10000 |
5.79 |
10.35W |
CRM系统用户创建接口(单节点) |
10000 |
1.21 |
49.5W |