Files
pj_supermarket_cloud/database/result-3-v1.json
T

294 lines
17 KiB
JSON

{
"RECORDS": [
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "DBB3F758E483F87C27ECFE73C3980216",
"exec_cnt": 43,
"table_scan_cnt": 43.0,
"table_scan_pct": 100.0,
"avg_ms": 0.2029999941587448,
"avg_read_rows": 5.0,
"sample_sql": "SELECT id, name, icon, unique_code, is_rule, create_by, create_time, update_by, update_time, del_flag, tenant_id FROM wallet_type WHERE del_flag = '0' AND tenant_id = 1"
},
{
"DB_NAME": "pjcloudx_hardware",
"SQL_ID": "746EDD1C7EE905B0CA06DFAA320C7664",
"exec_cnt": 26,
"table_scan_cnt": 26.0,
"table_scan_pct": 100.0,
"avg_ms": 59.78900146484375,
"avg_read_rows": 42863.8515625,
"sample_sql": "SELECT t.id, t.order_no, t.user_id, t.user_dept_id, t.merchant_id, t.merchant_type, t.merchant_dept_id, t.hard_id, t.dept_id, t.wallet_id, t.parent_car_id, t.order_source_type_id, t.order_type, t.order_status, t.pay_type, t.hour_type, t.appt_id, t.sys_type, t.total_price, t.extra_price, t.pay_price,"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "0634F31AAF585CA78923D241EF91AB7C",
"exec_cnt": 15,
"table_scan_cnt": 15.0,
"table_scan_pct": 100.0,
"avg_ms": 0.8930000066757202,
"avg_read_rows": 238.3300018310547,
"sample_sql": "SELECT t.id, t.parent_id, t.dept_id, t.default_wallet_type_id, t.name, t.types, t.canteen_is_open, t.catgory_id, t.logo_pic, t.collection_code, t.collection_url_code, t.swiper_pic, t.phone, t.job_time, t.address_des, t.visible_mobile, t.is_sync_zy, t.sort, t.sup_type, t.discounts_price, t.cooperatio"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "54A9BC12E3BC3126B48205A4A94DA01C",
"exec_cnt": 15,
"table_scan_cnt": 15.0,
"table_scan_pct": 100.0,
"avg_ms": 0.5600000023841858,
"avg_read_rows": 94.0,
"sample_sql": "SELECT COUNT(*) AS total FROM mch_manage t WHERE t.del_flag = '0' AND (t.visible_mobile = '1' AND t.parent_id = -1 AND FIND_IN_SET('3', types)) AND t.tenant_id = 1"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "4866A59C644AC806C8C8766566CB0057",
"exec_cnt": 15,
"table_scan_cnt": 15.0,
"table_scan_pct": 100.0,
"avg_ms": 0.49399998784065249,
"avg_read_rows": 22.0,
"sample_sql": "SELECT a.id, a.parent_id, a.dept_id, a.default_wallet_type_id, a.name, a.types, a.canteen_is_open, a.catgory_id, a.logo_pic, a.collection_code, a.collection_url_code, a.swiper_pic, a.phone, a.address_des, a.job_time, a.is_sync_zy, a.visible_mobile, a.sort, a.sup_type, a.discounts_price, a.cooperatio"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "456BC8375C4B7B6E222B78BADB7922FD",
"exec_cnt": 11,
"table_scan_cnt": 11.0,
"table_scan_pct": 100.0,
"avg_ms": 0.3019999861717224,
"avg_read_rows": 5.0,
"sample_sql": "SELECT a.id, a.coupon_id, a.user_id, a.user_name, a.coupon_code, a.status, a.coupon_name, a.coupon_type, a.face_value, a.min_point, a.start_time, a.end_time, a.use_time, a.order_id, a.use_amount, a.create_by, a.create_time, a.update_by, a.update_time, a.del_flag, a.tenant_id FROM act_coupon_record a"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "E99DBD2BC95F860A5F3962DCAA8ADC45",
"exec_cnt": 10,
"table_scan_cnt": 10.0,
"table_scan_pct": 100.0,
"avg_ms": 0.3540000021457672,
"avg_read_rows": 7.0,
"sample_sql": "SELECT t.id, t.user_id, t.wallet_type_id, t.dept_id, t.card_number, t.balance, t.total_expense, t.total_recharge, t.freeze_price, t.is_freeze, t.active_bind_time, t.status, t.version, t.create_by, t.create_time, t.update_by, t.update_time, t.del_flag, t.tenant_id, t1.name AS walletTypeName, t1.uniqu"
},
{
"DB_NAME": "pjcloudx_hardware",
"SQL_ID": "52717C90AF3126884CFCBD8313F107FF",
"exec_cnt": 10,
"table_scan_cnt": 10.0,
"table_scan_pct": 100.0,
"avg_ms": 0.34299999475479128,
"avg_read_rows": 64.0,
"sample_sql": "SELECT id, hard_group_id, merchant_id, dept_id, name, type, mq_client_id, unique_code, main_topic, mq_socket_address, mq_socket_port, mq_username, mq_password, is_take_food, face_app_id, face_sdk_key, face_active_key, create_by, create_time, update_by, update_time, del_flag, tenant_id FROM hard_mana"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "70B3680CB005E4D795980EC7A9702F7F",
"exec_cnt": 10,
"table_scan_cnt": 10.0,
"table_scan_pct": 100.0,
"avg_ms": 0.2770000100135803,
"avg_read_rows": 13.0,
"sample_sql": "SELECT COUNT(*) AS total FROM mch_catgory WHERE del_flag = '0' AND tenant_id = 1"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "18F76F7803AFE2016DB17EE86B1DE45F",
"exec_cnt": 10,
"table_scan_cnt": 10.0,
"table_scan_pct": 100.0,
"avg_ms": 0.24400000274181367,
"avg_read_rows": 13.0,
"sample_sql": "SELECT id, name, biz_type, sort, remark, create_by, create_time, update_by, update_time, del_flag, tenant_id FROM mch_catgory WHERE del_flag = '0' AND tenant_id = 1 ORDER BY sort DESC, create_time DESC, id DESC LIMIT 1000"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "30426DCA72DAD943F19F2DB4C5320E5F",
"exec_cnt": 4,
"table_scan_cnt": 4.0,
"table_scan_pct": 100.0,
"avg_ms": 1.6770000457763672,
"avg_read_rows": 37.0,
"sample_sql": "SELECT a.id, a.parent_id, a.dept_id, a.default_wallet_type_id, a.name, a.types, a.canteen_is_open, a.catgory_id, a.logo_pic, a.collection_code, a.collection_url_code, a.swiper_pic, a.phone, a.address_des, a.job_time, a.is_sync_zy, a.visible_mobile, a.sort, a.sup_type, a.discounts_price, a.cooperatio"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "19940A1F06A778590A24A42D49C06923",
"exec_cnt": 4,
"table_scan_cnt": 4.0,
"table_scan_pct": 100.0,
"avg_ms": 1.184000015258789,
"avg_read_rows": 93.75,
"sample_sql": "SELECT COUNT(*) AS total FROM mch_manage t WHERE t.del_flag = '0' AND (t.visible_mobile = '1' AND t.parent_id = -1 AND t.name LIKE '%鲜果%' AND FIND_IN_SET('2', types)) AND t.tenant_id = 1"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "29153609C028E623D68990B307C24E35",
"exec_cnt": 3,
"table_scan_cnt": 3.0,
"table_scan_pct": 100.0,
"avg_ms": 0.49000000953674319,
"avg_read_rows": 25.0,
"sample_sql": "SELECT a.id, a.parent_id, a.dept_id, a.default_wallet_type_id, a.name, a.types, a.canteen_is_open, a.catgory_id, a.logo_pic, a.collection_code, a.collection_url_code, a.swiper_pic, a.phone, a.address_des, a.job_time, a.is_sync_zy, a.visible_mobile, a.sort, a.sup_type, a.discounts_price, a.cooperatio"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "5AA210099A17AD66BC52F5DFF4793ACA",
"exec_cnt": 2,
"table_scan_cnt": 2.0,
"table_scan_pct": 100.0,
"avg_ms": 2.502000093460083,
"avg_read_rows": 100.5,
"sample_sql": "SELECT t.id, t.parent_id, t.dept_id, t.default_wallet_type_id, t.name, t.types, t.canteen_is_open, t.catgory_id, t.logo_pic, t.collection_code, t.collection_url_code, t.swiper_pic, t.phone, t.job_time, t.address_des, t.visible_mobile, t.is_sync_zy, t.sort, t.sup_type, t.discounts_price, t.cooperatio"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "500EBBC4AD2D544F09B3D70E9C486278",
"exec_cnt": 2,
"table_scan_cnt": 2.0,
"table_scan_pct": 100.0,
"avg_ms": 0.5139999985694885,
"avg_read_rows": 31.0,
"sample_sql": "SELECT a.id, a.parent_id, a.dept_id, a.default_wallet_type_id, a.name, a.types, a.canteen_is_open, a.catgory_id, a.logo_pic, a.collection_code, a.collection_url_code, a.swiper_pic, a.phone, a.address_des, a.job_time, a.is_sync_zy, a.visible_mobile, a.sort, a.sup_type, a.discounts_price, a.cooperatio"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "2201B599823F872A8DF55592695A9488",
"exec_cnt": 1,
"table_scan_cnt": 1.0,
"table_scan_pct": 100.0,
"avg_ms": 799.3090209960938,
"avg_read_rows": 967093.0,
"sample_sql": "SELECT a.id, a.wallet_id, a.user_id, a.dept_id, a.biz_type, a.biz_id, a.title, a.price, a.balance, a.version, a.create_by, a.create_time, a.update_by, a.update_time, a.del_flag, a.tenant_id FROM wallet_transaction a LEFT JOIN wallet_manage m ON m.id = a.wallet_id AND m.del_flag = '0' AND m.tenant_id"
},
{
"DB_NAME": "pjcloudx_hardware",
"SQL_ID": "B69DCB5A1FD7632EFCA1D9FD2C2B6033",
"exec_cnt": 1,
"table_scan_cnt": 1.0,
"table_scan_pct": 100.0,
"avg_ms": 209.28399658203126,
"avg_read_rows": 790.0,
"sample_sql": "SELECT COUNT(*) AS total FROM (SELECT a.id, a.order_no, a.user_id, a.user_dept_id, a.merchant_id, a.merchant_type, a.merchant_dept_id, a.hard_id, a.dept_id, a.wallet_id, a.parent_car_id, a.order_source_type_id, a.order_type, a.order_status, a.pay_type, a.hour_type, a.sys_type, a.total_price, a.extra"
},
{
"DB_NAME": "pjcloudx_hardware",
"SQL_ID": "52BC5BCC7C8E5AE4C2D0AD6FFB45A7FB",
"exec_cnt": 1,
"table_scan_cnt": 1.0,
"table_scan_pct": 100.0,
"avg_ms": 40.98400115966797,
"avg_read_rows": 4192.0,
"sample_sql": "SELECT * FROM (SELECT a.hard_id, a.merchant_id, a.user_dept_id, a.merchant_dept_id, sum(a.pay_price) AS totalPayPrice, count(0) AS totalPayCount FROM hard_order a LEFT JOIN hard_manager m ON a.hard_id = m.id AND m.tenant_id = 1 WHERE a.del_flag = '0' AND a.order_status IN ('5', '20', '10') AND a.mer"
},
{
"DB_NAME": "pjcloudx_hardware",
"SQL_ID": "E35B8801C67C012BE090D08557908766",
"exec_cnt": 1,
"table_scan_cnt": 1.0,
"table_scan_pct": 100.0,
"avg_ms": 13.175000190734864,
"avg_read_rows": 1826.0,
"sample_sql": "SELECT id, parent_car_id, product_id, product_name, product_pic, product_price, product_nature, product_count, product_weight, is_discounts_product, total_price, create_by, create_time, update_by, update_time, del_flag, tenant_id FROM hard_car WHERE del_flag = '0' AND (parent_car_id = 20641975388316"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "FA1B8969A5A1CE52BBC27574599652C4",
"exec_cnt": 1,
"table_scan_cnt": 1.0,
"table_scan_pct": 100.0,
"avg_ms": 7.491000175476074,
"avg_read_rows": 874.0,
"sample_sql": "SELECT COUNT(*) AS total FROM wallet_transaction a WHERE a.del_flag = '0' AND a.tenant_id = 1"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "1ADDE42FE2D78F8AA625DD2A847E989E",
"exec_cnt": 1,
"table_scan_cnt": 1.0,
"table_scan_pct": 100.0,
"avg_ms": 5.1579999923706059,
"avg_read_rows": 40.0,
"sample_sql": "SELECT a.id, a.parent_id, a.dept_id, a.default_wallet_type_id, a.name, a.types, a.canteen_is_open, a.catgory_id, a.logo_pic, a.collection_code, a.collection_url_code, a.swiper_pic, a.phone, a.address_des, a.job_time, a.is_sync_zy, a.visible_mobile, a.sort, a.sup_type, a.discounts_price, a.cooperatio"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "5985A04701EA41E12546B3B563F231D2",
"exec_cnt": 1,
"table_scan_cnt": 1.0,
"table_scan_pct": 100.0,
"avg_ms": 4.446000099182129,
"avg_read_rows": 103.0,
"sample_sql": "SELECT t.id, t.parent_id, t.dept_id, t.default_wallet_type_id, t.name, t.types, t.canteen_is_open, t.catgory_id, t.logo_pic, t.collection_code, t.collection_url_code, t.swiper_pic, t.phone, t.job_time, t.address_des, t.visible_mobile, t.is_sync_zy, t.sort, t.sup_type, t.discounts_price, t.cooperatio"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "C725CE4D66BEF9EA77B58112C8C100D5",
"exec_cnt": 1,
"table_scan_cnt": 1.0,
"table_scan_pct": 100.0,
"avg_ms": 3.696000099182129,
"avg_read_rows": 94.0,
"sample_sql": "SELECT t.id, t.parent_id, t.dept_id, t.default_wallet_type_id, t.name, t.types, t.canteen_is_open, t.catgory_id, t.logo_pic, t.collection_code, t.collection_url_code, t.swiper_pic, t.phone, t.job_time, t.address_des, t.visible_mobile, t.is_sync_zy, t.sort, t.sup_type, t.discounts_price, t.cooperatio"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "44CF22DC2CF24605D864CC451DF8EF98",
"exec_cnt": 1,
"table_scan_cnt": 1.0,
"table_scan_pct": 100.0,
"avg_ms": 2.8559999465942385,
"avg_read_rows": 94.0,
"sample_sql": "SELECT COUNT(*) AS total FROM mch_manage t WHERE t.del_flag = '0' AND (t.visible_mobile = '1' AND t.canteen_is_open = '1' AND t.parent_id = -1 AND FIND_IN_SET('1', types)) AND t.tenant_id = 1"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "5B2CAD01C87C606F1CD1F7AD11EDFA75",
"exec_cnt": 1,
"table_scan_cnt": 1.0,
"table_scan_pct": 100.0,
"avg_ms": 2.681999921798706,
"avg_read_rows": 1.0,
"sample_sql": "SELECT id, pay_amount_meal_limit, pay_amount_meal_times, pay_amount_enable, refresh_qr_code_enable, refresh_qr_code_fre, off_line_order_apply_enable, after_sale_refund_reasons, after_sale_return_reasons, topup_dept_str, topup_user_id, zb_default_xfj_discounts, zb_special_xfj_discounts, fzb_default_x"
},
{
"DB_NAME": "pjcloudx_hardware",
"SQL_ID": "248A89F582F293AACB249474EFB5B8DB",
"exec_cnt": 1,
"table_scan_cnt": 1.0,
"table_scan_pct": 100.0,
"avg_ms": 0.8309999704360962,
"avg_read_rows": 34.0,
"sample_sql": "SELECT id, user_id, user_type, biz_type, hard_id, hard_door_id, cabinet_no, order_id, auth_id, request_open_dto, request_open_vo, request_open_time, is_open, open_callback_time, open_callback_vo, video_callback_vo, video_callback_time, sku_submit_dto, sku_submit_vo, sku_submit_recog_id, sku_submit_t"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "2A2D3A4640A31D4959FAB965FEADD481",
"exec_cnt": 1,
"table_scan_cnt": 1.0,
"table_scan_pct": 100.0,
"avg_ms": 0.5789999961853027,
"avg_read_rows": 34.0,
"sample_sql": "SELECT a.id, a.parent_id, a.dept_id, a.default_wallet_type_id, a.name, a.types, a.canteen_is_open, a.catgory_id, a.logo_pic, a.collection_code, a.collection_url_code, a.swiper_pic, a.phone, a.address_des, a.job_time, a.is_sync_zy, a.visible_mobile, a.sort, a.sup_type, a.discounts_price, a.cooperatio"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "ECE7F270F89DE683F6E1B8980F8340E5",
"exec_cnt": 1,
"table_scan_cnt": 1.0,
"table_scan_pct": 100.0,
"avg_ms": 0.38499999046325686,
"avg_read_rows": 16.0,
"sample_sql": "SELECT a.id, a.parent_id, a.dept_id, a.default_wallet_type_id, a.name, a.types, a.canteen_is_open, a.catgory_id, a.logo_pic, a.collection_code, a.collection_url_code, a.swiper_pic, a.phone, a.address_des, a.job_time, a.is_sync_zy, a.visible_mobile, a.sort, a.sup_type, a.discounts_price, a.cooperatio"
},
{
"DB_NAME": "pjcloudx_wallet",
"SQL_ID": "E82DD7931019127A383DB3D879D92234",
"exec_cnt": 1,
"table_scan_cnt": 1.0,
"table_scan_pct": 100.0,
"avg_ms": 0.2150000035762787,
"avg_read_rows": 5.0,
"sample_sql": "SELECT id, name, icon, unique_code, is_rule, create_by, create_time, update_by, update_time, del_flag, tenant_id FROM wallet_type WHERE del_flag = '0' AND (unique_code = '1') AND tenant_id = 1"
}
]
}