new2

______________________________________________________________________ 001 ___
Count         : 2  (0.46%)
Time          : 1352.832109 s total, 676.416054 s avg, 662.327985 s to 690.504124 s max  (32.01%)
Lock Time (s) : 269 otal, 134 vg, 122 o 147 ax  (0.00%)
Rows sent     : 0 avg, 0 to 0 max  (0.00%)
Rows examined : 3.99M avg, 3.52M to 4.46M max  (4.54%)
Database      :
Users         :
        authuserw@ 10.15.51.183 : 50.00% (1) of query, 8.45% (37) of all users
        authuserw@ 10.15.80.217 : 50.00% (1) of query, 11.42% (50) of all users

Query abstract:
SET timestamp=N; SELECT tn.service_type AS servicetype, date_format(tn.create_time,'S') AS stasticdate, tn.request_status AS requeststatus, tn.fee_flag AS feeflag, COUNT(*) AS countnum FROM t_tongdun_log AS tn WHERE tn.channel = N AND tn.create_time >= 'S' AND tn.create_time < 'S' AND tn.service_type = 'S' AND tn.request_status = N AND tn.fee_flag = N GROUP BY tn.service_type ORDER BY tn.request_status ASC, tn.fee_flag ASC;

Query sample:
SET timestamp=1503426619;
SELECT
                tn.service_type AS serviceType,
                DATE_FORMAT(tn.create_time,'%Y-%m-%d') AS stasticDate,
                tn.request_status AS requestStatus,
                tn.fee_flag AS feeFlag,
                Count(*) AS
                countNum
                FROM
                t_tongdun_log AS tn
                WHERE
                tn.channel = 2
                      and tn.create_time >= '2017-08-22'  
                      and tn.create_time < '2017-08-23'  
                        and tn.service_type = 'blacklist'
                AND tn.request_status = 1
                AND tn.fee_flag = 1
                GROUP BY
                tn.service_type
                ORDER BY tn.request_status ASC, tn.fee_flag ASC;

______________________________________________________________________ 002 ___
Count         : 6  (1.37%)
Time          : 627.281236 s total, 104.546873 s avg, 12.277617 s to 212.252222 s max  (14.84%)
Lock Time (s) : 763 otal, 127 vg, 111 o 188 ax  (0.00%)
Rows sent     : 2 avg, 1 to 3 max  (0.02%)
Rows examined : 645.72k avg, 58.28k to 1.74M max  (2.21%)
Database      :
Users         :
        authuserw@ 10.15.64.178 : 16.67% (1) of query, 9.13% (40) of all users
        authuserw@ 10.15.1.86 : 16.67% (1) of query, 9.36% (41) of all users
        authuserw@ 10.15.80.217 : 16.67% (1) of query, 11.42% (50) of all users
        authuserw@ 10.15.15.8 : 16.67% (1) of query, 10.73% (47) of all users
        authuserw@ 10.15.115.209 : 16.67% (1) of query, 7.53% (33) of all users
        authuserw@ 10.15.186.63 : 16.67% (1) of query, 11.87% (52) of all users

Query abstract:
SET timestamp=N; SELECT tn.service_type AS servicetype, date_format(tn.create_time,'S') AS stasticdate, tn.request_status AS requeststatus, tn.fee_flag AS feeflag, COUNT(*) AS countnum FROM t_zhima_log AS tn WHERE tn.channel = 'S' AND tn.update_time >= 'S' AND tn.update_time < 'S' AND tn.service_type = 'S' GROUP BY tn.service_type, tn.request_status, tn.fee_flag;

Query sample:
SET timestamp=1503425288;
SELECT
                        tn.service_type AS serviceType,
                        DATE_FORMAT(tn.create_time,'%Y-%m-%d') AS stasticDate,
                        tn.request_status AS requestStatus,
                        tn.fee_flag AS feeFlag,
                        Count(*) AS countNum
                        FROM
                        t_zhima_log AS tn
                WHERE
                tn.channel = '2'
                                and tn.update_time >=  '2017-08-22'    
                                and tn.update_time <  '2017-08-23'    
                and tn.service_type = 'authority_url'
                GROUP BY
                tn.service_type,
                tn.request_status,
                tn.fee_flag;

______________________________________________________________________ 003 ___
Count         : 182  (41.55%)
Time          : 385.071554 s total, 2.115778 s avg, 1.716432 s to 39.275036 s max  (9.11%)
  95% of Time : 315.84746 s total, 1.836322 s avg, 1.716432 s to 2.016067 s max
Lock Time (s) : 15.068 ms total, 83 vg, 42 o 804 ax  (0.06%)
  95% of Lock : 11.158 ms total, 65 vg, 42 o 198 ax
Rows sent     : 0 avg, 0 to 1 max  (0.00%)
Rows examined : 333.49k avg, 296.84k to 333.81k max  (34.57%)
Database      : auth_mobp2p
Users         :
        authuserw@ 10.15.103.248 : 11.54% (21) of query, 10.27% (45) of all users
        authuserw@ 10.15.186.63 : 11.54% (21) of query, 11.87% (52) of all users
        authuserw@ 10.15.15.8 : 10.44% (19) of query, 10.73% (47) of all users
        authuserw@ 10.15.64.178 : 10.44% (19) of query, 9.13% (40) of all users
        authuserw@ 10.15.80.217 : 10.44% (19) of query, 11.42% (50) of all users
        authuserw@ 10.15.115.209 : 9.89% (18) of query, 7.53% (33) of all users
        authuserw@ 10.15.41.69 : 9.34% (17) of query, 10.27% (45) of all users
        authuserw@ 10.15.11.181 : 9.34% (17) of query, 9.82% (43) of all users
        authuserw@ 10.15.1.86 : 9.34% (17) of query, 9.36% (41) of all users
        authuserw@ 10.15.51.183 : 7.69% (14) of query, 8.45% (37) of all users

Query abstract:
SET timestamp=N; SELECT id, result_data resultdata, create_time createtime, update_time updatetime, create_user createuser, update_user updateuser FROM t_jiguang_user_profile_lib WHERE tag = 'S' AND phone = 'S' ORDER BY update_time DESC LIMIT N;

Query sample:
SET timestamp=1503371915;
SELECT
                id,
                result_data resultData,
                create_time createTime,
                update_time updateTime,
                create_user createUser,
                update_user updateUser
        FROM
                t_jiguang_user_profile_lib
        WHERE
                tag = 'all'
                                AND phone = '13586579428'
                order by update_time desc limit 1;

posted on 2017-09-01 17:21  步行者811  阅读(82)  评论(0编辑  收藏  举报

导航