takoyakisoba / isucon-practice-20210723

2021/07/23 (Fri) ISUCON練習会 (isutrain)
0 stars 0 forks source link

ログまとめる君 #6

Closed mism-mism closed 3 years ago

mism-mism commented 3 years ago

I was able to reproduce this issue, lets fix it.

mism-mism commented 3 years ago
Top 20 Sort By Total
Count    Total    Mean  Stddev    Min  P50.0  P90.0  P95.0  P99.0    Max  2xx  3xx  4xx  5xx  TotalBytes   MinBytes  MeanBytes   MaxBytes  Request
  303  335.068  1.1058  0.7665  0.046  1.080  2.054  2.378  2.873  4.285  145    0  148   10       22952          0         75        174  POST /api/train/reserve HTTP/1.1
   82   81.865  0.9984  0.7133  0.070  0.794  2.085  2.326  2.912  2.912   77    0    3    2      494869          0       6034       6441  GET /api/train/seats?car_number=16&date=2020-01-01T20%3A00%3A00%2B09%3A00&from=%E5%8F%A4%E5%B2%A1&to=%E5%A4%A7%E9%98%AA&train_class=%E9%81%85%E3%81%84%E3%82%84%E3%81%A4&train_name=163 HTTP/1.1
    4    3.721  0.9303  0.2043  0.808  0.817  1.284  1.284  1.284  1.284    4    0    0    0       16388       4094       4097       4100  GET /api/train/search?adult=1&child=3&from=%E6%9D%B1%E4%BA%AC&to=%E5%A4%A7%E9%98%AA&train_class=%E6%9C%80%E9%80%9F&use_at=2020-01-01T10%3A00%3A00%2B09%3A00 HTTP/1.1
    3    3.030  1.0100  0.0008  1.009  1.010  1.011  1.011  1.011  1.011    3    0    0    0         141         47         47         47  POST /api/user/reservations/1/cancel HTTP/1.1
    3    2.992  0.9973  0.1438  0.794  1.095  1.103  1.103  1.103  1.103    3    0    0    0       12355       4115       4118       4120  GET /api/train/search?adult=3&child=3&from=%E6%9D%B1%E4%BA%AC&to=%E5%A4%A7%E9%98%AA&train_class=%E6%9C%80%E9%80%9F&use_at=2020-01-01T10%3A00%3A00%2B09%3A00 HTTP/1.1
    6    2.710  0.4517  0.1793  0.314  0.440  0.826  0.826  0.826  0.826    6    0    0    0       24588       4094       4098       4100  GET /api/train/search?adult=1&child=1&from=%E6%9D%B1%E4%BA%AC&to=%E5%A4%A7%E9%98%AA&train_class=%E6%9C%80%E9%80%9F&use_at=2020-01-01T10%3A00%3A00%2B09%3A00 HTTP/1.1
    6    2.578  0.4297  0.0170  0.404  0.440  0.447  0.447  0.447  0.447    6    0    0    0       24642       4103       4107       4109  GET /api/train/search?use_at=2019-12-31T21:00:00.000Z&from=%E6%9D%B1%E4%BA%AC&to=%E5%A4%A7%E9%98%AA&train_class=&adult=1&child=0 HTTP/1.1
    2    2.464  1.2320  0.2240  1.008  1.456  1.456  1.456  1.456  1.456    2    0    0    0          94         47         47         47  POST /api/user/reservations/41/cancel HTTP/1.1
    2    2.330  1.1650  0.0250  1.140  1.190  1.190  1.190  1.190  1.190    2    0    0    0          94         47         47         47  POST /api/user/reservations/7/cancel HTTP/1.1
    2    2.248  1.1240  0.0010  1.123  1.125  1.125  1.125  1.125  1.125    2    0    0    0          94         47         47         47  POST /api/user/reservations/21/cancel HTTP/1.1
    2    2.020  1.0100  0.0000  1.010  1.010  1.010  1.010  1.010  1.010    2    0    0    0          94         47         47         47  POST /api/user/reservations/32/cancel HTTP/1.1
    5    1.932  0.3864  0.1496  0.299  0.312  0.685  0.685  0.685  0.685    5    0    0    0        6215       1243       1243       1243  GET /api/train/search?adult=1&child=1&from=%E5%8F%A4%E5%B2%A1&to=%E5%A4%A7%E9%98%AA&train_class=%E9%81%85%E3%81%84%E3%82%84%E3%81%A4&use_at=2020-01-01T20%3A00%3A00%2B09%3A00 HTTP/1.1
    1    1.866  1.8660  0.0000  1.866  1.866  1.866  1.866  1.866  1.866    1    0    0    0          47         47         47         47  POST /api/user/reservations/56/cancel HTTP/1.1
    1    1.849  1.8490  0.0000  1.849  1.849  1.849  1.849  1.849  1.849    1    0    0    0          47         47         47         47  POST /api/user/reservations/49/cancel HTTP/1.1
   42    1.595  0.0380  0.1846  0.006  0.008  0.010  0.012  1.219  1.219   42    0    0    0         588         14         14         14  POST /api/train/reservation/commit HTTP/1.1
    1    1.580  1.5800  0.0000  1.580  1.580  1.580  1.580  1.580  1.580    1    0    0    0        4055       4055       4055       4055  GET /api/train/search?adult=1&child=1&from=%E6%9D%B1%E4%BA%AC&to=%E5%A4%A7%E9%98%AA&train_class=%E6%9C%80%E9%80%9F&use_at=2020-01-09T12%3A34%3A03%2B09%3A00 HTTP/1.1
    1    1.562  1.5620  0.0000  1.562  1.562  1.562  1.562  1.562  1.562    1    0    0    0        4109       4109       4109       4109  GET /api/train/search?adult=2&child=2&from=%E6%9D%B1%E4%BA%AC&to=%E5%A4%A7%E9%98%AA&train_class=%E6%9C%80%E9%80%9F&use_at=2020-01-02T14%3A34%3A53%2B09%3A00 HTTP/1.1
    2    1.555  0.7775  0.0165  0.761  0.794  0.794  0.794  0.794  0.794    2    0    0    0        8230       4115       4115       4115  GET /api/train/search?adult=2&child=3&from=%E6%9D%B1%E4%BA%AC&to=%E5%A4%A7%E9%98%AA&train_class=%E6%9C%80%E9%80%9F&use_at=2020-01-01T10%3A00%3A00%2B09%3A00 HTTP/1.1
    1    1.530  1.5300  0.0000  1.530  1.530  1.530  1.530  1.530  1.530    1    0    0    0        4206       4206       4206       4206  GET /api/train/search?adult=1&child=1&from=%E7%B5%B5%E5%AF%92%E7%94%BA&to=%E6%A0%B9%E5%B7%A6%E6%B5%B7%E5%B2%B8&train_class=%E9%81%85%E3%81%84%E3%82%84%E3%81%A4&use_at=2020-01-03T07%3A53%3A25%2B09%3A00 HTTP/1.1
pinkumohikan commented 3 years ago

:kiresou:

mism-mism commented 3 years ago

Top 20 Sort By Total
Count    Total    Mean  Stddev    Min  P50.0  P90.0  P95.0  P99.0    Max  2xx  3xx  4xx  5xx  TotalBytes   MinBytes  MeanBytes   MaxBytes  Request
  114  105.871  0.9287  0.6234  0.047  0.932  1.768  2.002  2.461  2.682   55    0   59    0        8477          0         74        174  POST /api/train/reserve HTTP/1.1
   28   28.436  1.0156  0.7434  0.208  0.813  2.028  2.550  2.733  2.733   28    0    0    0      179526       6381       6411       6437  GET /api/train/seats?car_number=16&date=2020-01-01T20%3A00%3A00%2B09%3A00&from=%E5%8F%A4%E5%B2%A1&to=%E5%A4%A7%E9%98%AA&train_class=%E9%81%85%E3%81%84%E3%82%84%E3%81%A4&train_name=163 HTTP/1.1
    2    1.570  0.7850  0.0030  0.782  0.788  0.788  0.788  0.788  0.788    2    0    0    0        8188       4094       4094       4094  GET /api/train/search?adult=2&child=2&from=%E6%9D%B1%E4%BA%AC&to=%E5%A4%A7%E9%98%AA&train_class=%E6%9C%80%E9%80%9F&use_at=2020-01-01T10%3A00%3A00%2B09%3A00 HTTP/1.1
    1    1.163  1.1630  0.0000  1.163  1.163  1.163  1.163  1.163  1.163    1    0    0    0          47         47         47         47  POST /api/user/reservations/40/cancel HTTP/1.1
    1    1.148  1.1480  0.0000  1.148  1.148  1.148  1.148  1.148  1.148    1    0    0    0          47         47         47         47  POST /api/user/reservations/21/cancel HTTP/1.1
    1    1.013  1.0130  0.0000  1.013  1.013  1.013  1.013  1.013  1.013    1    0    0    0          47         47         47         47  POST /api/user/reservations/8/cancel HTTP/1.1
    1    1.009  1.0090  0.0000  1.009  1.009  1.009  1.009  1.009  1.009    1    0    0    0          47         47         47         47  POST /api/user/reservations/49/cancel HTTP/1.1
    1    1.009  1.0090  0.0000  1.009  1.009  1.009  1.009  1.009  1.009    1    0    0    0          47         47         47         47  POST /api/user/reservations/31/cancel HTTP/1.1
    1    1.009  1.0090  0.0000  1.009  1.009  1.009  1.009  1.009  1.009    1    0    0    0          47         47         47         47  POST /api/user/reservations/1/cancel HTTP/1.1
    1    0.952  0.9520  0.0000  0.952  0.952  0.952  0.952  0.952  0.952    1    0    0    0        4064       4064       4064       4064  GET /api/train/search?adult=1&child=3&from=%E6%9D%B1%E4%BA%AC&to=%E5%A4%A7%E9%98%AA&train_class=%E6%9C%80%E9%80%9F&use_at=2020-01-07T10%3A57%3A04%2B09%3A00 HTTP/1.1
   17    0.944  0.0555  0.1874  0.006  0.009  0.013  0.805  0.805  0.805   17    0    0    0         238         14         14         14  POST /api/train/reservation/commit HTTP/1.1
    1    0.924  0.9240  0.0000  0.924  0.924  0.924  0.924  0.924  0.924    1    0    0    0        4115       4115       4115       4115  GET /api/train/search?adult=2&child=1&from=%E7%B5%90%E5%BA%83&to=%E9%9B%A8%E5%A2%A8&train_class=&use_at=2020-01-02T14%3A36%3A34%2B09%3A00 HTTP/1.1
    1    0.902  0.9020  0.0000  0.902  0.902  0.902  0.902  0.902  0.902    1    0    0    0        4190       4190       4190       4190  GET /api/train/search?adult=3&child=3&from=%E6%B2%99%E8%8A%A6%E5%85%AC%E5%9C%92&to=%E5%90%8D%E5%8F%A4%E5%B1%8B&train_class=&use_at=2020-01-07T11%3A30%3A49%2B09%3A00 HTTP/1.1
    1    0.901  0.9010  0.0000  0.901  0.901  0.901  0.901  0.901  0.901    1    0    0    0        4228       4228       4228       4228  GET /api/train/search?adult=2&child=2&from=%E4%BE%9D%E9%85%92%E5%B1%B1&to=%E5%BA%B5%E9%87%91%E5%85%AC%E5%9C%92&train_class=&use_at=2020-01-04T14%3A39%3A30%2B09%3A00 HTTP/1.1
    1    0.898  0.8980  0.0000  0.898  0.898  0.898  0.898  0.898  0.898    1    0    0    0        4109       4109       4109       4109  GET /api/train/search?adult=1&child=1&from=%E6%B2%B9%E4%BA%A4&to=%E7%94%98%E6%A1%9C&train_class=%E9%81%85%E3%81%84%E3%82%84%E3%81%A4&use_at=2020-01-09T14%3A46%3A00%2B09%3A00 HTTP/1.1
    1    0.897  0.8970  0.0000  0.897  0.897  0.897  0.897  0.897  0.897    1    0    0    0        4174       4174       4174       4174  GET /api/train/search?adult=2&child=1&from=%E7%B5%B5%E5%AF%92%E7%94%BA&to=%E7%94%98%E6%A1%9C&train_class=%E9%81%85%E3%81%84%E3%82%84%E3%81%A4&use_at=2020-01-05T07%3A41%3A40%2B09%3A00 HTTP/1.1
    1    0.878  0.8780  0.0000  0.878  0.878  0.878  0.878  0.878  0.878    1    0    0    0        4073       4073       4073       4073  GET /api/train/search?adult=1&child=1&from=%E5%A5%A5%E5%B1%B1&to=%E9%B3%B4%E9%96%80&train_class=%E9%81%85%E3%81%84%E3%82%84%E3%81%A4&use_at=2020-01-07T13%3A14%3A03%2B09%3A00 HTTP/1.1
    1    0.832  0.8320  0.0000  0.832  0.832  0.832  0.832  0.832  0.832    1    0    0    0        4207       4207       4207       4207  GET /api/train/search?adult=2&child=1&from=%E5%A4%A7%E9%98%AA&to=%E6%9D%8F%E9%AB%98%E5%85%AC%E5%9C%92&train_class=&use_at=2020-01-01T06%3A49%3A12%2B09%3A00 HTTP/1.1
    1    0.825  0.8250  0.0000  0.825  0.825  0.825  0.825  0.825  0.825    1    0    0    0        4109       4109       4109       4109  GET /api/train/search?adult=2&child=3&from=%E9%B3%B4%E9%96%80&to=%E5%A8%81%E9%A6%99&train_class=%E9%81%85%E3%81%84%E3%82%84%E3%81%A4&use_at=2020-01-08T14%3A11%3A43%2B09%3A00 HTTP/1.1
mism-mism commented 3 years ago


# 6.6s user time, 30ms system time, 29.23M rss, 34.43M vsz
# Current date: Fri Jul 23 06:27:50 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_052838/mysql-slow.log
# Overall: 95.46k total, 52 unique, 582.07 QPS, 1.08x concurrency ________
# Time range: 2021-07-23T05:21:00 to 2021-07-23T05:23:44
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time           177s     1us      2s     2ms     2ms    26ms   152us
# Lock time            36s       0      2s   382us    54us    19ms       0
# Rows sent        201.04k       0     715    2.16    0.99   23.64       0
# Rows examine      36.65M       0  68.62k  402.54   51.63   4.21k       0
# Query size         4.53M       6   1.67k   49.80  136.99   62.21   31.70

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0x695B410101D468B6 73.2232 41.3%   362 0.2023  0.21 SELECT train_master
#    2 0x40CC47AD720C5B7A 18.7916 10.6%    67 0.2805  0.94 SELECT reservations
#    3 0xC549C0276DD4E8B1  9.9514  5.6%   692 0.0144  0.00 SELECT seat_reservations reservations seat_master station_master
#    4 0xCAAEA492DF36ED47  9.7359  5.5%   928 0.0105  0.00 SELECT seat_master
#    5 0x99AA0165670CE848  9.1724  5.2% 31439 0.0003  0.02 ADMIN PREPARE
#    6 0xBD4499315C50D999  9.1434  5.2%    58 0.1576  0.74 INSERT reservations
#    7 0x42E225DE698CE579  7.7817  4.4% 14306 0.0005  0.00 SELECT station_master
#    8 0x5051645A82753AFA  6.6329  3.7%   697 0.0095  0.00 SELECT seat_master
#    9 0xA8E53F81FC7DE072  3.5876  2.0%  6650 0.0005  0.00 SELECT reservations
#   10 0x762B69AA11BF45BB  3.4413  1.9%  2814 0.0012  0.00 SELECT seat_reservations reservations
#   11 0x209E620A61356A01  3.4335  1.9%    84 0.0409  0.77 INSERT seat_reservations
#   12 0x6778AAD5735E0CB9  3.2944  1.9%   236 0.0140  0.00 SELECT seat_reservations reservations seat_master station_master
#   13 0xF45677EF82580C7F  2.9805  1.7%   123 0.0242  0.02 SELECT seat_master
#   14 0xCD4B4A88A17EB986  2.7955  1.6%    16 0.1747  0.01 SELECT train_master
#   15 0xE572B4307D2C512C  2.5985  1.5%   477 0.0054  0.43 SELECT seat_reservations reservations
#   16 0x7C381354436220FE  1.6446  0.9%     8 0.2056  0.02 SELECT train_master
#   17 0x80F474372DC4048C  1.2156  0.7%     4 0.3039  0.32 DELETE seat_reservations
# MISC 0xMISC              7.8002  4.4% 36498 0.0002   0.0 <35 ITEMS>

# Query 1: 5.75 QPS, 1.16x concurrency, ID 0x695B410101D468B6 at byte 8848380
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.21
# Time range: 2021-07-23T05:21:00 to 2021-07-23T05:22:03
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     362
# Exec time     41     73s    45ms   926ms   202ms   816ms   205ms   148ms
# Lock time      0    15ms    20us     4ms    40us    54us   181us    22us
# Rows sent      0     362       1       1       1       1       0       1
# Rows examine  66  24.26M  68.62k  68.62k  68.62k  68.62k       0  68.62k
# Query size     0  35.75k      94     102  101.11   97.36    1.35   97.36
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms
#  10ms  ############################################
# 100ms  ################################################################
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM train_master WHERE date='2020/01/01' AND train_class='遅いやつ' AND train_name='67'\G

# Query 2: 1.08 QPS, 0.30x concurrency, ID 0x40CC47AD720C5B7A at byte 3794696
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.94
# Time range: 2021-07-23T05:21:01 to 2021-07-23T05:22:03
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0      67
# Exec time     10     19s   172us      2s   280ms      1s   514ms   366us
# Lock time     51     19s    24us      2s   280ms      1s   514ms    54us
# Rows sent      0     236       0      20    3.52   15.25    5.43    0.99
# Rows examine   0     236       0      20    3.52   15.25    5.43    0.99
# Query size     0   7.31k     105     113  111.73  112.70    3.21  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #####
#  10ms
# 100ms  #########
#    1s  #############
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/01/03' AND train_class='遅いやつ' AND train_name='97' FOR UPDATE\G

# Query 3: 11.16 QPS, 0.16x concurrency, ID 0xC549C0276DD4E8B1 at byte 20618987
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T05:21:00 to 2021-07-23T05:22:02
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     692
# Exec time      5     10s   236us    44ms    14ms    24ms     7ms    15ms
# Lock time      0    55ms    34us     5ms    79us   125us   215us    40us
# Rows sent      6  12.68k       0      56   18.76   54.21   17.67   11.95
# Rows examine   6   2.39M       0   4.10k   3.54k   4.07k   1.25k   3.88k
# Query size     7 335.45k     495     498  496.39  487.09    0.00  487.09
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ########
#   1ms  #######
#  10ms  ################################################################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations sr, reservations r, seat_master s, station_master std, station_master sta
    WHERE
        r.reservation_id=sr.reservation_id AND
        s.train_class=r.train_class AND
        s.car_number=sr.car_number AND
        s.seat_column=sr.seat_column AND
        s.seat_row=sr.seat_row AND
        std.name=r.departure AND
        sta.name=r.arrival
    AND ((std.id <= 39 AND 39 < sta.id) OR (std.id <= 59 AND 59 < sta.id) OR (sta.id < 39 AND 59 < std.id))\G

# Query 4: 14.97 QPS, 0.16x concurrency, ID 0xCAAEA492DF36ED47 at byte 20682903
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T05:21:00 to 2021-07-23T05:22:02
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     928
# Exec time      5     10s     2ms    35ms    10ms    21ms     6ms    10ms
# Lock time      0    45ms    20us     6ms    48us    57us   212us    23us
# Rows sent     64 128.89k       0     715  142.23  685.39  192.88   62.76
# Rows examine   9   3.49M   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     2  93.52k      99     106  103.20  102.22    2.37  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  #####################################################
#  10ms  ################################################################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND seat_class='reserved' AND is_smoking_seat=0\G

# Query 5: 499.03 QPS, 0.15x concurrency, ID 0x99AA0165670CE848 at byte 3081423
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.02
# Time range: 2021-07-23T05:21:00 to 2021-07-23T05:22:03
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         32   31439
# Exec time      5      9s    54us   252ms   291us   541us     3ms   152us
# Lock time      0     4ms       0     1ms       0       0    12us       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size    19 921.06k      30      30      30      30       0      30
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  ##
# 100us  ################################################################
#   1ms  ##
#  10ms  #
# 100ms  #
#    1s
#  10s+
administrator command: Prepare\G

# Query 6: 0.94 QPS, 0.15x concurrency, ID 0xBD4499315C50D999 at byte 8949557
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.74
# Time range: 2021-07-23T05:21:01 to 2021-07-23T05:22:03
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0      58
# Exec time      5      9s   158us      1s   158ms   900ms   341ms   273us
# Lock time     24      9s    26us      1s   157ms   900ms   337ms    31us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0  14.29k     244     261  252.38  246.02    4.34  246.02
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #######
#  10ms
# 100ms  ###########
#    1s  ##
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
INSERT INTO `reservations` (`user_id`, `date`, `train_class`, `train_name`, `departure`, `arrival`, `status`, `payment_id`, `adult`, `child`, `amount`) VALUES (20, '2020/01/01', '遅いやつ', '67', '気川', '根左海岸', 'requesting', 'a', 1, 1, 86400)\G

# Query 7: 227.08 QPS, 0.12x concurrency, ID 0x42E225DE698CE579 at byte 8815828
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T05:21:00 to 2021-07-23T05:22:03
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         14   14306
# Exec time      4      8s    83us    16ms   543us     1ms   853us   260us
# Lock time      1   449ms    17us     5ms    31us    49us   135us    20us
# Rows sent      6  13.97k       1       1       1       1       0       1
# Rows examine   0  13.97k       1       1       1       1       0       1
# Query size    14 670.90k      48      54   48.02   46.83    0.24   46.83
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #####
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE name='根左海岸'\G

# Query 8: 11.06 QPS, 0.11x concurrency, ID 0x5051645A82753AFA at byte 15535476
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T05:21:00 to 2021-07-23T05:22:03
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     697
# Exec time      3      7s     2ms    55ms    10ms    16ms     4ms     9ms
# Lock time      0    29ms    20us     3ms    41us    52us   156us    22us
# Rows sent      0     656       0       1    0.94    0.99    0.23    0.99
# Rows examine   7   2.62M   3.85k   3.85k   3.85k   3.69k       0   3.69k
# Query size     1  77.02k     108     115  113.15  112.70    2.22  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ###################################################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=16 ORDER BY seat_row, seat_column LIMIT 1\G

# Query 9: 107.26 QPS, 0.06x concurrency, ID 0xA8E53F81FC7DE072 at byte 18160698
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T05:21:01 to 2021-07-23T05:22:03
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          6    6650
# Exec time      2      4s    87us    15ms   539us     1ms   799us   273us
# Lock time      0   246ms    19us    15ms    37us    49us   258us    21us
# Rows sent      3   6.49k       1       1       1       1       0       1
# Rows examine   0   6.49k       1       1       1       1       0       1
# Query size     6 322.47k      49      50   49.66   49.17    0.50   49.17
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #####
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=6\G

# Query 10: 44.67 QPS, 0.05x concurrency, ID 0x762B69AA11BF45BB at byte 3349403
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T05:21:00 to 2021-07-23T05:22:03
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    2814
# Exec time      1      3s   177us    17ms     1ms     3ms     1ms   972us
# Lock time      1   450ms    70us     8ms   159us   224us   378us   113us
# Rows sent      3   6.48k       0      21    2.36   17.65    5.55       0
# Rows examine   0  66.79k       0      87   24.30   69.19   24.98   17.65
# Query size    10 508.87k     179     188  185.18  183.58    3.81  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ###############################################################
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*
FROM seat_reservations s, reservations r
WHERE
    r.date='2020/01/01' AND r.train_class='遅いやつ' AND r.train_name='163' AND car_number=16 AND seat_row=8 AND seat_column='D'\G

# Query 11: 1.35 QPS, 0.06x concurrency, ID 0x209E620A61356A01 at byte 20019925
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.77
# Time range: 2021-07-23T05:21:01 to 2021-07-23T05:22:03
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0      84
# Exec time      1      3s   116us      1s    41ms    14ms   177ms   224us
# Lock time      9      3s    43us      1s    40ms   972us   177ms    76us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0   9.38k     113     115  114.40  112.70       0  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ######
#  10ms  ####
# 100ms  ##
#    1s  #
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
INSERT INTO `seat_reservations` (`reservation_id`, `car_number`, `seat_row`, `seat_column`) VALUES (54, 9, 1, 'A')\G

# Query 12: 4.63 QPS, 0.06x concurrency, ID 0x6778AAD5735E0CB9 at byte 12184544
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T05:21:03 to 2021-07-23T05:21:54
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     236
# Exec time      1      3s     5ms    28ms    14ms    22ms     5ms    14ms
# Lock time      0    18ms    36us   798us    75us   273us    97us    40us
# Rows sent      3   6.12k       2      46   26.58   44.60   16.88   36.69
# Rows examine   2 938.02k   3.85k   4.08k   3.97k   4.07k  113.50   3.88k
# Query size     2 114.66k     495     498  497.49  487.09       0  487.09
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ###########
#  10ms  ################################################################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations sr, reservations r, seat_master s, station_master std, station_master sta
    WHERE
        r.reservation_id=sr.reservation_id AND
        s.train_class=r.train_class AND
        s.car_number=sr.car_number AND
        s.seat_column=sr.seat_column AND
        s.seat_row=sr.seat_row AND
        std.name=r.departure AND
        sta.name=r.arrival
    AND ((sta.id < 74 AND 74 <= std.id) OR (sta.id < 32 AND 32 <= std.id) OR (74 < sta.id AND std.id < 32))\G

# Query 13: 2.12 QPS, 0.05x concurrency, ID 0xF45677EF82580C7F at byte 8877695
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.02
# Time range: 2021-07-23T05:21:01 to 2021-07-23T05:21:59
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     123
# Exec time      1      3s     2ms    76ms    24ms    61ms    21ms    14ms
# Lock time      0    11ms    22us     5ms    93us    60us   477us    26us
# Rows sent      0     120       0       1    0.98    0.99    0.15    0.99
# Rows examine   1 473.50k   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     0  16.28k     129     137  135.56  136.99    3.54  130.47
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ###################################
#  10ms  ################################################################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='B' AND seat_row=1 AND seat_class='premium'\G

# Query 14: 0.26 QPS, 0.05x concurrency, ID 0xCD4B4A88A17EB986 at byte 2712108
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T05:21:00 to 2021-07-23T05:22:01
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0      16
# Exec time      1      3s    51ms   259ms   175ms   208ms    43ms   171ms
# Lock time      0   511us    24us    57us    31us    54us    10us    26us
# Rows sent      0     678      30      48   42.38   44.60    3.84   42.48
# Rows examine   2   1.07M  68.62k  68.62k  68.62k  68.62k       0  68.62k
# Query size     0   2.20k     133     147  140.62  143.84    6.46  143.84
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms
#  10ms  ####
# 100ms  ################################################################
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM train_master WHERE date='2020/01/03' AND train_class IN ('遅いやつ') AND is_nobori=0 AND train_class='遅いやつ'\G

# Query 15: 7.82 QPS, 0.04x concurrency, ID 0xE572B4307D2C512C at byte 7706778
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.43
# Time range: 2021-07-23T05:21:02 to 2021-07-23T05:22:03
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     477
# Exec time      1      3s   283us   807ms     5ms     3ms    49ms   925us
# Lock time      5      2s    83us   807ms     4ms   185us    48ms    98us
# Rows sent      0      58       0       9    0.12       0    0.73       0
# Rows examine   0  16.07k       0      65   34.49   62.76   23.54   40.45
# Query size     1  89.13k     188     196  191.34  192.76       4  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###############################################
#  10ms  #
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.* FROM seat_reservations s, reservations r WHERE r.date='2020/01/03' AND r.train_class='遅いやつ' AND r.train_name='49' AND car_number=8 AND seat_row=1 AND seat_column='A' FOR UPDATE\G

# Query 16: 0.15 QPS, 0.03x concurrency, ID 0x7C381354436220FE at byte 5502553
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.02
# Time range: 2021-07-23T05:21:03 to 2021-07-23T05:21:56
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0       8
# Exec time      0      2s   123ms   319ms   206ms   308ms    57ms   219ms
# Lock time      0   229us    24us    52us    28us    49us     8us    25us
# Rows sent      0     306      27      45   38.25   44.60    6.04   41.47
# Rows examine   1 549.00k  68.62k  68.62k  68.62k  68.62k       0  68.62k
# Query size     0     846     102     112  105.75  107.34    4.83   97.36
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms
#  10ms
# 100ms  ################################################################
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM train_master WHERE date='2020/01/04' AND train_class IN ('遅いやつ') AND is_nobori=1\G

# Query 17: 0.07 QPS, 0.02x concurrency, ID 0x80F474372DC4048C at byte 22262119
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.32
# Time range: 2021-07-23T05:21:02 to 2021-07-23T05:22:01
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0       4
# Exec time      0      1s   113us   854ms   304ms   816ms   311ms   498ms
# Lock time      3      1s    24us   854ms   304ms   816ms   311ms   498ms
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0     136       2      66      34   65.89   26.01   58.76
# Query size     0     210      52      53   52.50   51.63       0   51.63
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  #####################
#   1ms
#  10ms
# 100ms  ################################################################
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
DELETE FROM seat_reservations WHERE reservation_id=56\G
# Converted for EXPLAIN
# EXPLAIN /*!50100 PARTITIONS*/
select * from  seat_reservations WHERE reservation_id=56\G
cureseven commented 3 years ago

すご便利

mism-mism commented 3 years ago

Top 20 Sort By Total
Count   Total    Mean  Stddev    Min  P50.0  P90.0  P95.0  P99.0    Max  2xx  3xx  4xx  5xx  TotalBytes   MinBytes  MeanBytes   MaxBytes  Request
   79  48.562  0.6147  0.9298  0.081  0.186  2.129  3.012  4.770  4.770   78    0    0    1      527873        494       6681       9444  GET /api/train/seats
   59  36.589  0.6202  0.2686  0.001  0.577  1.096  1.230  1.392  1.392   57    0    2    0      226837          0       3844       4277  GET /api/train/search
  179  16.827  0.0940  0.0694  0.002  0.093  0.176  0.186  0.377  0.464   79    0  100    0       13825         48         77        174  POST /api/train/reserve HTTP/1.1
   19  10.179  0.5357  0.5064  0.001  1.008  1.035  1.039  1.039  1.039   10    0    9    0         902         47         47         48  POST /api/user/reservations/<num>/cancel HTTP/1.1
  145   1.619  0.0112  0.0096  0.001  0.008  0.023  0.028  0.047  0.082  135    0   10    0       45700         51        315        345  GET /api/user/reservations/<num> HTTP/1.1
   85   0.775  0.0091  0.0056  0.005  0.007  0.012  0.021  0.039  0.039   85    0    0    0        4420         52         52         52  POST /api/auth/signup HTTP/1.1
   66   0.670  0.0102  0.0067  0.001  0.009  0.018  0.025  0.035  0.035   66    0    0    0       18883          3        286        347  GET /api/user/reservations HTTP/1.1
   28   0.439  0.0157  0.0265  0.006  0.008  0.020  0.036  0.150  0.150   28    0    0    0         392         14         14         14  POST /api/train/reservation/commit HTTP/1.1
    1   0.192  0.1920  0.0000  0.192  0.192  0.192  0.192  0.192  0.192    0    0    1    0           0          0          0          0  
   86   0.167  0.0019  0.0010  0.001  0.002  0.003  0.004  0.007  0.007   85    0    1    0        3706         43         43         51  POST /api/auth/login HTTP/1.1
    1   0.112  0.1120  0.0000  0.112  0.112  0.112  0.112  0.112  0.112    1    0    0    0          42         42         42         42  POST /initialize HTTP/1.1
   47   0.067  0.0014  0.0007  0.001  0.001  0.002  0.003  0.004  0.004   47    0    0    0      391258       8317       8324       8330  GET /api/stations HTTP/1.1
   28   0.017  0.0006  0.0007  0.000  0.001  0.001  0.001  0.003  0.003   28    0    0    0        1148         41         41         41  POST /api/auth/logout HTTP/1.1
    1   0.003  0.0030  0.0000  0.003  0.003  0.003  0.003  0.003  0.003    1    0    0    0      438711     438711     438711     438711  GET /js/chunk-vendors.2b84179f.js HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    0    0    1    0         157        157        157        157  POST /boaform/admin/formLogin HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0        4286       4286       4286       4286  GET /favicon.ico HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0         724        724        724        724  GET /index.html HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       55412      55412      55412      55412  GET /js/app.44fa4ee9.js HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       13950      13950      13950      13950  GET /css/app.6535e252.css HTTP/1.1
mism-mism commented 3 years ago


# 7.5s user time, 10ms system time, 29.40M rss, 34.56M vsz
# Current date: Fri Jul 23 06:35:01 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_063442/mysql-slow.log
# Overall: 100.41k total, 46 unique, 836.76 QPS, 1.06x concurrency _______
# Time range: 2021-07-23T06:32:01 to 2021-07-23T06:34:01
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time           127s     8us   171ms     1ms     6ms     4ms   236us
# Lock time            12s       0   143ms   116us   167us     1ms    54us
# Rows sent        549.72k       0     715    5.61    9.83   34.80    0.99
# Rows examine      25.50M       0   4.38k  266.27   3.69k  955.95    0.99
# Query size         7.18M       6   1.45k   75.03  183.58   82.99   46.83

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0x42E225DE698CE579 33.6187 26.5% 50648 0.0007  0.00 SELECT station_master
#    2 0xCAAEA492DF36ED47 16.3065 12.9%  2236 0.0073  0.01 SELECT seat_master
#    3 0xA8E53F81FC7DE072 15.9990 12.6% 23231 0.0007  0.00 SELECT reservations
#    4 0xC549C0276DD4E8B1 13.1041 10.3%  1516 0.0086  0.01 SELECT seat_reservations reservations seat_master station_master
#    5 0x5051645A82753AFA  9.9367  7.8%  1326 0.0075  0.01 SELECT seat_master
#    6 0x6778AAD5735E0CB9  7.7506  6.1%   720 0.0108  0.01 SELECT seat_reservations reservations seat_master station_master
#    7 0xF45677EF82580C7F  6.3257  5.0%   291 0.0217  0.03 SELECT seat_master
#    8 0x762B69AA11BF45BB  5.8568  4.6%  5399 0.0011  0.00 SELECT seat_reservations reservations
#    9 0x83CD2B0841C8BCE7  2.9313  2.3%  3512 0.0008  0.00 SELECT station_master
#   10 0xBF517FA8ECBD94B6  1.9490  1.5%  1756 0.0011  0.00 SELECT fare_master
#   11 0x40CC47AD720C5B7A  1.8795  1.5%   160 0.0117  0.03 SELECT reservations
#   12 0x3505CEACD14FFD6D  1.7027  1.3%  1756 0.0010  0.00 SELECT distance_fare_master
#   13 0x48AC4127D5F26679  1.2957  1.0%   191 0.0068  0.01 SELECT seat_master
#   14 0x813031B8BBC3B329  1.1808  0.9%   117 0.0101  0.03 COMMIT
#   15 0xE572B4307D2C512C  1.0043  0.8%  1224 0.0008  0.00 SELECT seat_reservations reservations
# MISC 0xMISC              5.8729  4.6%  6328 0.0009   0.0 <31 ITEMS>

# Query 1: 830.30 QPS, 0.55x concurrency, ID 0x42E225DE698CE579 at byte 12389051
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:32:01 to 2021-07-23T06:33:02
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         50   50648
# Exec time     26     34s    96us    42ms   663us     3ms     1ms   167us
# Lock time     34      4s    34us    12ms    80us    93us   225us    52us
# Rows sent      8  49.46k       1       1       1       1       0       1
# Rows examine   0  49.46k       1       1       1       1       0       1
# Query size    32   2.32M      48      54   48.09   46.83    0.52   46.83
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  ###########
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE name='大阪'\G

# Query 2: 36.06 QPS, 0.26x concurrency, ID 0xCAAEA492DF36ED47 at byte 14445916
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T06:32:01 to 2021-07-23T06:33:03
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    2236
# Exec time     12     16s     2ms   144ms     7ms    18ms    10ms     4ms
# Lock time      2   238ms    42us     6ms   106us   260us   202us    69us
# Rows sent     53 292.32k       0     715  133.87  685.39  186.04   62.76
# Rows examine  32   8.41M   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     3 225.96k      99     106  103.48  102.22    2.30  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ###############
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND seat_class='premium' AND is_smoking_seat=0\G

# Query 3: 387.18 QPS, 0.27x concurrency, ID 0xA8E53F81FC7DE072 at byte 12649925
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:32:01 to 2021-07-23T06:33:01
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         23   23231
# Exec time     12     16s    96us    61ms   688us     3ms     1ms   167us
# Lock time     16      2s    35us    11ms    82us    98us   223us    52us
# Rows sent      4  22.69k       0       1    1.00    0.99    0.01    0.99
# Rows examine   0  22.69k       0       1    1.00    0.99    0.01    0.99
# Query size    15   1.10M      49      50   49.73   49.17    0.50   49.17
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  ###########
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=25\G

# Query 4: 24.45 QPS, 0.21x concurrency, ID 0xC549C0276DD4E8B1 at byte 9936192
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T06:32:01 to 2021-07-23T06:33:03
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1516
# Exec time     10     13s   283us   171ms     9ms    23ms    10ms     6ms
# Lock time      2   333ms    89us     5ms   219us   490us   260us   152us
# Rows sent      9  50.11k       0      99   33.85   88.31   31.26   15.25
# Rows examine  22   5.85M       0   4.38k   3.95k   4.27k  946.90   4.07k
# Query size     9 734.94k     495     498  496.42  487.09       0  487.09
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ####
#   1ms  ################################################################
#  10ms  ######################
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations sr, reservations r, seat_master s, station_master std, station_master sta
    WHERE
        r.reservation_id=sr.reservation_id AND
        s.train_class=r.train_class AND
        s.car_number=sr.car_number AND
        s.seat_column=sr.seat_column AND
        s.seat_row=sr.seat_row AND
        std.name=r.departure AND
        sta.name=r.arrival
    AND ((std.id <= 60 AND 60 < sta.id) OR (std.id <= 69 AND 69 < sta.id) OR (sta.id < 60 AND 69 < std.id))\G

# Query 5: 21.74 QPS, 0.16x concurrency, ID 0x5051645A82753AFA at byte 12759190
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T06:32:01 to 2021-07-23T06:33:02
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1326
# Exec time      7     10s     2ms   170ms     7ms    26ms    11ms     4ms
# Lock time      1   130ms    46us     5ms    98us   236us   181us    66us
# Rows sent      0   1.22k       0       1    0.94    0.99    0.23    0.99
# Rows examine  19   4.99M   3.85k   3.85k   3.85k   3.69k       0   3.69k
# Query size     1 146.44k     108     115  113.09  112.70    2.26  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ############
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=12 ORDER BY seat_row, seat_column LIMIT 1\G

# Query 6: 12.63 QPS, 0.14x concurrency, ID 0x6778AAD5735E0CB9 at byte 12172905
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T06:32:05 to 2021-07-23T06:33:02
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     720
# Exec time      6      8s   752us   126ms    11ms    33ms    12ms     7ms
# Lock time      1   161ms    92us     7ms   223us   424us   366us   167us
# Rows sent      9  50.10k       0      99   71.25   97.36   25.82   76.28
# Rows examine  11   2.83M     506   4.38k   4.03k   4.27k  867.68   4.07k
# Query size     4 349.45k     492     498     497  487.09       0  487.09
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ##
#   1ms  ################################################################
#  10ms  ####################################
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations sr, reservations r, seat_master s, station_master std, station_master sta
    WHERE
        r.reservation_id=sr.reservation_id AND
        s.train_class=r.train_class AND
        s.car_number=sr.car_number AND
        s.seat_column=sr.seat_column AND
        s.seat_row=sr.seat_row AND
        std.name=r.departure AND
        sta.name=r.arrival
    AND ((sta.id < 54 AND 54 <= std.id) OR (sta.id < 37 AND 37 <= std.id) OR (54 < sta.id AND std.id < 37))\G

# Query 7: 4.77 QPS, 0.10x concurrency, ID 0xF45677EF82580C7F at byte 2923972
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.03
# Time range: 2021-07-23T06:32:01 to 2021-07-23T06:33:02
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     291
# Exec time      4      6s     2ms   152ms    22ms    56ms    24ms    15ms
# Lock time      8   975ms    50us   143ms     3ms     1ms    17ms    69us
# Rows sent      0     283       0       1    0.97    0.99    0.16    0.99
# Rows examine   4   1.09M   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     0  38.50k     129     138  135.49  136.99    3.08  130.47
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ##############################################
#  10ms  ################################################################
# 100ms  ###
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1 AND seat_class='premium'\G

# Query 8: 88.51 QPS, 0.10x concurrency, ID 0x762B69AA11BF45BB at byte 12650758
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:32:01 to 2021-07-23T06:33:02
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          5    5399
# Exec time      4      6s   188us    54ms     1ms     4ms     2ms   384us
# Lock time      5   624ms    59us     6ms   115us   214us   179us    84us
# Rows sent      4  22.68k       0      62    4.30   27.38    9.18       0
# Rows examine   1 324.35k       0     203   61.52  143.84   44.23   46.83
# Query size    13 974.90k     179     188  184.90  183.58    3.87  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*
FROM seat_reservations s, reservations r
WHERE
    r.date='2020/01/05' AND r.train_class='遅いやつ' AND r.train_name='52' AND car_number=8 AND seat_row=15 AND seat_column='D'\G

# Query 9: 56.65 QPS, 0.05x concurrency, ID 0x83CD2B0841C8BCE7 at byte 8645265
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:32:01 to 2021-07-23T06:33:03
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          3    3512
# Exec time      2      3s    98us    25ms   834us     4ms     2ms   176us
# Lock time      2   287ms    35us     3ms    81us   185us   134us    54us
# Rows sent      0   3.43k       1       1       1       1       0       1
# Rows examine   0   3.43k       1       1       1       1       0       1
# Query size     1 136.38k      39      40   39.76   38.53       0   38.53
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  ############
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE id=39\G

# Query 10: 28.32 QPS, 0.03x concurrency, ID 0xBF517FA8ECBD94B6 at byte 13232512
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:32:01 to 2021-07-23T06:33:03
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1756
# Exec time      1      2s   186us    24ms     1ms     5ms     2ms   403us
# Lock time      1   171ms    46us     2ms    97us   224us   105us    66us
# Rows sent      2  15.43k       9       9       9       9       0       9
# Rows examine   0 154.34k      90      90      90      90       0      90
# Query size     2 176.58k      97     108  102.97  107.34    4.44  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ####################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM fare_master WHERE train_class='遅いやつ' AND seat_class='non-reserved' ORDER BY start_date\G

# Query 11: 2.62 QPS, 0.03x concurrency, ID 0x40CC47AD720C5B7A at byte 26044366
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.03
# Time range: 2021-07-23T06:32:01 to 2021-07-23T06:33:02
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     160
# Exec time      1      2s   158us    64ms    12ms    51ms    18ms   554us
# Lock time     15      2s    54us    64ms    11ms    51ms    17ms   108us
# Rows sent      0     655       0      32    4.09   23.65    7.35    0.99
# Rows examine   0   6.41k       0      69   41.02   65.89   18.77   42.48
# Query size     0  17.47k     105     113  111.79  112.70    2.96  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ##########
#  10ms  ####################################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/01/09' AND train_class='遅いやつ' AND train_name='75' FOR UPDATE\G

# Query 12: 28.32 QPS, 0.03x concurrency, ID 0x3505CEACD14FFD6D at byte 24665235
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:32:01 to 2021-07-23T06:33:03
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1756
# Exec time      1      2s   104us    25ms   969us     5ms     2ms   194us
# Lock time      1   119ms    36us     2ms    67us   138us    74us    49us
# Rows sent      3  17.15k      10      10      10      10       0      10
# Rows examine   0  34.30k      20      20      20      20       0      20
# Query size     1 109.75k      64      64      64      64       0      64
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ####################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'distance_fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`distance_fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT distance,fare FROM distance_fare_master ORDER BY distance\G

# Query 13: 3.13 QPS, 0.02x concurrency, ID 0x48AC4127D5F26679 at byte 12039796
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T06:32:01 to 2021-07-23T06:33:02
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     191
# Exec time      1      1s     2ms    89ms     7ms    16ms     7ms     5ms
# Lock time      0    19ms    43us     2ms   101us   214us   175us    66us
# Rows sent      0     191       1       1       1       1       0       1
# Rows examine   2 735.28k   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     0  20.41k     104     112  109.40  107.34    2.02  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ##############
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='最速' AND car_number=8 AND seat_column='C' AND seat_row=2\G

# Query 14: 1.92 QPS, 0.02x concurrency, ID 0x813031B8BBC3B329 at byte 27748427
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.03
# Time range: 2021-07-23T06:32:01 to 2021-07-23T06:33:02
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     117
# Exec time      0      1s     4ms   148ms    10ms    22ms    18ms     5ms
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0     702       6       6       6       6       0       6
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #########
# 100ms  #
#    1s
#  10s+
COMMIT\G

# Query 15: 20.75 QPS, 0.02x concurrency, ID 0xE572B4307D2C512C at byte 11934118
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:32:02 to 2021-07-23T06:33:01
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1224
# Exec time      0      1s   189us    19ms   820us     3ms     2ms   403us
# Lock time      1   150ms    60us     7ms   122us   260us   235us    84us
# Rows sent      0     972       0      96    0.79    3.89    5.75       0
# Rows examine   0 104.74k       0     194   87.63  174.84   55.21   80.10
# Query size     3 229.13k     188     196  191.69  192.76       4  192.76
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###########
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.* FROM seat_reservations s, reservations r WHERE r.date='2020/01/01' AND r.train_class='最速' AND r.train_name='1' AND car_number=8 AND seat_row=9 AND seat_column='A' FOR UPDATE\G
mism-mism commented 3 years ago

Top 20 Sort By Total
Count   Total    Mean  Stddev    Min  P50.0  P90.0  P95.0  P99.0    Max  2xx  3xx  4xx  5xx  TotalBytes   MinBytes  MeanBytes   MaxBytes  Request
   57  62.058  1.0887  1.2807  0.058  0.318  3.497  3.916  5.000  5.000   54    0    2    1      365336          0       6409       9436  GET /api/train/seats
   35  43.084  1.2310  0.4188  0.001  1.297  1.523  1.991  2.267  2.267   33    0    2    0      130081          0       3716       4193  GET /api/train/search
  111  16.359  0.1474  0.1073  0.002  0.135  0.298  0.345  0.402  0.647   54    0   57    0        8249         48         74        174  POST /api/train/reserve HTTP/1.1
   11   6.127  0.5570  0.5048  0.002  1.009  1.024  1.024  1.024  1.024    6    0    5    0         522         47         47         48  POST /api/user/reservations/<num>/cancel HTTP/1.1
   92   1.886  0.0205  0.0180  0.001  0.018  0.033  0.044  0.142  0.142   86    0    6    0       28984         51        315        341  GET /api/user/reservations/<num> HTTP/1.1
   38   0.681  0.0179  0.0129  0.001  0.020  0.026  0.054  0.065  0.065   38    0    0    0       10705          3        281        343  GET /api/user/reservations HTTP/1.1
   50   0.620  0.0124  0.0062  0.005  0.011  0.018  0.029  0.033  0.033   50    0    0    0        2600         52         52         52  POST /api/auth/signup HTTP/1.1
   16   0.235  0.0147  0.0074  0.007  0.013  0.022  0.036  0.036  0.036   16    0    0    0         224         14         14         14  POST /api/train/reservation/commit HTTP/1.1
   51   0.188  0.0037  0.0026  0.002  0.002  0.007  0.009  0.013  0.013   50    0    1    0        2201         43         43         51  POST /api/auth/login HTTP/1.1
    1   0.104  0.1040  0.0000  0.104  0.104  0.104  0.104  0.104  0.104    1    0    0    0          42         42         42         42  POST /initialize HTTP/1.1
   27   0.089  0.0033  0.0029  0.001  0.002  0.010  0.010  0.011  0.011   27    0    0    0      224773       8317       8324       8330  GET /api/stations HTTP/1.1
   16   0.030  0.0019  0.0032  0.000  0.001  0.007  0.012  0.012  0.012   16    0    0    0         656         41         41         41  POST /api/auth/logout HTTP/1.1
    1   0.006  0.0060  0.0000  0.006  0.006  0.006  0.006  0.006  0.006    1    0    0    0      438711     438711     438711     438711  GET /js/chunk-vendors.2b84179f.js HTTP/1.1
    4   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    4    0    0    0        2896        724        724        724  GET /stub_status HTTP/1.1
    2   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    2    0    0    0        1448        724        724        724  GET /server-status?format=plain HTTP/1.1
    2   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    2    0    0    0        1448        724        724        724  GET /status HTTP/1.1
    2   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    2    0    0    0        1448        724        724        724  GET /us HTTP/1.1
    2   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    2    0    0    0        1448        724        724        724  GET /admin/api.php?version HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       13950      13950      13950      13950  GET /css/app.6535e252.css HTTP/1.1
mism-mism commented 3 years ago


# 5.5s user time, 10ms system time, 29.25M rss, 36.26M vsz
# Current date: Fri Jul 23 06:37:41 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_063720/mysql-slow.log
# Overall: 67.82k total, 49 unique, 565.20 QPS, 1.22x concurrency ________
# Time range: 2021-07-23T06:34:51 to 2021-07-23T06:36:51
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time           146s     5us   256ms     2ms    10ms     6ms   366us
# Lock time            11s       0   252ms   157us   144us     2ms    63us
# Rows sent        324.94k       0     715    4.91    9.83   33.83    0.99
# Rows examine      15.27M       0   4.22k  236.01   3.69k  898.87    0.99
# Query size         4.72M       6   1.44k   72.97  183.58   78.51   46.83

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0x42E225DE698CE579 39.5835 27.0% 35010 0.0011  0.00 SELECT station_master
#    2 0xA8E53F81FC7DE072 19.1839 13.1% 16656 0.0012  0.00 SELECT reservations
#    3 0xCAAEA492DF36ED47 18.2857 12.5%  1304 0.0140  0.01 SELECT seat_master
#    4 0xC549C0276DD4E8B1 14.3248  9.8%   664 0.0216  0.02 SELECT seat_reservations reservations seat_master station_master
#    5 0x5051645A82753AFA 12.9520  8.8%   952 0.0136  0.01 SELECT seat_master
#    6 0x6778AAD5735E0CB9 10.7938  7.4%   640 0.0169  0.01 SELECT seat_reservations reservations seat_master station_master
#    7 0x762B69AA11BF45BB  6.4911  4.4%  3864 0.0017  0.01 SELECT seat_reservations reservations
#    8 0xF45677EF82580C7F  6.0379  4.1%   182 0.0332  0.04 SELECT seat_master
#    9 0x83CD2B0841C8BCE7  3.2504  2.2%  2064 0.0016  0.01 SELECT station_master
#   10 0xBF517FA8ECBD94B6  1.9865  1.4%  1032 0.0019  0.00 SELECT fare_master
#   11 0x40CC47AD720C5B7A  1.8443  1.3%    99 0.0186  0.05 SELECT reservations
#   12 0x3505CEACD14FFD6D  1.7803  1.2%  1032 0.0017  0.01 SELECT distance_fare_master
#   13 0x48AC4127D5F26679  1.3833  0.9%   118 0.0117  0.01 SELECT seat_master
#   14 0xDE1038D3921D46BB  1.1361  0.8%    80 0.0142  0.01 SELECT seat_master
#   15 0x695B410101D468B6  1.1209  0.8%   611 0.0018  0.10 SELECT train_master
# MISC 0xMISC              6.3224  4.3%  3516 0.0018   0.0 <34 ITEMS>

# Query 1: 555.71 QPS, 0.63x concurrency, ID 0x42E225DE698CE579 at byte 16224366
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:34:51 to 2021-07-23T06:35:54
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         51   35010
# Exec time     27     40s   109us    87ms     1ms     5ms     2ms   287us
# Lock time     32      3s    38us    62ms    99us    93us   584us    57us
# Rows sent     10  34.19k       1       1       1       1       0       1
# Rows examine   0  34.19k       1       1       1       1       0       1
# Query size    33   1.60M      48      54   48.02   46.83    0.26   46.83
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ######################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE name='大阪'\G

# Query 2: 268.65 QPS, 0.31x concurrency, ID 0xA8E53F81FC7DE072 at byte 16934405
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:34:52 to 2021-07-23T06:35:54
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         24   16656
# Exec time     13     19s   113us    44ms     1ms     5ms     2ms   301us
# Lock time     16      2s    39us    22ms   104us    93us   544us    60us
# Rows sent      5  16.26k       0       1    1.00    0.99    0.01    0.99
# Rows examine   0  16.26k       0       1    1.00    0.99    0.01    0.99
# Query size    16 809.06k      49      50   49.74   49.17    0.50   49.17
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #######################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=22\G

# Query 3: 20.70 QPS, 0.29x concurrency, ID 0xCAAEA492DF36ED47 at byte 15826077
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T06:34:51 to 2021-07-23T06:35:54
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1304
# Exec time     12     18s     3ms   131ms    14ms    31ms    11ms    12ms
# Lock time      1   162ms    45us     6ms   124us   204us   362us    69us
# Rows sent     56 184.84k       0     715  145.15  685.39  195.84   62.76
# Rows examine  32   4.90M   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     2 131.32k      99     106  103.13  102.22    2.38  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ####################################
#  10ms  ################################################################
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND seat_class='reserved' AND is_smoking_seat=1\G

# Query 4: 10.54 QPS, 0.23x concurrency, ID 0xC549C0276DD4E8B1 at byte 15528475
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.02
# Time range: 2021-07-23T06:34:51 to 2021-07-23T06:35:54
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     664
# Exec time      9     14s   448us   208ms    22ms    53ms    22ms    16ms
# Lock time      1   171ms   110us    12ms   257us   467us   592us   167us
# Rows sent      3   9.98k       0      66   15.39   65.89   19.26    7.70
# Rows examine  16   2.48M       0   4.22k   3.83k   4.07k  970.38   3.88k
# Query size     6 321.56k     495     498  495.90  487.09       0  487.09
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ####
#   1ms  ##########
#  10ms  ################################################################
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations sr, reservations r, seat_master s, station_master std, station_master sta
    WHERE
        r.reservation_id=sr.reservation_id AND
        s.train_class=r.train_class AND
        s.car_number=sr.car_number AND
        s.seat_column=sr.seat_column AND
        s.seat_row=sr.seat_row AND
        std.name=r.departure AND
        sta.name=r.arrival
    AND ((std.id <= 46 AND 46 < sta.id) OR (std.id <= 73 AND 73 < sta.id) OR (sta.id < 46 AND 73 < std.id))\G

# Query 5: 15.11 QPS, 0.21x concurrency, ID 0x5051645A82753AFA at byte 14021630
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T06:34:51 to 2021-07-23T06:35:54
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1     952
# Exec time      8     13s     2ms   150ms    14ms    34ms    13ms    10ms
# Lock time      0   105ms    49us     5ms   110us   194us   242us    76us
# Rows sent      0     896       0       1    0.94    0.99    0.23    0.99
# Rows examine  23   3.58M   3.85k   3.85k   3.85k   3.69k       0   3.69k
# Query size     2 105.13k     108     115  113.08  112.70    2.27  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ########################################################
#  10ms  ################################################################
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 ORDER BY seat_row, seat_column LIMIT 1\G

# Query 6: 11.43 QPS, 0.19x concurrency, ID 0x6778AAD5735E0CB9 at byte 13621664
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T06:34:51 to 2021-07-23T06:35:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     640
# Exec time      7     11s   395us   229ms    17ms    36ms    15ms    14ms
# Lock time      1   183ms   125us     8ms   285us   626us   599us   167us
# Rows sent      8  26.62k       0      74   42.59   72.65   24.20   46.83
# Rows examine  14   2.24M       0   4.19k   3.59k   4.07k   1.33k   4.07k
# Query size     6 310.78k     495     498  497.25  487.09    0.00  487.09
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ######
#   1ms  ##############
#  10ms  ################################################################
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations sr, reservations r, seat_master s, station_master std, station_master sta
    WHERE
        r.reservation_id=sr.reservation_id AND
        s.train_class=r.train_class AND
        s.car_number=sr.car_number AND
        s.seat_column=sr.seat_column AND
        s.seat_row=sr.seat_row AND
        std.name=r.departure AND
        sta.name=r.arrival
    AND ((sta.id < 70 AND 70 <= std.id) OR (sta.id < 57 AND 57 <= std.id) OR (70 < sta.id AND std.id < 57))\G

# Query 7: 61.33 QPS, 0.10x concurrency, ID 0x762B69AA11BF45BB at byte 17500925
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T06:34:51 to 2021-07-23T06:35:54
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          5    3864
# Exec time      4      6s   180us    76ms     2ms     6ms     3ms   626us
# Lock time      5   619ms    62us    23ms   160us   204us   743us    89us
# Rows sent      5  16.27k       0      34    4.31   24.84    8.42       0
# Rows examine   1 177.15k       0     144   46.95  130.47   37.28   34.95
# Query size    14 698.16k     179     188  185.02  183.58    3.88  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #################################
#  10ms  ##
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*
FROM seat_reservations s, reservations r
WHERE
    r.date='2020/01/01' AND r.train_class='遅いやつ' AND r.train_name='163' AND car_number=16 AND seat_row=13 AND seat_column='D'\G

# Query 8: 3.08 QPS, 0.10x concurrency, ID 0xF45677EF82580C7F at byte 2336876
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.04
# Time range: 2021-07-23T06:34:52 to 2021-07-23T06:35:51
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     182
# Exec time      4      6s     3ms   240ms    33ms    71ms    38ms    23ms
# Lock time      8   931ms    52us   188ms     5ms   839us    28ms    76us
# Rows sent      0     178       0       1    0.98    0.99    0.15    0.99
# Rows examine   4 700.63k   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     0  24.08k     129     138  135.47  136.99    3.45  130.47
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  #############
#  10ms  ################################################################
# 100ms  ##
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1 AND seat_class='premium'\G

# Query 9: 32.76 QPS, 0.05x concurrency, ID 0x83CD2B0841C8BCE7 at byte 7853115
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T06:34:51 to 2021-07-23T06:35:54
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          3    2064
# Exec time      2      3s   112us    54ms     2ms     8ms     3ms   301us
# Lock time      1   194ms    39us     6ms    94us   131us   271us    57us
# Rows sent      0   2.02k       1       1       1       1       0       1
# Rows examine   0   2.02k       1       1       1       1       0       1
# Query size     1  80.13k      39      40   39.76   38.53       0   38.53
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #######################
#  10ms  ##
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE id=47\G

# Query 10: 16.38 QPS, 0.03x concurrency, ID 0xBF517FA8ECBD94B6 at byte 13748922
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:34:51 to 2021-07-23T06:35:54
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1032
# Exec time      1      2s   204us    37ms     2ms     8ms     3ms   761us
# Lock time      1   150ms    44us     9ms   145us   214us   500us    69us
# Rows sent      2   9.07k       9       9       9       9       0       9
# Rows examine   0  90.70k      90      90      90      90       0      90
# Query size     2 103.43k      97     108  102.62  107.34    4.54  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #######################################
#  10ms  ###
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM fare_master WHERE train_class='遅いやつ' AND seat_class='reserved' ORDER BY start_date\G

# Query 11: 1.68 QPS, 0.03x concurrency, ID 0x40CC47AD720C5B7A at byte 16362797
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.05
# Time range: 2021-07-23T06:34:52 to 2021-07-23T06:35:51
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0      99
# Exec time      1      2s   192us   164ms    19ms    82ms    32ms   690us
# Lock time     16      2s    67us   163ms    18ms    78ms    32ms   144us
# Rows sent      0     433       0      27    4.37   21.45    7.00    0.99
# Rows examine   0   2.67k       0      47   27.57   46.83   13.18   28.07
# Query size     0  10.80k     105     113  111.70  112.70    3.07  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ##############
#  10ms  ###################################
# 100ms  ###
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/01/07' AND train_class='遅いやつ' AND train_name='55' FOR UPDATE\G

# Query 12: 16.38 QPS, 0.03x concurrency, ID 0x3505CEACD14FFD6D at byte 14929629
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T06:34:51 to 2021-07-23T06:35:54
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1032
# Exec time      1      2s   118us    45ms     2ms     7ms     3ms   490us
# Lock time      0    80ms    39us     4ms    77us   138us   144us    52us
# Rows sent      3  10.08k      10      10      10      10       0      10
# Rows examine   0  20.16k      20      20      20      20       0      20
# Query size     1  64.50k      64      64      64      64       0      64
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###########################################
#  10ms  ##
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'distance_fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`distance_fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT distance,fare FROM distance_fare_master ORDER BY distance\G

# Query 13: 1.97 QPS, 0.02x concurrency, ID 0x48AC4127D5F26679 at byte 5397445
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T06:34:52 to 2021-07-23T06:35:52
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     118
# Exec time      0      1s     2ms    45ms    12ms    30ms     9ms     9ms
# Lock time      0    38ms    50us    14ms   319us   247us     2ms    69us
# Rows sent      0     118       1       1       1       1       0       1
# Rows examine   2 454.25k   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     0  12.54k     104     112  108.84  107.34    2.33  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ######################################################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=16 AND seat_column='E' AND seat_row=7\G

# Query 14: 1.48 QPS, 0.02x concurrency, ID 0xDE1038D3921D46BB at byte 12595059
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T06:34:53 to 2021-07-23T06:35:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0      80
# Exec time      0      1s     3ms    44ms    14ms    28ms     9ms    13ms
# Lock time      0    10ms    62us     1ms   120us   260us   135us    80us
# Rows sent      0     680       0      68    8.50   65.89   21.79       0
# Rows examine   1 308.63k   3.85k   3.92k   3.86k   3.88k      34   3.69k
# Query size     0  11.72k     147     153     150  151.03       3  151.03
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################
#  10ms  ################################################################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='最速' AND car_number=8 AND seat_class='premium' AND is_smoking_seat=0 ORDER BY seat_row, seat_column\G

# Query 15: 10.02 QPS, 0.02x concurrency, ID 0x695B410101D468B6 at byte 2341892
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.10
# Time range: 2021-07-23T06:34:51 to 2021-07-23T06:35:52
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     611
# Exec time      0      1s   192us   256ms     2ms     5ms    13ms   316us
# Lock time      4   521ms    48us   252ms   852us   214us    12ms    66us
# Rows sent      0     611       1       1       1       1       0       1
# Rows examine   0     611       1       1       1       1       0       1
# Query size     1  60.39k      94     102  101.21   97.36    1.26   97.36
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #######
#  10ms  #
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM train_master WHERE date='2020/01/08' AND train_class='遅いやつ' AND train_name='20'\G
mism-mism commented 3 years ago

Top 20 Sort By Total
Count   Total    Mean  Stddev    Min  P50.0  P90.0  P95.0  P99.0    Max  2xx  3xx  4xx  5xx  TotalBytes   MinBytes  MeanBytes   MaxBytes  Request
   77  35.206  0.4572  0.1613  0.000  0.389  0.704  0.716  0.742  0.742   75    0    2    0      299733          0       3892       4240  GET /api/train/search
   93  33.544  0.3607  0.4944  0.079  0.150  1.209  1.617  2.087  2.087   93    0    0    0      648905       6371       6977       9878  GET /api/train/seats
  217  15.980  0.0736  0.0621  0.002  0.071  0.116  0.151  0.363  0.509   92    0  125    0       17086         48         78        181  POST /api/train/reserve HTTP/1.1
   24  12.139  0.5058  0.5043  0.001  1.008  1.009  1.010  1.029  1.029   12    0   12    0        1140         47         47         48  POST /api/user/reservations/<num>/cancel HTTP/1.1
  176   1.353  0.0077  0.0048  0.001  0.007  0.013  0.018  0.028  0.029  164    0   12    0       55532         51        315        344  GET /api/user/reservations/<num> HTTP/1.1
  114   0.820  0.0072  0.0035  0.004  0.006  0.009  0.016  0.021  0.025  114    0    0    0        5928         52         52         52  POST /api/auth/signup HTTP/1.1
   84   0.571  0.0068  0.0034  0.001  0.007  0.011  0.012  0.021  0.021   84    0    0    0       24295          3        289        346  GET /api/user/reservations HTTP/1.1
    3   0.347  0.1157  0.0135  0.100  0.114  0.133  0.133  0.133  0.133    3    0    0    0         126         42         42         42  POST /initialize HTTP/1.1
   36   0.324  0.0090  0.0055  0.006  0.008  0.011  0.021  0.036  0.036   36    0    0    0         504         14         14         14  POST /api/train/reservation/commit HTTP/1.1
  115   0.172  0.0015  0.0010  0.001  0.001  0.002  0.002  0.004  0.009  114    0    1    0        4953         43         43         51  POST /api/auth/login HTTP/1.1
   62   0.078  0.0013  0.0007  0.001  0.001  0.002  0.002  0.006  0.006   62    0    0    0      516100       8317       8324       8330  GET /api/stations HTTP/1.1
   36   0.014  0.0004  0.0005  0.000  0.000  0.001  0.001  0.002  0.002   36    0    0    0        1476         41         41         41  POST /api/auth/logout HTTP/1.1
    2   0.010  0.0050  0.0030  0.002  0.008  0.008  0.008  0.008  0.008    2    0    0    0      877422     438711     438711     438711  GET /js/chunk-vendors.2b84179f.js HTTP/1.1
    2   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    2    0    0    0        8572       4286       4286       4286  GET /favicon.ico HTTP/1.1
    2   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    2    0    0    0        1448        724        724        724  GET /index.html HTTP/1.1
    2   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    2    0    0    0       27900      13950      13950      13950  GET /css/app.6535e252.css HTTP/1.1
    2   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    2    0    0    0      110824      55412      55412      55412  GET /js/app.44fa4ee9.js HTTP/1.1
    2   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    2    0    0    0        5010       2505       2505       2505  GET /img/logo.b0efca9a.svg HTTP/1.1
mism-mism commented 3 years ago


# 8.7s user time, 30ms system time, 30.59M rss, 37.55M vsz
# Current date: Fri Jul 23 07:01:22 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_065216/mysql-slow.log
# Overall: 113.24k total, 153 unique, 424.10 QPS, 0.28x concurrency ______
# Time range: 2021-07-23T06:46:55 to 2021-07-23T06:51:22
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time            75s     1us      6s   661us     4ms    17ms   214us
# Lock time             9s       0   105ms    76us   113us   660us    49us
# Rows sent          3.65M       0   2.68M   33.79    9.83   7.97k    0.99
# Rows examine      36.16M       0   2.68M  334.83   3.69k   8.03k    0.99
# Query size         8.50M       0   1.45k   78.71  183.58   89.27   46.83

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0xCAAEA492DF36ED47 11.5908 15.5%  2944 0.0039  0.00 SELECT seat_master
#    2 0x42E225DE698CE579 11.4615 15.3% 53452 0.0002  0.00 SELECT station_master
#    3 0xC549C0276DD4E8B1 11.2632 15.0%  2064 0.0055  0.00 SELECT seat_reservations reservations seat_master station_master
#    4 0x67A347A2812914DF  6.3844  8.5%    77 0.0829  5.10 SELECT train_timetable_master
#    5 0x5051645A82753AFA  6.1421  8.2%  1581 0.0039  0.00 SELECT seat_master
#    6 0xF45677EF82580C7F  5.6707  7.6%   344 0.0165  0.01 SELECT seat_master
#    7 0xA8E53F81FC7DE072  5.0644  6.8% 23179 0.0002  0.00 SELECT reservations
#    8 0x6778AAD5735E0CB9  4.5391  6.1%   880 0.0052  0.00 SELECT seat_reservations reservations seat_master station_master
#    9 0x762B69AA11BF45BB  2.6386  3.5%  6657 0.0004  0.00 SELECT seat_reservations reservations
#   10 0x48AC4127D5F26679  0.9571  1.3%   236 0.0041  0.00 SELECT seat_master
#   11 0xBF517FA8ECBD94B6  0.8054  1.1%  2300 0.0004  0.00 SELECT fare_master
#   12 0x83CD2B0841C8BCE7  0.7985  1.1%  4600 0.0002  0.00 SELECT station_master
#   13 0xDE1038D3921D46BB  0.7637  1.0%   208 0.0037  0.00 SELECT seat_master
#   14 0xE572B4307D2C512C  0.7264  1.0%  1697 0.0004  0.00 SELECT seat_reservations reservations
#   15 0x813031B8BBC3B329  0.7192  1.0%   140 0.0051  0.00 COMMIT
#   16 0x40CC47AD720C5B7A  0.6777  0.9%   191 0.0035  0.01 SELECT reservations
#   17 0x6C2B51712EA1484E  0.6601  0.9%   114 0.0058  0.00 INSERT users
#   18 0x695B410101D468B6  0.5472  0.7%  1030 0.0005  0.03 SELECT train_master
# MISC 0xMISC              3.5079  4.7% 11542 0.0003   0.0 <135 ITEMS>

# Query 1: 13.57 QPS, 0.05x concurrency, ID 0xCAAEA492DF36ED47 at byte 4723587
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:46:55 to 2021-07-23T06:50:32
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    2944
# Exec time     15     12s     2ms    21ms     4ms     7ms     2ms     3ms
# Lock time      2   205ms    43us     1ms    69us   103us    42us    57us
# Rows sent     10 379.09k       0     715  131.86  685.39  184.10   62.76
# Rows examine  30  11.07M   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     3 297.69k      99     106  103.54  102.22    2.28  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND seat_class='reserved' AND is_smoking_seat=1\G

# Query 2: 246.32 QPS, 0.05x concurrency, ID 0x42E225DE698CE579 at byte 3102069
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:46:55 to 2021-07-23T06:50:32
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         47   53452
# Exec time     15     11s    95us    22ms   214us   348us   270us   176us
# Lock time     37      3s    34us     7ms    61us    84us    78us    49us
# Rows sent      1  52.20k       1       1       1       1       0       1
# Rows examine   0  52.20k       1       1       1       1       0       1
# Query size    28   2.45M      48      54   48.12   46.83    0.55   46.83
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE name='古岡'\G

# Query 3: 9.51 QPS, 0.05x concurrency, ID 0xC549C0276DD4E8B1 at byte 5546825
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:46:55 to 2021-07-23T06:50:32
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2064
# Exec time     15     11s   289us    30ms     5ms    10ms     3ms     4ms
# Lock time      3   288ms    89us     1ms   139us   236us    75us   119us
# Rows sent      2  98.33k       0     117   48.78  112.70   40.35   24.84
# Rows examine  22   8.24M       0   4.47k   4.09k   4.27k  833.11   4.07k
# Query size    11 1000.51k     495     498  496.38  487.09       0  487.09
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ##
#   1ms  ################################################################
#  10ms  ####
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations sr, reservations r, seat_master s, station_master std, station_master sta
    WHERE
        r.reservation_id=sr.reservation_id AND
        s.train_class=r.train_class AND
        s.car_number=sr.car_number AND
        s.seat_column=sr.seat_column AND
        s.seat_row=sr.seat_row AND
        std.name=r.departure AND
        sta.name=r.arrival
    AND ((std.id <= 32 AND 32 < sta.id) OR (std.id <= 73 AND 73 < sta.id) OR (sta.id < 32 AND 73 < std.id))\G

# Query 4: 7 QPS, 0.58x concurrency, ID 0x67A347A2812914DF at byte 32263335
# This item is included in the report because it matches --limit.
# Scores: V/M = 5.10
# Time range: 2021-07-23T06:50:44 to 2021-07-23T06:50:55
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0      77
# Exec time      8      6s    83us      6s    83ms    14ms   651ms    98us
# Lock time      0       0       0       0       0       0       0       0
# Rows sent     80   2.95M       0   2.68M  39.17k   3.69k 303.27k    0.99
# Rows examine   8   2.95M       0   2.68M  39.17k   3.69k 303.27k    0.99
# Query size     0   4.17k      43      93   55.51   65.89    9.41   51.63
# String:
# Databases    mysql (60/77%), isutrain (17/22%)
# Hosts        localhost
# Users        root
# Query_time distribution
#   1us
#  10us  ################################################################
# 100us  ####################################################
#   1ms  ###
#  10ms  ###
# 100ms  #####
#    1s  #
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_timetable_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_timetable_master`\G
SELECT /*!40001 SQL_NO_CACHE */ * FROM `train_timetable_master`\G
# Converted for EXPLAIN
# EXPLAIN /*!50100 PARTITIONS*/
SELECT /*!40001 SQL_NO_CACHE */ * FROM `train_timetable_master`\G

# Query 5: 7.29 QPS, 0.03x concurrency, ID 0x5051645A82753AFA at byte 13648297
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:46:55 to 2021-07-23T06:50:32
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1581
# Exec time      8      6s     2ms    25ms     4ms     6ms     2ms     4ms
# Lock time      1   120ms    45us     2ms    75us   103us    82us    60us
# Rows sent      0   1.45k       0       1    0.94    0.99    0.23    0.99
# Rows examine  16   5.95M   3.85k   3.85k   3.85k   3.69k    0.00   3.69k
# Query size     2 174.35k     108     115  112.92  112.70    2.35  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 ORDER BY seat_row, seat_column LIMIT 1\G

# Query 6: 5.83 QPS, 0.10x concurrency, ID 0xF45677EF82580C7F at byte 3099599
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T06:46:56 to 2021-07-23T06:47:55
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     344
# Exec time      7      6s     2ms    88ms    16ms    38ms    15ms    13ms
# Lock time      4   420ms    49us    71ms     1ms   799us     8ms    69us
# Rows sent      0     333       0       1    0.97    0.99    0.17    0.99
# Rows examine   3   1.29M   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     0  45.49k     129     138  135.41  136.99    2.87  130.47
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ##################################################
#  10ms  ################################################################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1 AND seat_class='premium'\G

# Query 7: 386.32 QPS, 0.08x concurrency, ID 0xA8E53F81FC7DE072 at byte 3093293
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:46:56 to 2021-07-23T06:47:56
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         20   23179
# Exec time      6      5s   102us    12ms   218us   348us   193us   214us
# Lock time     16      1s    35us     5ms    61us    89us    65us    49us
# Rows sent      0  22.64k       1       1       1       1       0       1
# Rows examine   0  22.64k       1       1       1       1       0       1
# Query size    12   1.10M      49      50   49.73   49.17    0.50   49.17
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=14\G

# Query 8: 14.67 QPS, 0.08x concurrency, ID 0x6778AAD5735E0CB9 at byte 2493993
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:46:55 to 2021-07-23T06:47:55
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     880
# Exec time      6      5s   291us    21ms     5ms    10ms     2ms     4ms
# Lock time      1   117ms    89us   766us   132us   214us    54us   119us
# Rows sent      1  62.50k       0     113   72.72  112.70   33.20   84.10
# Rows examine   9   3.50M       0   4.46k   4.07k   4.27k  901.44   4.27k
# Query size     4 427.38k     495     498  497.32  487.09    0.00  487.09
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ###
#   1ms  ################################################################
#  10ms  ###
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations sr, reservations r, seat_master s, station_master std, station_master sta
    WHERE
        r.reservation_id=sr.reservation_id AND
        s.train_class=r.train_class AND
        s.car_number=sr.car_number AND
        s.seat_column=sr.seat_column AND
        s.seat_row=sr.seat_row AND
        std.name=r.departure AND
        sta.name=r.arrival
    AND ((sta.id < 74 AND 74 <= std.id) OR (sta.id < 73 AND 73 <= std.id) OR (74 < sta.id AND std.id < 73))\G

# Query 9: 30.68 QPS, 0.01x concurrency, ID 0x762B69AA11BF45BB at byte 3236808
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:46:55 to 2021-07-23T06:50:32
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          5    6657
# Exec time      3      3s   190us     7ms   396us   725us   240us   316us
# Lock time      7   653ms    59us     5ms    98us   176us    85us    80us
# Rows sent      0  22.60k       0      58    3.48   26.08    8.37       0
# Rows examine   1 500.71k       0     236   77.02  174.84   53.88   62.76
# Query size    13   1.17M     179     188  184.51  183.58    4.03  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*
FROM seat_reservations s, reservations r
WHERE
    r.date='2020/01/01' AND r.train_class='遅いやつ' AND r.train_name='163' AND car_number=16 AND seat_row=10 AND seat_column='E'\G

# Query 10: 3.93 QPS, 0.02x concurrency, ID 0x48AC4127D5F26679 at byte 1042046
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:46:56 to 2021-07-23T06:47:56
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     236
# Exec time      1   957ms     2ms    19ms     4ms     8ms     2ms     3ms
# Lock time      0    22ms    42us     2ms    91us   176us   155us    60us
# Rows sent      0     236       1       1       1       1       0       1
# Rows examine   2 908.51k   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     0  25.20k     104     112  109.35  107.34    2.02  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=16 AND seat_column='A' AND seat_row=1\G

# Query 11: 10.60 QPS, 0.00x concurrency, ID 0xBF517FA8ECBD94B6 at byte 30468174
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:46:55 to 2021-07-23T06:50:32
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    2300
# Exec time      1   805ms   188us    15ms   350us   799us   417us   247us
# Lock time      1   161ms    42us     1ms    70us   152us    47us    57us
# Rows sent      0  20.21k       9       9       9       9       0       9
# Rows examine   0 202.15k      90      90      90      90       0      90
# Query size     2 231.40k      97     108  103.02  107.34    4.43  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM fare_master WHERE train_class='遅いやつ' AND seat_class='premium' ORDER BY start_date\G

# Query 12: 21.20 QPS, 0.00x concurrency, ID 0x83CD2B0841C8BCE7 at byte 30457558
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:46:55 to 2021-07-23T06:50:32
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    4600
# Exec time      1   798ms   101us     9ms   173us   332us   176us   131us
# Lock time      3   273ms    36us     9ms    59us    89us   131us    49us
# Rows sent      0   4.49k       1       1       1       1       0       1
# Rows examine   0   4.49k       1       1       1       1       0       1
# Query size     2 178.67k      39      40   39.77   38.53       0   38.53
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE id=64\G

# Query 13: 3.53 QPS, 0.01x concurrency, ID 0xDE1038D3921D46BB at byte 7350122
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:46:57 to 2021-07-23T06:47:56
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     208
# Exec time      1   764ms     2ms    11ms     4ms     7ms     2ms     3ms
# Lock time      0    15ms    53us   322us    72us   138us    39us    57us
# Rows sent      0   1.66k       0      68    8.16   65.89   21.39       0
# Rows examine   2 802.38k   3.85k   3.92k   3.86k   3.88k      34   3.69k
# Query size     0  30.54k     147     155  150.34  151.03    3.59  151.03
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=1 AND seat_class='premium' AND is_smoking_seat=0 ORDER BY seat_row, seat_column\G

# Query 14: 28.76 QPS, 0.01x concurrency, ID 0xE572B4307D2C512C at byte 18253349
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:46:57 to 2021-07-23T06:47:56
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1697
# Exec time      0   726ms   196us    22ms   428us   761us   547us   384us
# Lock time      1   170ms    60us    22ms   100us   144us   508us    76us
# Rows sent      0   2.23k       0     132    1.35    8.91    7.60       0
# Rows examine   0 206.67k       0     236  124.71  234.30   68.43  124.25
# Query size     3 318.08k     188     197  191.94  192.76    4.50  192.76
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.* FROM seat_reservations s, reservations r WHERE r.date='2020/01/02' AND r.train_class='遅いやつ' AND r.train_name='65' AND car_number=8 AND seat_row=1 AND seat_column='A' FOR UPDATE\G

# Query 15: 2.33 QPS, 0.01x concurrency, ID 0x813031B8BBC3B329 at byte 23621963
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:46:56 to 2021-07-23T06:47:56
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     140
# Exec time      0   719ms     3ms    17ms     5ms     8ms     1ms     5ms
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0     840       6       6       6       6       0       6
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
COMMIT\G

# Query 16: 3.18 QPS, 0.01x concurrency, ID 0x40CC47AD720C5B7A at byte 30461485
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T06:46:56 to 2021-07-23T06:47:56
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     191
# Exec time      0   678ms   162us    31ms     4ms    19ms     7ms   332us
# Lock time      6   593ms    55us    31ms     3ms    18ms     7ms    76us
# Rows sent      0     695       0      32    3.64   21.45    6.89    0.99
# Rows examine   0   8.79k       0      79   47.12   76.28   21.16   51.63
# Query size     0  20.83k     105     113  111.65  112.70    2.66  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ##########
#  10ms  #############
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/01/01' AND train_class='遅いやつ' AND train_name='72' FOR UPDATE\G

# Query 17: 0.53 QPS, 0.00x concurrency, ID 0x6C2B51712EA1484E at byte 4812
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T06:46:55 to 2021-07-23T06:50:32
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     114
# Exec time      0   660ms     3ms    19ms     6ms     9ms     2ms     5ms
# Lock time      0    22ms    72us     4ms   189us   445us   451us    98us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     1 162.56k   1.39k   1.45k   1.43k   1.39k    6.33   1.39k
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ###
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
INSERT INTO `users` (`email`, `salt`, `super_secure_password`) VALUES ('puser4@example.com', _binary'��r�����8Ȃ0��N��͌��$hs�;�#��=\n4���&Զ�����@�S��S׏���r�]6c`���`U�h������E��T*�7̖��4��[B\0�B>쑝�.�Z]R�<���*.��tM� u���{�/&�^���k�����VA��7�n�b��Ʒ��wuT����D������j-\r$c��d�@5������u��&�b�R�\\[�c�}�a��\'X@�!w<n�!��ߪg8��@H�l�؋����P�K�8�X�R(~nr���>����o�(�5-��u�����^���\'~��Y��2��u�#�����G���_9���GHR��A1\"��i����^\'��0�j(om���Jt؝��w`��[��Z��xI�D;L�\Z�]J�ž�ևurs�b\n��Ǣ��eR��(蟵cG4���\0��Z��Q!�p+����\"f/���q�G����`�;�FAA/���Ѓ��\nB����h�q�;����U?O4�cmww�X\Zsb�|I����,��}O�+�����Y�z��?�(�3�Vs���t[�Q��IzdL��i�ѳ\\-&6pIL3�����ʔ�4�U\0t��6��F���<YZ\Z��ːw\n�|s�g���)Q+]��i��I�ksez����$q�����/*>t�xh�OiHW\"�Dr���Ie� E�;�\'�+b����\nР��? #�#��`��{VTp#y�[\nUh2x\\- h�ߟ:�D�ix\\A�3�z(�q�c$���;���Ͽ��7��+����\r��\r��,�_-�d�TW�]����\'\\Q��u����O����(�����3��*իJ��=B���үo�R��1�P����}���`0t\0��3�Q�4�r�͋7����l�9%�?��f�}���Y��)�Z}�f���\n�%�4B��\\8Fu�ϛ�}�R�y*�0v3�ȂG>�ǴS�~3ϱ`��qP�W��õY�;����e�h<l   N�\'�kFۃ��B�y�[��D�5�E����4��', _binary'پ�e6>�\\ht  ���:���5\n�]\r�tN9dbSQ��0�f�o�O��hXr��x�� �Y�tu�\r�c8�^����bu�K[���nF��}j9~�-��L\Z�:\rm#�c���C���tH)!�-l�_/����ul�I\\����!�^��wo�/� p�#�T��KA_���J���^�\rW����H��n|��)�8�E��5�,���F�K���^�\"s`��x��\Z%a�0��m#� \'�B���Ԁ�Z�4- ��G�q�')\G

# Query 18: 4.75 QPS, 0.00x concurrency, ID 0x695B410101D468B6 at byte 3103597
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.03
# Time range: 2021-07-23T06:46:55 to 2021-07-23T06:50:32
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0    1030
# Exec time      0   547ms   154us   105ms   531us   657us     4ms   236us
# Lock time      3   269ms    43us   105ms   260us   131us     4ms    63us
# Rows sent      0   1.01k       1       1       1       1       0       1
# Rows examine   0   1.01k       1       1       1       1       0       1
# Query size     1 101.26k      94     102  100.67   97.36    1.59   97.36
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ##
#  10ms  #
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM train_master WHERE date='2020/01/06' AND train_class='遅いやつ' AND train_name='58'\G
mism-mism commented 3 years ago

Top 20 Sort By Total
Count   Total    Mean  Stddev    Min  P50.0  P90.0  P95.0  P99.0    Max  2xx  3xx  4xx  5xx  TotalBytes   MinBytes  MeanBytes   MaxBytes  Request
   15  60.605  4.0403  1.9243  0.000  5.001  5.004  5.004  5.004  5.004    2    0   13    0        8257          0        550       4100  GET /api/train/search
   21   4.536  0.2160  0.2799  0.005  0.025  0.652  0.766  0.782  0.782   20    0    1    0        1040          0         49         52  POST /api/auth/signup HTTP/1.1
    1   1.010  1.0100  0.0000  1.010  1.010  1.010  1.010  1.010  1.010    1    0    0    0          47         47         47         47  POST /api/user/reservations/<num>/cancel HTTP/1.1
    6   0.382  0.0637  0.1028  0.002  0.017  0.288  0.288  0.288  0.288    3    0    3    0         396         49         66        123  POST /api/train/reserve HTTP/1.1
    2   0.201  0.1005  0.0215  0.079  0.122  0.122  0.122  0.122  0.122    2    0    0    0       13039       6440       6519       6599  GET /api/train/seats
   21   0.146  0.0070  0.0244  0.001  0.001  0.003  0.003  0.116  0.116   20    0    1    0         911         43         43         51  POST /api/auth/login HTTP/1.1
    1   0.135  0.1350  0.0000  0.135  0.135  0.135  0.135  0.135  0.135    1    0    0    0          42         42         42         42  POST /initialize HTTP/1.1
    8   0.063  0.0079  0.0066  0.001  0.008  0.024  0.024  0.024  0.024    7    0    1    0        2329         51        291        326  GET /api/user/reservations/<num> HTTP/1.1
    5   0.035  0.0070  0.0041  0.002  0.007  0.014  0.014  0.014  0.014    5    0    0    0        1313          3        262        328  GET /api/user/reservations HTTP/1.1
   12   0.013  0.0011  0.0003  0.001  0.001  0.001  0.002  0.002  0.002   12    0    0    0       99876       8323       8323       8323  GET /api/stations HTTP/1.1
    1   0.009  0.0090  0.0000  0.009  0.009  0.009  0.009  0.009  0.009    1    0    0    0          14         14         14         14  POST /api/train/reservation/commit HTTP/1.1
    1   0.003  0.0030  0.0000  0.003  0.003  0.003  0.003  0.003  0.003    1    0    0    0      438711     438711     438711     438711  GET /js/chunk-vendors.2b84179f.js HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0        2505       2505       2505       2505  GET /img/logo.b0efca9a.svg HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0         724        724        724        724  GET /index.html HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       55412      55412      55412      55412  GET /js/app.44fa4ee9.js HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       13950      13950      13950      13950  GET /css/app.6535e252.css HTTP/1.1
    2   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    2    0    0    0        8572       4286       4286       4286  GET /favicon.ico HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0          41         41         41         41  POST /api/auth/logout HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0         724        724        724        724  GET / HTTP/1.1
mism-mism commented 3 years ago


# 320ms user time, 10ms system time, 29.12M rss, 35.98M vsz
# Current date: Fri Jul 23 07:32:39 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_073036/mysql-slow.log
# Overall: 1.54k total, 61 unique, 3.19 QPS, 11.32x concurrency __________
# Time range: 2021-07-23T07:22:10 to 2021-07-23T07:30:13
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time          5467s     3us    134s      4s     25s     16s   214us
# Lock time          418ms       0   264ms   270us   194us     6ms    57us
# Rows sent         37.79k       0     715   25.10  143.84   95.39    0.99
# Rows examine       2.95M       0  68.67k   1.96k   4.95k   7.40k    0.99
# Query size       244.09k       6   1.45k  162.09  487.09  196.47  102.22

# Profile
# Rank Query ID           Response time   Calls R/Call  V/M   Item
# ==== ================== =============== ===== ======= ===== ============
#    1 0xC549C0276DD4E8B1 4064.0051 74.3%   108 37.6297 31.20 SELECT seat_reservations reservations seat_master station_master
#    2 0x6778AAD5735E0CB9 1390.2720 25.4%    54 25.7458 77.04 SELECT seat_reservations reservations seat_master station_master
# MISC 0xMISC               13.1674  0.2%  1380  0.0095   0.0 <59 ITEMS>

# Query 1: 0.22 QPS, 8.43x concurrency, ID 0xC549C0276DD4E8B1 at byte 519742
# This item is included in the report because it matches --limit.
# Scores: V/M = 31.20
# Time range: 2021-07-23T07:22:11 to 2021-07-23T07:30:13
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          7     108
# Exec time     74   4064s   252us    111s     38s    102s     34s     47s
# Lock time      7    31ms    85us     9ms   287us   316us   869us   159us
# Rows sent      0     222       0       4    2.06    3.89    1.88    1.96
# Rows examine  25 769.37k       0  32.74k   7.12k  28.66k   9.23k   4.95k
# Query size    21  52.29k     495     498  495.75  487.09       0  487.09
# String:
# Databases    isutrain
# Hosts        ip-172-31-22-224.ap-northeast-1.compute.inte...
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ######################################
#   1ms
#  10ms
# 100ms
#    1s  #
#  10s+  ################################################################
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations sr, reservations r, seat_master s, station_master std, station_master sta
    WHERE
        r.reservation_id=sr.reservation_id AND
        s.train_class=r.train_class AND
        s.car_number=sr.car_number AND
        s.seat_column=sr.seat_column AND
        s.seat_row=sr.seat_row AND
        std.name=r.departure AND
        sta.name=r.arrival
    AND ((std.id <= 41 AND 41 < sta.id) OR (std.id <= 71 AND 71 < sta.id) OR (sta.id < 41 AND 71 < std.id))\G

# Query 2: 0.11 QPS, 2.88x concurrency, ID 0x6778AAD5735E0CB9 at byte 527549
# This item is included in the report because it matches --limit.
# Scores: V/M = 77.04
# Time range: 2021-07-23T07:22:11 to 2021-07-23T07:30:13
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          3      54
# Exec time     25   1390s   251us    134s     26s    107s     45s   348us
# Lock time      1     8ms    84us   441us   154us   273us    73us   144us
# Rows sent      0      48       0       4    0.89    3.89    1.57       0
# Rows examine  13 398.24k       0  42.62k   7.37k  31.59k  13.00k       0
# Query size    10  26.14k     495     498  495.78  487.09       0  487.09
# String:
# Databases    isutrain
# Hosts        ip-172-31-22-224.ap-northeast-1.compute.inte...
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms
#  10ms
# 100ms
#    1s
#  10s+  ######################
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations sr, reservations r, seat_master s, station_master std, station_master sta
    WHERE
        r.reservation_id=sr.reservation_id AND
        s.train_class=r.train_class AND
        s.car_number=sr.car_number AND
        s.seat_column=sr.seat_column AND
        s.seat_row=sr.seat_row AND
        std.name=r.departure AND
        sta.name=r.arrival
    AND ((sta.id < 47 AND 47 <= std.id) OR (sta.id < 40 AND 40 <= std.id) OR (47 < sta.id AND std.id < 40))\G
mism-mism commented 3 years ago

Top 20 Sort By Total
Count   Total    Mean  Stddev    Min  P50.0  P90.0  P95.0  P99.0    Max  2xx  3xx  4xx  5xx  TotalBytes   MinBytes  MeanBytes   MaxBytes  Request
   75  34.068  0.4542  0.1759  0.000  0.381  0.707  0.725  0.756  0.756   73    0    2    0      292565          0       3900       4217  GET /api/train/search
   93  33.191  0.3569  0.4969  0.018  0.145  1.173  1.647  2.047  2.047   92    0    0    1      636915        494       6848       9452  GET /api/train/seats
  216  16.771  0.0776  0.0700  0.002  0.075  0.128  0.176  0.411  0.559   92    0  124    0       16903         47         78        174  POST /api/train/reserve HTTP/1.1
   24  13.130  0.5471  0.5016  0.001  1.008  1.009  1.009  1.012  1.012   13    0   11    0        1139         47         47         48  POST /api/user/reservations/<num>/cancel HTTP/1.1
  178   1.354  0.0076  0.0056  0.001  0.007  0.012  0.015  0.038  0.051  165    0   13    0       55851         51        313        345  GET /api/user/reservations/<num> HTTP/1.1
  109   0.784  0.0072  0.0028  0.004  0.006  0.010  0.012  0.020  0.020  109    0    0    0        5668         52         52         52  POST /api/auth/signup HTTP/1.1
   86   0.588  0.0068  0.0038  0.001  0.007  0.010  0.014  0.023  0.023   86    0    0    0       24604          3        286        347  GET /api/user/reservations HTTP/1.1
   36   0.276  0.0077  0.0016  0.006  0.008  0.009  0.011  0.014  0.014   36    0    0    0         504         14         14         14  POST /api/train/reservation/commit HTTP/1.1
  110   0.158  0.0014  0.0006  0.001  0.001  0.002  0.002  0.003  0.004  109    0    1    0        4738         43         43         51  POST /api/auth/login HTTP/1.1
    1   0.125  0.1250  0.0000  0.125  0.125  0.125  0.125  0.125  0.125    1    0    0    0          42         42         42         42  POST /initialize HTTP/1.1
   60   0.075  0.0013  0.0012  0.000  0.001  0.002  0.002  0.008  0.008   60    0    0    0      499431       8317       8323       8330  GET /api/stations HTTP/1.1
   36   0.019  0.0005  0.0006  0.000  0.001  0.001  0.001  0.002  0.002   36    0    0    0        1476         41         41         41  POST /api/auth/logout HTTP/1.1
    1   0.001  0.0010  0.0000  0.001  0.001  0.001  0.001  0.001  0.001    1    0    0    0      438711     438711     438711     438711  GET /js/chunk-vendors.2b84179f.js HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0        2505       2505       2505       2505  GET /img/logo.b0efca9a.svg HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       13950      13950      13950      13950  GET /css/app.6535e252.css HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0         724        724        724        724  GET /index.html HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0        4286       4286       4286       4286  GET /favicon.ico HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       55412      55412      55412      55412  GET /js/app.44fa4ee9.js HTTP/1.1
mism-mism commented 3 years ago


# 8.3s user time, 0 system time, 29.38M rss, 36.25M vsz
# Current date: Fri Jul 23 07:36:54 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_073629/mysql-slow.log
# Overall: 112.03k total, 48 unique, 1.65k QPS, 0.99x concurrency ________
# Time range: 2021-07-23T07:34:58 to 2021-07-23T07:36:06
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time            68s     1us   138ms   603us     3ms     2ms   214us
# Lock time             9s       0   138ms    79us   113us   925us    49us
# Rows sent        713.61k       0     715    6.52    9.83   38.16    0.99
# Rows examine      32.64M       0   4.46k  305.45   3.69k 1020.88    0.99
# Query size         8.36M       6   1.44k   78.24  183.58   88.17   46.83

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0x42E225DE698CE579 11.5348 17.1% 54018 0.0002  0.00 SELECT station_master
#    2 0xCAAEA492DF36ED47 11.4336 16.9%  2876 0.0040  0.00 SELECT seat_master
#    3 0xC549C0276DD4E8B1  9.9495 14.7%  1876 0.0053  0.00 SELECT seat_reservations reservations seat_master station_master
#    4 0xF45677EF82580C7F  6.4634  9.6%   346 0.0187  0.02 SELECT seat_master
#    5 0x5051645A82753AFA  6.0211  8.9%  1564 0.0038  0.00 SELECT seat_master
#    6 0x6778AAD5735E0CB9  5.1887  7.7%  1000 0.0052  0.00 SELECT seat_reservations reservations seat_master station_master
#    7 0xA8E53F81FC7DE072  5.0143  7.4% 23081 0.0002  0.00 SELECT reservations
#    8 0x762B69AA11BF45BB  2.6270  3.9%  6533 0.0004  0.00 SELECT seat_reservations reservations
#    9 0x48AC4127D5F26679  1.0344  1.5%   238 0.0043  0.00 SELECT seat_master
#   10 0x83CD2B0841C8BCE7  0.8209  1.2%  4498 0.0002  0.00 SELECT station_master
#   11 0xBF517FA8ECBD94B6  0.8144  1.2%  2249 0.0004  0.00 SELECT fare_master
#   12 0xDE1038D3921D46BB  0.7138  1.1%   184 0.0039  0.00 SELECT seat_master
#   13 0x813031B8BBC3B329  0.7043  1.0%   141 0.0050  0.00 COMMIT
#   14 0xE572B4307D2C512C  0.6389  0.9%  1564 0.0004  0.00 SELECT seat_reservations reservations
#   15 0x6C2B51712EA1484E  0.6224  0.9%   109 0.0057  0.00 INSERT users
#   16 0x40CC47AD720C5B7A  0.5883  0.9%   191 0.0031  0.01 SELECT reservations
#   17 0x695B410101D468B6  0.5380  0.8%  1026 0.0005  0.03 SELECT train_master
# MISC 0xMISC              2.8688  4.2% 10541 0.0003   0.0 <31 ITEMS>

# Query 1: 871.26 QPS, 0.19x concurrency, ID 0x42E225DE698CE579 at byte 30739682
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:34:58 to 2021-07-23T07:36:00
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         48   54018
# Exec time     17     12s   101us    21ms   213us   348us   262us   176us
# Lock time     37      3s    34us    20ms    61us    84us   122us    49us
# Rows sent      7  52.75k       1       1       1       1       0       1
# Rows examine   0  52.75k       1       1       1       1       0       1
# Query size    29   2.48M      48      54   48.12   46.83    0.59   46.83
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE name='東京'\G

# Query 2: 46.39 QPS, 0.18x concurrency, ID 0xCAAEA492DF36ED47 at byte 8741973
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:34:58 to 2021-07-23T07:36:00
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    2876
# Exec time     16     11s     2ms    23ms     4ms     8ms     2ms     3ms
# Lock time      2   204ms    43us     2ms    70us   108us    50us    57us
# Rows sent     53 383.04k       0     715  136.38  685.39  188.39   62.76
# Rows examine  33  10.81M   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     3 290.42k      99     106  103.41  102.22    2.32  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='最速' AND seat_class='reserved' AND is_smoking_seat=0\G

# Query 3: 30.26 QPS, 0.16x concurrency, ID 0xC549C0276DD4E8B1 at byte 13681186
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:34:58 to 2021-07-23T07:36:00
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1876
# Exec time     14     10s   288us    23ms     5ms    10ms     3ms     4ms
# Lock time      3   273ms    86us     5ms   145us   247us   156us   119us
# Rows sent     10  76.42k       0     105   41.71   97.36   36.39   21.45
# Rows examine  22   7.44M       0   4.46k   4.06k   4.27k  870.11   4.07k
# Query size    10 909.20k     495     498  496.28  487.09       0  487.09
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ###
#   1ms  ################################################################
#  10ms  #####
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations sr, reservations r, seat_master s, station_master std, station_master sta
    WHERE
        r.reservation_id=sr.reservation_id AND
        s.train_class=r.train_class AND
        s.car_number=sr.car_number AND
        s.seat_column=sr.seat_column AND
        s.seat_row=sr.seat_row AND
        std.name=r.departure AND
        sta.name=r.arrival
    AND ((std.id <= 1 AND 1 < sta.id) OR (std.id <= 82 AND 82 < sta.id) OR (sta.id < 1 AND 82 < std.id))\G

# Query 4: 5.77 QPS, 0.11x concurrency, ID 0xF45677EF82580C7F at byte 3016572
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.02
# Time range: 2021-07-23T07:34:59 to 2021-07-23T07:35:59
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     346
# Exec time      9      6s     2ms   130ms    19ms    44ms    20ms    13ms
# Lock time      8   777ms    50us   111ms     2ms     1ms    14ms    69us
# Rows sent      0     335       0       1    0.97    0.99    0.17    0.99
# Rows examine   3   1.30M   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     0  45.74k     129     138  135.38  136.99    2.93  130.47
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  #####################################################
#  10ms  ################################################################
# 100ms  ##
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1 AND seat_class='premium'\G

# Query 5: 25.64 QPS, 0.10x concurrency, ID 0x5051645A82753AFA at byte 13636488
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:34:58 to 2021-07-23T07:35:59
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1564
# Exec time      8      6s     2ms    24ms     4ms     7ms     2ms     4ms
# Lock time      1   120ms    46us     5ms    77us   113us   122us    60us
# Rows sent      0   1.44k       0       1    0.94    0.99    0.23    0.99
# Rows examine  18   5.88M   3.85k   3.85k   3.85k   3.69k       0   3.69k
# Query size     2 172.35k     108     115  112.84  112.70    2.39  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=8 ORDER BY seat_row, seat_column LIMIT 1\G

# Query 6: 17.24 QPS, 0.09x concurrency, ID 0x6778AAD5735E0CB9 at byte 15263277
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:35:01 to 2021-07-23T07:35:59
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0    1000
# Exec time      7      5s     3ms    25ms     5ms     9ms     2ms     4ms
# Lock time      1   135ms    89us     1ms   134us   236us    72us   113us
# Rows sent     10  74.95k       8     117   76.75  112.70   32.31   80.10
# Rows examine  12   4.18M   3.87k   4.46k   4.28k   4.27k  157.57   4.27k
# Query size     5 485.74k     495     498  497.40  487.09       0  487.09
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ###
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations sr, reservations r, seat_master s, station_master std, station_master sta
    WHERE
        r.reservation_id=sr.reservation_id AND
        s.train_class=r.train_class AND
        s.car_number=sr.car_number AND
        s.seat_column=sr.seat_column AND
        s.seat_row=sr.seat_row AND
        std.name=r.departure AND
        sta.name=r.arrival
    AND ((sta.id < 55 AND 55 <= std.id) OR (sta.id < 3 AND 3 <= std.id) OR (55 < sta.id AND std.id < 3))\G

# Query 7: 384.68 QPS, 0.08x concurrency, ID 0xA8E53F81FC7DE072 at byte 3008311
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:34:59 to 2021-07-23T07:35:59
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         20   23081
# Exec time      7      5s   106us    15ms   217us   348us   222us   194us
# Lock time     16      1s    35us    11ms    62us    84us   112us    49us
# Rows sent      3  22.54k       0       1    1.00    0.99    0.01    0.99
# Rows examine   0  22.54k       0       1    1.00    0.99    0.01    0.99
# Query size    13   1.09M      49      50   49.73   49.17    0.50   49.17
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=12\G

# Query 8: 107.10 QPS, 0.04x concurrency, ID 0x762B69AA11BF45BB at byte 11172607
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:34:58 to 2021-07-23T07:35:59
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          5    6533
# Exec time      3      3s   191us    10ms   402us   761us   283us   316us
# Lock time      7   628ms    59us     6ms    96us   167us    88us    80us
# Rows sent      3  22.51k       0      58    3.53   26.08    8.42       0
# Rows examine   1 497.73k       0     236   78.02  158.58   51.69   65.89
# Query size    13   1.15M     179     188  184.47  183.58    4.09  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*
FROM seat_reservations s, reservations r
WHERE
    r.date='2020/01/01' AND r.train_class='遅いやつ' AND r.train_name='133' AND car_number=16 AND seat_row=10 AND seat_column='C'\G

# Query 9: 3.97 QPS, 0.02x concurrency, ID 0x48AC4127D5F26679 at byte 29457298
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:34:59 to 2021-07-23T07:35:59
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     238
# Exec time      1      1s     2ms    29ms     4ms     9ms     3ms     4ms
# Lock time      0    17ms    46us   435us    71us   103us    33us    60us
# Rows sent      0     238       1       1       1       1       0       1
# Rows examine   2 916.21k   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     0  25.38k     104     112  109.21  107.34    2.10  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ##
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1\G

# Query 10: 72.55 QPS, 0.01x concurrency, ID 0x83CD2B0841C8BCE7 at byte 26040320
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:34:58 to 2021-07-23T07:36:00
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    4498
# Exec time      1   821ms   108us    27ms   182us   366us   409us   131us
# Lock time      2   258ms    36us     1ms    57us    89us    32us    49us
# Rows sent      0   4.39k       1       1       1       1       0       1
# Rows examine   0   4.39k       1       1       1       1       0       1
# Query size     2 174.72k      39      40   39.78   38.53       0   38.53
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE id=23\G

# Query 11: 36.27 QPS, 0.01x concurrency, ID 0xBF517FA8ECBD94B6 at byte 15237891
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:34:58 to 2021-07-23T07:36:00
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    2249
# Exec time      1   814ms   188us     7ms   362us   839us   351us   247us
# Lock time      1   165ms    45us     3ms    73us   144us    74us    57us
# Rows sent      2  19.77k       9       9       9       9       0       9
# Rows examine   0 197.67k      90      90      90      90       0      90
# Query size     2 225.97k      97     108  102.89  107.34    4.48  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ##
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM fare_master WHERE train_class='遅いやつ' AND seat_class='non-reserved' ORDER BY start_date\G

# Query 12: 3.23 QPS, 0.01x concurrency, ID 0xDE1038D3921D46BB at byte 15081439
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:35:00 to 2021-07-23T07:35:57
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     184
# Exec time      1   714ms     2ms    11ms     4ms     8ms     2ms     3ms
# Lock time      0    13ms    52us   437us    73us   103us    37us    60us
# Rows sent      0   1.53k       0      68    8.50   65.89   21.79       0
# Rows examine   2 709.86k   3.85k   3.92k   3.86k   3.88k      34   3.69k
# Query size     0  26.93k     147     153  149.87  151.03       3  143.84
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='最速' AND car_number=5 AND seat_class='premium' AND is_smoking_seat=0 ORDER BY seat_row, seat_column\G

# Query 13: 2.31 QPS, 0.01x concurrency, ID 0x813031B8BBC3B329 at byte 24040270
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:34:59 to 2021-07-23T07:36:00
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     141
# Exec time      1   704ms     4ms    21ms     5ms     6ms     2ms     5ms
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0     846       6       6       6       6       0       6
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
COMMIT\G

# Query 14: 26.97 QPS, 0.01x concurrency, ID 0xE572B4307D2C512C at byte 15115559
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:35:00 to 2021-07-23T07:35:58
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1564
# Exec time      0   639ms   196us    24ms   408us   626us   590us   366us
# Lock time      1   161ms    60us    24ms   103us   125us   584us    73us
# Rows sent      0   2.61k       0     176    1.71    7.70   11.47       0
# Rows examine   0 168.75k       0     230  110.49  223.14   63.03  112.70
# Query size     3 292.64k     188     196  191.60  192.76       4  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.* FROM seat_reservations s, reservations r WHERE r.date='2020/01/01' AND r.train_class='最速' AND r.train_name='1' AND car_number=8 AND seat_row=1 AND seat_column='A' FOR UPDATE\G

# Query 15: 1.76 QPS, 0.01x concurrency, ID 0x6C2B51712EA1484E at byte 3432
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:34:58 to 2021-07-23T07:36:00
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     109
# Exec time      0   622ms     3ms    18ms     6ms     9ms     2ms     5ms
# Lock time      0    18ms    70us     4ms   166us   301us   363us   103us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     1 155.34k   1.39k   1.44k   1.43k   1.39k       0   1.39k
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ###
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
INSERT INTO `users` (`email`, `salt`, `super_secure_password`) VALUES ('puser1@example.com', _binary'%y!����/Zrfcf�p]�Y����;#=O�P��iX��4НDr׿G9��b�G=݆\'�%�w=��!��ci�<���l޿�.j1c�O���ܦ*�G�y#��:NG���\'8�e��q��!�ΨsSc�N1�&��|�~_T絞;��6���>��iHsp�\'�1=�k�Q\n�YÍ҄b�q��){�f>{�\Z��+?���P�ܱ�����lQ�(�k+�\\\nS��n�$Š�h:������ �V�l%�g>��X󛼃���㝅iY��Mx~���u0��%pO#9~      �r�r��Pnu�(�3T�R鐒+qf�ޗ8��Z�D�ϫ⇾�+�����bGe��\n�d����X�-\0n6u��0غ��8x���/��Gs�Q�A\r�}Q�7H�,�o=�Ɏ\Zɸ�� ja��<�ك`����$�b���fG���]3Ѣ�|�����$r�[�kzY�����t��e-�_T#]qT��x���QKN���5�\0��VG�G�W�CH��Sn�������_A����I|+>\"/1?�iӳ�oQD��A�-� 4H�s�\Z\"ED��ȑ�I2��!NM�@n4�tG��V��yE���1q��$J�����E��X���`cNb�9\\��ZF7��nv��5�j�â+�7\\�@����\0  �\'���ms��#��$j��ګ���Xr%�`:�\\:�\\�M��j��ܽ��N�p8؈ґt�HYT,��*�ȏ���J�lp��X.�Fx�g�O��FE����>\\hv6�-M\\ii��d��(vH�M�����-�ڮrR�#�L��1��\r�̐84���y2��K@���\n�ҳJ@ɀ7�#X*w[p1u��P�F�ʲ�5�\\����sԌ��Z\\�8��D�>��$���\r�w��^�A(%�5nowZ�_E�\Z���T8_�ò9B� ej4D_�έ�o%�4#A-6/�S�x�^�Y6�P5�VQ��C��L�;���o@a9��ClVP���9�;Q\ru�v=D��r��ĨF�w=�yl܋kecQ&� �y�B���', _binary'-�C�;\rgs�N�s�^�Up@�e�t\0�\0��C    mbd���B��cdg�2m4Eny\'!{=i3c��W�?b� �Q�=��7�>E<���р8�3t����\Z��M��{����~���HT ���])���+���yL�R�\0���m�(B�͂8NDknӸE���G���(�%�Z�u~��x��W����OZ�i�B�����C�u�mEBR���_??��~�����>%OL�i�.5�QE^Y��eT<\Z�3��1�')\G

# Query 16: 3.18 QPS, 0.01x concurrency, ID 0x40CC47AD720C5B7A at byte 26047387
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T07:34:59 to 2021-07-23T07:35:59
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     191
# Exec time      0   588ms   156us    46ms     3ms    18ms     6ms   348us
# Lock time      5   501ms    53us    46ms     3ms    17ms     6ms    89us
# Rows sent      0     694       0      32    3.63   21.45    6.90    0.99
# Rows examine   0   8.79k       0      79   47.12   76.28   21.16   51.63
# Query size     0  20.83k     105     113  111.66  112.70    3.01  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ##############
#  10ms  ##########
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/01/06' AND train_class='遅いやつ' AND train_name='49' FOR UPDATE\G

# Query 17: 16.82 QPS, 0.01x concurrency, ID 0x695B410101D468B6 at byte 3020461
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.03
# Time range: 2021-07-23T07:34:58 to 2021-07-23T07:35:59
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0    1026
# Exec time      0   538ms   155us   138ms   524us   839us     4ms   247us
# Lock time      2   236ms    41us   138ms   230us   159us     4ms    66us
# Rows sent      0   1.00k       1       1       1       1       0       1
# Rows examine   0   1.00k       1       1       1       1       0       1
# Query size     1 100.87k      94     102  100.68   97.36    1.61   97.36
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ##
#  10ms  #
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM train_master WHERE date='2020/01/02' AND train_class='遅いやつ' AND train_name='79'\G
mism-mism commented 3 years ago

Top 20 Sort By Total
Count   Total    Mean  Stddev    Min  P50.0  P90.0  P95.0  P99.0    Max  2xx  3xx  4xx  5xx  TotalBytes   MinBytes  MeanBytes   MaxBytes  Request
  105  36.384  0.3465  0.5029  0.080  0.142  1.033  1.657  2.083  2.382  105    0    0    0      727810       6373       6931       9445  GET /api/train/seats
   90  26.760  0.2973  0.0919  0.000  0.263  0.415  0.426  0.477  0.477   89    0    1    0      355236         57       3947       4242  GET /api/train/search
  262  21.370  0.0816  0.0822  0.002  0.080  0.121  0.161  0.540  0.722  104    0  158    0       20797          0         79        174  POST /api/train/reserve HTTP/1.1
   29  15.177  0.5233  0.5024  0.001  1.007  1.010  1.010  1.010  1.010   15    0   14    0        1377         47         47         48  POST /api/user/reservations/<num>/cancel HTTP/1.1
  205   1.568  0.0076  0.0051  0.000  0.007  0.013  0.015  0.027  0.043  190    0   15    0       64383         51        314        344  GET /api/user/reservations/<num> HTTP/1.1
  133   1.016  0.0076  0.0042  0.005  0.007  0.010  0.012  0.024  0.043  133    0    0    0        6916         52         52         52  POST /api/auth/signup HTTP/1.1
  101   0.717  0.0071  0.0036  0.001  0.007  0.012  0.013  0.016  0.019  101    0    0    0       29023          3        287        346  GET /api/user/reservations HTTP/1.1
   43   0.379  0.0088  0.0033  0.006  0.007  0.012  0.017  0.023  0.023   43    0    0    0         602         14         14         14  POST /api/train/reservation/commit HTTP/1.1
  134   0.201  0.0015  0.0009  0.001  0.001  0.002  0.002  0.007  0.007  133    0    1    0        5770         43         43         51  POST /api/auth/login HTTP/1.1
    1   0.152  0.1520  0.0000  0.152  0.152  0.152  0.152  0.152  0.152    1    0    0    0          42         42         42         42  POST /initialize HTTP/1.1
   72   0.097  0.0013  0.0013  0.000  0.001  0.002  0.002  0.010  0.010   72    0    0    0      599356       8317       8324       8330  GET /api/stations HTTP/1.1
   43   0.017  0.0004  0.0005  0.000  0.000  0.001  0.001  0.001  0.001   43    0    0    0        1763         41         41         41  POST /api/auth/logout HTTP/1.1
    1   0.004  0.0040  0.0000  0.004  0.004  0.004  0.004  0.004  0.004    1    0    0    0      438711     438711     438711     438711  GET /js/chunk-vendors.2b84179f.js HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       13950      13950      13950      13950  GET /css/app.6535e252.css HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0        4286       4286       4286       4286  GET /favicon.ico HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0         724        724        724        724  GET /index.html HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       55412      55412      55412      55412  GET /js/app.44fa4ee9.js HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0        2505       2505       2505       2505  GET /img/logo.b0efca9a.svg HTTP/1.1
mism-mism commented 3 years ago


# 9.4s user time, 30ms system time, 29.36M rss, 36.37M vsz
# Current date: Fri Jul 23 07:59:24 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_075859/mysql-slow.log
# Overall: 125.66k total, 50 unique, 1.46k QPS, 0.74x concurrency ________
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:40
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time            64s     2us   104ms   506us     2ms     2ms   185us
# Lock time            10s       0    84ms    81us   119us   693us    49us
# Rows sent        858.81k       0     715    7.00   11.95   39.54    0.99
# Rows examine      26.26M       0   3.95k  219.10  685.39  822.13    0.99
# Query size         9.35M       6   1.44k   78.05  183.58   81.86   46.83

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0xCAAEA492DF36ED47 14.3574 22.5%  3440 0.0042  0.00 SELECT seat_master
#    2 0x42E225DE698CE579 12.0875 19.0% 59280 0.0002  0.00 SELECT station_master
#    3 0xF45677EF82580C7F  7.5706 11.9%   417 0.0182  0.02 SELECT seat_master
#    4 0x5051645A82753AFA  6.8970 10.8%  1785 0.0039  0.00 SELECT seat_master
#    5 0xA8E53F81FC7DE072  4.9921  7.8% 23339 0.0002  0.00 SELECT reservations
#    6 0x762B69AA11BF45BB  2.9953  4.7%  7472 0.0004  0.00 SELECT seat_reservations reservations
#    7 0xB9CE7A1316DCFADD  2.0915  3.3%  2400 0.0009  0.00 SELECT seat_reservations reservations station_master
#    8 0x48AC4127D5F26679  1.1674  1.8%   276 0.0042  0.00 SELECT seat_master
#    9 0x40CC47AD720C5B7A  1.0799  1.7%   231 0.0047  0.01 SELECT reservations
#   10 0x83CD2B0841C8BCE7  0.9719  1.5%  5370 0.0002  0.00 SELECT station_master
#   11 0xBF517FA8ECBD94B6  0.9277  1.5%  2685 0.0003  0.00 SELECT fare_master
#   12 0xDE1038D3921D46BB  0.9190  1.4%   232 0.0040  0.00 SELECT seat_master
#   13 0x813031B8BBC3B329  0.9097  1.4%   163 0.0056  0.00 COMMIT
#   14 0xF5672BCEBE977130  0.8900  1.4%  1040 0.0009  0.00 SELECT seat_reservations reservations station_master
#   15 0xE572B4307D2C512C  0.8829  1.4%  1972 0.0004  0.00 SELECT seat_reservations reservations
#   16 0x6C2B51712EA1484E  0.8312  1.3%   133 0.0062  0.00 INSERT users
#   17 0xD45818DCBB6199A2  0.6946  1.1%  4836 0.0001  0.00 SELECT reservations
#   18 0x3505CEACD14FFD6D  0.5840  0.9%  2685 0.0002  0.00 SELECT distance_fare_master
# MISC 0xMISC              2.8397  4.5%  7904 0.0004   0.0 <32 ITEMS>

# Query 1: 55.48 QPS, 0.23x concurrency, ID 0xCAAEA492DF36ED47 at byte 353691
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:16
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    3440
# Exec time     22     14s     2ms    25ms     4ms     8ms     2ms     3ms
# Lock time      2   268ms    43us     4ms    77us   125us    92us    60us
# Rows sent     53 455.94k       0     715  135.72  685.39  188.04   62.76
# Rows examine  49  12.93M   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     3 347.48k      99     106  103.43  102.22    2.31  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND seat_class='premium' AND is_smoking_seat=1\G

# Query 2: 940.95 QPS, 0.19x concurrency, ID 0x42E225DE698CE579 at byte 18868844
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         47   59280
# Exec time     18     12s    96us    20ms   203us   366us   251us   152us
# Lock time     35      4s    33us     5ms    62us    89us    75us    49us
# Rows sent      6  57.89k       1       1       1       1       0       1
# Rows examine   0  57.89k       1       1       1       1       0       1
# Query size    29   2.73M      48      54   48.27   49.17    0.92   46.83
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE name='大阪'\G

# Query 3: 6.84 QPS, 0.12x concurrency, ID 0xF45677EF82580C7F at byte 2337537
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.02
# Time range: 2021-07-23T07:57:15 to 2021-07-23T07:58:16
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     417
# Exec time     11      8s     2ms   104ms    18ms    46ms    17ms    12ms
# Lock time      5   593ms    46us    84ms     1ms   725us     9ms    69us
# Rows sent      0     403       0       1    0.97    0.99    0.18    0.99
# Rows examine   5   1.57M   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     0  55.12k     129     138  135.36  136.99    2.76  130.47
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ###############################################
#  10ms  ################################################################
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1 AND seat_class='premium'\G

# Query 4: 28.79 QPS, 0.11x concurrency, ID 0x5051645A82753AFA at byte 7639558
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:16
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1785
# Exec time     10      7s     2ms    19ms     4ms     7ms     2ms     3ms
# Lock time      1   131ms    45us     1ms    73us   119us    45us    60us
# Rows sent      0   1.64k       0       1    0.94    0.99    0.23    0.99
# Rows examine  25   6.71M   3.85k   3.85k   3.85k   3.69k       0   3.69k
# Query size     2 196.65k     108     115  112.81  112.70    2.40  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=12 ORDER BY seat_row, seat_column LIMIT 1\G

# Query 5: 388.98 QPS, 0.08x concurrency, ID 0xA8E53F81FC7DE072 at byte 2313555
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:15 to 2021-07-23T07:58:15
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         18   23339
# Exec time      7      5s   103us    18ms   213us   384us   244us   167us
# Lock time     14      2s    36us    17ms    65us    89us   148us    49us
# Rows sent      2  22.79k       1       1       1       1       0       1
# Rows examine   0  22.79k       1       1       1       1       0       1
# Query size    11   1.11M      49      51   49.77   49.17    0.98   49.17
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=10\G

# Query 6: 120.52 QPS, 0.05x concurrency, ID 0x762B69AA11BF45BB at byte 23228642
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:16
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          5    7472
# Exec time      4      3s   191us     7ms   400us   725us   245us   332us
# Lock time      7   764ms    59us     3ms   102us   204us    74us    80us
# Rows sent      2  22.75k       0      62    3.12   24.84    8.06       0
# Rows examine   2 621.82k       0     263   85.22  183.58   59.98   69.19
# Query size    14   1.31M     179     188  184.39  183.58    4.10  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*
FROM seat_reservations s, reservations r
WHERE
    r.date='2020/01/08' AND r.train_class='遅いやつ' AND r.train_name='89' AND car_number=9 AND seat_row=3 AND seat_column='B'\G

# Query 7: 39.34 QPS, 0.03x concurrency, ID 0xB9CE7A1316DCFADD at byte 14523963
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:15 to 2021-07-23T07:58:16
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2400
# Exec time      3      2s   223us     7ms   871us     2ms   486us   690us
# Lock time      3   358ms    82us     3ms   149us   301us   125us   113us
# Rows sent     12 109.96k       0     127   46.92  107.34   38.02   27.38
# Rows examine   3 1001.38k       0     708  427.25  685.39  184.70  463.90
# Query size    10 982.52k     418     421  419.21  420.77    1.50  400.73
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ####################
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((std.id <= 1 AND 1 < sta.id) OR (std.id <= 82 AND 82 < sta.id) OR (sta.id < 1 AND 82 < std.id))\G

# Query 8: 4.60 QPS, 0.02x concurrency, ID 0x48AC4127D5F26679 at byte 34721170
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:15 to 2021-07-23T07:58:15
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     276
# Exec time      1      1s     2ms    25ms     4ms     8ms     3ms     4ms
# Lock time      0    28ms    44us     7ms   102us   125us   391us    60us
# Rows sent      0     276       1       1       1       1       0       1
# Rows examine   3   1.04M   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     0  29.50k     104     112  109.44  107.34    1.92  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ##
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1\G

# Query 9: 3.73 QPS, 0.02x concurrency, ID 0x40CC47AD720C5B7A at byte 25981949
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T07:57:15 to 2021-07-23T07:58:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     231
# Exec time      1      1s   157us    36ms     5ms    24ms     8ms   348us
# Lock time      9   989ms    54us    35ms     4ms    24ms     8ms    89us
# Rows sent      0     790       0      32    3.42   19.46    6.42    0.99
# Rows examine   0  11.93k       0      89   52.90   84.10   24.31   54.21
# Query size     0  25.21k     105     113  111.74  112.70    2.95  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###########
#  10ms  ##################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/01/01' AND train_class='遅いやつ' AND train_name='103' FOR UPDATE\G

# Query 10: 85.24 QPS, 0.02x concurrency, ID 0x83CD2B0841C8BCE7 at byte 25579237
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    5370
# Exec time      1   972ms   101us     3ms   180us   366us   142us   138us
# Lock time      3   322ms    36us     3ms    59us    89us    52us    49us
# Rows sent      0   5.24k       1       1       1       1       0       1
# Rows examine   0   5.24k       1       1       1       1       0       1
# Query size     2 208.51k      39      40   39.76   38.53       0   38.53
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE id=10\G

# Query 11: 42.62 QPS, 0.01x concurrency, ID 0xBF517FA8ECBD94B6 at byte 26204849
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    2685
# Exec time      1   928ms   188us     6ms   345us   839us   271us   247us
# Lock time      1   191ms    43us   587us    71us   159us    45us    57us
# Rows sent      2  23.60k       9       9       9       9       0       9
# Rows examine   0 235.99k      90      90      90      90       0      90
# Query size     2 269.86k      97     108  102.92  107.34    4.47  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM fare_master WHERE train_class='最速' AND seat_class='non-reserved' ORDER BY start_date\G

# Query 12: 3.87 QPS, 0.02x concurrency, ID 0xDE1038D3921D46BB at byte 9462968
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:16 to 2021-07-23T07:58:16
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     232
# Exec time      1   919ms     2ms    15ms     4ms     8ms     2ms     3ms
# Lock time      0    21ms    51us     1ms    89us   194us   106us    63us
# Rows sent      0   1.93k       0      68    8.50   65.89   21.79       0
# Rows examine   3 895.04k   3.85k   3.92k   3.86k   3.88k      34   3.69k
# Query size     0  33.96k     147     153  149.90  151.03       3  143.84
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=5 AND seat_class='premium' AND is_smoking_seat=0 ORDER BY seat_row, seat_column\G

# Query 13: 2.63 QPS, 0.01x concurrency, ID 0x813031B8BBC3B329 at byte 26725704
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:15 to 2021-07-23T07:58:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     163
# Exec time      1   910ms     3ms    21ms     6ms     8ms     2ms     5ms
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0     978       6       6       6       6       0       6
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ##
# 100ms
#    1s
#  10s+
COMMIT\G

# Query 14: 17.05 QPS, 0.01x concurrency, ID 0xF5672BCEBE977130 at byte 11312421
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:15
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0    1040
# Exec time      1   890ms   223us     4ms   855us     2ms   417us   690us
# Lock time      1   140ms    84us     1ms   134us   236us    90us   108us
# Rows sent     10  89.46k       0     133   88.09  124.25   34.31   92.72
# Rows examine   1 486.68k       0     700  479.19  652.75  180.79  537.02
# Query size     4 426.99k     415     421  420.42  420.77       3  420.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ####################
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((sta.id < 52 AND 52 <= std.id) OR (sta.id < 28 AND 28 <= std.id) OR (52 < sta.id AND std.id < 28))\G

# Query 15: 32.33 QPS, 0.01x concurrency, ID 0xE572B4307D2C512C at byte 15638690
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:16 to 2021-07-23T07:58:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1972
# Exec time      1   883ms   195us     2ms   447us   761us   171us   403us
# Lock time      1   185ms    59us   590us    93us   185us    45us    76us
# Rows sent      0   4.72k       0     266    2.45   10.84   15.79       0
# Rows examine   0 252.51k       0     266  131.12  246.02   75.08  136.99
# Query size     3 369.13k     188     196  191.68  192.76       4  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.* FROM seat_reservations s, reservations r WHERE r.date='2020/01/01' AND r.train_class='最速' AND r.train_name='1' AND car_number=8 AND seat_row=14 AND seat_column='A' FOR UPDATE\G

# Query 16: 2.15 QPS, 0.01x concurrency, ID 0x6C2B51712EA1484E at byte 13864268
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:16
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     133
# Exec time      1   831ms     3ms    42ms     6ms     9ms     4ms     5ms
# Lock time      0    26ms    71us     9ms   192us   384us   714us    98us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     1 189.91k   1.38k   1.44k   1.43k   1.39k   10.07   1.39k
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ###
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
INSERT INTO `users` (`email`, `salt`, `super_secure_password`) VALUES ('4e5640385a9320392c7231db918fbaf48c19ac33@example.com', _binary'Ǻ��3��������>83��\Z�$�}y  C����~���|e���W4�� q���{�8�\\1��\'�4V���x���p3�g�։�4\n4���KS^���u�L���\r������!�E\"JTe���ڦ���BQ����^��J�v>\'��(�����e\r0���9\"�w,���b-�5z�0`SN�bP?G��������Ա,���\rG夘�R�=î~���������@���9\Z*\'��]�b��=N����0�\0rK�Cl?Ϛ�@ӊ��[��*u�\\6�[<�T?�b�d�(#hH��8��\"��=Q�Qi�\'d�������C�̼i���\0��;����z��Ե�A�i\r�z��M[� ���������ƃ���G�I�#z1[�5e����$I ����JKhZ��/@׈9�&�p�<�N2(��I�#�J��Jcc��C��[Y˼��1�3�����+[؜p�~s���N���D����1��&�#��NG�\\�;�#.8�ߎQ&(F�@��*ubm���Fx�T�\rL�6�������U5���?�#X6\n�)].�%�0<୪4��²r{�]�\n����r�ל�`@�CUB��YOðk��)��[t+O+0��������,O���;�:[��L���4\"w�PӬ=h@��\Z��^��w��7��Lq�JJ�eF�-�-[���Ƹ�ؐC�ͯ�\"F�����_%�o��7ɞ\r��I�\"�[�I�d��u��o���`��K��l;�n�L���@�લ5Z�\'%m�d��=��x= oc�������~��79?��K���@k�y���l˺��ls[v�RA��o;�Njyu���n�u<������[b����CSC�Z3N>UYX�V͚�;�\0���9��I�o��[b��u�\",��s��_�\\�fY�9]�����8��-_�Q@�����@�\ZB��t3���o������%�}e0QS�QG�9<|���.��7Ǵ@̔� �?r�0uQ��=����\09ֳ��l��f���e���̜����1�\"', _binary'�����^��@��\\m)n3���B=��.��M���&�l\\��ÀG�<p�~�\r�vP���;��}8g���*d�5̇��5P�T���������    u�v��1Z}p�c��}ꐶ$��cח�\Z\"�LM��\n�T>6�g��w��#�K}\nKG��bO��I�r�e9�\Z��d�H����~�*���P�7S��;凅��!�z�����  c�?9\0{�\r�Ayy��l�;��A��5X��O�<}�y���>8�Q����@.�')\G

# Query 17: 86.36 QPS, 0.01x concurrency, ID 0xD45818DCBB6199A2 at byte 24734466
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:21 to 2021-07-23T07:58:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          3    4836
# Exec time      1   695ms   107us   585us   143us   204us    44us   125us
# Lock time      2   261ms    39us   313us    53us    69us    14us    49us
# Rows sent      0   4.72k       1       1       1       1       0       1
# Rows examine   0   4.72k       1       1       1       1       0       1
# Query size     3 287.72k      60      62   60.92   59.77       0   59.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=54 FOR UPDATE\G

# Query 18: 42.62 QPS, 0.01x concurrency, ID 0x3505CEACD14FFD6D at byte 6765643
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    2685
# Exec time      0   584ms   113us     3ms   217us   568us   243us   131us
# Lock time      1   144ms    36us     3ms    53us    84us    62us    44us
# Rows sent      3  26.22k      10      10      10      10       0      10
# Rows examine   0  52.44k      20      20      20      20       0      20
# Query size     1 167.81k      64      64      64      64       0      64
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ##
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'distance_fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`distance_fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT distance,fare FROM distance_fare_master ORDER BY distance\G
mism-mism commented 3 years ago

Top 20 Sort By Total
Count   Total    Mean  Stddev    Min  P50.0  P90.0  P95.0  P99.0    Max  2xx  3xx  4xx  5xx  TotalBytes   MinBytes  MeanBytes   MaxBytes  Request
  105  36.384  0.3465  0.5029  0.080  0.142  1.033  1.657  2.083  2.382  105    0    0    0      727810       6373       6931       9445  GET /api/train/seats
   90  26.760  0.2973  0.0919  0.000  0.263  0.415  0.426  0.477  0.477   89    0    1    0      355236         57       3947       4242  GET /api/train/search
  262  21.370  0.0816  0.0822  0.002  0.080  0.121  0.161  0.540  0.722  104    0  158    0       20797          0         79        174  POST /api/train/reserve HTTP/1.1
   29  15.177  0.5233  0.5024  0.001  1.007  1.010  1.010  1.010  1.010   15    0   14    0        1377         47         47         48  POST /api/user/reservations/<num>/cancel HTTP/1.1
  205   1.568  0.0076  0.0051  0.000  0.007  0.013  0.015  0.027  0.043  190    0   15    0       64383         51        314        344  GET /api/user/reservations/<num> HTTP/1.1
  133   1.016  0.0076  0.0042  0.005  0.007  0.010  0.012  0.024  0.043  133    0    0    0        6916         52         52         52  POST /api/auth/signup HTTP/1.1
  101   0.717  0.0071  0.0036  0.001  0.007  0.012  0.013  0.016  0.019  101    0    0    0       29023          3        287        346  GET /api/user/reservations HTTP/1.1
   43   0.379  0.0088  0.0033  0.006  0.007  0.012  0.017  0.023  0.023   43    0    0    0         602         14         14         14  POST /api/train/reservation/commit HTTP/1.1
  134   0.201  0.0015  0.0009  0.001  0.001  0.002  0.002  0.007  0.007  133    0    1    0        5770         43         43         51  POST /api/auth/login HTTP/1.1
    1   0.152  0.1520  0.0000  0.152  0.152  0.152  0.152  0.152  0.152    1    0    0    0          42         42         42         42  POST /initialize HTTP/1.1
   72   0.097  0.0013  0.0013  0.000  0.001  0.002  0.002  0.010  0.010   72    0    0    0      599356       8317       8324       8330  GET /api/stations HTTP/1.1
   43   0.017  0.0004  0.0005  0.000  0.000  0.001  0.001  0.001  0.001   43    0    0    0        1763         41         41         41  POST /api/auth/logout HTTP/1.1
    1   0.004  0.0040  0.0000  0.004  0.004  0.004  0.004  0.004  0.004    1    0    0    0      438711     438711     438711     438711  GET /js/chunk-vendors.2b84179f.js HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0        4286       4286       4286       4286  GET /favicon.ico HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0         724        724        724        724  GET /index.html HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       13950      13950      13950      13950  GET /css/app.6535e252.css HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0        2505       2505       2505       2505  GET /img/logo.b0efca9a.svg HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       55412      55412      55412      55412  GET /js/app.44fa4ee9.js HTTP/1.1
mism-mism commented 3 years ago


# 9.6s user time, 30ms system time, 29.34M rss, 36.37M vsz
# Current date: Fri Jul 23 08:05:29 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_080517/mysql-slow.log
# Overall: 125.66k total, 51 unique, 1.16k QPS, 0.59x concurrency ________
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:59:02
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time            64s     2us   104ms   506us     2ms     2ms   185us
# Lock time            10s       0    84ms    81us   119us   693us    49us
# Rows sent        858.82k       0     715    7.00   11.95   39.54    0.99
# Rows examine      26.26M       0   3.95k  219.10  685.39  822.12    0.99
# Query size         9.35M       6   1.44k   78.05  183.58   81.86   46.83

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0xCAAEA492DF36ED47 14.3574 22.5%  3440 0.0042  0.00 SELECT seat_master
#    2 0x42E225DE698CE579 12.0875 19.0% 59280 0.0002  0.00 SELECT station_master
#    3 0xF45677EF82580C7F  7.5706 11.9%   417 0.0182  0.02 SELECT seat_master
#    4 0x5051645A82753AFA  6.8970 10.8%  1785 0.0039  0.00 SELECT seat_master
#    5 0xA8E53F81FC7DE072  4.9921  7.8% 23339 0.0002  0.00 SELECT reservations
#    6 0x762B69AA11BF45BB  2.9953  4.7%  7472 0.0004  0.00 SELECT seat_reservations reservations
#    7 0xB9CE7A1316DCFADD  2.0915  3.3%  2400 0.0009  0.00 SELECT seat_reservations reservations station_master
#    8 0x48AC4127D5F26679  1.1674  1.8%   276 0.0042  0.00 SELECT seat_master
#    9 0x40CC47AD720C5B7A  1.0799  1.7%   231 0.0047  0.01 SELECT reservations
#   10 0x83CD2B0841C8BCE7  0.9719  1.5%  5370 0.0002  0.00 SELECT station_master
#   11 0xBF517FA8ECBD94B6  0.9277  1.5%  2685 0.0003  0.00 SELECT fare_master
#   12 0xDE1038D3921D46BB  0.9190  1.4%   232 0.0040  0.00 SELECT seat_master
#   13 0x813031B8BBC3B329  0.9097  1.4%   163 0.0056  0.00 COMMIT
#   14 0xF5672BCEBE977130  0.8900  1.4%  1040 0.0009  0.00 SELECT seat_reservations reservations station_master
#   15 0xE572B4307D2C512C  0.8829  1.4%  1972 0.0004  0.00 SELECT seat_reservations reservations
#   16 0x6C2B51712EA1484E  0.8312  1.3%   133 0.0062  0.00 INSERT users
#   17 0xD45818DCBB6199A2  0.6946  1.1%  4836 0.0001  0.00 SELECT reservations
#   18 0x3505CEACD14FFD6D  0.5840  0.9%  2685 0.0002  0.00 SELECT distance_fare_master
# MISC 0xMISC              2.8410  4.5%  7905 0.0004   0.0 <33 ITEMS>

# Query 1: 55.48 QPS, 0.23x concurrency, ID 0xCAAEA492DF36ED47 at byte 353691
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:16
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    3440
# Exec time     22     14s     2ms    25ms     4ms     8ms     2ms     3ms
# Lock time      2   268ms    43us     4ms    77us   125us    92us    60us
# Rows sent     53 455.94k       0     715  135.72  685.39  188.04   62.76
# Rows examine  49  12.93M   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     3 347.48k      99     106  103.43  102.22    2.31  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND seat_class='premium' AND is_smoking_seat=1\G

# Query 2: 940.95 QPS, 0.19x concurrency, ID 0x42E225DE698CE579 at byte 18868844
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         47   59280
# Exec time     18     12s    96us    20ms   203us   366us   251us   152us
# Lock time     35      4s    33us     5ms    62us    89us    75us    49us
# Rows sent      6  57.89k       1       1       1       1       0       1
# Rows examine   0  57.89k       1       1       1       1       0       1
# Query size    29   2.73M      48      54   48.27   49.17    0.92   46.83
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE name='大阪'\G

# Query 3: 6.84 QPS, 0.12x concurrency, ID 0xF45677EF82580C7F at byte 2337537
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.02
# Time range: 2021-07-23T07:57:15 to 2021-07-23T07:58:16
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     417
# Exec time     11      8s     2ms   104ms    18ms    46ms    17ms    12ms
# Lock time      5   593ms    46us    84ms     1ms   725us     9ms    69us
# Rows sent      0     403       0       1    0.97    0.99    0.18    0.99
# Rows examine   5   1.57M   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     0  55.12k     129     138  135.36  136.99    2.76  130.47
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ###############################################
#  10ms  ################################################################
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1 AND seat_class='premium'\G

# Query 4: 28.79 QPS, 0.11x concurrency, ID 0x5051645A82753AFA at byte 7639558
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:16
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1785
# Exec time     10      7s     2ms    19ms     4ms     7ms     2ms     3ms
# Lock time      1   131ms    45us     1ms    73us   119us    45us    60us
# Rows sent      0   1.64k       0       1    0.94    0.99    0.23    0.99
# Rows examine  25   6.71M   3.85k   3.85k   3.85k   3.69k       0   3.69k
# Query size     2 196.65k     108     115  112.81  112.70    2.40  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=12 ORDER BY seat_row, seat_column LIMIT 1\G

# Query 5: 388.98 QPS, 0.08x concurrency, ID 0xA8E53F81FC7DE072 at byte 2313555
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:15 to 2021-07-23T07:58:15
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         18   23339
# Exec time      7      5s   103us    18ms   213us   384us   244us   167us
# Lock time     14      2s    36us    17ms    65us    89us   148us    49us
# Rows sent      2  22.79k       1       1       1       1       0       1
# Rows examine   0  22.79k       1       1       1       1       0       1
# Query size    11   1.11M      49      51   49.77   49.17    0.98   49.17
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=10\G

# Query 6: 120.52 QPS, 0.05x concurrency, ID 0x762B69AA11BF45BB at byte 23228642
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:16
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          5    7472
# Exec time      4      3s   191us     7ms   400us   725us   245us   332us
# Lock time      7   764ms    59us     3ms   102us   204us    74us    80us
# Rows sent      2  22.75k       0      62    3.12   24.84    8.06       0
# Rows examine   2 621.82k       0     263   85.22  183.58   59.98   69.19
# Query size    14   1.31M     179     188  184.39  183.58    4.10  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*
FROM seat_reservations s, reservations r
WHERE
    r.date='2020/01/08' AND r.train_class='遅いやつ' AND r.train_name='89' AND car_number=9 AND seat_row=3 AND seat_column='B'\G

# Query 7: 39.34 QPS, 0.03x concurrency, ID 0xB9CE7A1316DCFADD at byte 14523963
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:15 to 2021-07-23T07:58:16
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2400
# Exec time      3      2s   223us     7ms   871us     2ms   486us   690us
# Lock time      3   358ms    82us     3ms   149us   301us   125us   113us
# Rows sent     12 109.96k       0     127   46.92  107.34   38.02   27.38
# Rows examine   3 1001.38k       0     708  427.25  685.39  184.70  463.90
# Query size    10 982.52k     418     421  419.21  420.77    1.50  400.73
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ####################
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((std.id <= 1 AND 1 < sta.id) OR (std.id <= 82 AND 82 < sta.id) OR (sta.id < 1 AND 82 < std.id))\G

# Query 8: 4.60 QPS, 0.02x concurrency, ID 0x48AC4127D5F26679 at byte 34721170
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:15 to 2021-07-23T07:58:15
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     276
# Exec time      1      1s     2ms    25ms     4ms     8ms     3ms     4ms
# Lock time      0    28ms    44us     7ms   102us   125us   391us    60us
# Rows sent      0     276       1       1       1       1       0       1
# Rows examine   3   1.04M   3.85k   3.85k   3.85k   3.85k       0   3.85k
# Query size     0  29.50k     104     112  109.44  107.34    1.92  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ##
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1\G

# Query 9: 3.73 QPS, 0.02x concurrency, ID 0x40CC47AD720C5B7A at byte 25981949
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T07:57:15 to 2021-07-23T07:58:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     231
# Exec time      1      1s   157us    36ms     5ms    24ms     8ms   348us
# Lock time      9   989ms    54us    35ms     4ms    24ms     8ms    89us
# Rows sent      0     790       0      32    3.42   19.46    6.42    0.99
# Rows examine   0  11.93k       0      89   52.90   84.10   24.31   54.21
# Query size     0  25.21k     105     113  111.74  112.70    2.95  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###########
#  10ms  ##################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/01/01' AND train_class='遅いやつ' AND train_name='103' FOR UPDATE\G

# Query 10: 85.24 QPS, 0.02x concurrency, ID 0x83CD2B0841C8BCE7 at byte 25579237
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    5370
# Exec time      1   972ms   101us     3ms   180us   366us   142us   138us
# Lock time      3   322ms    36us     3ms    59us    89us    52us    49us
# Rows sent      0   5.24k       1       1       1       1       0       1
# Rows examine   0   5.24k       1       1       1       1       0       1
# Query size     2 208.51k      39      40   39.76   38.53       0   38.53
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE id=10\G

# Query 11: 42.62 QPS, 0.01x concurrency, ID 0xBF517FA8ECBD94B6 at byte 26204849
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    2685
# Exec time      1   928ms   188us     6ms   345us   839us   271us   247us
# Lock time      1   191ms    43us   587us    71us   159us    45us    57us
# Rows sent      2  23.60k       9       9       9       9       0       9
# Rows examine   0 235.99k      90      90      90      90       0      90
# Query size     2 269.86k      97     108  102.92  107.34    4.47  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM fare_master WHERE train_class='最速' AND seat_class='non-reserved' ORDER BY start_date\G

# Query 12: 3.87 QPS, 0.02x concurrency, ID 0xDE1038D3921D46BB at byte 9462968
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:16 to 2021-07-23T07:58:16
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     232
# Exec time      1   919ms     2ms    15ms     4ms     8ms     2ms     3ms
# Lock time      0    21ms    51us     1ms    89us   194us   106us    63us
# Rows sent      0   1.93k       0      68    8.50   65.89   21.79       0
# Rows examine   3 895.04k   3.85k   3.92k   3.86k   3.88k      34   3.69k
# Query size     0  33.96k     147     153  149.90  151.03       3  143.84
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=5 AND seat_class='premium' AND is_smoking_seat=0 ORDER BY seat_row, seat_column\G

# Query 13: 2.63 QPS, 0.01x concurrency, ID 0x813031B8BBC3B329 at byte 26725704
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:15 to 2021-07-23T07:58:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     163
# Exec time      1   910ms     3ms    21ms     6ms     8ms     2ms     5ms
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0     978       6       6       6       6       0       6
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ##
# 100ms
#    1s
#  10s+
COMMIT\G

# Query 14: 17.05 QPS, 0.01x concurrency, ID 0xF5672BCEBE977130 at byte 11312421
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:15
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0    1040
# Exec time      1   890ms   223us     4ms   855us     2ms   417us   690us
# Lock time      1   140ms    84us     1ms   134us   236us    90us   108us
# Rows sent     10  89.46k       0     133   88.09  124.25   34.31   92.72
# Rows examine   1 486.68k       0     700  479.19  652.75  180.79  537.02
# Query size     4 426.99k     415     421  420.42  420.77       3  420.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ####################
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((sta.id < 52 AND 52 <= std.id) OR (sta.id < 28 AND 28 <= std.id) OR (52 < sta.id AND std.id < 28))\G

# Query 15: 32.33 QPS, 0.01x concurrency, ID 0xE572B4307D2C512C at byte 15638690
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:16 to 2021-07-23T07:58:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1972
# Exec time      1   883ms   195us     2ms   447us   761us   171us   403us
# Lock time      1   185ms    59us   590us    93us   185us    45us    76us
# Rows sent      0   4.72k       0     266    2.45   10.84   15.79       0
# Rows examine   0 252.51k       0     266  131.12  246.02   75.08  136.99
# Query size     3 369.13k     188     196  191.68  192.76       4  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.* FROM seat_reservations s, reservations r WHERE r.date='2020/01/01' AND r.train_class='最速' AND r.train_name='1' AND car_number=8 AND seat_row=14 AND seat_column='A' FOR UPDATE\G

# Query 16: 2.15 QPS, 0.01x concurrency, ID 0x6C2B51712EA1484E at byte 13864268
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:16
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     133
# Exec time      1   831ms     3ms    42ms     6ms     9ms     4ms     5ms
# Lock time      0    26ms    71us     9ms   192us   384us   714us    98us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     1 189.91k   1.38k   1.44k   1.43k   1.39k   10.07   1.39k
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ###
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
INSERT INTO `users` (`email`, `salt`, `super_secure_password`) VALUES ('4e5640385a9320392c7231db918fbaf48c19ac33@example.com', _binary'Ǻ��3��������>83��\Z�$�}y  C����~���|e���W4�� q���{�8�\\1��\'�4V���x���p3�g�։�4\n4���KS^���u�L���\r������!�E\"JTe���ڦ���BQ����^��J�v>\'��(�����e\r0���9\"�w,���b-�5z�0`SN�bP?G��������Ա,���\rG夘�R�=î~���������@���9\Z*\'��]�b��=N����0�\0rK�Cl?Ϛ�@ӊ��[��*u�\\6�[<�T?�b�d�(#hH��8��\"��=Q�Qi�\'d�������C�̼i���\0��;����z��Ե�A�i\r�z��M[� ���������ƃ���G�I�#z1[�5e����$I ����JKhZ��/@׈9�&�p�<�N2(��I�#�J��Jcc��C��[Y˼��1�3�����+[؜p�~s���N���D����1��&�#��NG�\\�;�#.8�ߎQ&(F�@��*ubm���Fx�T�\rL�6�������U5���?�#X6\n�)].�%�0<୪4��²r{�]�\n����r�ל�`@�CUB��YOðk��)��[t+O+0��������,O���;�:[��L���4\"w�PӬ=h@��\Z��^��w��7��Lq�JJ�eF�-�-[���Ƹ�ؐC�ͯ�\"F�����_%�o��7ɞ\r��I�\"�[�I�d��u��o���`��K��l;�n�L���@�લ5Z�\'%m�d��=��x= oc�������~��79?��K���@k�y���l˺��ls[v�RA��o;�Njyu���n�u<������[b����CSC�Z3N>UYX�V͚�;�\0���9��I�o��[b��u�\",��s��_�\\�fY�9]�����8��-_�Q@�����@�\ZB��t3���o������%�}e0QS�QG�9<|���.��7Ǵ@̔� �?r�0uQ��=����\09ֳ��l��f���e���̜����1�\"', _binary'�����^��@��\\m)n3���B=��.��M���&�l\\��ÀG�<p�~�\r�vP���;��}8g���*d�5̇��5P�T���������    u�v��1Z}p�c��}ꐶ$��cח�\Z\"�LM��\n�T>6�g��w��#�K}\nKG��bO��I�r�e9�\Z��d�H����~�*���P�7S��;凅��!�z�����  c�?9\0{�\r�Ayy��l�;��A��5X��O�<}�y���>8�Q����@.�')\G

# Query 17: 86.36 QPS, 0.01x concurrency, ID 0xD45818DCBB6199A2 at byte 24734466
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:21 to 2021-07-23T07:58:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          3    4836
# Exec time      1   695ms   107us   585us   143us   204us    44us   125us
# Lock time      2   261ms    39us   313us    53us    69us    14us    49us
# Rows sent      0   4.72k       1       1       1       1       0       1
# Rows examine   0   4.72k       1       1       1       1       0       1
# Query size     3 287.72k      60      62   60.92   59.77       0   59.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=54 FOR UPDATE\G

# Query 18: 42.62 QPS, 0.01x concurrency, ID 0x3505CEACD14FFD6D at byte 6765643
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T07:57:14 to 2021-07-23T07:58:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    2685
# Exec time      0   584ms   113us     3ms   217us   568us   243us   131us
# Lock time      1   144ms    36us     3ms    53us    84us    62us    44us
# Rows sent      3  26.22k      10      10      10      10       0      10
# Rows examine   0  52.44k      20      20      20      20       0      20
# Query size     1 167.81k      64      64      64      64       0      64
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ##
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'distance_fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`distance_fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT distance,fare FROM distance_fare_master ORDER BY distance\G
mism-mism commented 3 years ago


# No events processed.
mism-mism commented 3 years ago


# No events processed.
mism-mism commented 3 years ago


# No events processed.
mism-mism commented 3 years ago


# No events processed.
mism-mism commented 3 years ago

1



# No events processed.
mism-mism commented 3 years ago
折りたたみ部分のタイトル


# 10.8s user time, 50ms system time, 29.47M rss, 34.67M vsz
# Current date: Fri Jul 23 09:43:14 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_081507/mysql-slow.log
# Overall: 143.30k total, 53 unique, 2.11k QPS, 0.72x concurrency ________
# Time range: 2021-07-23T08:12:40 to 2021-07-23T08:13:48
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time            49s     2us    79ms   342us   881us   947us   152us
# Lock time            13s       0    75ms    87us   144us   636us    49us
# Rows sent          1.04M       0   3.85k    7.65   16.81   42.68    0.99
# Rows examine       7.50M       0   3.85k   54.86  258.32  195.98    0.99
# Query size        10.90M       6   1.45k   79.75  183.58   84.19   46.83

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0x42E225DE698CE579 12.7481 26.0% 65980 0.0002  0.00 SELECT station_master
#    2 0x5051645A82753AFA  5.9841 12.2%  2074 0.0029  0.00 SELECT seat_master
#    3 0xA8E53F81FC7DE072  4.7444  9.7% 23527 0.0002  0.00 SELECT reservations
#    4 0x762B69AA11BF45BB  3.4343  7.0%  8683 0.0004  0.00 SELECT seat_reservations reservations
#    5 0xCAAEA492DF36ED47  2.9075  5.9%  4248 0.0007  0.00 SELECT seat_master
#    6 0xB9CE7A1316DCFADD  2.5136  5.1%  2776 0.0009  0.00 SELECT seat_reservations reservations station_master
#    7 0xF45677EF82580C7F  2.1539  4.4%   496 0.0043  0.02 SELECT seat_master
#    8 0x40CC47AD720C5B7A  1.7641  3.6%   275 0.0064  0.01 SELECT reservations
#    9 0xF5672BCEBE977130  1.2484  2.5%  1472 0.0008  0.00 SELECT seat_reservations reservations station_master
#   10 0x83CD2B0841C8BCE7  1.2308  2.5%  6616 0.0002  0.00 SELECT station_master
#   11 0xD45818DCBB6199A2  1.1312  2.3%  7816 0.0001  0.00 SELECT reservations
#   12 0xBF517FA8ECBD94B6  1.1110  2.3%  3308 0.0003  0.00 SELECT fare_master
#   13 0xE572B4307D2C512C  1.1098  2.3%  2380 0.0005  0.00 SELECT seat_reservations reservations
#   14 0x48AC4127D5F26679  1.0274  2.1%   340 0.0030  0.00 SELECT seat_master
#   15 0x813031B8BBC3B329  1.0046  2.0%   195 0.0052  0.00 COMMIT
#   16 0x6C2B51712EA1484E  0.8761  1.8%   161 0.0054  0.00 INSERT users
#   17 0x3505CEACD14FFD6D  0.7461  1.5%  3308 0.0002  0.00 SELECT distance_fare_master
#   18 0xBE31224501F8AFAC  0.5916  1.2%  1930 0.0003  0.00 SELECT train_timetable_master
#   19 0x695B410101D468B6  0.5224  1.1%  1315 0.0004  0.00 SELECT train_master
# MISC 0xMISC              2.1889  4.5%  6397 0.0003   0.0 <34 ITEMS>

# Query 1: 1.08k QPS, 0.21x concurrency, ID 0x42E225DE698CE579 at byte 17525134
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         46   65980
# Exec time     25     13s    86us    30ms   193us   384us   253us   131us
# Lock time     34      4s    31us     8ms    65us    93us    99us    49us
# Rows sent      6  64.43k       1       1       1       1       0       1
# Rows examine   0  64.43k       1       1       1       1       0       1
# Query size    27   3.03M      48      54   48.21   49.17    0.72   46.83
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE name='古岡'\G

# Query 2: 34 QPS, 0.10x concurrency, ID 0x5051645A82753AFA at byte 17528723
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2074
# Exec time     12      6s     2ms    21ms     3ms     5ms     2ms     2ms
# Lock time      1   177ms    45us     2ms    85us   185us   104us    63us
# Rows sent      0   1.91k       0       1    0.94    0.99    0.23    0.99
# Rows examine  34   2.60M   1.28k   1.28k   1.28k   1.26k       0   1.26k
# Query size     2 228.06k     108     115  112.60  112.70    2.49  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=4 ORDER BY seat_row, seat_column LIMIT 1\G

# Query 3: 392.12 QPS, 0.08x concurrency, ID 0xA8E53F81FC7DE072 at byte 24502243
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         16   23527
# Exec time      9      5s    98us    12ms   201us   403us   226us   138us
# Lock time     12      2s    35us     8ms    69us   108us   109us    49us
# Rows sent      2  22.98k       1       1       1       1       0       1
# Rows examine   0  22.98k       1       1       1       1       0       1
# Query size    10   1.12M      49      51   49.77   49.17    0.98   49.17
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=22\G

# Query 4: 142.34 QPS, 0.06x concurrency, ID 0x762B69AA11BF45BB at byte 5685091
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          6    8683
# Exec time      7      3s   192us     9ms   395us   761us   290us   332us
# Lock time      7   908ms    59us     8ms   104us   236us   139us    80us
# Rows sent      2  22.92k       0      62    2.70   24.84    7.59       0
# Rows examine  10 797.88k       0     308   94.09  234.30   71.17   69.19
# Query size    13   1.53M     179     188  184.22  183.58    4.19  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*
FROM seat_reservations s, reservations r
WHERE
    r.date='2020/01/01' AND r.train_class='遅いやつ' AND r.train_name='163' AND car_number=16 AND seat_row=13 AND seat_column='E'\G

# Query 5: 69.64 QPS, 0.05x concurrency, ID 0xCAAEA492DF36ED47 at byte 2253467
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    4248
# Exec time      5      3s   154us    11ms   684us     2ms   801us   445us
# Lock time      2   351ms    43us   893us    82us   247us    66us    60us
# Rows sent     52 565.74k       0     715  136.37  685.39  188.19   62.76
# Rows examine   7 565.74k       0     715  136.37  685.39  188.19   62.76
# Query size     3 428.94k      99     106  103.40  102.22    2.32  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###############
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='最速' AND seat_class='reserved' AND is_smoking_seat=0\G

# Query 6: 45.51 QPS, 0.04x concurrency, ID 0xB9CE7A1316DCFADD at byte 28157890
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2776
# Exec time      5      3s   210us    12ms   905us     2ms   504us   725us
# Lock time      3   432ms    81us     4ms   155us   348us   141us   113us
# Rows sent     13 148.65k       0     151   54.83  124.25   43.03   33.28
# Rows examine  17   1.34M       0     816  507.02  793.42  201.36  511.45
# Query size    10   1.11M     415     421  419.06  420.77       3  400.73
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #######################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((std.id <= 2 AND 2 < sta.id) OR (std.id <= 82 AND 82 < sta.id) OR (sta.id < 2 AND 82 < std.id))\G

# Query 7: 8.27 QPS, 0.04x concurrency, ID 0xF45677EF82580C7F at byte 2102851
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.02
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     496
# Exec time      4      2s   256us    79ms     4ms    16ms     9ms     1ms
# Lock time      5   674ms    48us    75ms     1ms     2ms     8ms    73us
# Rows sent      0     479       0       1    0.97    0.99    0.18    0.99
# Rows examine   1  97.29k      65     865  200.85  202.40  135.37  202.40
# Query size     0  65.53k     129     138  135.29  136.99    2.73  130.47
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ############################################################
#   1ms  ################################################################
#  10ms  ###############
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1 AND seat_class='premium'\G

# Query 8: 4.58 QPS, 0.03x concurrency, ID 0x40CC47AD720C5B7A at byte 11170875
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     275
# Exec time      3      2s   136us    36ms     6ms    21ms     8ms     2ms
# Lock time     12      2s    53us    35ms     6ms    20ms     8ms   839us
# Rows sent      0     846       0      32    3.08   17.65    6.12    0.99
# Rows examine   0  15.86k       0     103   59.05   97.36   27.53   62.76
# Query size     0  30.02k     105     113  111.77  112.70    3.07  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###################################
#  10ms  ####################################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/01/05' AND train_class='遅いやつ' AND train_name='68' FOR UPDATE\G

# Query 9: 24.95 QPS, 0.02x concurrency, ID 0xF5672BCEBE977130 at byte 27993320
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:45
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1472
# Exec time      2      1s   268us     4ms   848us     2ms   358us   761us
# Lock time      1   205ms    79us     1ms   139us   260us    84us   113us
# Rows sent     10 115.92k       0     151   80.64  143.84   43.98   88.31
# Rows examine   8 659.43k       0     786  458.73  755.64  234.93  511.45
# Query size     5 604.25k     418     421  420.35  420.77    1.50  420.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #################
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((sta.id < 43 AND 43 <= std.id) OR (sta.id < 15 AND 15 <= std.id) OR (43 < sta.id AND std.id < 15))\G

# Query 10: 108.46 QPS, 0.02x concurrency, ID 0x83CD2B0841C8BCE7 at byte 4840929
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    6616
# Exec time      2      1s   104us     7ms   186us   403us   162us   138us
# Lock time      3   413ms    35us     2ms    62us    93us    53us    49us
# Rows sent      0   6.46k       1       1       1       1       0       1
# Rows examine   0   6.46k       1       1       1       1       0       1
# Query size     2 256.82k      39      40   39.75   38.53       0   38.53
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE id=43\G

# Query 11: 139.57 QPS, 0.02x concurrency, ID 0xD45818DCBB6199A2 at byte 5683529
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:51 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          5    7816
# Exec time      2      1s   111us     8ms   144us   204us    94us   125us
# Lock time      3   421ms    38us   279us    53us    69us    12us    49us
# Rows sent      0   7.63k       1       1       1       1       0       1
# Rows examine   0   7.63k       1       1       1       1       0       1
# Query size     4 465.93k      60      62   61.04   59.77       0   59.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=15 FOR UPDATE\G

# Query 12: 54.23 QPS, 0.02x concurrency, ID 0xBF517FA8ECBD94B6 at byte 4915171
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    3308
# Exec time      2      1s   178us    12ms   335us   799us   331us   236us
# Lock time      1   243ms    43us    11ms    73us   113us   191us    57us
# Rows sent      2  29.07k       9       9       9       9       0       9
# Rows examine   3 290.74k      90      90      90      90       0      90
# Query size     2 332.35k      97     108  102.88  107.34    4.49  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM fare_master WHERE train_class='遅いやつ' AND seat_class='reserved' ORDER BY start_date\G

# Query 13: 40.34 QPS, 0.02x concurrency, ID 0xE572B4307D2C512C at byte 25318370
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:48 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2380
# Exec time      2      1s   193us     2ms   466us   839us   183us   424us
# Lock time      1   237ms    61us   694us    99us   247us    55us    76us
# Rows sent      0   7.63k       0     357    3.28   13.83   20.71       0
# Rows examine   4 329.85k       0     302  141.92  284.79   86.17  143.84
# Query size     3 445.62k     188     196  191.73  192.76       4  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.* FROM seat_reservations s, reservations r WHERE r.date='2020/01/01' AND r.train_class='最速' AND r.train_name='1' AND car_number=8 AND seat_row=1 AND seat_column='A' FOR UPDATE\G

# Query 14: 5.67 QPS, 0.02x concurrency, ID 0x48AC4127D5F26679 at byte 11170104
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     340
# Exec time      2      1s     2ms    16ms     3ms     6ms     2ms     2ms
# Lock time      0    31ms    46us     5ms    90us   119us   251us    63us
# Rows sent      0     340       1       1       1       1       0       1
# Rows examine   5 436.29k   1.28k   1.28k   1.28k   1.28k       0   1.28k
# Query size     0  36.28k     104     112  109.28  107.34    2.06  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1\G

# Query 15: 3.20 QPS, 0.02x concurrency, ID 0x813031B8BBC3B329 at byte 30069216
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:48
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     195
# Exec time      2      1s     3ms    38ms     5ms     7ms     3ms     5ms
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0   1.14k       6       6       6       6       0       6
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
COMMIT\G

# Query 16: 2.64 QPS, 0.01x concurrency, ID 0x6C2B51712EA1484E at byte 269223
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     161
# Exec time      1   876ms     3ms    13ms     5ms     8ms     1ms     5ms
# Lock time      0    25ms    73us     1ms   157us   467us   165us    98us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     2 229.84k   1.38k   1.45k   1.43k   1.39k   11.77   1.39k
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
INSERT INTO `users` (`email`, `salt`, `super_secure_password`) VALUES ('puser5@example.com', _binary'x�0r���&K˦�gە��(��^�(u����S9�tQ6؝�*<9���H���V��X\'���g\0����b��Ϙ?ȡH9i��02%>�zfӯ�R� �h”�D��x�<���^��,�L,xY�:E��({Ok��>�]t����پ�|oJ8&������{��ܨ��/a�ff�$�{d�6�e�*7��pc������_�8��F�hMM!���5��{�z�.\n�����Kk���d�d‹ᮠ۽��&���@�����HG��D̕���9qS(h�   �B��O�D��uە=B��-h=y6A�RM��(�Ȳ�4���d�����ԩ%�i4iÓ�+�} \0�(�\Z�\r�\n�Z%o9m#OOb��X���ѱ_�������d���?B�}X����J��2jS��^�S_܃�\rB���l��FE�+F������LX���n�,�۾X�a!���3-K��Ql��V֚p�lv3$��)�C�1����?Z�_�N0\"�������g�ݭWI �AI&�\r����v�Wm~�g�z�����ְZ����M�J�����ۈx���k<��uG�V��;����F��t�4T���݁.n�{', _binary'AM�ˬT������h@\\�~B�P�+~�k�f�\n@=1��U�b��g2���>T�����K}���n\'���B*��\'��O}��u    ������5|L^��b�6����T��C&���B\r�������Tf?͙����h�)�_���t&����� I�3��_���z�\'�b�Q���-�G5�~}���,�Hm?)|�Z��#��x��]���X$ɷ���U�Ni�/c\0\0�_�]�\Zr\"~��
        
mism-mism commented 3 years ago
折りたたみ部分のタイトル


# 10.8s user time, 50ms system time, 29.47M rss, 34.67M vsz
# Current date: Fri Jul 23 09:43:14 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_081507/mysql-slow.log
# Overall: 143.30k total, 53 unique, 2.11k QPS, 0.72x concurrency ________
# Time range: 2021-07-23T08:12:40 to 2021-07-23T08:13:48
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time            49s     2us    79ms   342us   881us   947us   152us
# Lock time            13s       0    75ms    87us   144us   636us    49us
# Rows sent          1.04M       0   3.85k    7.65   16.81   42.68    0.99
# Rows examine       7.50M       0   3.85k   54.86  258.32  195.98    0.99
# Query size        10.90M       6   1.45k   79.75  183.58   84.19   46.83

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0x42E225DE698CE579 12.7481 26.0% 65980 0.0002  0.00 SELECT station_master
#    2 0x5051645A82753AFA  5.9841 12.2%  2074 0.0029  0.00 SELECT seat_master
#    3 0xA8E53F81FC7DE072  4.7444  9.7% 23527 0.0002  0.00 SELECT reservations
#    4 0x762B69AA11BF45BB  3.4343  7.0%  8683 0.0004  0.00 SELECT seat_reservations reservations
#    5 0xCAAEA492DF36ED47  2.9075  5.9%  4248 0.0007  0.00 SELECT seat_master
#    6 0xB9CE7A1316DCFADD  2.5136  5.1%  2776 0.0009  0.00 SELECT seat_reservations reservations station_master
#    7 0xF45677EF82580C7F  2.1539  4.4%   496 0.0043  0.02 SELECT seat_master
#    8 0x40CC47AD720C5B7A  1.7641  3.6%   275 0.0064  0.01 SELECT reservations
#    9 0xF5672BCEBE977130  1.2484  2.5%  1472 0.0008  0.00 SELECT seat_reservations reservations station_master
#   10 0x83CD2B0841C8BCE7  1.2308  2.5%  6616 0.0002  0.00 SELECT station_master
#   11 0xD45818DCBB6199A2  1.1312  2.3%  7816 0.0001  0.00 SELECT reservations
#   12 0xBF517FA8ECBD94B6  1.1110  2.3%  3308 0.0003  0.00 SELECT fare_master
#   13 0xE572B4307D2C512C  1.1098  2.3%  2380 0.0005  0.00 SELECT seat_reservations reservations
#   14 0x48AC4127D5F26679  1.0274  2.1%   340 0.0030  0.00 SELECT seat_master
#   15 0x813031B8BBC3B329  1.0046  2.0%   195 0.0052  0.00 COMMIT
#   16 0x6C2B51712EA1484E  0.8761  1.8%   161 0.0054  0.00 INSERT users
#   17 0x3505CEACD14FFD6D  0.7461  1.5%  3308 0.0002  0.00 SELECT distance_fare_master
#   18 0xBE31224501F8AFAC  0.5916  1.2%  1930 0.0003  0.00 SELECT train_timetable_master
#   19 0x695B410101D468B6  0.5224  1.1%  1315 0.0004  0.00 SELECT train_master
# MISC 0xMISC              2.1889  4.5%  6397 0.0003   0.0 <34 ITEMS>

# Query 1: 1.08k QPS, 0.21x concurrency, ID 0x42E225DE698CE579 at byte 17525134
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         46   65980
# Exec time     25     13s    86us    30ms   193us   384us   253us   131us
# Lock time     34      4s    31us     8ms    65us    93us    99us    49us
# Rows sent      6  64.43k       1       1       1       1       0       1
# Rows examine   0  64.43k       1       1       1       1       0       1
# Query size    27   3.03M      48      54   48.21   49.17    0.72   46.83
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE name='古岡'\G

# Query 2: 34 QPS, 0.10x concurrency, ID 0x5051645A82753AFA at byte 17528723
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2074
# Exec time     12      6s     2ms    21ms     3ms     5ms     2ms     2ms
# Lock time      1   177ms    45us     2ms    85us   185us   104us    63us
# Rows sent      0   1.91k       0       1    0.94    0.99    0.23    0.99
# Rows examine  34   2.60M   1.28k   1.28k   1.28k   1.26k       0   1.26k
# Query size     2 228.06k     108     115  112.60  112.70    2.49  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=4 ORDER BY seat_row, seat_column LIMIT 1\G

# Query 3: 392.12 QPS, 0.08x concurrency, ID 0xA8E53F81FC7DE072 at byte 24502243
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         16   23527
# Exec time      9      5s    98us    12ms   201us   403us   226us   138us
# Lock time     12      2s    35us     8ms    69us   108us   109us    49us
# Rows sent      2  22.98k       1       1       1       1       0       1
# Rows examine   0  22.98k       1       1       1       1       0       1
# Query size    10   1.12M      49      51   49.77   49.17    0.98   49.17
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=22\G

# Query 4: 142.34 QPS, 0.06x concurrency, ID 0x762B69AA11BF45BB at byte 5685091
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          6    8683
# Exec time      7      3s   192us     9ms   395us   761us   290us   332us
# Lock time      7   908ms    59us     8ms   104us   236us   139us    80us
# Rows sent      2  22.92k       0      62    2.70   24.84    7.59       0
# Rows examine  10 797.88k       0     308   94.09  234.30   71.17   69.19
# Query size    13   1.53M     179     188  184.22  183.58    4.19  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*
FROM seat_reservations s, reservations r
WHERE
    r.date='2020/01/01' AND r.train_class='遅いやつ' AND r.train_name='163' AND car_number=16 AND seat_row=13 AND seat_column='E'\G

# Query 5: 69.64 QPS, 0.05x concurrency, ID 0xCAAEA492DF36ED47 at byte 2253467
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    4248
# Exec time      5      3s   154us    11ms   684us     2ms   801us   445us
# Lock time      2   351ms    43us   893us    82us   247us    66us    60us
# Rows sent     52 565.74k       0     715  136.37  685.39  188.19   62.76
# Rows examine   7 565.74k       0     715  136.37  685.39  188.19   62.76
# Query size     3 428.94k      99     106  103.40  102.22    2.32  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###############
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='最速' AND seat_class='reserved' AND is_smoking_seat=0\G

# Query 6: 45.51 QPS, 0.04x concurrency, ID 0xB9CE7A1316DCFADD at byte 28157890
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2776
# Exec time      5      3s   210us    12ms   905us     2ms   504us   725us
# Lock time      3   432ms    81us     4ms   155us   348us   141us   113us
# Rows sent     13 148.65k       0     151   54.83  124.25   43.03   33.28
# Rows examine  17   1.34M       0     816  507.02  793.42  201.36  511.45
# Query size    10   1.11M     415     421  419.06  420.77       3  400.73
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #######################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((std.id <= 2 AND 2 < sta.id) OR (std.id <= 82 AND 82 < sta.id) OR (sta.id < 2 AND 82 < std.id))\G

# Query 7: 8.27 QPS, 0.04x concurrency, ID 0xF45677EF82580C7F at byte 2102851
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.02
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     496
# Exec time      4      2s   256us    79ms     4ms    16ms     9ms     1ms
# Lock time      5   674ms    48us    75ms     1ms     2ms     8ms    73us
# Rows sent      0     479       0       1    0.97    0.99    0.18    0.99
# Rows examine   1  97.29k      65     865  200.85  202.40  135.37  202.40
# Query size     0  65.53k     129     138  135.29  136.99    2.73  130.47
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ############################################################
#   1ms  ################################################################
#  10ms  ###############
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1 AND seat_class='premium'\G

# Query 8: 4.58 QPS, 0.03x concurrency, ID 0x40CC47AD720C5B7A at byte 11170875
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     275
# Exec time      3      2s   136us    36ms     6ms    21ms     8ms     2ms
# Lock time     12      2s    53us    35ms     6ms    20ms     8ms   839us
# Rows sent      0     846       0      32    3.08   17.65    6.12    0.99
# Rows examine   0  15.86k       0     103   59.05   97.36   27.53   62.76
# Query size     0  30.02k     105     113  111.77  112.70    3.07  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###################################
#  10ms  ####################################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/01/05' AND train_class='遅いやつ' AND train_name='68' FOR UPDATE\G

# Query 9: 24.95 QPS, 0.02x concurrency, ID 0xF5672BCEBE977130 at byte 27993320
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:45
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1472
# Exec time      2      1s   268us     4ms   848us     2ms   358us   761us
# Lock time      1   205ms    79us     1ms   139us   260us    84us   113us
# Rows sent     10 115.92k       0     151   80.64  143.84   43.98   88.31
# Rows examine   8 659.43k       0     786  458.73  755.64  234.93  511.45
# Query size     5 604.25k     418     421  420.35  420.77    1.50  420.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #################
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((sta.id < 43 AND 43 <= std.id) OR (sta.id < 15 AND 15 <= std.id) OR (43 < sta.id AND std.id < 15))\G

# Query 10: 108.46 QPS, 0.02x concurrency, ID 0x83CD2B0841C8BCE7 at byte 4840929
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    6616
# Exec time      2      1s   104us     7ms   186us   403us   162us   138us
# Lock time      3   413ms    35us     2ms    62us    93us    53us    49us
# Rows sent      0   6.46k       1       1       1       1       0       1
# Rows examine   0   6.46k       1       1       1       1       0       1
# Query size     2 256.82k      39      40   39.75   38.53       0   38.53
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE id=43\G

# Query 11: 139.57 QPS, 0.02x concurrency, ID 0xD45818DCBB6199A2 at byte 5683529
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:51 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          5    7816
# Exec time      2      1s   111us     8ms   144us   204us    94us   125us
# Lock time      3   421ms    38us   279us    53us    69us    12us    49us
# Rows sent      0   7.63k       1       1       1       1       0       1
# Rows examine   0   7.63k       1       1       1       1       0       1
# Query size     4 465.93k      60      62   61.04   59.77       0   59.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=15 FOR UPDATE\G

# Query 12: 54.23 QPS, 0.02x concurrency, ID 0xBF517FA8ECBD94B6 at byte 4915171
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    3308
# Exec time      2      1s   178us    12ms   335us   799us   331us   236us
# Lock time      1   243ms    43us    11ms    73us   113us   191us    57us
# Rows sent      2  29.07k       9       9       9       9       0       9
# Rows examine   3 290.74k      90      90      90      90       0      90
# Query size     2 332.35k      97     108  102.88  107.34    4.49  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM fare_master WHERE train_class='遅いやつ' AND seat_class='reserved' ORDER BY start_date\G

# Query 13: 40.34 QPS, 0.02x concurrency, ID 0xE572B4307D2C512C at byte 25318370
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:48 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2380
# Exec time      2      1s   193us     2ms   466us   839us   183us   424us
# Lock time      1   237ms    61us   694us    99us   247us    55us    76us
# Rows sent      0   7.63k       0     357    3.28   13.83   20.71       0
# Rows examine   4 329.85k       0     302  141.92  284.79   86.17  143.84
# Query size     3 445.62k     188     196  191.73  192.76       4  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.* FROM seat_reservations s, reservations r WHERE r.date='2020/01/01' AND r.train_class='最速' AND r.train_name='1' AND car_number=8 AND seat_row=1 AND seat_column='A' FOR UPDATE\G

# Query 14: 5.67 QPS, 0.02x concurrency, ID 0x48AC4127D5F26679 at byte 11170104
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     340
# Exec time      2      1s     2ms    16ms     3ms     6ms     2ms     2ms
# Lock time      0    31ms    46us     5ms    90us   119us   251us    63us
# Rows sent      0     340       1       1       1       1       0       1
# Rows examine   5 436.29k   1.28k   1.28k   1.28k   1.28k       0   1.28k
# Query size     0  36.28k     104     112  109.28  107.34    2.06  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1\G

# Query 15: 3.20 QPS, 0.02x concurrency, ID 0x813031B8BBC3B329 at byte 30069216
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:48
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     195
# Exec time      2      1s     3ms    38ms     5ms     7ms     3ms     5ms
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0   1.14k       6       6       6       6       0       6
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
COMMIT\G

# Query 16: 2.64 QPS, 0.01x concurrency, ID 0x6C2B51712EA1484E at byte 269223
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     161
# Exec time      1   876ms     3ms    13ms     5ms     8ms     1ms     5ms
# Lock time      0    25ms    73us     1ms   157us   467us   165us    98us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     2 229.84k   1.38k   1.45k   1.43k   1.39k   11.77   1.39k
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
INSERT INTO `users` (`email`, `salt`, `super_secure_password`) VALUES ('puser5@example.com', _binary'x�0r���&K˦�gە��(��^�(u����S9�tQ6؝�*<9���H���V��X\'���g\0����b��Ϙ?ȡH9i��02%>�zfӯ�R� �h”�D��x�<���^��,�L,xY�:E��({Ok��>�]t����پ�|oJ8&������{��ܨ��/a�ff�$�{d�6�e�*7��pc������_�8��F�hMM!���5��{�z�.\n�����Kk���d�d‹ᮠ۽��&���@�����HG��D̕���9qS(h�   �B��O�D��uە=B��-h=y6A�RM��(�Ȳ�4���d�����ԩ%�i4iÓ�+�} \0�(�\Z�\r�\n�Z%o9m#OOb��X���ѱ_�������d���?B�}X����J��2jS��^�S_܃�\rB���l��FE�+F������LX���n�,�۾X�a!���3-K��Ql��V֚p�lv3$��)�C�1����?Z�_�N0\"�������g�ݭWI �AI&�\r����v�Wm~�g�z�����ְZ����M�J�����ۈx���k<��uG�V��;����F��t�4T���݁.n�{', _binary'AM�ˬT������h@\\�~B�P�+~�k�f�\n@=1��U�b��g2���>T�����K}���n\'���B*��\'��O}��u    ������5|L^��b�6����T��C&���B\r�������Tf?͙����h�)�_���t&����� I�3��_���z�\'�b�Q���-�G5�~}���,�Hm?)|�Z��#��x��]���X$ɷ���U�Ni�/c\0\0�_�]�\Zr\"~��
        
mism-mism commented 3 years ago
折りたたみ部分のタイトル


# 10.8s user time, 50ms system time, 29.47M rss, 34.67M vsz
# Current date: Fri Jul 23 09:43:14 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_081507/mysql-slow.log
# Overall: 143.30k total, 53 unique, 2.11k QPS, 0.72x concurrency ________
# Time range: 2021-07-23T08:12:40 to 2021-07-23T08:13:48
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time            49s     2us    79ms   342us   881us   947us   152us
# Lock time            13s       0    75ms    87us   144us   636us    49us
# Rows sent          1.04M       0   3.85k    7.65   16.81   42.68    0.99
# Rows examine       7.50M       0   3.85k   54.86  258.32  195.98    0.99
# Query size        10.90M       6   1.45k   79.75  183.58   84.19   46.83

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0x42E225DE698CE579 12.7481 26.0% 65980 0.0002  0.00 SELECT station_master
#    2 0x5051645A82753AFA  5.9841 12.2%  2074 0.0029  0.00 SELECT seat_master
#    3 0xA8E53F81FC7DE072  4.7444  9.7% 23527 0.0002  0.00 SELECT reservations
#    4 0x762B69AA11BF45BB  3.4343  7.0%  8683 0.0004  0.00 SELECT seat_reservations reservations
#    5 0xCAAEA492DF36ED47  2.9075  5.9%  4248 0.0007  0.00 SELECT seat_master
#    6 0xB9CE7A1316DCFADD  2.5136  5.1%  2776 0.0009  0.00 SELECT seat_reservations reservations station_master
#    7 0xF45677EF82580C7F  2.1539  4.4%   496 0.0043  0.02 SELECT seat_master
#    8 0x40CC47AD720C5B7A  1.7641  3.6%   275 0.0064  0.01 SELECT reservations
#    9 0xF5672BCEBE977130  1.2484  2.5%  1472 0.0008  0.00 SELECT seat_reservations reservations station_master
#   10 0x83CD2B0841C8BCE7  1.2308  2.5%  6616 0.0002  0.00 SELECT station_master
#   11 0xD45818DCBB6199A2  1.1312  2.3%  7816 0.0001  0.00 SELECT reservations
#   12 0xBF517FA8ECBD94B6  1.1110  2.3%  3308 0.0003  0.00 SELECT fare_master
#   13 0xE572B4307D2C512C  1.1098  2.3%  2380 0.0005  0.00 SELECT seat_reservations reservations
#   14 0x48AC4127D5F26679  1.0274  2.1%   340 0.0030  0.00 SELECT seat_master
#   15 0x813031B8BBC3B329  1.0046  2.0%   195 0.0052  0.00 COMMIT
#   16 0x6C2B51712EA1484E  0.8761  1.8%   161 0.0054  0.00 INSERT users
#   17 0x3505CEACD14FFD6D  0.7461  1.5%  3308 0.0002  0.00 SELECT distance_fare_master
#   18 0xBE31224501F8AFAC  0.5916  1.2%  1930 0.0003  0.00 SELECT train_timetable_master
#   19 0x695B410101D468B6  0.5224  1.1%  1315 0.0004  0.00 SELECT train_master
# MISC 0xMISC              2.1889  4.5%  6397 0.0003   0.0 <34 ITEMS>

# Query 1: 1.08k QPS, 0.21x concurrency, ID 0x42E225DE698CE579 at byte 17525134
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         46   65980
# Exec time     25     13s    86us    30ms   193us   384us   253us   131us
# Lock time     34      4s    31us     8ms    65us    93us    99us    49us
# Rows sent      6  64.43k       1       1       1       1       0       1
# Rows examine   0  64.43k       1       1       1       1       0       1
# Query size    27   3.03M      48      54   48.21   49.17    0.72   46.83
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE name='古岡'\G

# Query 2: 34 QPS, 0.10x concurrency, ID 0x5051645A82753AFA at byte 17528723
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2074
# Exec time     12      6s     2ms    21ms     3ms     5ms     2ms     2ms
# Lock time      1   177ms    45us     2ms    85us   185us   104us    63us
# Rows sent      0   1.91k       0       1    0.94    0.99    0.23    0.99
# Rows examine  34   2.60M   1.28k   1.28k   1.28k   1.26k       0   1.26k
# Query size     2 228.06k     108     115  112.60  112.70    2.49  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=4 ORDER BY seat_row, seat_column LIMIT 1\G

# Query 3: 392.12 QPS, 0.08x concurrency, ID 0xA8E53F81FC7DE072 at byte 24502243
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         16   23527
# Exec time      9      5s    98us    12ms   201us   403us   226us   138us
# Lock time     12      2s    35us     8ms    69us   108us   109us    49us
# Rows sent      2  22.98k       1       1       1       1       0       1
# Rows examine   0  22.98k       1       1       1       1       0       1
# Query size    10   1.12M      49      51   49.77   49.17    0.98   49.17
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=22\G

# Query 4: 142.34 QPS, 0.06x concurrency, ID 0x762B69AA11BF45BB at byte 5685091
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          6    8683
# Exec time      7      3s   192us     9ms   395us   761us   290us   332us
# Lock time      7   908ms    59us     8ms   104us   236us   139us    80us
# Rows sent      2  22.92k       0      62    2.70   24.84    7.59       0
# Rows examine  10 797.88k       0     308   94.09  234.30   71.17   69.19
# Query size    13   1.53M     179     188  184.22  183.58    4.19  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*
FROM seat_reservations s, reservations r
WHERE
    r.date='2020/01/01' AND r.train_class='遅いやつ' AND r.train_name='163' AND car_number=16 AND seat_row=13 AND seat_column='E'\G

# Query 5: 69.64 QPS, 0.05x concurrency, ID 0xCAAEA492DF36ED47 at byte 2253467
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    4248
# Exec time      5      3s   154us    11ms   684us     2ms   801us   445us
# Lock time      2   351ms    43us   893us    82us   247us    66us    60us
# Rows sent     52 565.74k       0     715  136.37  685.39  188.19   62.76
# Rows examine   7 565.74k       0     715  136.37  685.39  188.19   62.76
# Query size     3 428.94k      99     106  103.40  102.22    2.32  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###############
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='最速' AND seat_class='reserved' AND is_smoking_seat=0\G

# Query 6: 45.51 QPS, 0.04x concurrency, ID 0xB9CE7A1316DCFADD at byte 28157890
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2776
# Exec time      5      3s   210us    12ms   905us     2ms   504us   725us
# Lock time      3   432ms    81us     4ms   155us   348us   141us   113us
# Rows sent     13 148.65k       0     151   54.83  124.25   43.03   33.28
# Rows examine  17   1.34M       0     816  507.02  793.42  201.36  511.45
# Query size    10   1.11M     415     421  419.06  420.77       3  400.73
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #######################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((std.id <= 2 AND 2 < sta.id) OR (std.id <= 82 AND 82 < sta.id) OR (sta.id < 2 AND 82 < std.id))\G

# Query 7: 8.27 QPS, 0.04x concurrency, ID 0xF45677EF82580C7F at byte 2102851
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.02
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     496
# Exec time      4      2s   256us    79ms     4ms    16ms     9ms     1ms
# Lock time      5   674ms    48us    75ms     1ms     2ms     8ms    73us
# Rows sent      0     479       0       1    0.97    0.99    0.18    0.99
# Rows examine   1  97.29k      65     865  200.85  202.40  135.37  202.40
# Query size     0  65.53k     129     138  135.29  136.99    2.73  130.47
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ############################################################
#   1ms  ################################################################
#  10ms  ###############
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1 AND seat_class='premium'\G

# Query 8: 4.58 QPS, 0.03x concurrency, ID 0x40CC47AD720C5B7A at byte 11170875
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     275
# Exec time      3      2s   136us    36ms     6ms    21ms     8ms     2ms
# Lock time     12      2s    53us    35ms     6ms    20ms     8ms   839us
# Rows sent      0     846       0      32    3.08   17.65    6.12    0.99
# Rows examine   0  15.86k       0     103   59.05   97.36   27.53   62.76
# Query size     0  30.02k     105     113  111.77  112.70    3.07  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###################################
#  10ms  ####################################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/01/05' AND train_class='遅いやつ' AND train_name='68' FOR UPDATE\G

# Query 9: 24.95 QPS, 0.02x concurrency, ID 0xF5672BCEBE977130 at byte 27993320
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:45
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1472
# Exec time      2      1s   268us     4ms   848us     2ms   358us   761us
# Lock time      1   205ms    79us     1ms   139us   260us    84us   113us
# Rows sent     10 115.92k       0     151   80.64  143.84   43.98   88.31
# Rows examine   8 659.43k       0     786  458.73  755.64  234.93  511.45
# Query size     5 604.25k     418     421  420.35  420.77    1.50  420.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #################
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((sta.id < 43 AND 43 <= std.id) OR (sta.id < 15 AND 15 <= std.id) OR (43 < sta.id AND std.id < 15))\G

# Query 10: 108.46 QPS, 0.02x concurrency, ID 0x83CD2B0841C8BCE7 at byte 4840929
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    6616
# Exec time      2      1s   104us     7ms   186us   403us   162us   138us
# Lock time      3   413ms    35us     2ms    62us    93us    53us    49us
# Rows sent      0   6.46k       1       1       1       1       0       1
# Rows examine   0   6.46k       1       1       1       1       0       1
# Query size     2 256.82k      39      40   39.75   38.53       0   38.53
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE id=43\G

# Query 11: 139.57 QPS, 0.02x concurrency, ID 0xD45818DCBB6199A2 at byte 5683529
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:51 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          5    7816
# Exec time      2      1s   111us     8ms   144us   204us    94us   125us
# Lock time      3   421ms    38us   279us    53us    69us    12us    49us
# Rows sent      0   7.63k       1       1       1       1       0       1
# Rows examine   0   7.63k       1       1       1       1       0       1
# Query size     4 465.93k      60      62   61.04   59.77       0   59.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=15 FOR UPDATE\G

# Query 12: 54.23 QPS, 0.02x concurrency, ID 0xBF517FA8ECBD94B6 at byte 4915171
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    3308
# Exec time      2      1s   178us    12ms   335us   799us   331us   236us
# Lock time      1   243ms    43us    11ms    73us   113us   191us    57us
# Rows sent      2  29.07k       9       9       9       9       0       9
# Rows examine   3 290.74k      90      90      90      90       0      90
# Query size     2 332.35k      97     108  102.88  107.34    4.49  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM fare_master WHERE train_class='遅いやつ' AND seat_class='reserved' ORDER BY start_date\G

# Query 13: 40.34 QPS, 0.02x concurrency, ID 0xE572B4307D2C512C at byte 25318370
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:48 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2380
# Exec time      2      1s   193us     2ms   466us   839us   183us   424us
# Lock time      1   237ms    61us   694us    99us   247us    55us    76us
# Rows sent      0   7.63k       0     357    3.28   13.83   20.71       0
# Rows examine   4 329.85k       0     302  141.92  284.79   86.17  143.84
# Query size     3 445.62k     188     196  191.73  192.76       4  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.* FROM seat_reservations s, reservations r WHERE r.date='2020/01/01' AND r.train_class='最速' AND r.train_name='1' AND car_number=8 AND seat_row=1 AND seat_column='A' FOR UPDATE\G

# Query 14: 5.67 QPS, 0.02x concurrency, ID 0x48AC4127D5F26679 at byte 11170104
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     340
# Exec time      2      1s     2ms    16ms     3ms     6ms     2ms     2ms
# Lock time      0    31ms    46us     5ms    90us   119us   251us    63us
# Rows sent      0     340       1       1       1       1       0       1
# Rows examine   5 436.29k   1.28k   1.28k   1.28k   1.28k       0   1.28k
# Query size     0  36.28k     104     112  109.28  107.34    2.06  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1\G

# Query 15: 3.20 QPS, 0.02x concurrency, ID 0x813031B8BBC3B329 at byte 30069216
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:48
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     195
# Exec time      2      1s     3ms    38ms     5ms     7ms     3ms     5ms
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0   1.14k       6       6       6       6       0       6
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
COMMIT\G

# Query 16: 2.64 QPS, 0.01x concurrency, ID 0x6C2B51712EA1484E at byte 269223
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     161
# Exec time      1   876ms     3ms    13ms     5ms     8ms     1ms     5ms
# Lock time      0    25ms    73us     1ms   157us   467us   165us    98us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     2 229.84k   1.38k   1.45k   1.43k   1.39k   11.77   1.39k
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
INSERT INTO `users` (`email`, `salt`, `super_secure_password`) VALUES ('puser5@example.com', _binary'x�0r���&K˦�gە��(��^�(u����S9�tQ6؝�*<9���H���V��X\'���g\0����b��Ϙ?ȡH9i��02%>�zfӯ�R� �h”�D��x�<���^��,�L,xY�:E��({Ok��>�]t����پ�|oJ8&������{��ܨ��/a�ff�$�{d�6�e�*7��pc������_�8��F�hMM!���5��{�z�.\n�����Kk���d�d‹ᮠ۽��&���@�����HG��D̕���9qS(h�   �B��O�D��uە=B��-h=y6A�RM��(�Ȳ�4���d�����ԩ%�i4iÓ�+�} \0�(�\Z�\r�\n�Z%o9m#OOb��X���ѱ_�������d���?B�}X����J��2jS��^�S_܃�\rB���l��FE�+F������LX���n�,�۾X�a!���3-K��Ql��V֚p�lv3$��)�C�1����?Z�_�N0\"�������g�ݭWI �AI&�\r����v�Wm~�g�z�����ְZ����M�J�����ۈx���k<��uG�V��;����F��t�4T���݁.n�{', _binary'AM�ˬT������h@\\�~B�P�+~�k�f�\n@=1��U�b��g2���>T�����K}���n\'���B*��\'��O}��u    ������5|L^��b�6����T��C&���B\r�������Tf?͙����h�)�_���t&����� I�3��_���z�\'�b�Q���-�G5�~}���,�Hm?)|�Z��#��x��]���X$ɷ���U�Ni�/c\0\0�_�]�\Zr\"~��
        
mism-mism commented 3 years ago
折りたたみ部分のタイトル


# 10.8s user time, 50ms system time, 29.47M rss, 34.67M vsz
# Current date: Fri Jul 23 09:43:14 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_081507/mysql-slow.log
# Overall: 143.30k total, 53 unique, 2.11k QPS, 0.72x concurrency ________
# Time range: 2021-07-23T08:12:40 to 2021-07-23T08:13:48
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time            49s     2us    79ms   342us   881us   947us   152us
# Lock time            13s       0    75ms    87us   144us   636us    49us
# Rows sent          1.04M       0   3.85k    7.65   16.81   42.68    0.99
# Rows examine       7.50M       0   3.85k   54.86  258.32  195.98    0.99
# Query size        10.90M       6   1.45k   79.75  183.58   84.19   46.83

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0x42E225DE698CE579 12.7481 26.0% 65980 0.0002  0.00 SELECT station_master
#    2 0x5051645A82753AFA  5.9841 12.2%  2074 0.0029  0.00 SELECT seat_master
#    3 0xA8E53F81FC7DE072  4.7444  9.7% 23527 0.0002  0.00 SELECT reservations
#    4 0x762B69AA11BF45BB  3.4343  7.0%  8683 0.0004  0.00 SELECT seat_reservations reservations
#    5 0xCAAEA492DF36ED47  2.9075  5.9%  4248 0.0007  0.00 SELECT seat_master
#    6 0xB9CE7A1316DCFADD  2.5136  5.1%  2776 0.0009  0.00 SELECT seat_reservations reservations station_master
#    7 0xF45677EF82580C7F  2.1539  4.4%   496 0.0043  0.02 SELECT seat_master
#    8 0x40CC47AD720C5B7A  1.7641  3.6%   275 0.0064  0.01 SELECT reservations
#    9 0xF5672BCEBE977130  1.2484  2.5%  1472 0.0008  0.00 SELECT seat_reservations reservations station_master
#   10 0x83CD2B0841C8BCE7  1.2308  2.5%  6616 0.0002  0.00 SELECT station_master
#   11 0xD45818DCBB6199A2  1.1312  2.3%  7816 0.0001  0.00 SELECT reservations
#   12 0xBF517FA8ECBD94B6  1.1110  2.3%  3308 0.0003  0.00 SELECT fare_master
#   13 0xE572B4307D2C512C  1.1098  2.3%  2380 0.0005  0.00 SELECT seat_reservations reservations
#   14 0x48AC4127D5F26679  1.0274  2.1%   340 0.0030  0.00 SELECT seat_master
#   15 0x813031B8BBC3B329  1.0046  2.0%   195 0.0052  0.00 COMMIT
#   16 0x6C2B51712EA1484E  0.8761  1.8%   161 0.0054  0.00 INSERT users
#   17 0x3505CEACD14FFD6D  0.7461  1.5%  3308 0.0002  0.00 SELECT distance_fare_master
#   18 0xBE31224501F8AFAC  0.5916  1.2%  1930 0.0003  0.00 SELECT train_timetable_master
#   19 0x695B410101D468B6  0.5224  1.1%  1315 0.0004  0.00 SELECT train_master
# MISC 0xMISC              2.1889  4.5%  6397 0.0003   0.0 <34 ITEMS>

# Query 1: 1.08k QPS, 0.21x concurrency, ID 0x42E225DE698CE579 at byte 17525134
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         46   65980
# Exec time     25     13s    86us    30ms   193us   384us   253us   131us
# Lock time     34      4s    31us     8ms    65us    93us    99us    49us
# Rows sent      6  64.43k       1       1       1       1       0       1
# Rows examine   0  64.43k       1       1       1       1       0       1
# Query size    27   3.03M      48      54   48.21   49.17    0.72   46.83
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE name='古岡'\G

# Query 2: 34 QPS, 0.10x concurrency, ID 0x5051645A82753AFA at byte 17528723
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2074
# Exec time     12      6s     2ms    21ms     3ms     5ms     2ms     2ms
# Lock time      1   177ms    45us     2ms    85us   185us   104us    63us
# Rows sent      0   1.91k       0       1    0.94    0.99    0.23    0.99
# Rows examine  34   2.60M   1.28k   1.28k   1.28k   1.26k       0   1.26k
# Query size     2 228.06k     108     115  112.60  112.70    2.49  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=4 ORDER BY seat_row, seat_column LIMIT 1\G

# Query 3: 392.12 QPS, 0.08x concurrency, ID 0xA8E53F81FC7DE072 at byte 24502243
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         16   23527
# Exec time      9      5s    98us    12ms   201us   403us   226us   138us
# Lock time     12      2s    35us     8ms    69us   108us   109us    49us
# Rows sent      2  22.98k       1       1       1       1       0       1
# Rows examine   0  22.98k       1       1       1       1       0       1
# Query size    10   1.12M      49      51   49.77   49.17    0.98   49.17
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=22\G

# Query 4: 142.34 QPS, 0.06x concurrency, ID 0x762B69AA11BF45BB at byte 5685091
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          6    8683
# Exec time      7      3s   192us     9ms   395us   761us   290us   332us
# Lock time      7   908ms    59us     8ms   104us   236us   139us    80us
# Rows sent      2  22.92k       0      62    2.70   24.84    7.59       0
# Rows examine  10 797.88k       0     308   94.09  234.30   71.17   69.19
# Query size    13   1.53M     179     188  184.22  183.58    4.19  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*
FROM seat_reservations s, reservations r
WHERE
    r.date='2020/01/01' AND r.train_class='遅いやつ' AND r.train_name='163' AND car_number=16 AND seat_row=13 AND seat_column='E'\G

# Query 5: 69.64 QPS, 0.05x concurrency, ID 0xCAAEA492DF36ED47 at byte 2253467
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    4248
# Exec time      5      3s   154us    11ms   684us     2ms   801us   445us
# Lock time      2   351ms    43us   893us    82us   247us    66us    60us
# Rows sent     52 565.74k       0     715  136.37  685.39  188.19   62.76
# Rows examine   7 565.74k       0     715  136.37  685.39  188.19   62.76
# Query size     3 428.94k      99     106  103.40  102.22    2.32  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###############
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='最速' AND seat_class='reserved' AND is_smoking_seat=0\G

# Query 6: 45.51 QPS, 0.04x concurrency, ID 0xB9CE7A1316DCFADD at byte 28157890
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2776
# Exec time      5      3s   210us    12ms   905us     2ms   504us   725us
# Lock time      3   432ms    81us     4ms   155us   348us   141us   113us
# Rows sent     13 148.65k       0     151   54.83  124.25   43.03   33.28
# Rows examine  17   1.34M       0     816  507.02  793.42  201.36  511.45
# Query size    10   1.11M     415     421  419.06  420.77       3  400.73
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #######################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((std.id <= 2 AND 2 < sta.id) OR (std.id <= 82 AND 82 < sta.id) OR (sta.id < 2 AND 82 < std.id))\G

# Query 7: 8.27 QPS, 0.04x concurrency, ID 0xF45677EF82580C7F at byte 2102851
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.02
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     496
# Exec time      4      2s   256us    79ms     4ms    16ms     9ms     1ms
# Lock time      5   674ms    48us    75ms     1ms     2ms     8ms    73us
# Rows sent      0     479       0       1    0.97    0.99    0.18    0.99
# Rows examine   1  97.29k      65     865  200.85  202.40  135.37  202.40
# Query size     0  65.53k     129     138  135.29  136.99    2.73  130.47
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ############################################################
#   1ms  ################################################################
#  10ms  ###############
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1 AND seat_class='premium'\G

# Query 8: 4.58 QPS, 0.03x concurrency, ID 0x40CC47AD720C5B7A at byte 11170875
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     275
# Exec time      3      2s   136us    36ms     6ms    21ms     8ms     2ms
# Lock time     12      2s    53us    35ms     6ms    20ms     8ms   839us
# Rows sent      0     846       0      32    3.08   17.65    6.12    0.99
# Rows examine   0  15.86k       0     103   59.05   97.36   27.53   62.76
# Query size     0  30.02k     105     113  111.77  112.70    3.07  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###################################
#  10ms  ####################################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/01/05' AND train_class='遅いやつ' AND train_name='68' FOR UPDATE\G

# Query 9: 24.95 QPS, 0.02x concurrency, ID 0xF5672BCEBE977130 at byte 27993320
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:45
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1472
# Exec time      2      1s   268us     4ms   848us     2ms   358us   761us
# Lock time      1   205ms    79us     1ms   139us   260us    84us   113us
# Rows sent     10 115.92k       0     151   80.64  143.84   43.98   88.31
# Rows examine   8 659.43k       0     786  458.73  755.64  234.93  511.45
# Query size     5 604.25k     418     421  420.35  420.77    1.50  420.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #################
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((sta.id < 43 AND 43 <= std.id) OR (sta.id < 15 AND 15 <= std.id) OR (43 < sta.id AND std.id < 15))\G

# Query 10: 108.46 QPS, 0.02x concurrency, ID 0x83CD2B0841C8BCE7 at byte 4840929
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    6616
# Exec time      2      1s   104us     7ms   186us   403us   162us   138us
# Lock time      3   413ms    35us     2ms    62us    93us    53us    49us
# Rows sent      0   6.46k       1       1       1       1       0       1
# Rows examine   0   6.46k       1       1       1       1       0       1
# Query size     2 256.82k      39      40   39.75   38.53       0   38.53
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE id=43\G

# Query 11: 139.57 QPS, 0.02x concurrency, ID 0xD45818DCBB6199A2 at byte 5683529
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:51 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          5    7816
# Exec time      2      1s   111us     8ms   144us   204us    94us   125us
# Lock time      3   421ms    38us   279us    53us    69us    12us    49us
# Rows sent      0   7.63k       1       1       1       1       0       1
# Rows examine   0   7.63k       1       1       1       1       0       1
# Query size     4 465.93k      60      62   61.04   59.77       0   59.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=15 FOR UPDATE\G

# Query 12: 54.23 QPS, 0.02x concurrency, ID 0xBF517FA8ECBD94B6 at byte 4915171
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    3308
# Exec time      2      1s   178us    12ms   335us   799us   331us   236us
# Lock time      1   243ms    43us    11ms    73us   113us   191us    57us
# Rows sent      2  29.07k       9       9       9       9       0       9
# Rows examine   3 290.74k      90      90      90      90       0      90
# Query size     2 332.35k      97     108  102.88  107.34    4.49  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM fare_master WHERE train_class='遅いやつ' AND seat_class='reserved' ORDER BY start_date\G

# Query 13: 40.34 QPS, 0.02x concurrency, ID 0xE572B4307D2C512C at byte 25318370
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:48 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2380
# Exec time      2      1s   193us     2ms   466us   839us   183us   424us
# Lock time      1   237ms    61us   694us    99us   247us    55us    76us
# Rows sent      0   7.63k       0     357    3.28   13.83   20.71       0
# Rows examine   4 329.85k       0     302  141.92  284.79   86.17  143.84
# Query size     3 445.62k     188     196  191.73  192.76       4  183.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.* FROM seat_reservations s, reservations r WHERE r.date='2020/01/01' AND r.train_class='最速' AND r.train_name='1' AND car_number=8 AND seat_row=1 AND seat_column='A' FOR UPDATE\G

# Query 14: 5.67 QPS, 0.02x concurrency, ID 0x48AC4127D5F26679 at byte 11170104
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     340
# Exec time      2      1s     2ms    16ms     3ms     6ms     2ms     2ms
# Lock time      0    31ms    46us     5ms    90us   119us   251us    63us
# Rows sent      0     340       1       1       1       1       0       1
# Rows examine   5 436.29k   1.28k   1.28k   1.28k   1.28k       0   1.28k
# Query size     0  36.28k     104     112  109.28  107.34    2.06  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1\G

# Query 15: 3.20 QPS, 0.02x concurrency, ID 0x813031B8BBC3B329 at byte 30069216
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:47 to 2021-07-23T08:13:48
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     195
# Exec time      2      1s     3ms    38ms     5ms     7ms     3ms     5ms
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0   1.14k       6       6       6       6       0       6
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
COMMIT\G

# Query 16: 2.64 QPS, 0.01x concurrency, ID 0x6C2B51712EA1484E at byte 269223
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T08:12:46 to 2021-07-23T08:13:47
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     161
# Exec time      1   876ms     3ms    13ms     5ms     8ms     1ms     5ms
# Lock time      0    25ms    73us     1ms   157us   467us   165us    98us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     2 229.84k   1.38k   1.45k   1.43k   1.39k   11.77   1.39k
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
INSERT INTO `users` (`email`, `salt`, `super_secure_password`) VALUES ('puser5@example.com', _binary'x�0r���&K˦�gە��(��^�(u����S9�tQ6؝�*<9���H���V��X\'���g\0����b��Ϙ?ȡH9i��02%>�zfӯ�R� �h”�D��x�<���^��,�L,xY�:E��({Ok��>�]t����پ�|oJ8&������{��ܨ��/a�ff�$�{d�6�e�*7��pc������_�8��F�hMM!���5��{�z�.\n�����Kk���d�d‹ᮠ۽��&���@�����HG��D̕���9qS(h�   �B��O�D��uە=B��-h=y6A�RM��(�Ȳ�4���d�����ԩ%�i4iÓ�+�} \0�(�\Z�\r�\n�Z%o9m#OOb��X���ѱ_�������d���?B�}X����J��2jS��^�S_܃�\rB���l��FE�+F������LX���n�,�۾X�a!���3-K��Ql��V֚p�lv3$��)�C�1����?Z�_�N0\"�������g�ݭWI �AI&�\r����v�Wm~�g�z�����ְZ����M�J�����ۈx���k<��uG�V��;����F��t�4T���݁.n�{', _binary'AM�ˬT������h@\\�~B�P�+~�k�f�\n@=1��U�b��g2���>T�����K}���n\'���B*��\'��O}��u    ������5|L^��b�6����T��C&���B\r�������Tf?͙����h�)�_���t&����� I�3��_���z�\'�b�Q���-�G5�~}���,�Hm?)|�Z��#��x��]���X$ɷ���U�Ni�/c\0\0�_�]�\Zr\"~��
        
mism-mism commented 3 years ago


# No events processed.
mism-mism commented 3 years ago


# No events processed.
mism-mism commented 3 years ago


# No events processed.
mism-mism commented 3 years ago


# 6.5s user time, 20ms system time, 29.44M rss, 36.27M vsz
# Current date: Fri Jul 23 11:31:44 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_112948/mysql-slow.log
# Overall: 76.56k total, 47 unique, 1.22k QPS, 0.41x concurrency _________
# Time range: 2021-07-23T11:25:03 to 2021-07-23T11:26:06
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time            26s     1us    63ms   336us   761us     1ms   176us
# Lock time             8s       0    63ms   108us   119us   946us    52us
# Rows sent          1.31M       0     715   17.97  112.70   65.51    0.99
# Rows examine       5.98M       0     996   81.86  537.02  176.05    0.99
# Query size         9.90M       6   1.44k  135.66  400.73  125.63   97.36

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0x444271E4C925DE37  3.1743 12.3% 10801 0.0003  0.00 SELECT seat_reservations reservations
#    2 0x40CC47AD720C5B7A  2.8656 11.1%   356 0.0080  0.01 SELECT reservations
#    3 0xCAAEA492DF36ED47  2.6790 10.4%  5596 0.0005  0.00 SELECT seat_master
#    4 0xB9CE7A1316DCFADD  2.5550  9.9%  3616 0.0007  0.00 SELECT seat_reservations reservations station_master
#    5 0xD45818DCBB6199A2  2.2064  8.6% 17488 0.0001  0.00 SELECT reservations
#    6 0xF5672BCEBE977130  1.3556  5.3%  1980 0.0007  0.00 SELECT seat_reservations reservations station_master
#    7 0xE572B4307D2C512C  1.2423  4.8%  3128 0.0004  0.00 SELECT seat_reservations reservations
#    8 0x83CD2B0841C8BCE7  1.1791  4.6%  8692 0.0001  0.00 SELECT station_master
#    9 0x813031B8BBC3B329  1.1148  4.3%   243 0.0046  0.00 COMMIT
#   10 0x6C2B51712EA1484E  1.0707  4.2%   210 0.0051  0.00 INSERT users
#   11 0xF45677EF82580C7F  1.0277  4.0%   641 0.0016  0.03 SELECT seat_master
#   12 0xBF517FA8ECBD94B6  1.0091  3.9%  4346 0.0002  0.00 SELECT fare_master
#   13 0x3505CEACD14FFD6D  0.6122  2.4%  4346 0.0001  0.00 SELECT distance_fare_master
#   14 0x695B410101D468B6  0.6013  2.3%  1589 0.0004  0.00 SELECT train_master
#   15 0xBE31224501F8AFAC  0.5913  2.3%  2643 0.0002  0.00 SELECT train_timetable_master
#   16 0x5051645A82753AFA  0.5297  2.1%  2533 0.0002  0.00 SELECT seat_master
#   17 0x4D71330DDB50D348  0.3979  1.5%  1828 0.0002  0.00 SELECT train_timetable_master
#   18 0xEB4FD41DEC7193AB  0.2385  0.9%   990 0.0002  0.00 SELECT seat_reservations
#   19 0xE070DA9421CA8C8D  0.1568  0.6%   743 0.0002  0.00 SELECT users
# MISC 0xMISC              1.1762  4.6%  4786 0.0002   0.0 <28 ITEMS>

# Query 1: 174.21 QPS, 0.05x concurrency, ID 0x444271E4C925DE37 at byte 2251833
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:25:04 to 2021-07-23T11:26:06
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         14   10801
# Exec time     12      3s   157us    10ms   293us   568us   203us   224us
# Lock time     12      1s    64us     8ms    96us   159us   100us    76us
# Rows sent      0   1.03k       0       1    0.10    0.99    0.29       0
# Rows examine  13 819.89k       0     125   77.73  118.34   30.15   80.10
# Query size    26   2.66M     252     262  258.01  258.32       5  258.32
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*, r.departure, r.arrival
FROM seat_reservations s
LEFT JOIN reservations r
    ON s.reservation_id = r.reservation_id

WHERE
    r.date='2020/01/01' AND r.train_class='遅いやつ' AND r.train_name='163' AND car_number=16 AND seat_row=6 AND seat_column='D'\G

# Query 2: 5.93 QPS, 0.05x concurrency, ID 0x40CC47AD720C5B7A at byte 26013779
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T11:25:05 to 2021-07-23T11:26:05
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     356
# Exec time     11      3s   142us    25ms     8ms    21ms     7ms     9ms
# Lock time     31      3s    50us    24ms     7ms    20ms     7ms     8ms
# Rows sent      0     990       0      32    2.78   17.65    5.83    0.99
# Rows examine   0  25.65k       0     125   73.79  118.34   31.33   72.65
# Query size     0  38.89k     105     113  111.87  112.70    3.24  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ######################################################
#   1ms  ###############
#  10ms  ################################################################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/01/10' AND train_class='遅いやつ' AND train_name='8' FOR UPDATE\G

# Query 3: 90.26 QPS, 0.04x concurrency, ID 0xCAAEA492DF36ED47 at byte 2360920
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:25:04 to 2021-07-23T11:26:06
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          7    5596
# Exec time     10      3s   159us     6ms   478us     2ms   459us   301us
# Lock time      4   345ms    43us   934us    61us    84us    28us    54us
# Rows sent     56 752.71k       0     715  137.74  685.39  189.64   62.76
# Rows examine  12 752.71k       0     715  137.74  685.39  189.64   62.76
# Query size     5 564.87k      99     106  103.36  102.22    2.33  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #######
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='最速' AND seat_class='reserved' AND is_smoking_seat=0\G

# Query 4: 58.32 QPS, 0.04x concurrency, ID 0xB9CE7A1316DCFADD at byte 24616466
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:25:04 to 2021-07-23T11:26:06
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    3616
# Exec time      9      3s   216us     3ms   706us   972us   226us   690us
# Lock time      4   402ms    81us     2ms   111us   152us    76us    98us
# Rows sent     16 224.23k       0     159   63.50  143.84   47.12   42.48
# Rows examine  36   2.15M       0     996  624.09  918.49  223.98  621.67
# Query size    14   1.44M     415     421  419.02  420.77       3  400.73
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((std.id <= 1 AND 1 < sta.id) OR (std.id <= 82 AND 82 < sta.id) OR (sta.id < 1 AND 82 < std.id))\G

# Query 5: 323.85 QPS, 0.04x concurrency, ID 0xD45818DCBB6199A2 at byte 22179545
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:25:09 to 2021-07-23T11:26:03
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         22   17488
# Exec time      8      2s    98us     5ms   126us   144us    36us   119us
# Lock time     10   836ms    35us   197us    47us    66us     8us    44us
# Rows sent      1  17.08k       1       1       1       1       0       1
# Rows examine   0  17.08k       1       1       1       1       0       1
# Query size    10   1.02M      60      62   61.24   59.77       0   59.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=128 FOR UPDATE\G

# Query 6: 32.46 QPS, 0.02x concurrency, ID 0xF5672BCEBE977130 at byte 25807840
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:25:04 to 2021-07-23T11:26:05
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    1980
# Exec time      5      1s   223us     3ms   684us   972us   219us   657us
# Lock time      2   212ms    81us     1ms   106us   131us    52us    93us
# Rows sent     13 187.48k       0     173   96.96  158.58   40.47  102.22
# Rows examine  18   1.13M       0     986  597.79  964.41  239.94  563.87
# Query size     8 812.41k     418     421  420.16  420.77    1.50  420.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ####
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((sta.id < 48 AND 48 <= std.id) OR (sta.id < 40 AND 40 <= std.id) OR (48 < sta.id AND std.id < 40))\G

# Query 7: 53.02 QPS, 0.02x concurrency, ID 0xE572B4307D2C512C at byte 2842807
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:25:06 to 2021-07-23T11:26:05
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    3128
# Exec time      4      1s   188us    11ms   397us   568us   264us   366us
# Lock time      3   253ms    57us    10ms    80us    93us   231us    73us
# Rows sent      1  17.08k       0     638    5.59   19.46   34.52       0
# Rows examine   9 553.81k       0     368  181.30  346.17   96.56  166.51
# Query size     5 586.01k     188     196  191.84  192.76       4  192.76
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.* FROM seat_reservations s, reservations r WHERE r.date='2020/01/01' AND r.train_class='最速' AND r.train_name='1' AND car_number=8 AND seat_row=1 AND seat_column='A' FOR UPDATE\G

# Query 8: 140.19 QPS, 0.02x concurrency, ID 0x83CD2B0841C8BCE7 at byte 25998345
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:25:04 to 2021-07-23T11:26:06
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         11    8692
# Exec time      4      1s    94us     8ms   135us   167us   115us   119us
# Lock time      5   442ms    35us     5ms    50us    73us    55us    44us
# Rows sent      0   8.49k       1       1       1       1       0       1
# Rows examine   0   8.49k       1       1       1       1       0       1
# Query size     3 337.29k      39      40   39.74   38.53       0   38.53
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE id=15\G

# Query 9: 4.05 QPS, 0.02x concurrency, ID 0x813031B8BBC3B329 at byte 10242423
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:25:05 to 2021-07-23T11:26:05
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     243
# Exec time      4      1s     4ms    14ms     5ms     6ms     1ms     4ms
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0   1.42k       6       6       6       6       0       6
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
COMMIT\G

# Query 10: 3.39 QPS, 0.02x concurrency, ID 0x6C2B51712EA1484E at byte 13067985
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:25:04 to 2021-07-23T11:26:06
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     210
# Exec time      4      1s     3ms    25ms     5ms     7ms     2ms     4ms
# Lock time      0    28ms    69us     6ms   134us   167us   424us    93us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     2 299.79k   1.39k   1.44k   1.43k   1.39k    4.67   1.39k
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
INSERT INTO `users` (`email`, `salt`, `super_secure_password`) VALUES ('a900847567658566e8f6605525857801450035cf@example.com', _binary'#����?D5>�,j�4GE�\r�Q�YMZ�[k�����f�[�����9l/�y#���c�j-�K-�%�:�rf �H�YA]�=������ּ(�FuT����8=���֮QG��\"O��G�c͍U�w1�-nv�VZw�yFUGl�֣{H�������Ö%\0cfK��{��-���Y�f���vKj5��8�\0K��r��ȓ�H2��N�bwˬ�T$ڼ��5�B�-2�O�f�K��s�I�yJ6�*Iy��S%��8��24�;Bh��C���G�b躬����c�[��s{W���I�-��R.��Sv�=���:N��Q�a��m����(5�p�o�n�a lΦA�@�nK�Ё&��n��)���@�����0s%���:B�ラ��\\�2ӵV�k�� \npUj��\"���b0B]�{`������z^Q��g�ŶO(S�UTg֩��c|_Ý��jK2�c<����Gg���ɾ�����f�h�����‚��F�\Z\\�%[Әi���H��+�r�W�� _z@�\Z�ܨ��T%V�Կ^BϣZk��3�&�\n���r�,M�$\rs`wr\Z��,l�wP��V3S�G8<�Ǥ�*n5�<�&<\0���}�5� ���I����e ꣔r%y��S�j���P�>\0�Տ��I�Z2Y`@K��B�M�\n���O��d��\'���wKrN�B�%��\"   Kw��3.�(N�!��܎�v����ǜ,����&WvY�ܗaLZ������V��\\�Q�n�C�������id�4KT��j�\r���k�J�S��yh�L�?A\\o.�\r�O�=�KrV�������~�ۘ���R����}����߅��9QP�Ӷc�0�\0�9q�w���ϑ�e���U9���.\\���&�6rIH\'�H\Ze������l�4J����UjPw�x�h��-�x�\'F����`�_*����I姣��t�����N�EB���]Ո6�?���t�ȤP1�&��> �+�,��\r�\\t4E�xȡ{<s�nD���:$��    !���', _binary'\r�`7�,Iu�/��ʵ�<j�����\0Sև���f���A��õ�\0e��ա�2#���OD�]�����v����冔E�   -�T��k���_����*�>��7�/� ��F�g���C}E�\nG�����e����Y���,����R�\'�Da���@��%���S��AGka���d���u1{,!�����b/��?��$b�����N08�WN�i����v�ߍi���ڱ>�X��-�M�Ϋ�����0��tZ�L�Ę')\G

# Query 11: 10.68 QPS, 0.02x concurrency, ID 0xF45677EF82580C7F at byte 2247695
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.03
# Time range: 2021-07-23T11:25:05 to 2021-07-23T11:26:05
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     641
# Exec time      3      1s   172us    63ms     2ms     3ms     7ms   273us
# Lock time      8   669ms    47us    63ms     1ms   761us     7ms    69us
# Rows sent      0     619       0       1    0.97    0.99    0.18    0.99
# Rows examine   0     619       0       1    0.97    0.99    0.18    0.99
# Query size     0  84.65k     129     138  135.22  136.99    2.55  130.47
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ##############
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1 AND seat_class='premium'\G

# Query 12: 70.10 QPS, 0.02x concurrency, ID 0xBF517FA8ECBD94B6 at byte 49636
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:25:04 to 2021-07-23T11:26:06
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          5    4346
# Exec time      3      1s   183us     7ms   232us   332us   150us   204us
# Lock time      2   244ms    45us     1ms    56us    80us    28us    49us
# Rows sent      2  38.20k       9       9       9       9       0       9
# Rows examine   6 381.97k      90      90      90      90       0      90
# Query size     4 436.49k      97     108  102.85  107.34    4.50  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM fare_master WHERE train_class='遅いやつ' AND seat_class='premium' ORDER BY start_date\G

# Query 13: 70.10 QPS, 0.01x concurrency, ID 0x3505CEACD14FFD6D at byte 41084
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:25:04 to 2021-07-23T11:26:06
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          5    4346
# Exec time      2   612ms   108us    14ms   140us   167us   220us   119us
# Lock time      2   207ms    35us     9ms    47us    66us   139us    42us
# Rows sent      3  42.44k      10      10      10      10       0      10
# Rows examine   1  84.88k      20      20      20      20       0      20
# Query size     2 271.62k      64      64      64      64       0      64
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'distance_fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`distance_fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT distance,fare FROM distance_fare_master ORDER BY distance\G

# Query 14: 25.63 QPS, 0.01x concurrency, ID 0x695B410101D468B6 at byte 6978734
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:25:04 to 2021-07-23T11:26:06
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    1589
# Exec time      2   601ms   132us     7ms   378us     1ms   578us   204us
# Lock time      2   179ms    41us     4ms   112us   273us   222us    69us
# Rows sent      0   1.55k       1       1       1       1       0       1
# Rows examine   0   1.55k       1       1       1       1       0       1
# Query size     1 154.90k      94     102   99.82   97.36    2.01   97.36
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ####
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM train_master WHERE date='2020/01/24' AND train_class='遅いやつ' AND train_name='113'\G

# Query 15: 42.63 QPS, 0.01x concurrency, ID 0xBE31224501F8AFAC at byte 8860
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:25:04 to 2021-07-23T11:26:06
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          3    2643
# Exec time      2   591ms   155us     3ms   223us   348us   122us   194us
# Lock time      2   171ms    43us     2ms    64us    98us    50us    54us
# Rows sent      0   2.58k       1       1       1       1       0       1
# Rows examine   0   2.58k       1       1       1       1       0       1
# Query size     3 358.67k     133     147  138.96  143.84    4.17  136.99
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_timetable_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_timetable_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT departure FROM train_timetable_master WHERE date='2020/01/01' AND train_class='遅いやつ' AND train_name='2' AND station='鳴門'\G

# Query 16: 40.85 QPS, 0.01x concurrency, ID 0x5051645A82753AFA at byte 2049722
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:25:04 to 2021-07-23T11:26:06
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          3    2533
# Exec time      2   530ms   148us     3ms   209us   366us   154us   167us
# Lock time      1   155ms    43us     2ms    61us    89us    44us    52us
# Rows sent      0   2.33k       0       1    0.94    0.99    0.23    0.99
# Rows examine   0   2.33k       0       1    0.94    0.99    0.23    0.99
# Query size     2 278.28k     108     115  112.50  112.70    2.52  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=17 ORDER BY seat_row, seat_column LIMIT 1\G

# Query 17: 29.48 QPS, 0.01x concurrency, ID 0x4D71330DDB50D348 at byte 14658515
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:25:04 to 2021-07-23T11:26:06
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    1828
# Exec time      1   398ms   153us     5ms   217us   366us   172us   176us
# Lock time      1   118ms    43us   640us    64us    93us    38us    54us
# Rows sent      0   1.79k       1       1       1       1       0       1
# Rows examine   0   1.79k       1       1       1       1       0       1
# Query size     2 245.76k     131     145  137.67  143.84    4.09  136.99
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_timetable_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_timetable_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT arrival FROM train_timetable_master WHERE date='2020/01/18' AND train_class='遅いやつ' AND train_name='35' AND station='葉千'\G

# Query 18: 16.78 QPS, 0.00x concurrency, ID 0xEB4FD41DEC7193AB at byte 2305431
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:25:06 to 2021-07-23T11:26:05
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1     990
# Exec time      0   239ms   117us     6ms   240us   568us   319us   159us
# Lock time      0    80ms    37us     2ms    80us   214us   117us    49us
# Rows sent      0   1.93k       2       2       2       2       0       2
# Rows examine   0   1.93k       2       2       2       2       0       2
# Query size     0  63.77k      65      67   65.96   65.89       1   65.89
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_reservations WHERE reservation_id=14 FOR UPDATE\G

# Query 19: 12.38 QPS, 0.00x concurrency, ID 0xE070DA9421CA8C8D at byte 24534189
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:25:05 to 2021-07-23T11:26:05
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     743
# Exec time      0   157ms    97us     4ms   211us   445us   291us   138us
# Lock time      0    55ms    35us     4ms    74us   138us   152us    49us
# Rows sent      0     743       1       1       1       1       0       1
# Rows examine   0     743       1       1       1       1       0       1
# Query size     0  27.10k      36      38   37.35   36.69    0.59   36.69
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM `users` WHERE `id` = 201\G
mism-mism commented 3 years ago


# 13.3s user time, 30ms system time, 29.54M rss, 36.52M vsz
# Current date: Fri Jul 23 11:47:28 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_114413/mysql-slow.log
# Overall: 170.45k total, 46 unique, 2.66k QPS, 1.55x concurrency ________
# Time range: 2021-07-23T11:41:28 to 2021-07-23T11:42:32
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time            99s     1us   674ms   580us     2ms     3ms   247us
# Lock time            26s       0   674ms   153us   301us     2ms    57us
# Rows sent          2.41M       0   1.80k   14.85   92.72   60.86    0.99
# Rows examine       9.27M       0     753   57.06  381.65  127.98    0.99
# Query size        18.55M       6   1.44k  114.13  400.73  112.38   59.77

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0xD45818DCBB6199A2 21.0797 21.3% 75080 0.0003  0.00 SELECT reservations
#    2 0xB9CE7A1316DCFADD 11.1192 11.2%  6008 0.0019  0.00 SELECT seat_reservations reservations station_master
#    3 0xCAAEA492DF36ED47 10.4379 10.6%  9240 0.0011  0.00 SELECT seat_master
#    4 0x444271E4C925DE37  9.8716 10.0% 16444 0.0006  0.00 SELECT seat_reservations reservations
#    5 0x40CC47AD720C5B7A  6.7942  6.9%   563 0.0121  0.10 SELECT reservations
#    6 0xF5672BCEBE977130  6.7391  6.8%  3232 0.0021  0.00 SELECT seat_reservations reservations station_master
#    7 0xE572B4307D2C512C  5.6565  5.7%  4931 0.0011  0.00 SELECT seat_reservations reservations
#    8 0x83CD2B0841C8BCE7  3.9707  4.0% 14302 0.0003  0.00 SELECT station_master
#    9 0xBF517FA8ECBD94B6  3.6630  3.7%  7151 0.0005  0.00 SELECT fare_master
#   10 0x813031B8BBC3B329  3.2605  3.3%   377 0.0086  0.13 COMMIT
#   11 0x3505CEACD14FFD6D  2.4809  2.5%  7151 0.0003  0.00 SELECT distance_fare_master
#   12 0x6C2B51712EA1484E  2.2775  2.3%   347 0.0066  0.00 INSERT users
#   13 0xBE31224501F8AFAC  1.7811  1.8%  4129 0.0004  0.00 SELECT train_timetable_master
#   14 0x5051645A82753AFA  1.5644  1.6%  3842 0.0004  0.00 SELECT seat_master
#   15 0x695B410101D468B6  1.4219  1.4%  2380 0.0006  0.01 SELECT train_master
#   16 0xF45677EF82580C7F  1.2441  1.3%  1020 0.0012  0.01 SELECT seat_master
#   17 0x4D71330DDB50D348  1.2040  1.2%  2986 0.0004  0.00 SELECT train_timetable_master
# MISC 0xMISC              4.3664  4.4% 11267 0.0004   0.0 <29 ITEMS>

# Query 1: 1.32k QPS, 0.37x concurrency, ID 0xD45818DCBB6199A2 at byte 36458008
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:41:35 to 2021-07-23T11:42:32
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         44   75080
# Exec time     21     21s    96us    52ms   280us   626us   551us   176us
# Lock time     27      7s    34us    51ms    96us   204us   484us    52us
# Rows sent      2  73.32k       1       1       1       1       0       1
# Rows examine   0  73.32k       1       1       1       1       0       1
# Query size    23   4.40M      60      62   61.45   59.77       0   59.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=139 FOR UPDATE\G

# Query 2: 96.90 QPS, 0.18x concurrency, ID 0xB9CE7A1316DCFADD at byte 26720925
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:41:29 to 2021-07-23T11:42:31
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          3    6008
# Exec time     11     11s   227us    21ms     2ms     4ms     1ms     1ms
# Lock time      5      1s    73us     5ms   237us   657us   341us   131us
# Rows sent     18 464.41k       0     225   79.15  183.58   57.18   65.89
# Rows examine  27   2.55M       0     753  445.19  652.75  145.50  441.81
# Query size    12   2.40M     415     421  419.18  420.77       3  400.73
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ##########################
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((std.id <= 2 AND 2 < sta.id) OR (std.id <= 42 AND 42 < sta.id) OR (sta.id < 2 AND 42 < std.id))\G

# Query 3: 149.03 QPS, 0.17x concurrency, ID 0xCAAEA492DF36ED47 at byte 31767678
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:41:29 to 2021-07-23T11:42:31
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          5    9240
# Exec time     10     10s   146us    15ms     1ms     4ms     1ms   626us
# Lock time      4      1s    39us     8ms   128us   366us   240us    60us
# Rows sent     50   1.21M       0     715  137.72  685.39  189.43   62.76
# Rows examine  13   1.21M       0     715  137.72  685.39  189.43   62.76
# Query size     4 932.64k      99     106  103.36  102.22    2.33  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='最速' AND seat_class='reserved' AND is_smoking_seat=0\G

# Query 4: 265.23 QPS, 0.16x concurrency, ID 0x444271E4C925DE37 at byte 816743
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:41:29 to 2021-07-23T11:42:31
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          9   16444
# Exec time      9     10s   158us    22ms   600us     1ms   535us   424us
# Lock time      9      3s    59us     7ms   152us   366us   183us    93us
# Rows sent      0   1.03k       0       1    0.06    0.99    0.24       0
# Rows examine  18   1.68M       0     181  106.90  166.51   44.60  112.70
# Query size    21   4.04M     252     262  257.75  258.32       5  258.32
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #########
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*, r.departure, r.arrival
FROM seat_reservations s
LEFT JOIN reservations r
    ON s.reservation_id = r.reservation_id

WHERE
    r.date='2020/01/01' AND r.train_class='遅いやつ' AND r.train_name='163' AND car_number=16 AND seat_row=3 AND seat_column='E'\G

# Query 5: 9.08 QPS, 0.11x concurrency, ID 0x40CC47AD720C5B7A at byte 978759
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.10
# Time range: 2021-07-23T11:41:30 to 2021-07-23T11:42:32
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     563
# Exec time      6      7s   138us   674ms    12ms    27ms    35ms     8ms
# Lock time     24      6s    51us   674ms    11ms    26ms    35ms     7ms
# Rows sent      0   1.40k       0      33    2.54   17.65    5.91    0.99
# Rows examine   0  56.61k       0     181  102.97  166.51   45.86  102.22
# Query size     0  61.41k     105     113  111.69  112.70    2.66  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ###############################################
#   1ms  ##########################
#  10ms  ################################################################
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/01/01' AND train_class='遅いやつ' AND train_name='163' FOR UPDATE\G

# Query 6: 54.78 QPS, 0.11x concurrency, ID 0xF5672BCEBE977130 at byte 33865053
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:41:31 to 2021-07-23T11:42:30
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    3232
# Exec time      6      7s   310us    11ms     2ms     5ms     1ms     2ms
# Lock time      2   703ms    76us     4ms   217us   568us   261us   138us
# Rows sent     15 382.46k       2     227  121.17  202.40   56.91  118.34
# Rows examine  16   1.53M       5     746  496.03  719.66  159.79  487.09
# Query size     6   1.30M     418     421  420.37  420.77    1.50  420.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((sta.id < 80 AND 80 <= std.id) OR (sta.id < 79 AND 79 <= std.id) OR (80 < sta.id AND std.id < 79))\G

# Query 7: 80.84 QPS, 0.09x concurrency, ID 0xE572B4307D2C512C at byte 4083883
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:41:31 to 2021-07-23T11:42:32
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    4931
# Exec time      5      6s   177us    61ms     1ms     3ms     2ms   799us
# Lock time      4      1s    55us    60ms   223us   424us     1ms    84us
# Rows sent      2  73.32k       0   1.80k   15.23   31.70  101.80       0
# Rows examine  13   1.22M       0     539  260.09  511.45  147.82  223.14
# Query size     4 923.77k     188     196  191.83  192.76       4  192.76
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ##########################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.* FROM seat_reservations s, reservations r WHERE r.date='2020/02/05' AND r.train_class='遅いやつ' AND r.train_name='47' AND car_number=8 AND seat_row=1 AND seat_column='A' FOR UPDATE\G

# Query 8: 227.02 QPS, 0.06x concurrency, ID 0x83CD2B0841C8BCE7 at byte 11331407
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:41:29 to 2021-07-23T11:42:32
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          8   14302
# Exec time      4      4s    90us     7ms   277us   725us   323us   167us
# Lock time      4      1s    31us     4ms    86us   247us   155us    49us
# Rows sent      0  13.97k       1       1       1       1       0       1
# Rows examine   0  13.97k       1       1       1       1       0       1
# Query size     2 555.40k      39      40   39.77   38.53       0   38.53
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE id=47\G

# Query 9: 113.51 QPS, 0.06x concurrency, ID 0xBF517FA8ECBD94B6 at byte 4446573
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:41:29 to 2021-07-23T11:42:32
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    7151
# Exec time      3      4s   171us    11ms   512us     1ms   513us   332us
# Lock time      2   676ms    41us     5ms    94us   236us   141us    57us
# Rows sent      2  62.85k       9       9       9       9       0       9
# Rows examine   6 628.51k      90      90      90      90       0      90
# Query size     3 718.17k      97     108  102.84  107.34    4.51  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ######
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM fare_master WHERE train_class='遅いやつ' AND seat_class='reserved' ORDER BY start_date\G

# Query 10: 6.08 QPS, 0.05x concurrency, ID 0x813031B8BBC3B329 at byte 977843
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.13
# Time range: 2021-07-23T11:41:30 to 2021-07-23T11:42:32
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     377
# Exec time      3      3s     3ms   437ms     9ms     9ms    33ms     5ms
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0   2.21k       6       6       6       6       0       6
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ##
# 100ms  #
#    1s
#  10s+
COMMIT\G

# Query 11: 113.51 QPS, 0.04x concurrency, ID 0x3505CEACD14FFD6D at byte 31103530
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:41:29 to 2021-07-23T11:42:32
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    7151
# Exec time      2      2s   107us     9ms   346us     1ms   464us   167us
# Lock time      1   511ms    33us     5ms    71us   176us   124us    44us
# Rows sent      2  69.83k      10      10      10      10       0      10
# Rows examine   1 139.67k      20      20      20      20       0      20
# Query size     2 446.94k      64      64      64      64       0      64
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ####
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'distance_fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`distance_fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT distance,fare FROM distance_fare_master ORDER BY distance\G

# Query 12: 5.60 QPS, 0.04x concurrency, ID 0x6C2B51712EA1484E at byte 995971
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:41:29 to 2021-07-23T11:42:31
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     347
# Exec time      2      2s     3ms    66ms     7ms    10ms     5ms     5ms
# Lock time      0    95ms    66us     4ms   275us   972us   463us   119us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     2 495.42k   1.39k   1.44k   1.43k   1.39k    5.14   1.39k
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #####
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
INSERT INTO `users` (`email`, `salt`, `super_secure_password`) VALUES ('eded5d30d1c1332ca5d27978898e3dad40d19bce@example.com', _binary'�7,!��^d��Y�Y�\Z`�Lb�O7\Z����l~5�c�͍}CVߋ��  �\Z\n?�v��2lV��d�c�p@MOꅐ����\'�^ �/J�+�����5�l�`(�ʹF����wH��<�F=g\\W�k������18�:��jJY��g��i����\Z.�Tᇒs�6h�l\0�X�ΰ\"�.rʘ�vXD�L5����;�L(�CۧX�kyd�Q4b����Rٶ��eK������{w�׻Zs7�B���krĺ^���\r΅?�ݢ#t�\n��ԃ�hx\Z@���-�0��ymЂ���T1ď��`�\r���J^�U�C2�)�*�I��Hx\n��O/K}�14��L�n�@Ni@�u&�DZ����;��Ư; ����p$���l�c�D�c���{�9������g�9�K���`�x��d@⼬ܐ�4�=���w�B��ĄV���a�`�2�G��)�7,�3\0|\0Z�:r�c��/H�˴��\Z<��G�{�ݍFk����^���9�.�V��*��A͚�ж����tA��b/BG�5�ti��ʖ�&\n�]}{�^��k�ǹo�n�9�F���5���6��$Ur�`�J.�O�ص�(#]�U6�t�r4�I�����\0J�O��;�U0A�|�¦��F�=���ܴ�����426����iMϿ�τ���2�ٓ��v�{=�,�O����g����mc���ŷ3P{������b��Vحۇ�[\r��六V�hx������jN��G�}F{\'�%���W)��|b������1Qva�U�����l��|6i(�h�b3�L��M���������L�=�< g�r�#������|�b%����jL\0�����Lڬ.���_��f��SVLkf������F�K��v����Ds�}\0�|cH��w��6ħ������]����?&�������74�S@$���E����y���X��,������Z�\0�Ю�P`�R�RT*ŕo^�P���ʺ��Òk�R���7;[~����m���', _binary'd\n|j�O��9ţ���.`c]&P���y:�+�\Z������/��4\r@�fA!^�n#���2nt\'��e�MU��J�deo2Ыo~����}-,\'�>t�r�&\\ԯ��r���sO��մ*v���%\\+g��\0�f)w��(��_\'ē�����V��y������Γi�o�2�:���#��Ar�˳�@2r�k�TҚ�j%*����P���8V  ���H\'ԍ�9\'Vg��]��V3����U�͇�=����C i�WE��\0D�}')\G

# Query 13: 66.60 QPS, 0.03x concurrency, ID 0xBE31224501F8AFAC at byte 5605708
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:41:29 to 2021-07-23T11:42:31
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    4129
# Exec time      1      2s   144us    19ms   431us     1ms   518us   273us
# Lock time      1   462ms    40us    19ms   111us   273us   329us    63us
# Rows sent      0   4.03k       1       1       1       1       0       1
# Rows examine   0   4.03k       1       1       1       1       0       1
# Query size     2 560.90k     133     147  139.10  143.84    4.49  136.99
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #####
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_timetable_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_timetable_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT departure FROM train_timetable_master WHERE date='2020/03/05' AND train_class='遅いやつ' AND train_name='23' AND station='杏高公園'\G

# Query 14: 61.97 QPS, 0.03x concurrency, ID 0x5051645A82753AFA at byte 546918
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:41:29 to 2021-07-23T11:42:31
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    3842
# Exec time      1      2s   154us     7ms   407us   972us   380us   287us
# Lock time      1   387ms    43us     3ms   100us   247us   144us    60us
# Rows sent      0   3.53k       0       1    0.94    0.99    0.23    0.99
# Rows examine   0   3.53k       0       1    0.94    0.99    0.23    0.99
# Query size     2 421.52k     108     115  112.35  112.70    2.57  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=1 ORDER BY seat_row, seat_column LIMIT 1\G

# Query 15: 37.78 QPS, 0.02x concurrency, ID 0x695B410101D468B6 at byte 2495615
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T11:41:29 to 2021-07-23T11:42:32
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2380
# Exec time      1      1s   144us    78ms   597us     2ms     2ms   236us
# Lock time      1   393ms    40us    78ms   165us   384us     2ms    63us
# Rows sent      0   2.32k       1       1       1       1       0       1
# Rows examine   0   2.32k       1       1       1       1       0       1
# Query size     1 230.18k      94     102   99.04   97.36    2.19   97.36
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #######
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM train_master WHERE date='2020/01/02' AND train_class='遅いやつ' AND train_name='42'\G

# Query 16: 17 QPS, 0.02x concurrency, ID 0xF45677EF82580C7F at byte 2494447
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T11:41:30 to 2021-07-23T11:42:30
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0    1020
# Exec time      1      1s   175us    66ms     1ms     4ms     4ms   424us
# Lock time      1   435ms    48us    64ms   426us     1ms     3ms    73us
# Rows sent      0     983       0       1    0.96    0.99    0.19    0.99
# Rows examine   0     983       0       1    0.96    0.99    0.19    0.99
# Query size     0 134.61k     129     138  135.14  136.99    2.30  130.47
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #########################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1 AND seat_class='premium'\G

# Query 17: 48.16 QPS, 0.02x concurrency, ID 0x4D71330DDB50D348 at byte 39086518
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:41:29 to 2021-07-23T11:42:31
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2986
# Exec time      1      1s   153us     7ms   403us     1ms   423us   260us
# Lock time      1   331ms    42us     7ms   110us   287us   209us    60us
# Rows sent      0   2.92k       1       1       1       1       0       1
# Rows examine   0   2.92k       1       1       1       1       0       1
# Query size     2 401.09k     131     145  137.55  143.84    4.01  136.99
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ####
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_timetable_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_timetable_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT arrival FROM train_timetable_master WHERE date='2020/01/23' AND train_class='遅いやつ' AND train_name='90' AND station='奥山'\G
mism-mism commented 3 years ago


# 13.3s user time, 40ms system time, 29.63M rss, 36.50M vsz
# Current date: Fri Jul 23 11:47:50 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_114733/mysql-slow.log
# Overall: 169.56k total, 48 unique, 2.73k QPS, 1.60x concurrency ________
# Time range: 2021-07-23T11:44:21 to 2021-07-23T11:45:23
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time            99s     1us   165ms   584us     2ms     2ms   247us
# Lock time            26s       0   156ms   154us   301us     1ms    57us
# Rows sent          2.42M       0   1.64k   14.98   97.36   60.72    0.99
# Rows examine       9.61M       0     750   59.45  420.77  133.56    0.99
# Query size        18.48M       6   1.45k  114.29  400.73  112.31   59.77

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0xD45818DCBB6199A2 21.8666 22.0% 74288 0.0003  0.00 SELECT reservations
#    2 0xB9CE7A1316DCFADD 11.1069 11.2%  5904 0.0019  0.00 SELECT seat_reservations reservations station_master
#    3 0xCAAEA492DF36ED47 10.4009 10.5%  9240 0.0011  0.00 SELECT seat_master
#    4 0x444271E4C925DE37  9.4585  9.5% 16244 0.0006  0.00 SELECT seat_reservations reservations
#    5 0xF5672BCEBE977130  7.5813  7.6%  3336 0.0023  0.00 SELECT seat_reservations reservations station_master
#    6 0x40CC47AD720C5B7A  6.6207  6.7%   561 0.0118  0.01 SELECT reservations
#    7 0xE572B4307D2C512C  6.1023  6.2%  4982 0.0012  0.00 SELECT seat_reservations reservations
#    8 0x83CD2B0841C8BCE7  3.7906  3.8% 14298 0.0003  0.00 SELECT station_master
#    9 0xBF517FA8ECBD94B6  3.6291  3.7%  7149 0.0005  0.00 SELECT fare_master
#   10 0x813031B8BBC3B329  2.3733  2.4%   372 0.0064  0.01 COMMIT
#   11 0x3505CEACD14FFD6D  2.2755  2.3%  7149 0.0003  0.00 SELECT distance_fare_master
#   12 0x6C2B51712EA1484E  2.2453  2.3%   344 0.0065  0.00 INSERT users
#   13 0xBE31224501F8AFAC  1.9120  1.9%  4287 0.0004  0.00 SELECT train_timetable_master
#   14 0x695B410101D468B6  1.5890  1.6%  2376 0.0007  0.02 SELECT train_master
#   15 0x5051645A82753AFA  1.5368  1.5%  3825 0.0004  0.00 SELECT seat_master
#   16 0xF45677EF82580C7F  1.3136  1.3%  1016 0.0013  0.01 SELECT seat_master
#   17 0x4D71330DDB50D348  1.2155  1.2%  2979 0.0004  0.00 SELECT train_timetable_master
# MISC 0xMISC              4.1574  4.2% 11213 0.0004   0.0 <31 ITEMS>

# Query 1: 1.33k QPS, 0.39x concurrency, ID 0xD45818DCBB6199A2 at byte 43593603
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:44:27 to 2021-07-23T11:45:23
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         43   74288
# Exec time     22     22s    97us    48ms   294us   657us   611us   204us
# Lock time     29      8s    32us    47ms   103us   214us   534us    52us
# Rows sent      2  72.55k       1       1       1       1       0       1
# Rows examine   0  72.55k       1       1       1       1       0       1
# Query size    23   4.35M      60      62   61.47   59.77       0   59.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=58 FOR UPDATE\G

# Query 2: 96.79 QPS, 0.18x concurrency, ID 0xB9CE7A1316DCFADD at byte 25877870
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:44:22 to 2021-07-23T11:45:23
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          3    5904
# Exec time     11     11s   221us    14ms     2ms     4ms     1ms     2ms
# Lock time      5      1s    75us     8ms   225us   596us   299us   138us
# Rows sent     18 465.61k       0     211   80.76  192.76   59.16   62.76
# Rows examine  28   2.70M       0     730  479.87  685.39  141.91  487.09
# Query size    12   2.36M     415     421  418.99  420.77       3  400.73
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  #######################
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((std.id <= 43 AND 43 < sta.id) OR (std.id <= 45 AND 45 < sta.id) OR (sta.id < 43 AND 45 < std.id))\G

# Query 3: 151.48 QPS, 0.17x concurrency, ID 0xCAAEA492DF36ED47 at byte 28964803
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:44:22 to 2021-07-23T11:45:23
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          5    9240
# Exec time     10     10s   160us    17ms     1ms     3ms     1ms   626us
# Lock time      4      1s    40us     9ms   127us   348us   272us    60us
# Rows sent     49   1.19M       0     715  135.36  685.39  187.40   62.76
# Rows examine  12   1.19M       0     715  135.36  685.39  187.40   62.76
# Query size     4 933.34k      99     106  103.44  102.22    2.31  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND seat_class='reserved' AND is_smoking_seat=0\G

# Query 4: 266.30 QPS, 0.16x concurrency, ID 0x444271E4C925DE37 at byte 38269428
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:44:22 to 2021-07-23T11:45:23
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          9   16244
# Exec time      9      9s   158us    14ms   582us     1ms   519us   424us
# Lock time      9      2s    62us    11ms   151us   348us   205us    93us
# Rows sent      0   1.03k       0       1    0.07    0.99    0.24       0
# Rows examine  18   1.73M       0     186  111.77  166.51   44.94  112.70
# Query size    21   3.99M     253     262  257.82  258.32    4.50  258.32
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ########
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*, r.departure, r.arrival
FROM seat_reservations s
LEFT JOIN reservations r
    ON s.reservation_id = r.reservation_id

WHERE
    r.date='2020/01/29' AND r.train_class='遅いやつ' AND r.train_name='56' AND car_number=16 AND seat_row=8 AND seat_column='A'\G

# Query 5: 55.60 QPS, 0.13x concurrency, ID 0xF5672BCEBE977130 at byte 36166115
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:44:23 to 2021-07-23T11:45:23
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    3336
# Exec time      7      8s   301us    18ms     2ms     6ms     2ms     2ms
# Lock time      2   761ms    72us     6ms   228us   657us   290us   131us
# Rows sent     16 414.79k       2     221  127.32  202.40   55.33  124.25
# Rows examine  17   1.65M       5     750  517.92  685.39  162.44  537.02
# Query size     7   1.34M     415     421  420.14  420.77       3  420.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((sta.id < 58 AND 58 <= std.id) OR (sta.id < 40 AND 40 <= std.id) OR (58 < sta.id AND std.id < 40))\G

# Query 6: 9.20 QPS, 0.11x concurrency, ID 0x40CC47AD720C5B7A at byte 5413457
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T11:44:22 to 2021-07-23T11:45:23
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     561
# Exec time      6      7s   152us   157ms    12ms    31ms    12ms    10ms
# Lock time     23      6s    48us   156ms    11ms    31ms    12ms     9ms
# Rows sent      0   1.40k       0      33    2.55   17.65    5.92    0.99
# Rows examine   0  56.46k       0     179  103.06  166.51   45.73  102.22
# Query size     0  61.23k     105     113  111.76  112.70    2.89  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ######################################
#   1ms  #####################
#  10ms  ################################################################
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/02/11' AND train_class='遅いやつ' AND train_name='11' FOR UPDATE\G

# Query 7: 83.03 QPS, 0.10x concurrency, ID 0xE572B4307D2C512C at byte 4122280
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:44:23 to 2021-07-23T11:45:23
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    4982
# Exec time      6      6s   183us    54ms     1ms     3ms     2ms   881us
# Lock time      4      1s    57us    54ms   229us   384us     2ms    84us
# Rows sent      2  72.55k       0   1.64k   14.91   31.70  100.47       0
# Rows examine  13   1.26M       0     536  265.26  511.45  149.89  234.30
# Query size     4 933.41k     188     196  191.85  192.76       4  192.76
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ##################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.* FROM seat_reservations s, reservations r WHERE r.date='2020/01/11' AND r.train_class='遅いやつ' AND r.train_name='2' AND car_number=8 AND seat_row=1 AND seat_column='A' FOR UPDATE\G

# Query 8: 234.39 QPS, 0.06x concurrency, ID 0x83CD2B0841C8BCE7 at byte 20271859
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:44:22 to 2021-07-23T11:45:23
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          8   14298
# Exec time      3      4s    87us    12ms   265us   657us   315us   167us
# Lock time      4      1s    29us    10ms    83us   236us   160us    49us
# Rows sent      0  13.96k       1       1       1       1       0       1
# Rows examine   0  13.96k       1       1       1       1       0       1
# Query size     2 554.81k      39      40   39.73   38.53    0.00   38.53
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE id=52\G

# Query 9: 117.20 QPS, 0.06x concurrency, ID 0xBF517FA8ECBD94B6 at byte 6607868
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:44:22 to 2021-07-23T11:45:23
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    7149
# Exec time      3      4s   169us    11ms   507us     1ms   517us   332us
# Lock time      2   686ms    41us     6ms    95us   247us   153us    57us
# Rows sent      2  62.83k       9       9       9       9       0       9
# Rows examine   6 628.33k      90      90      90      90       0      90
# Query size     3 718.50k      97     108  102.92  107.34    4.48  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ######
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM fare_master WHERE train_class='最速' AND seat_class='reserved' ORDER BY start_date\G

# Query 10: 6.10 QPS, 0.04x concurrency, ID 0x813031B8BBC3B329 at byte 5413776
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T11:44:22 to 2021-07-23T11:45:23
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     372
# Exec time      2      2s     3ms   165ms     6ms    10ms     9ms     5ms
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0   2.18k       6       6       6       6       0       6
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ###
# 100ms  #
#    1s
#  10s+
COMMIT\G

# Query 11: 117.20 QPS, 0.04x concurrency, ID 0x3505CEACD14FFD6D at byte 2750068
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:44:22 to 2021-07-23T11:45:23
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    7149
# Exec time      2      2s    92us    12ms   318us   972us   417us   159us
# Lock time      1   518ms    32us     6ms    72us   159us   144us    44us
# Rows sent      2  69.81k      10      10      10      10       0      10
# Rows examine   1 139.63k      20      20      20      20       0      20
# Query size     2 446.81k      64      64      64      64       0      64
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  ###
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'distance_fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`distance_fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT distance,fare FROM distance_fare_master ORDER BY distance\G

# Query 12: 5.64 QPS, 0.04x concurrency, ID 0x6C2B51712EA1484E at byte 54270838
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:44:22 to 2021-07-23T11:45:23
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     344
# Exec time      2      2s     3ms    24ms     7ms    10ms     2ms     6ms
# Lock time      0    90ms    68us     4ms   263us     1ms   403us   119us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     2 491.27k   1.39k   1.45k   1.43k   1.39k    5.16   1.39k
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #####
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
INSERT INTO `users` (`email`, `salt`, `super_secure_password`) VALUES ('2743e4494e8267d02e717fd3e06f981b792d924e@example.com', _binary'������$��O(�LNZ$5b8jowU�G�i�`�9��y���b��~�J|hv^�L��<��+P�\n�\nNc�6o�r>�*Ka+$���80~)鐇d�Q��A.�1/ar|F�V�gAt��\"<\"V+2I�c�������@{.�o�g`�*+f�nz]� ��m-���q�JǩY^Jx��#}��V��W�����K���rb@�!�P�XЊi�mJ��6�n(;�q\r���J�����!�\\�ڙ�D-��}(b�y*�,���i/]Z�   ����*ā��E�\'��_d�\n�W���”8x�b�1qQ$+�H���\\\Z��D�ԇ���<~�\nv�\"el�xZ䂛\n&]���q��N^��H�t�-}� IR�A~�Ք�|m�apL����za�0�J`����*�`���BrM�n��W0�lknl��P<��p�h�\n/^ɭ����\'w&J��>����J�Nɰ���r��M�\r��ٯ���9G���S4���l{�,�|U.�@�\r�񖭯G_�Trx��9[d1�j�>��0n�.�&�\Z��D   �&\'�����6��/��rEL��o�T�P�$uf5wR��z��u�n&@�!$���\"�O�^�.7n��\r�\0���6��v��S��G=�(���N���E�#��$�<V�*�|�*�+���4BMՠ�(_�ɶ�\\�Jכ�s8o�,��vd�{0A���\r�.U���M8�Y�2��*Y��ƁA����O��(�MvEj�����ޚ>��6z�n<}��JL���*�r��\"��Joa10�b2X��ɼe�5�����8I� up������A��\'0X� �WT�g%����.s��#����\Z?&bZ��ezռvz�����\Z-M��)���L�$)w�DzC�e����d�<U�Q~�@�������T$��i�������>�6\ZơS��*�Ǒ~g����^:9J���Ǟg���`[��$3Rq�RЀ_`���p\r��L ����g4��)ˎ6��V>� �u�⏲���&�u\'�\\�&�B����zs����t�\Zx���Tk', _binary'T�xu�J�]$\r+�4h2HRM�t\0$dz���dBvk�B��P��|�8�����xI�}�i\0aǺ�8�y��K�j{�����<mb�kb����dnY4$$@�,�-ON�d9�/N��6l-=hx�k~�����F�]�YZl��/١/n\"&D2�RZ���^W\"�џ9��/�ӼxA��h8���8�BK�7��?�:`�G|3ރ�Ec=[�Dh�5��CٶbQ��/.��y2_6.��R�,�~���Ъu��x��S8\\�d')\G

# Query 13: 70.28 QPS, 0.03x concurrency, ID 0xBE31224501F8AFAC at byte 10704321
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:44:22 to 2021-07-23T11:45:23
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    4287
# Exec time      1      2s   146us    19ms   446us     1ms   643us   273us
# Lock time      1   453ms    42us     7ms   105us   260us   183us    63us
# Rows sent      0   4.19k       1       1       1       1       0       1
# Rows examine   0   4.19k       1       1       1       1       0       1
# Query size     3 582.96k     133     147  139.25  143.84    4.41  136.99
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #####
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_timetable_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_timetable_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT departure FROM train_timetable_master WHERE date='2020/02/19' AND train_class='中間' AND train_name='12' AND station='根永'\G

# Query 14: 38.95 QPS, 0.03x concurrency, ID 0x695B410101D468B6 at byte 2652738
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.02
# Time range: 2021-07-23T11:44:22 to 2021-07-23T11:45:23
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2376
# Exec time      1      2s   131us    82ms   668us     2ms     3ms   236us
# Lock time      2   620ms    39us    82ms   261us   424us     3ms    63us
# Rows sent      0   2.32k       1       1       1       1       0       1
# Rows examine   0   2.32k       1       1       1       1       0       1
# Query size     1 229.85k      94     102   99.06   97.36    2.19   97.36
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #######
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM train_master WHERE date='2020/02/24' AND train_class='遅いやつ' AND train_name='115'\G

# Query 15: 62.70 QPS, 0.03x concurrency, ID 0x5051645A82753AFA at byte 858182
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:44:22 to 2021-07-23T11:45:23
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    3825
# Exec time      1      2s   151us    10ms   401us     1ms   402us   273us
# Lock time      1   391ms    43us     5ms   102us   247us   162us    60us
# Rows sent      0   3.52k       0       1    0.94    0.99    0.23    0.99
# Rows examine   0   3.52k       0       1    0.94    0.99    0.23    0.99
# Query size     2 419.82k     108     115  112.39  112.70    2.55  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ####
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=3 ORDER BY seat_row, seat_column LIMIT 1\G

# Query 16: 16.66 QPS, 0.02x concurrency, ID 0xF45677EF82580C7F at byte 2653046
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T11:44:22 to 2021-07-23T11:45:23
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0    1016
# Exec time      1      1s   151us    82ms     1ms     4ms     4ms   366us
# Lock time      1   462ms    43us    82ms   454us   925us     4ms    73us
# Rows sent      0     979       0       1    0.96    0.99    0.19    0.99
# Rows examine   0     979       0       1    0.96    0.99    0.19    0.99
# Query size     0 134.11k     129     138  135.16  136.99    2.32  130.47
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #########################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1 AND seat_class='premium'\G

# Query 17: 48.84 QPS, 0.02x concurrency, ID 0x4D71330DDB50D348 at byte 41944869
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:44:22 to 2021-07-23T11:45:23
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2979
# Exec time      1      1s   158us    15ms   408us   972us   522us   260us
# Lock time      1   306ms    43us     5ms   102us   273us   167us    60us
# Rows sent      0   2.91k       1       1       1       1       0       1
# Rows examine   0   2.91k       1       1       1       1       0       1
# Query size     2 400.69k     131     145  137.73  143.84    4.25  136.99
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_timetable_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_timetable_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT arrival FROM train_timetable_master WHERE date='2020/02/28' AND train_class='遅いやつ' AND train_name='117' AND station='島威寺'\G
mism-mism commented 3 years ago

Top 20 Sort By Total
Count   Total    Mean  Stddev    Min  P50.0  P90.0  P95.0  P99.0    Max  2xx  3xx  4xx  5xx  TotalBytes   MinBytes  MeanBytes   MaxBytes  Request
  248  66.774  0.2692  0.0701  0.000  0.257  0.371  0.393  0.405  0.466  245    0    3    0      985002          0       3971       4220  GET /api/train/search
  677  56.564  0.0836  0.2529  0.001  0.034  0.082  0.202  1.639  2.335  224    0  453    0       56359          0         83        174  POST /api/train/reserve HTTP/1.1
   80  46.303  0.5788  0.5964  0.001  1.008  1.017  1.233  2.892  2.892   42    0   38    0        3798         47         47         48  POST /api/user/reservations/<num>/cancel HTTP/1.1
  235  18.739  0.0797  0.0248  0.035  0.075  0.112  0.129  0.155  0.168  235    0    0    0     1646784       6377       7007       9885  GET /api/train/seats
  365   2.953  0.0081  0.0036  0.004  0.007  0.011  0.013  0.021  0.051  365    0    0    0       18980         52         52         52  POST /api/auth/signup HTTP/1.1
  500   2.743  0.0055  0.0034  0.001  0.005  0.010  0.011  0.018  0.027  458    0   42    0      155736         51        311        347  GET /api/user/reservations/<num> HTTP/1.1
  276   1.527  0.0055  0.0033  0.001  0.005  0.009  0.011  0.018  0.026  276    0    0    0       79116          3        286        349  GET /api/user/reservations HTTP/1.1
  121   1.374  0.0114  0.0042  0.007  0.010  0.016  0.019  0.024  0.034  121    0    0    0        1694         14         14         14  POST /api/train/reservation/commit HTTP/1.1
  366   0.773  0.0021  0.0012  0.001  0.002  0.003  0.004  0.006  0.011  365    0    1    0       15746         43         43         51  POST /api/auth/login HTTP/1.1
  205   0.379  0.0018  0.0013  0.000  0.001  0.004  0.004  0.007  0.010  205    0    0    0     1706695       8317       8325       8330  GET /api/stations HTTP/1.1
    1   0.125  0.1250  0.0000  0.125  0.125  0.125  0.125  0.125  0.125    1    0    0    0          42         42         42         42  POST /initialize HTTP/1.1
  121   0.078  0.0006  0.0006  0.000  0.001  0.001  0.001  0.002  0.003  121    0    0    0        4961         41         41         41  POST /api/auth/logout HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0        2505       2505       2505       2505  GET /img/logo.b0efca9a.svg HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0         724        724        724        724  GET /index.html HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       55412      55412      55412      55412  GET /js/app.44fa4ee9.js HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0      438711     438711     438711     438711  GET /js/chunk-vendors.2b84179f.js HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       13950      13950      13950      13950  GET /css/app.6535e252.css HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0        4286       4286       4286       4286  GET /favicon.ico HTTP/1.1
mism-mism commented 3 years ago


# 13s user time, 40ms system time, 29.68M rss, 36.50M vsz
# Current date: Fri Jul 23 11:50:29 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_115012/mysql-slow.log
# Overall: 161.73k total, 47 unique, 2.57k QPS, 1.53x concurrency ________
# Time range: 2021-07-23T11:48:55 to 2021-07-23T11:49:58
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time            96s     1us    87ms   595us     2ms     1ms   260us
# Lock time            24s       0    85ms   151us   301us   953us    60us
# Rows sent          2.49M       0   1.49k   16.12  112.70   62.59    0.99
# Rows examine      10.36M       0     828   67.15  463.90  146.54    0.99
# Query size        18.36M       6   1.45k  119.02  400.73  116.60   59.77

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0xD45818DCBB6199A2 17.7705 18.5% 62804 0.0003  0.00 SELECT reservations
#    2 0xB9CE7A1316DCFADD 12.7565 13.3%  6564 0.0019  0.00 SELECT seat_reservations reservations station_master
#    3 0xCAAEA492DF36ED47 11.0643 11.5%  9660 0.0011  0.00 SELECT seat_master
#    4 0x444271E4C925DE37  9.8224 10.2% 16936 0.0006  0.00 SELECT seat_reservations reservations
#    5 0xF5672BCEBE977130  6.8797  7.1%  3096 0.0022  0.00 SELECT seat_reservations reservations station_master
#    6 0x40CC47AD720C5B7A  5.9821  6.2%   585 0.0102  0.01 SELECT reservations
#    7 0xE572B4307D2C512C  5.3831  5.6%  4871 0.0011  0.00 SELECT seat_reservations reservations
#    8 0x83CD2B0841C8BCE7  4.0392  4.2% 14940 0.0003  0.00 SELECT station_master
#    9 0xBF517FA8ECBD94B6  3.8311  4.0%  7470 0.0005  0.00 SELECT fare_master
#   10 0x3505CEACD14FFD6D  2.4696  2.6%  7470 0.0003  0.00 SELECT distance_fare_master
#   11 0x6C2B51712EA1484E  2.3520  2.4%   363 0.0065  0.00 INSERT users
#   12 0xBE31224501F8AFAC  2.2417  2.3%  4453 0.0005  0.00 SELECT train_timetable_master
#   13 0x813031B8BBC3B329  2.1773  2.3%   388 0.0056  0.00 COMMIT
#   14 0x5051645A82753AFA  1.5541  1.6%  3995 0.0004  0.00 SELECT seat_master
#   15 0x695B410101D468B6  1.2679  1.3%  2380 0.0005  0.01 SELECT train_master
#   16 0x4D71330DDB50D348  1.2526  1.3%  3107 0.0004  0.00 SELECT train_timetable_master
#   17 0xF45677EF82580C7F  1.1467  1.2%  1070 0.0011  0.01 SELECT seat_master
# MISC 0xMISC              4.2534  4.4% 11581 0.0004   0.0 <30 ITEMS>

# Query 1: 1.10k QPS, 0.31x concurrency, ID 0xD45818DCBB6199A2 at byte 47497494
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:49:01 to 2021-07-23T11:49:58
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         38   62804
# Exec time     18     18s   102us    52ms   282us   596us   577us   194us
# Lock time     26      6s    33us    52ms   101us   204us   516us    52us
# Rows sent      2  61.33k       1       1       1       1       0       1
# Rows examine   0  61.33k       1       1       1       1       0       1
# Query size    20   3.68M      60      62   61.49   59.77       0   59.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE reservation_id=83 FOR UPDATE\G

# Query 2: 107.61 QPS, 0.21x concurrency, ID 0xB9CE7A1316DCFADD at byte 41259302
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:48:56 to 2021-07-23T11:49:57
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    6564
# Exec time     13     13s   219us    15ms     2ms     5ms     1ms     2ms
# Lock time      6      2s    75us     7ms   231us   657us   340us   131us
# Rows sent     20 521.86k       0     227   81.41  183.58   58.56   59.77
# Rows examine  32   3.34M       0     828  533.44  755.64  154.29  537.02
# Query size    14   2.62M     415     421  419.26  420.77       3  400.73
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ####################
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((std.id <= 1 AND 1 < sta.id) OR (std.id <= 82 AND 82 < sta.id) OR (sta.id < 1 AND 82 < std.id))\G

# Query 3: 155.81 QPS, 0.18x concurrency, ID 0xCAAEA492DF36ED47 at byte 6845422
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:48:56 to 2021-07-23T11:49:58
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          5    9660
# Exec time     11     11s   162us    18ms     1ms     4ms     1ms   626us
# Lock time      4      1s    40us     6ms   121us   348us   210us    60us
# Rows sent     50   1.26M       0     715  136.24  685.39  188.35   62.76
# Rows examine  12   1.26M       0     715  136.24  685.39  188.35   62.76
# Query size     5 975.56k      99     106  103.41  102.22    2.32  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ##################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='最速' AND seat_class='reserved' AND is_smoking_seat=0\G

# Query 4: 277.64 QPS, 0.16x concurrency, ID 0x444271E4C925DE37 at byte 35076702
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:48:56 to 2021-07-23T11:49:57
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         10   16936
# Exec time     10     10s   156us    12ms   579us     1ms   531us   403us
# Lock time     10      3s    61us     6ms   149us   366us   177us    93us
# Rows sent      0   1.03k       0       1    0.06    0.99    0.24       0
# Rows examine  17   1.83M       0     195  113.03  174.84   45.18  118.34
# Query size    22   4.16M     252     262  257.78  258.32       5  258.32
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ########
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*, r.departure, r.arrival
FROM seat_reservations s
LEFT JOIN reservations r
    ON s.reservation_id = r.reservation_id

WHERE
    r.date='2020/01/15' AND r.train_class='最速' AND r.train_name='163' AND car_number=5 AND seat_row=14 AND seat_column='C'\G

# Query 5: 49.94 QPS, 0.11x concurrency, ID 0xF5672BCEBE977130 at byte 50391953
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:48:56 to 2021-07-23T11:49:58
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    3096
# Exec time      7      7s   221us    17ms     2ms     5ms     2ms     2ms
# Lock time      2   709ms    76us     5ms   228us   626us   313us   138us
# Rows sent     14 371.59k       0     221  122.90  212.52   57.54  124.25
# Rows examine  15   1.61M       0     828  546.29  755.64  167.76  537.02
# Query size     6   1.24M     415     421  420.19  420.77       3  420.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ##############
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((sta.id < 20 AND 20 <= std.id) OR (sta.id < 19 AND 19 <= std.id) OR (20 < sta.id AND std.id < 19))\G

# Query 6: 9.44 QPS, 0.10x concurrency, ID 0x40CC47AD720C5B7A at byte 30245063
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T11:48:56 to 2021-07-23T11:49:58
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     585
# Exec time      6      6s   148us    48ms    10ms    24ms     9ms    10ms
# Lock time     22      6s    50us    47ms     9ms    24ms     9ms     9ms
# Rows sent      0   1.36k       0      32    2.37   15.25    5.42    0.99
# Rows examine   0  59.89k       0     183  104.83  166.51   45.71  102.22
# Query size     0  63.80k     105     113  111.68  112.70    2.43  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ########################################
#   1ms  ####################
#  10ms  ################################################################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/02/10' AND train_class='遅いやつ' AND train_name='74' FOR UPDATE\G

# Query 7: 79.85 QPS, 0.09x concurrency, ID 0xE572B4307D2C512C at byte 3511120
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:48:57 to 2021-07-23T11:49:58
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          3    4871
# Exec time      5      5s   182us    62ms     1ms     3ms     2ms   799us
# Lock time      4      1s    56us    61ms   205us   403us     1ms    84us
# Rows sent      2  61.33k       0   1.49k   12.89   27.38   85.45       0
# Rows examine  11   1.21M       0     545  260.09  511.45  150.40  223.14
# Query size     4 913.51k     188     197  192.04  192.76    4.50  192.76
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ##########################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.* FROM seat_reservations s, reservations r WHERE r.date='2020/01/01' AND r.train_class='最速' AND r.train_name='1' AND car_number=8 AND seat_row=15 AND seat_column='B' FOR UPDATE\G

# Query 8: 240.97 QPS, 0.07x concurrency, ID 0x83CD2B0841C8BCE7 at byte 50126293
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:48:56 to 2021-07-23T11:49:58
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          9   14940
# Exec time      4      4s    90us     7ms   270us   690us   300us   167us
# Lock time      5      1s    32us     7ms    87us   247us   162us    49us
# Rows sent      0  14.59k       1       1       1       1       0       1
# Rows examine   0  14.59k       1       1       1       1       0       1
# Query size     3 580.09k      39      40   39.76   38.53       0   38.53
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE id=22\G

# Query 9: 120.48 QPS, 0.06x concurrency, ID 0xBF517FA8ECBD94B6 at byte 6437912
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:48:56 to 2021-07-23T11:49:58
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    7470
# Exec time      3      4s   167us    11ms   512us     1ms   527us   348us
# Lock time      2   712ms    40us     5ms    95us   236us   138us    57us
# Rows sent      2  65.65k       9       9       9       9       0       9
# Rows examine   6 656.54k      90      90      90      90       0      90
# Query size     3 750.62k      97     108  102.90  107.34    4.49  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ######
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM fare_master WHERE train_class='中間' AND seat_class='non-reserved' ORDER BY start_date\G

# Query 10: 120.48 QPS, 0.04x concurrency, ID 0x3505CEACD14FFD6D at byte 4368150
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:48:56 to 2021-07-23T11:49:58
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    7470
# Exec time      2      2s    95us    10ms   330us     1ms   448us   167us
# Lock time      2   523ms    31us     2ms    70us   159us    95us    44us
# Rows sent      2  72.95k      10      10      10      10       0      10
# Rows examine   1 145.90k      20      20      20      20       0      20
# Query size     2 466.88k      64      64      64      64       0      64
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  ###
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'distance_fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`distance_fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT distance,fare FROM distance_fare_master ORDER BY distance\G

# Query 11: 5.95 QPS, 0.04x concurrency, ID 0x6C2B51712EA1484E at byte 50769953
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:48:56 to 2021-07-23T11:49:57
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     363
# Exec time      2      2s     3ms    50ms     6ms    11ms     3ms     5ms
# Lock time      0   112ms    67us    10ms   308us     1ms   666us   119us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     2 518.44k   1.39k   1.45k   1.43k   1.39k    6.14   1.39k
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ####
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
INSERT INTO `users` (`email`, `salt`, `super_secure_password`) VALUES ('7b7737cf05a8606d4562351f7200198bbf404222@example.com', _binary'�R �G_���^j]F>�l�mH2oQ�ai�2�ޖv��+>3|ҹ�ɒ,�F��8�\r�\"K�d$:T�?3|    �\Z���I@BM9��gC)�3��淮�ѱ�g�}R��\r?���������}J�.�EuR�)\Z�l绪|�c���T[c�w�)d��}�jе�����@C�v�\"k,����ݿgM�#n���.�}ZH�ʐ�l�9�]�\'�j�E,�|+����uJ�ˍZ ���N\r��QL�,�E����M�#Re-�~P��_9?�O��1�e���2&c\"vV�8;��o�zr��� ��;�޺x��gtb���)��a�����7��mVS����*��;\'�߿� �_�LVǸ�Bl��gdE�Ԡ��.�˼��/��p�u�ڠ��\\tO�O�S]�62E��C�6;���t�t�q��fP���|U��jP��4_����}��l[؅�����GjZȆ.�as�ž�Ÿ���Lq��A2X�|�:G�? �R��돷�f��Q���<p?�7k�䉂�>q���Z�:��M�J_�{Zk6�_�0��ܘdm���\0����AQ�M�M��L�M�I7\n���*H��;-Ǟ�\\ ���m�d��`�g����s\ZT+���%)@-}Fcb`���U�P������}�Hh��^��.�w3=�}�K)ve|��9�Zq):-.�x�5��\r�{mWr�k2���228���A��� �����!��^ߚ��o2;V{s6�9��P���.�~3�]�߼y�h�#\'vw^��>���g��Z�p���19�,yJ:gxp�o)������ib41�>]�uu�����1���~�)�:�w���    ���t�z2���CQ�g�Bh,�Rw����=��4�Z�L٘\r���{����}���-W���Va��Z}^�\r���=���_/��#�E<�8تf3n��Y�î�/F�;r�:������{���L�W���$\0�s:L�C���Js��K��V�����6�K�50���B�ޘ�����6\n', _binary'����U�qD_���$T�a�cb����t׷i��   j��U�еQg��RΨ���,s�L�>>f�X3�J�L+yӞpV��}� p�1��7,�6�c�1S4��w:��\n�)TFd/��d�7�Ksv�ҘF�R�����{bwOB����?�*������bX�����ѭ�u�]��9:���a�a�Cl90�_8-���W��!(ҙ^��bʮ�m�P���yBO�\n*��\\��eO\Z�:� nz�s�)VYoG�*Y�-�')\G

# Query 12: 71.82 QPS, 0.04x concurrency, ID 0xBE31224501F8AFAC at byte 34821403
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:48:56 to 2021-07-23T11:49:58
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    4453
# Exec time      2      2s   152us    19ms   503us     1ms   705us   287us
# Lock time      2   497ms    41us     7ms   111us   287us   217us    63us
# Rows sent      0   4.35k       1       1       1       1       0       1
# Rows examine   0   4.35k       1       1       1       1       0       1
# Query size     3 605.56k     133     147  139.25  143.84    4.45  136.99
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #######
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_timetable_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_timetable_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT departure FROM train_timetable_master WHERE date='2020/03/03' AND train_class='遅いやつ' AND train_name='68' AND station='錦太学園'\G

# Query 13: 6.26 QPS, 0.04x concurrency, ID 0x813031B8BBC3B329 at byte 51904086
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:48:56 to 2021-07-23T11:49:58
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     388
# Exec time      2      2s     3ms    22ms     6ms    10ms     2ms     5ms
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0   2.27k       6       6       6       6       0       6
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ###
# 100ms
#    1s
#  10s+
COMMIT\G

# Query 14: 65.49 QPS, 0.03x concurrency, ID 0x5051645A82753AFA at byte 842957
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:48:56 to 2021-07-23T11:49:57
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    3995
# Exec time      1      2s   151us     9ms   388us   925us   399us   273us
# Lock time      1   406ms    42us     6ms   101us   247us   170us    60us
# Rows sent      0   3.67k       0       1    0.94    0.99    0.23    0.99
# Rows examine   0   3.67k       0       1    0.94    0.99    0.23    0.99
# Query size     2 438.32k     108     115  112.35  112.70    2.57  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=8 ORDER BY seat_row, seat_column LIMIT 1\G

# Query 15: 38.39 QPS, 0.02x concurrency, ID 0x695B410101D468B6 at byte 2733894
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T11:48:56 to 2021-07-23T11:49:58
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2380
# Exec time      1      1s   136us    87ms   532us     2ms     2ms   236us
# Lock time      1   385ms    40us    85ms   161us   384us     2ms    66us
# Rows sent      0   2.32k       1       1       1       1       0       1
# Rows examine   0   2.32k       1       1       1       1       0       1
# Query size     1 230.70k      94     102   99.26   97.36    2.12   97.36
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #######
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM train_master WHERE date='2020/03/08' AND train_class='遅いやつ' AND train_name='74'\G

# Query 16: 50.11 QPS, 0.02x concurrency, ID 0x4D71330DDB50D348 at byte 908360
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T11:48:56 to 2021-07-23T11:49:58
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    3107
# Exec time      1      1s   157us    17ms   403us   972us   514us   260us
# Lock time      1   320ms    40us     2ms   103us   273us   130us    60us
# Rows sent      0   3.03k       1       1       1       1       0       1
# Rows examine   0   3.03k       1       1       1       1       0       1
# Query size     2 417.48k     131     145  137.59  143.84    4.02  136.99
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_timetable_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_timetable_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT arrival FROM train_timetable_master WHERE date='2020/01/08' AND train_class='遅いやつ' AND train_name='64' AND station='沙芦公園'\G

# Query 17: 17.54 QPS, 0.02x concurrency, ID 0xF45677EF82580C7F at byte 2732530
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T11:48:56 to 2021-07-23T11:49:57
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0    1070
# Exec time      1      1s   147us    83ms     1ms     4ms     4ms   366us
# Lock time      1   379ms    43us    83ms   353us   799us     3ms    73us
# Rows sent      0   1.01k       0       1    0.96    0.99    0.19    0.99
# Rows examine   0   1.01k       0       1    0.96    0.99    0.19    0.99
# Query size     0 141.21k     129     138  135.14  136.99    2.31  130.47
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1 AND seat_class='premium'\G
mism-mism commented 3 years ago

Top 20 Sort By Total
Count   Total    Mean  Stddev    Min  P50.0  P90.0  P95.0  P99.0    Max  2xx  3xx  4xx  5xx  TotalBytes   MinBytes  MeanBytes   MaxBytes  Request
  283  82.352  0.2910  0.0721  0.001  0.283  0.402  0.429  0.485  0.488  281    0    2    0     1135724          0       4013       4206  GET /api/train/search
   94  51.702  0.5500  0.5817  0.001  1.008  1.019  1.124  2.960  2.960   47    0   47    0        4417          0         46         48  POST /api/user/reservations/<num>/cancel HTTP/1.1
  773  33.911  0.0439  0.0374  0.001  0.040  0.078  0.101  0.237  0.324  265    0  508    0       62970          0         81        174  POST /api/train/reserve HTTP/1.1
  265  22.703  0.0857  0.0271  0.034  0.080  0.124  0.138  0.189  0.198  265    0    0    0     1859957       6373       7018       9452  GET /api/train/seats
  420   3.651  0.0087  0.0035  0.005  0.008  0.012  0.014  0.023  0.047  420    0    0    0       21840         52         52         52  POST /api/auth/signup HTTP/1.1
  594   3.561  0.0060  0.0038  0.001  0.005  0.010  0.014  0.021  0.028  547    0   47    0      185672         51        312        348  GET /api/user/reservations/<num> HTTP/1.1
  329   2.000  0.0061  0.0035  0.001  0.005  0.010  0.011  0.018  0.033  329    0    0    0       95247          3        289        350  GET /api/user/reservations HTTP/1.1
  141   1.829  0.0130  0.0058  0.006  0.012  0.018  0.021  0.034  0.057  141    0    0    0        1974         14         14         14  POST /api/train/reservation/commit HTTP/1.1
  421   0.977  0.0023  0.0016  0.001  0.002  0.004  0.005  0.008  0.020  420    0    1    0       18111         43         43         51  POST /api/auth/login HTTP/1.1
  234   0.477  0.0020  0.0016  0.001  0.002  0.003  0.005  0.006  0.018  234    0    0    0     1948138       8317       8325       8330  GET /api/stations HTTP/1.1
    1   0.149  0.1490  0.0000  0.149  0.149  0.149  0.149  0.149  0.149    1    0    0    0          42         42         42         42  POST /initialize HTTP/1.1
  140   0.088  0.0006  0.0007  0.000  0.001  0.001  0.001  0.003  0.005  140    0    0    0        5740         41         41         41  POST /api/auth/logout HTTP/1.1
    1   0.002  0.0020  0.0000  0.002  0.002  0.002  0.002  0.002  0.002    1    0    0    0      438711     438711     438711     438711  GET /js/chunk-vendors.2b84179f.js HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       13950      13950      13950      13950  GET /css/app.6535e252.css HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0        2505       2505       2505       2505  GET /img/logo.b0efca9a.svg HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0         724        724        724        724  GET /index.html HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       55412      55412      55412      55412  GET /js/app.44fa4ee9.js HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0        4286       4286       4286       4286  GET /favicon.ico HTTP/1.1
mism-mism commented 3 years ago


# 9.9s user time, 40ms system time, 29.58M rss, 36.51M vsz
# Current date: Fri Jul 23 12:24:19 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_121911/mysql-slow.log
# Overall: 115.53k total, 48 unique, 1.83k QPS, 1.47x concurrency ________
# Time range: 2021-07-23T12:17:48 to 2021-07-23T12:18:51
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time            92s     1us   185ms   799us     3ms     2ms   348us
# Lock time            22s       0   184ms   189us   366us     1ms    73us
# Rows sent          2.95M       0     715   26.82  192.76   78.54    0.99
# Rows examine      11.56M       0     944  104.94  537.02  170.18   19.46
# Query size        17.65M       6   1.45k  160.21  420.77  139.08  102.22

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0xB9CE7A1316DCFADD 16.1775 17.5%  7580 0.0021  0.00 SELECT seat_reservations reservations station_master
#    2 0x444271E4C925DE37 15.9889 17.3% 26209 0.0006  0.00 SELECT seat_reservations reservations
#    3 0xCAAEA492DF36ED47 12.1613 13.2% 11088 0.0011  0.00 SELECT seat_master
#    4 0x40CC47AD720C5B7A  7.6931  8.3%   680 0.0113  0.01 SELECT reservations
#    5 0xF5672BCEBE977130  7.5435  8.2%  3508 0.0022  0.00 SELECT seat_reservations reservations station_master
#    6 0x83CD2B0841C8BCE7  4.9238  5.3% 17164 0.0003  0.00 SELECT station_master
#    7 0xBF517FA8ECBD94B6  4.4909  4.9%  8582 0.0005  0.00 SELECT fare_master
#    8 0x3505CEACD14FFD6D  3.0095  3.3%  8582 0.0004  0.00 SELECT distance_fare_master
#    9 0x813031B8BBC3B329  2.9752  3.2%   455 0.0065  0.01 COMMIT
#   10 0x6C2B51712EA1484E  2.8163  3.1%   415 0.0068  0.00 INSERT users
#   11 0xBE31224501F8AFAC  2.2674  2.5%  4999 0.0005  0.00 SELECT train_timetable_master
#   12 0x5051645A82753AFA  1.8565  2.0%  4505 0.0004  0.00 SELECT seat_master
#   13 0x695B410101D468B6  1.7140  1.9%  3109 0.0006  0.01 SELECT train_master
#   14 0xF45677EF82580C7F  1.7129  1.9%  1220 0.0014  0.01 SELECT seat_master
#   15 0x4D71330DDB50D348  1.4763  1.6%  3601 0.0004  0.00 SELECT train_timetable_master
#   16 0xEB4FD41DEC7193AB  0.5987  0.6%  1979 0.0003  0.00 SELECT seat_reservations
#   17 0xE070DA9421CA8C8D  0.4938  0.5%  1424 0.0003  0.00 SELECT users
# MISC 0xMISC              4.4306  4.8% 10430 0.0004   0.0 <31 ITEMS>

# Query 1: 124.26 QPS, 0.27x concurrency, ID 0xB9CE7A1316DCFADD at byte 23632421
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:17:49 to 2021-07-23T12:18:50
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          6    7580
# Exec time     17     16s   217us    22ms     2ms     5ms     2ms     2ms
# Lock time      7      2s    74us     7ms   222us   657us   303us   131us
# Rows sent     26 800.33k       0     299  108.12  234.30   72.84   84.10
# Rows examine  33   3.85M       0     944  531.91  833.10  180.17  511.45
# Query size    17   3.03M     415     421  419.19  420.77       3  400.73
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ##################
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((std.id <= 5 AND 5 < sta.id) OR (std.id <= 35 AND 35 < sta.id) OR (sta.id < 5 AND 35 < std.id))\G

# Query 2: 429.66 QPS, 0.26x concurrency, ID 0x444271E4C925DE37 at byte 2675539
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:17:49 to 2021-07-23T12:18:50
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         22   26209
# Exec time     17     16s   152us    15ms   610us     1ms   550us   445us
# Lock time     17      4s    57us    11ms   150us   366us   216us    93us
# Rows sent      0   3.05k       0       1    0.12    0.99    0.32       0
# Rows examine  29   3.35M       0     307  134.21  246.02   62.88  124.25
# Query size    37   6.55M     252     279  262.23  271.23    8.71  258.32
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #########
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*, r.departure, r.arrival
FROM seat_reservations s
LEFT JOIN reservations r
    ON s.reservation_id = r.reservation_id

WHERE
    r.date='2020/01/01' AND r.train_class='遅いやつ' AND r.train_name='163' AND car_number=16 AND seat_row=1 AND seat_column='D'\G

# Query 3: 181.77 QPS, 0.20x concurrency, ID 0xCAAEA492DF36ED47 at byte 428693
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:17:49 to 2021-07-23T12:18:50
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          9   11088
# Exec time     13     12s   147us    20ms     1ms     3ms     1ms   596us
# Lock time      6      1s    42us     5ms   123us   403us   214us    60us
# Rows sent     48   1.43M       0     715  134.90  685.39  187.23   62.76
# Rows examine  12   1.43M       0     715  134.90  685.39  187.23   62.76
# Query size     6   1.09M      99     106  103.46  102.22    2.31  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ##############################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='最速' AND seat_class='reserved' AND is_smoking_seat=0\G

# Query 4: 11.15 QPS, 0.13x concurrency, ID 0x40CC47AD720C5B7A at byte 4271432
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T12:17:49 to 2021-07-23T12:18:50
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     680
# Exec time      8      8s   144us    61ms    11ms    28ms    10ms    10ms
# Lock time     31      7s    51us    60ms    10ms    27ms    10ms     9ms
# Rows sent      0   1.93k       0      45    2.91   21.45    7.25    0.99
# Rows examine   0  81.04k       0     219  122.03  202.40   56.38  118.34
# Query size     0  74.21k     105     113  111.75  112.70    3.03  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  #####################################
#   1ms  ####################
#  10ms  ################################################################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/03/08' AND train_class='遅いやつ' AND train_name='74' FOR UPDATE\G

# Query 5: 57.51 QPS, 0.12x concurrency, ID 0xF5672BCEBE977130 at byte 32727278
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:17:49 to 2021-07-23T12:18:50
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          3    3508
# Exec time      8      8s   218us    20ms     2ms     5ms     2ms     2ms
# Lock time      3   749ms    74us     8ms   213us   596us   324us   119us
# Rows sent     15 479.49k       0     275  139.96  234.30   65.41  136.99
# Rows examine  14   1.70M       0     907  509.26  833.10  215.47  511.45
# Query size     7   1.41M     415     421  420.45  420.77       3  420.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ###################
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((sta.id < 65 AND 65 <= std.id) OR (sta.id < 39 AND 39 <= std.id) OR (65 < sta.id AND std.id < 39))\G

# Query 6: 281.38 QPS, 0.08x concurrency, ID 0x83CD2B0841C8BCE7 at byte 3881156
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:17:49 to 2021-07-23T12:18:50
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         14   17164
# Exec time      5      5s    94us    16ms   286us   725us   390us   167us
# Lock time      7      2s    32us     7ms    91us   273us   170us    49us
# Rows sent      0  16.76k       1       1       1       1       0       1
# Rows examine   0  16.76k       1       1       1       1       0       1
# Query size     3 666.54k      39      40   39.77   38.53       0   38.53
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  ##
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE id=1\G

# Query 7: 140.69 QPS, 0.07x concurrency, ID 0xBF517FA8ECBD94B6 at byte 26851402
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:17:49 to 2021-07-23T12:18:50
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          7    8582
# Exec time      4      4s   169us    13ms   523us     1ms   550us   348us
# Lock time      3   865ms    40us     4ms   100us   273us   147us    60us
# Rows sent      2  75.43k       9       9       9       9       0       9
# Rows examine   6 754.28k      90      90      90      90       0      90
# Query size     4 862.67k      97     108  102.93  107.34    4.48  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ######
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM fare_master WHERE train_class='遅いやつ' AND seat_class='premium' ORDER BY start_date\G

# Query 8: 140.69 QPS, 0.05x concurrency, ID 0x3505CEACD14FFD6D at byte 27487039
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:17:49 to 2021-07-23T12:18:50
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          7    8582
# Exec time      3      3s   100us    13ms   350us     1ms   517us   167us
# Lock time      2   623ms    31us     3ms    72us   159us   117us    47us
# Rows sent      2  83.81k      10      10      10      10       0      10
# Rows examine   1 167.62k      20      20      20      20       0      20
# Query size     2 536.38k      64      64      64      64       0      64
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ####
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'distance_fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`distance_fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT distance,fare FROM distance_fare_master ORDER BY distance\G

# Query 9: 7.34 QPS, 0.05x concurrency, ID 0x813031B8BBC3B329 at byte 17193053
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T12:17:49 to 2021-07-23T12:18:51
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     455
# Exec time      3      3s     3ms   180ms     7ms    10ms     8ms     5ms
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0   2.67k       6       6       6       6       0       6
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ####
# 100ms  #
#    1s
#  10s+
COMMIT\G

# Query 10: 6.80 QPS, 0.05x concurrency, ID 0x6C2B51712EA1484E at byte 36065476
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:17:49 to 2021-07-23T12:18:50
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     415
# Exec time      3      3s     3ms    45ms     7ms    10ms     3ms     6ms
# Lock time      0   109ms    70us     3ms   262us     1ms   390us   125us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     3 592.71k   1.39k   1.45k   1.43k   1.39k    4.70   1.39k
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #####
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
INSERT INTO `users` (`email`, `salt`, `super_secure_password`) VALUES ('0fcc8cc441d1b695ec360a96187e4ca2d38ab69e@example.com', _binary'�C�gBh/\r�N��O�ʟjp�-���,�����^    ���A4t}�0��y�i\'�aRZ9����4�}Ǥm����R��8�g2s���0|�1�`N���,8JҡQ\'G�`݉Y��3;\r  x}�����?}��#����*\'�[��W�&������1��m�,���S����e-��fb���5���=�`z�s9��U]W�\'��V�`A���3�d��)\Zί��i=����S��9�������������g(��ͩW����,X��(3�\Z��O\0g�U2�sxY���3\0�>�z���]����0��y���$U�����\r�\'�G��\nk�T�_d�-�b�f��{�GKb��������\'���j��\Z���=γo��{�tg�����R2��V��K,Y�J�\\i\'㎲x�10�G��S�I��m��?vg�o~� �Y�r�j��WCD��z�c������;WA���.�0�����ѳ�e��c�eti�@�h���Т����;{���*�0�x�ٺ����;7��ʠ�y�J=\\7`�������hb=G���ը�����h�Hy��=]LG݇]��e�\rS��[\r���\\���0���^��W�X��v�f��3��jnМ��]��3q�\0�@ȟ8�����\'ѓXH�>N��C�����r��CcaN�5��4����a@ŀ���4l��w��\"�0��p���C��ks�y1b���H���T�$�t<��ס=��I���5�N]ND6���/m� ��p��uT��Q�IS����D��\\O�v\'H����UlD�/��ЍV}�E~Q#o�-_�\0~���    ���Up�ػ��hC�iG�S�����W2�<�7�Ӊ����A4=o�7����n{ $���vf��{Kko-_��*��=�1���{�0��D��h<|��0  tJѭ�^�ֶô�.��LEE?�Q�� ^7��mB��@�~Q�$>� rQtx�sa��Ƞ�[���8�/��n�\0)H��7��r��y�g;`�ۏ.��', _binary'�\r50��H9��C��.M6�u��:s�}ξsA\n��&J�5]����9����m�&ॳKm�ul?C��Dfc��r2{��s���\r��\"�\r|3��Tl�p{Qn���[+@7��̖�s�\"��k{V<YID�e�!�sB�����~B��̔�+m��.�3��>�g$?\\�C���@q�^�b�镦���ω  T?�e]%=N\'���H55��`�E�@֘9��jG�\'��N��fRYD���������*�Fܓ/2! 0Y����')\G

# Query 11: 81.95 QPS, 0.04x concurrency, ID 0xBE31224501F8AFAC at byte 7408925
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:17:49 to 2021-07-23T12:18:50
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    4999
# Exec time      2      2s   159us    24ms   453us     1ms   650us   273us
# Lock time      2   568ms    42us     5ms   113us   316us   189us    63us
# Rows sent      0   4.88k       1       1       1       1       0       1
# Rows examine   0   4.88k       1       1       1       1       0       1
# Query size     3 679.04k     133     147  139.09  143.84    4.09  136.99
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #####
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_timetable_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_timetable_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT departure FROM train_timetable_master WHERE date='2020/01/15' AND train_class='最速' AND train_name='101' AND station='東京'\G

# Query 12: 73.85 QPS, 0.03x concurrency, ID 0x5051645A82753AFA at byte 28071553
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:17:49 to 2021-07-23T12:18:50
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          3    4505
# Exec time      2      2s   156us    11ms   412us     1ms   454us   287us
# Lock time      2   465ms    43us     3ms   103us   260us   137us    63us
# Rows sent      0   4.14k       0       1    0.94    0.99    0.23    0.99
# Rows examine   0   4.14k       0       1    0.94    0.99    0.23    0.99
# Query size     2 494.14k     108     115  112.32  112.70    2.57  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=10 ORDER BY seat_row, seat_column LIMIT 1\G

# Query 13: 50.97 QPS, 0.03x concurrency, ID 0x695B410101D468B6 at byte 2662026
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T12:17:49 to 2021-07-23T12:18:50
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    3109
# Exec time      1      2s   141us    60ms   551us     2ms     2ms   247us
# Lock time      2   561ms    42us    60ms   180us   384us     2ms    66us
# Rows sent      0   3.04k       1       1       1       1       0       1
# Rows examine   0   3.04k       1       1       1       1       0       1
# Query size     1 298.72k      94     102   98.39   97.36    2.29   97.36
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ######
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM train_master WHERE date='2020/03/09' AND train_class='遅いやつ' AND train_name='115'\G

# Query 14: 20 QPS, 0.03x concurrency, ID 0xF45677EF82580C7F at byte 2671349
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T12:17:49 to 2021-07-23T12:18:50
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1220
# Exec time      1      2s   163us    70ms     1ms     5ms     4ms   403us
# Lock time      2   610ms    47us    70ms   499us     1ms     4ms    73us
# Rows sent      0   1.15k       0       1    0.96    0.99    0.19    0.99
# Rows examine   0   1.15k       0       1    0.96    0.99    0.19    0.99
# Query size     0 160.99k     129     138  135.12  136.99    2.26  130.47
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #########################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1 AND seat_class='premium'\G

# Query 15: 59.03 QPS, 0.02x concurrency, ID 0x4D71330DDB50D348 at byte 7237777
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:17:49 to 2021-07-23T12:18:50
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          3    3601
# Exec time      1      1s   161us    10ms   409us     1ms   433us   273us
# Lock time      1   408ms    41us     9ms   113us   316us   223us    63us
# Rows sent      0   3.52k       1       1       1       1       0       1
# Rows examine   0   3.52k       1       1       1       1       0       1
# Query size     2 484.25k     131     145  137.70  143.84    4.19  136.99
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ####
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_timetable_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_timetable_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT arrival FROM train_timetable_master WHERE date='2020/01/25' AND train_class='遅いやつ' AND train_name='75' AND station='維荻学園'\G

# Query 16: 33.54 QPS, 0.01x concurrency, ID 0xEB4FD41DEC7193AB at byte 22646910
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:17:51 to 2021-07-23T12:18:50
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1979
# Exec time      0   599ms   125us    10ms   302us   690us   481us   185us
# Lock time      0   162ms    36us     2ms    81us   194us   106us    54us
# Rows sent      0   3.87k       2       2       2       2       0       2
# Rows examine   0   3.87k       2       2       2       2       0       2
# Query size     0 128.24k      65      67   66.35   65.89    0.87   65.89
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_reservations WHERE reservation_id=90 FOR UPDATE\G

# Query 17: 23.34 QPS, 0.01x concurrency, ID 0xE070DA9421CA8C8D at byte 19384247
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:17:49 to 2021-07-23T12:18:50
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1424
# Exec time      0   494ms   102us    13ms   346us     1ms   627us   159us
# Lock time      0   146ms    36us     6ms   102us   287us   230us    52us
# Rows sent      0   1.39k       1       1       1       1       0       1
# Rows examine   0   1.39k       1       1       1       1       0       1
# Query size     0  52.36k      36      38   37.65   36.69    0.43   36.69
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ####
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM `users` WHERE `id` = 183\G
mism-mism commented 3 years ago

Top 20 Sort By Total
Count   Total    Mean  Stddev    Min  P50.0  P90.0  P95.0  P99.0    Max  2xx  3xx  4xx  5xx  TotalBytes   MinBytes  MeanBytes   MaxBytes  Request
  251  48.111  0.1917  0.0563  0.000  0.176  0.272  0.294  0.318  0.393  248    0    3    0     1003706          0       3998       4227  GET /api/train/search
   82  44.315  0.5404  0.5366  0.001  1.008  1.056  1.079  1.965  1.965   42    0   40    0        3894         47         47         48  POST /api/user/reservations/<num>/cancel HTTP/1.1
  681  23.653  0.0347  0.0230  0.001  0.035  0.060  0.074  0.118  0.152  238    0  443    0       56126         47         82        174  POST /api/train/reserve HTTP/1.1
  238  13.999  0.0588  0.0238  0.034  0.050  0.094  0.108  0.143  0.179  238    0    0    0     1680099       6377       7059       9458  GET /api/train/seats
  372   2.613  0.0070  0.0036  0.003  0.006  0.009  0.011  0.017  0.050  372    0    0    0       19344         52         52         52  POST /api/auth/signup HTTP/1.1
  529   2.315  0.0044  0.0035  0.000  0.003  0.008  0.010  0.017  0.045  487    0   42    0      165416         51        312        347  GET /api/user/reservations/<num> HTTP/1.1
  124   1.277  0.0103  0.0056  0.006  0.009  0.015  0.017  0.030  0.054  124    0    0    0        1736         14         14         14  POST /api/train/reservation/commit HTTP/1.1
  291   1.222  0.0042  0.0027  0.001  0.004  0.007  0.009  0.016  0.017  291    0    0    0       84165          3        289        349  GET /api/user/reservations HTTP/1.1
  373   0.615  0.0016  0.0009  0.001  0.001  0.002  0.003  0.006  0.010  372    0    1    0       16047         43         43         51  POST /api/auth/login HTTP/1.1
  207   0.328  0.0016  0.0014  0.000  0.001  0.003  0.004  0.009  0.011  207    0    0    0     1723267       8317       8324       8330  GET /api/stations HTTP/1.1
    1   0.109  0.1090  0.0000  0.109  0.109  0.109  0.109  0.109  0.109    1    0    0    0          42         42         42         42  POST /initialize HTTP/1.1
  124   0.071  0.0006  0.0006  0.000  0.001  0.001  0.001  0.002  0.003  124    0    0    0        5084         41         41         41  POST /api/auth/logout HTTP/1.1
    1   0.002  0.0020  0.0000  0.002  0.002  0.002  0.002  0.002  0.002    1    0    0    0      438711     438711     438711     438711  GET /js/chunk-vendors.2b84179f.js HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0        2505       2505       2505       2505  GET /img/logo.b0efca9a.svg HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0        4286       4286       4286       4286  GET /favicon.ico HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       55412      55412      55412      55412  GET /js/app.44fa4ee9.js HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       13950      13950      13950      13950  GET /css/app.6535e252.css HTTP/1.1
    1   0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0         724        724        724        724  GET /index.html HTTP/1.1
mism-mism commented 3 years ago


# 8.7s user time, 50ms system time, 29.48M rss, 36.39M vsz
# Current date: Fri Jul 23 12:24:46 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_122432/mysql-slow.log
# Overall: 101.83k total, 44 unique, 1.62k QPS, 0.87x concurrency ________
# Time range: 2021-07-23T12:19:19 to 2021-07-23T12:20:22
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time            55s     1us    71ms   536us     2ms     1ms   236us
# Lock time            15s       0    68ms   149us   185us     1ms    63us
# Rows sent          2.55M       0     715   26.29  183.58   78.04    0.99
# Rows examine       9.91M       0     845  102.00  537.02  162.60   19.46
# Query size        15.64M       6   1.45k  161.05  420.77  139.01  102.22

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0x444271E4C925DE37  9.0373 16.5% 23283 0.0004  0.00 SELECT seat_reservations reservations
#    2 0xB9CE7A1316DCFADD  6.9483 12.7%  6120 0.0011  0.00 SELECT seat_reservations reservations station_master
#    3 0xCAAEA492DF36ED47  6.6250 12.1%  9836 0.0007  0.00 SELECT seat_master
#    4 0x40CC47AD720C5B7A  6.1483 11.3%   598 0.0103  0.01 SELECT reservations
#    5 0xF5672BCEBE977130  5.4427 10.0%  3716 0.0015  0.00 SELECT seat_reservations reservations station_master
#    6 0x83CD2B0841C8BCE7  2.8431  5.2% 15230 0.0002  0.00 SELECT station_master
#    7 0xBF517FA8ECBD94B6  2.4993  4.6%  7615 0.0003  0.00 SELECT fare_master
#    8 0x813031B8BBC3B329  2.2289  4.1%   404 0.0055  0.00 COMMIT
#    9 0x6C2B51712EA1484E  2.1085  3.9%   371 0.0057  0.00 INSERT users
#   10 0x3505CEACD14FFD6D  1.5730  2.9%  7615 0.0002  0.00 SELECT distance_fare_master
#   11 0x695B410101D468B6  1.3713  2.5%  2712 0.0005  0.01 SELECT train_master
#   12 0xBE31224501F8AFAC  1.3217  2.4%  4409 0.0003  0.00 SELECT train_timetable_master
#   13 0x5051645A82753AFA  1.0954  2.0%  4046 0.0003  0.00 SELECT seat_master
#   14 0xF45677EF82580C7F  1.0162  1.9%  1073 0.0009  0.01 SELECT seat_master
#   15 0x4D71330DDB50D348  0.9163  1.7%  3195 0.0003  0.00 SELECT train_timetable_master
#   16 0xEB4FD41DEC7193AB  0.4415  0.8%  1712 0.0003  0.00 SELECT seat_reservations
#   17 0xE070DA9421CA8C8D  0.3459  0.6%  1264 0.0003  0.00 SELECT users
# MISC 0xMISC              2.6740  4.9%  8630 0.0003   0.0 <27 ITEMS>

# Query 1: 381.69 QPS, 0.15x concurrency, ID 0x444271E4C925DE37 at byte 2405607
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:19:20 to 2021-07-23T12:20:21
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         22   23283
# Exec time     16      9s   160us    15ms   388us   839us   390us   273us
# Lock time     16      3s    61us     9ms   107us   194us   144us    80us
# Rows sent      0   2.64k       0       1    0.12    0.99    0.32       0
# Rows examine  27   2.76M       0     275  124.50  212.52   54.32  124.25
# Query size    37   5.82M     253     279  261.98  271.23    8.74  258.32
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ##
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*, r.departure, r.arrival
FROM seat_reservations s
LEFT JOIN reservations r
    ON s.reservation_id = r.reservation_id

WHERE
    r.date='2020/01/01' AND r.train_class='遅いやつ' AND r.train_name='163' AND car_number=16 AND seat_row=3 AND seat_column='D'\G

# Query 2: 100.33 QPS, 0.11x concurrency, ID 0xB9CE7A1316DCFADD at byte 20887342
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:19:20 to 2021-07-23T12:20:21
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          6    6120
# Exec time     12      7s   220us    20ms     1ms     3ms   861us   881us
# Lock time      5   886ms    74us     6ms   144us   260us   190us   113us
# Rows sent     20 533.38k       0     253   89.25  202.40   63.46   72.65
# Rows examine  29   2.88M       0     832  494.09  719.66  149.87  487.09
# Query size    15   2.45M     415     421  419.08  420.77       3  400.73
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #############################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((std.id <= 22 AND 22 < sta.id) OR (std.id <= 28 AND 28 < sta.id) OR (sta.id < 22 AND 28 < std.id))\G

# Query 3: 158.65 QPS, 0.11x concurrency, ID 0xCAAEA492DF36ED47 at byte 3604757
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:19:20 to 2021-07-23T12:20:22
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          9    9836
# Exec time     12      7s   156us    11ms   673us     2ms   698us   467us
# Lock time      5   839ms    42us     3ms    85us   138us   125us    57us
# Rows sent     50   1.28M       0     715  136.98  685.39  188.73   62.76
# Rows examine  12   1.28M       0     715  136.98  685.39  188.73   62.76
# Query size     6 993.01k      99     106  103.38  102.22    2.33  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #############
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='最速' AND seat_class='reserved' AND is_smoking_seat=0\G

# Query 4: 9.80 QPS, 0.10x concurrency, ID 0x40CC47AD720C5B7A at byte 2378413
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T12:19:20 to 2021-07-23T12:20:21
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     598
# Exec time     11      6s   159us    42ms    10ms    23ms     9ms    11ms
# Lock time     37      6s    50us    41ms    10ms    22ms     9ms    10ms
# Rows sent      0   1.67k       0      40    2.86   20.43    6.81    0.99
# Rows examine   0  64.23k       0     195  109.98  183.58   50.04  107.34
# Query size     0  65.19k     105     113  111.62  112.70    2.86  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  #########################################
#   1ms  ##############
#  10ms  ################################################################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/02/09' AND train_class='遅いやつ' AND train_name='124' FOR UPDATE\G

# Query 5: 59.94 QPS, 0.09x concurrency, ID 0xF5672BCEBE977130 at byte 22631106
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:19:20 to 2021-07-23T12:20:22
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          3    3716
# Exec time      9      5s   219us    15ms     1ms     3ms     1ms     1ms
# Lock time      3   584ms    78us     9ms   157us   332us   234us   113us
# Rows sent     19 513.05k       0     259  141.38  246.02   61.28  136.99
# Rows examine  19   1.89M       0     845  533.18  793.42  161.52  537.02
# Query size     9   1.49M     415     421  420.35  420.77       3  420.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ############################################
#   1ms  ################################################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((sta.id < 74 AND 74 <= std.id) OR (sta.id < 41 AND 41 <= std.id) OR (74 < sta.id AND std.id < 41))\G

# Query 6: 245.65 QPS, 0.05x concurrency, ID 0x83CD2B0841C8BCE7 at byte 623076
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:19:20 to 2021-07-23T12:20:22
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         14   15230
# Exec time      5      3s    97us    11ms   186us   424us   213us   131us
# Lock time      6      1s    34us     8ms    67us   108us   110us    49us
# Rows sent      0  14.87k       1       1       1       1       0       1
# Rows examine   0  14.87k       1       1       1       1       0       1
# Query size     3 591.37k      39      40   39.76   38.53       0   38.53
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE id=2\G

# Query 7: 122.82 QPS, 0.04x concurrency, ID 0xBF517FA8ECBD94B6 at byte 24340894
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:19:20 to 2021-07-23T12:20:22
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          7    7615
# Exec time      4      2s   176us    15ms   328us   799us   373us   224us
# Lock time      3   561ms    41us     9ms    73us   131us   137us    54us
# Rows sent      2  66.93k       9       9       9       9       0       9
# Rows examine   6 669.29k      90      90      90      90       0      90
# Query size     4 764.87k      97     108  102.85  107.34    4.51  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ##
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM fare_master WHERE train_class='遅いやつ' AND seat_class='premium' ORDER BY start_date\G

# Query 8: 6.73 QPS, 0.04x concurrency, ID 0x813031B8BBC3B329 at byte 15722453
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:19:21 to 2021-07-23T12:20:21
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     404
# Exec time      4      2s     3ms    52ms     6ms     9ms     3ms     5ms
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0   2.37k       6       6       6       6       0       6
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ###
# 100ms
#    1s
#  10s+
COMMIT\G

# Query 9: 6.08 QPS, 0.03x concurrency, ID 0x6C2B51712EA1484E at byte 36060807
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:19:20 to 2021-07-23T12:20:21
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     371
# Exec time      3      2s     3ms    48ms     6ms     8ms     3ms     5ms
# Lock time      0    58ms    68us     2ms   157us   403us   226us    98us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     3 529.87k   1.39k   1.45k   1.43k   1.39k    3.52   1.39k
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ##
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
INSERT INTO `users` (`email`, `salt`, `super_secure_password`) VALUES ('b0a66d04d41deb274f32bdba056bcf7500f503be@example.com', _binary'�8�\Z�v�����g�v��@w����+\r�Xb�#���?����)��Zyz����n�Z���6$�Mc#g�4�k���K���>>j�P)��0��w�Fj���6n`Z�=P\\�W�XP*G{k䡩a\Z�e��#�0��(D\Z�u?������JZ�-S���y�\0�~n��k�߮^��� e{6�#�:OlDZ��Q��Y�/u�+�;�%Ѵz�^�b1)���:w&�������C[���b\n`�;��Ān���ˇ�^n�&j)����,׬M���K�A�R��f#���_�%�O\\�G�%��)�    Rh���)�$\\_!/�7�>�����AMJ��N6L�+�T_s0BX���8����=��%�����|��ihf�O^w:R���z[wC�^��/��������\'X���ɒ�    #���\'�i�������.S��|��p��ԑ�l��x���Bb!w����xt���>����؝Kq��Hr\"<�s�0�h#��O�cM�A�4rڈ��D������щ�� ��\nr�43(x�Ԉ>    oIb58�uW��^��/�ե����Y\ZB��׸r�q|��:~�m���s�4J���\nb�,�s�1V�:c.�@�c��~��9��eZu��芯��B@U�]�%$V�$�/DT���G��_*)��g�n�B-}o�X�5�b������-�v(Q\n�k�āC�����tY,WfD��;�8�Gy��6᳇�3�Mj�B?��ޥ��D=Ŕ�G����k���SCPȌ�\n��F&/?{��ūĂ������E��:�\r��IN���BͣZ��Hl\'�<�&�볛�(F=�#�\"�r�[��TQ7�;�S�:Og�Ow����S���kp>��X?�N����f!���9  �㮮;�>�Y��>ߘQ�X��twaB��\0ue���/=׭x�{�����A��x���V�\Z��1�?��7��F2p-~R��Pv���L4����P%)���|\Zɋ��˗\n|�kP���Eۍ�|�.�T�ԵAsQ���L��\Z�O�Śq���\\�', _binary'�� {    �땗7��88t)��{���6�*��,7G6�8������L���\r��Z�S���Kc��*a���H_�}0�m@Ս��6,���34�![O��Yo�V�)%<�l\n���_Pc��è�r=|B�����2(d�|�����E����G��F��c\r��3���EF�(U���y�gd���M�G�,��._-��$����.J�Al{FB��V��c⇗�g{�ap�H^� 䏮B/NR���������/��a-���QzA:')\G

# Query 10: 122.82 QPS, 0.03x concurrency, ID 0x3505CEACD14FFD6D at byte 2845684
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:19:20 to 2021-07-23T12:20:22
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          7    7615
# Exec time      2      2s   105us    11ms   206us   490us   298us   131us
# Lock time      2   414ms    32us     2ms    54us    84us    56us    44us
# Rows sent      2  74.37k      10      10      10      10       0      10
# Rows examine   1 148.73k      20      20      20      20       0      20
# Query size     2 475.94k      64      64      64      64       0      64
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'distance_fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`distance_fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT distance,fare FROM distance_fare_master ORDER BY distance\G

# Query 11: 44.46 QPS, 0.02x concurrency, ID 0x695B410101D468B6 at byte 2401048
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T12:19:20 to 2021-07-23T12:20:21
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    2712
# Exec time      2      1s   140us    71ms   505us     1ms     3ms   204us
# Lock time      3   568ms    39us    64ms   209us   301us     2ms    69us
# Rows sent      0   2.65k       1       1       1       1       0       1
# Rows examine   0   2.65k       1       1       1       1       0       1
# Query size     1 261.04k      94     102   98.56   97.36    2.27   97.36
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ####
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM train_master WHERE date='2020/02/09' AND train_class='遅いやつ' AND train_name='124'\G

# Query 12: 71.11 QPS, 0.02x concurrency, ID 0xBE31224501F8AFAC at byte 851079
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:19:20 to 2021-07-23T12:20:22
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    4409
# Exec time      2      1s   153us     7ms   299us   657us   320us   214us
# Lock time      2   365ms    43us     4ms    82us   152us   116us    60us
# Rows sent      0   4.31k       1       1       1       1       0       1
# Rows examine   0   4.31k       1       1       1       1       0       1
# Query size     3 599.71k     133     147  139.28  143.84    4.55  136.99
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_timetable_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_timetable_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT departure FROM train_timetable_master WHERE date='2020/01/03' AND train_class='中間' AND train_name='35' AND station='東京'\G

# Query 13: 66.33 QPS, 0.02x concurrency, ID 0x5051645A82753AFA at byte 19190872
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:19:20 to 2021-07-23T12:20:21
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          3    4046
# Exec time      2      1s   153us    13ms   270us   596us   339us   185us
# Lock time      1   301ms    43us     2ms    74us   113us    74us    57us
# Rows sent      0   3.72k       0       1    0.94    0.99    0.23    0.99
# Rows examine   0   3.72k       0       1    0.94    0.99    0.23    0.99
# Query size     2 443.43k     108     115  112.23  112.70    2.60  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=8 ORDER BY seat_row, seat_column LIMIT 1\G

# Query 14: 17.59 QPS, 0.02x concurrency, ID 0xF45677EF82580C7F at byte 2394166
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.01
# Time range: 2021-07-23T12:19:20 to 2021-07-23T12:20:21
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1073
# Exec time      1      1s   176us    68ms   947us     3ms     3ms   301us
# Lock time      2   346ms    47us    68ms   322us   690us     3ms    69us
# Rows sent      0   1.01k       0       1    0.96    0.99    0.19    0.99
# Rows examine   0   1.01k       0       1    0.96    0.99    0.19    0.99
# Query size     0 141.57k     129     138  135.10  136.99    2.33  130.47
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1 AND seat_class='premium'\G

# Query 15: 51.53 QPS, 0.01x concurrency, ID 0x4D71330DDB50D348 at byte 14025689
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:19:20 to 2021-07-23T12:20:22
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          3    3195
# Exec time      1   916ms   151us     8ms   286us   626us   335us   204us
# Lock time      1   277ms    42us     5ms    86us   176us   155us    60us
# Rows sent      0   3.12k       1       1       1       1       0       1
# Rows examine   0   3.12k       1       1       1       1       0       1
# Query size     2 428.98k     131     145  137.49  143.84    4.13  136.99
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_timetable_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_timetable_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT arrival FROM train_timetable_master WHERE date='2020/01/19' AND train_class='遅いやつ' AND train_name='72' AND station='保池'\G

# Query 16: 29.02 QPS, 0.01x concurrency, ID 0xEB4FD41DEC7193AB at byte 25685759
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:19:22 to 2021-07-23T12:20:21
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1712
# Exec time      0   441ms   125us    13ms   257us   568us   454us   167us
# Lock time      0   133ms    37us     2ms    77us   113us   114us    52us
# Rows sent      0   3.34k       2       2       2       2       0       2
# Rows examine   0   3.34k       2       2       2       2       0       2
# Query size     0 110.78k      65      67   66.26   65.89    0.99   65.89
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_reservations WHERE reservation_id=127 FOR UPDATE\G

# Query 17: 20.72 QPS, 0.01x concurrency, ID 0xE070DA9421CA8C8D at byte 1116678
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T12:19:20 to 2021-07-23T12:20:21
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1264
# Exec time      0   346ms    98us     6ms   273us   839us   419us   152us
# Lock time      0   119ms    37us     3ms    94us   260us   178us    52us
# Rows sent      0   1.23k       1       1       1       1       0       1
# Rows examine   0   1.23k       1       1       1       1       0       1
# Query size     0  46.44k      36      38   37.62   36.69    0.46   36.69
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  ##
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM `users` WHERE `id` = 10\G
mism-mism commented 3 years ago

Top 20 Sort By Total
Count    Total    Mean  Stddev    Min  P50.0  P90.0  P95.0  P99.0    Max  2xx  3xx  4xx  5xx  TotalBytes   MinBytes  MeanBytes   MaxBytes  Request
  309  157.344  0.5092  0.1034  0.001  0.509  0.630  0.657  0.724  0.793  304    0    5    0     1221876          0       3954       4235  GET /api/train/search
  453   61.521  0.1358  0.0783  0.001  0.141  0.228  0.267  0.345  0.406  317    0  136    0       29361         47         64        174  POST /api/train/reserve HTTP/1.1
   95   16.328  0.1719  0.0431  0.042  0.176  0.227  0.237  0.328  0.328   95    0    0    0      655826       6371       6903       9451  GET /api/train/seats
  406    8.392  0.0207  0.0192  0.001  0.013  0.049  0.062  0.080  0.120  406    0    0    0      627714          3       1546       5658  GET /api/user/reservations HTTP/1.1
  723    6.558  0.0091  0.0057  0.001  0.008  0.016  0.019  0.028  0.044  614    0  109    0      272150         51        376        478  GET /api/user/reservations/<num> HTTP/1.1
  264    5.539  0.0210  0.0184  0.008  0.016  0.035  0.046  0.116  0.191  264    0    0    0        3696         14         14         14  POST /api/train/reservation/commit HTTP/1.1
  250    2.894  0.0116  0.0046  0.005  0.010  0.018  0.019  0.027  0.034  250    0    0    0       13000         52         52         52  POST /api/auth/signup HTTP/1.1
  121    1.750  0.0145  0.0076  0.001  0.013  0.022  0.026  0.045  0.046  109    0   12    0        5699         47         47         48  POST /api/user/reservations/<num>/cancel HTTP/1.1
  436    1.320  0.0030  0.0023  0.001  0.002  0.006  0.007  0.013  0.019  436    0    0    0     3630196       8317       8326       8330  GET /api/stations HTTP/1.1
  251    0.843  0.0034  0.0025  0.001  0.003  0.005  0.007  0.014  0.025  250    0    1    0       10801         43         43         51  POST /api/auth/login HTTP/1.1
    1    0.116  0.1160  0.0000  0.116  0.116  0.116  0.116  0.116  0.116    1    0    0    0          43         43         43         43  POST /initialize HTTP/1.1
   45    0.033  0.0007  0.0006  0.000  0.001  0.001  0.001  0.003  0.003   45    0    0    0        1845         41         41         41  POST /api/auth/logout HTTP/1.1
    1    0.004  0.0040  0.0000  0.004  0.004  0.004  0.004  0.004  0.004    1    0    0    0      438711     438711     438711     438711  GET /js/chunk-vendors.2b84179f.js HTTP/1.1
    1    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       55412      55412      55412      55412  GET /js/app.44fa4ee9.js HTTP/1.1
    1    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0         724        724        724        724  GET /index.html HTTP/1.1
    1    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       13950      13950      13950      13950  GET /css/app.6535e252.css HTTP/1.1
    1    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0        4286       4286       4286       4286  GET /favicon.ico HTTP/1.1
    1    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0        2505       2505       2505       2505  GET /img/logo.b0efca9a.svg HTTP/1.1
mism-mism commented 3 years ago


# 10s user time, 20ms system time, 29.50M rss, 36.39M vsz
# Current date: Fri Jul 23 13:45:27 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_134513/mysql-slow.log
# Overall: 117.22k total, 44 unique, 1.89k QPS, 2.49x concurrency ________
# Time range: 2021-07-23T13:43:37 to 2021-07-23T13:44:39
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time           155s    21us   238ms     1ms     5ms     4ms   424us
# Lock time            32s       0   237ms   269us   568us     3ms    76us
# Rows sent          3.69M       0     715   32.99  202.40   88.41    0.99
# Rows examine      13.79M       0   1.79k  123.31  685.39  238.96   19.46
# Query size        18.02M       6   1.44k  161.18  420.77  132.53  102.22

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0xB9CE7A1316DCFADD 28.8272 18.7%  7256 0.0040  0.00 SELECT seat_reservations reservations station_master
#    2 0x444271E4C925DE37 26.8429 17.4% 24138 0.0011  0.00 SELECT seat_reservations reservations
#    3 0xF5672BCEBE977130 17.9721 11.6%  4748 0.0038  0.00 SELECT seat_reservations reservations station_master
#    4 0xCAAEA492DF36ED47 16.9877 11.0% 12004 0.0014  0.00 SELECT seat_master
#    5 0x83CD2B0841C8BCE7  9.3282  6.0% 18640 0.0005  0.00 SELECT station_master
#    6 0x40CC47AD720C5B7A  9.1844  5.9%   426 0.0216  0.06 SELECT reservations
#    7 0xBF517FA8ECBD94B6  7.5440  4.9%  9320 0.0008  0.00 SELECT fare_master
#    8 0x813031B8BBC3B329  5.9703  3.9%   690 0.0087  0.00 COMMIT
#    9 0x3505CEACD14FFD6D  5.3482  3.5%  9320 0.0006  0.00 SELECT distance_fare_master
#   10 0xBE31224501F8AFAC  4.6411  3.0%  5974 0.0008  0.00 SELECT train_timetable_master
#   11 0x4D71330DDB50D348  3.6723  2.4%  4968 0.0007  0.00 SELECT train_timetable_master
#   12 0xDE1038D3921D46BB  2.3770  1.5%  1992 0.0012  0.00 SELECT seat_master
#   13 0x6C2B51712EA1484E  2.2363  1.4%   248 0.0090  0.00 INSERT users
#   14 0x695B410101D468B6  2.1444  1.4%  2142 0.0010  0.03 SELECT train_master
#   15 0x48AC4127D5F26679  1.4144  0.9%  1967 0.0007  0.00 SELECT seat_master
#   16 0x4D43F5E0C97651C5  1.3958  0.9%   264 0.0053  0.05 UPDATE reservations
#   17 0x5051645A82753AFA  1.2162  0.8%  1615 0.0008  0.00 SELECT seat_master
# MISC 0xMISC              7.4469  4.8% 11510 0.0006   0.0 <27 ITEMS>

# Query 1: 118.95 QPS, 0.47x concurrency, ID 0xB9CE7A1316DCFADD at byte 28189342
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T13:43:38 to 2021-07-23T13:44:39
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          6    7256
# Exec time     18     29s   217us    38ms     4ms    11ms     4ms     3ms
# Lock time      7      2s    79us    12ms   307us     1ms   639us   138us
# Rows sent     43   1.61M       0     647  232.44  511.45  169.90  202.40
# Rows examine  37   5.13M       0   1.79k  741.74   1.33k  352.73  719.66
# Query size    16   2.91M     418     421  420.23  420.77    1.50  420.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  #########
#   1ms  ################################################################
#  10ms  ######
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((std.id <= 15 AND 15 < sta.id) OR (std.id <= 48 AND 48 < sta.id) OR (sta.id < 15 AND 48 < std.id))\G

# Query 2: 402.30 QPS, 0.45x concurrency, ID 0x444271E4C925DE37 at byte 5412847
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T13:43:38 to 2021-07-23T13:44:38
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         20   24138
# Exec time     17     27s   157us    34ms     1ms     4ms     2ms   515us
# Lock time     17      6s    60us    20ms   228us   725us   531us    98us
# Rows sent      0   5.06k       0       1    0.21    0.99    0.41       0
# Rows examine  22   3.09M       0     259  134.05  212.52   59.43  136.99
# Query size    34   6.27M     253     279  272.50  271.23    8.23  271.23
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ##########################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*, r.departure, r.arrival
                FROM seat_reservations s
                LEFT JOIN reservations r
                    ON s.reservation_id = r.reservation_id
                WHERE
                    r.date='2020/01/30' AND r.train_class='遅いやつ' AND r.train_name='6' AND car_number=8 AND seat_row=1 AND seat_column='B'\G

# Query 3: 77.84 QPS, 0.29x concurrency, ID 0xF5672BCEBE977130 at byte 33274861
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T13:43:38 to 2021-07-23T13:44:39
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    4748
# Exec time     11     18s   289us    52ms     4ms    10ms     3ms     3ms
# Lock time      4      1s    76us    13ms   304us     1ms   586us   138us
# Rows sent     21 793.64k       2     401  171.16  346.17   96.17  158.58
# Rows examine  23   3.18M       5   1.79k  701.27   1.46k  349.61  652.75
# Query size    10   1.90M     415     421  420.40  420.77       3  420.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  #####
#   1ms  ################################################################
#  10ms  ####
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((sta.id < 65 AND 65 <= std.id) OR (sta.id < 18 AND 18 <= std.id) OR (65 < sta.id AND std.id < 18))\G

# Query 4: 196.79 QPS, 0.28x concurrency, ID 0xCAAEA492DF36ED47 at byte 8767255
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T13:43:38 to 2021-07-23T13:44:39
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         10   12004
# Exec time     10     17s   138us    58ms     1ms     5ms     2ms   596us
# Lock time      6      2s    41us    18ms   177us   596us   531us    63us
# Rows sent     26 1006.71k       0     715   85.88  202.40  124.04   62.76
# Rows examine   7 1006.71k       0     715   85.88  202.40  124.04   62.76
# Query size     6   1.20M      99     106  104.93  102.22    1.42  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND seat_class='premium' AND is_smoking_seat=0\G

# Query 5: 305.57 QPS, 0.15x concurrency, ID 0x83CD2B0841C8BCE7 at byte 2788826
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T13:43:38 to 2021-07-23T13:44:39
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         15   18640
# Exec time      6      9s    86us   110ms   500us     2ms     1ms   167us
# Lock time      7      3s    32us   109ms   134us   348us   882us    52us
# Rows sent      0  18.20k       1       1       1       1       0       1
# Rows examine   0  18.20k       1       1       1       1       0       1
# Query size     3 725.97k      39      40   39.88   38.53       0   38.53
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #######
#  10ms  #
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE id=2\G

# Query 6: 7.10 QPS, 0.15x concurrency, ID 0x40CC47AD720C5B7A at byte 2853716
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.06
# Time range: 2021-07-23T13:43:38 to 2021-07-23T13:44:38
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     426
# Exec time      5      9s   149us   238ms    22ms   100ms    35ms     2ms
# Lock time     27      9s    55us   237ms    20ms   100ms    35ms   131us
# Rows sent      0   1.31k       0      32    3.16   10.84    5.28    0.99
# Rows examine   0  46.77k       0     207  112.42  192.76   57.61  107.34
# Query size     0  46.52k     105     113  111.82  112.70    2.37  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###############################
#  10ms  #############################################
# 100ms  ########
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/01/20' AND train_class='遅いやつ' AND train_name='40' FOR UPDATE\G

# Query 7: 152.79 QPS, 0.12x concurrency, ID 0xBF517FA8ECBD94B6 at byte 33270204
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T13:43:38 to 2021-07-23T13:44:39
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          7    9320
# Exec time      4      8s   164us    27ms   809us     3ms     1ms   384us
# Lock time      4      1s    41us    13ms   143us   384us   365us    63us
# Rows sent      2  81.91k       9       9       9       9       0       9
# Rows examine   5 819.14k      90      90      90      90       0      90
# Query size     5 950.04k      97     108  104.38  107.34    3.33  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM fare_master WHERE train_class='遅いやつ' AND seat_class='non-reserved' ORDER BY start_date\G

# Query 8: 11.50 QPS, 0.10x concurrency, ID 0x813031B8BBC3B329 at byte 2813021
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T13:43:38 to 2021-07-23T13:44:38
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     690
# Exec time      3      6s     3ms    33ms     9ms    16ms     4ms     7ms
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0   4.04k       6       6       6       6       0       6
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  #########################
# 100ms
#    1s
#  10s+
COMMIT\G

# Query 9: 152.79 QPS, 0.09x concurrency, ID 0x3505CEACD14FFD6D at byte 30143321
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T13:43:38 to 2021-07-23T13:44:39
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          7    9320
# Exec time      3      5s    94us    22ms   573us     2ms     1ms   176us
# Lock time      3   993ms    33us    12ms   106us   273us   335us    49us
# Rows sent      2  91.02k      10      10      10      10       0      10
# Rows examine   1 182.03k      20      20      20      20       0      20
# Query size     3 582.50k      64      64      64      64       0      64
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  ##########
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'distance_fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`distance_fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT distance,fare FROM distance_fare_master ORDER BY distance\G

# Query 10: 97.93 QPS, 0.08x concurrency, ID 0xBE31224501F8AFAC at byte 5065477
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T13:43:38 to 2021-07-23T13:44:39
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          5    5974
# Exec time      3      5s   149us    22ms   776us     3ms     1ms   332us
# Lock time      2   941ms    42us    14ms   157us   403us   496us    66us
# Rows sent      0   5.83k       1       1       1       1       0       1
# Rows examine   0   5.83k       1       1       1       1       0       1
# Query size     4 821.22k     133     147  140.77  143.84    2.85  136.99
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #############
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_timetable_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_timetable_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT departure FROM train_timetable_master WHERE date='2020/01/30' AND train_class='遅いやつ' AND train_name='36' AND station='舟田'\G

# Query 11: 81.44 QPS, 0.06x concurrency, ID 0x4D71330DDB50D348 at byte 33101163
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T13:43:38 to 2021-07-23T13:44:39
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    4968
# Exec time      2      4s   151us    25ms   739us     3ms     1ms   301us
# Lock time      2   789ms    44us    16ms   158us   490us   462us    66us
# Rows sent      0   4.85k       1       1       1       1       0       1
# Rows examine   0   4.85k       1       1       1       1       0       1
# Query size     3 676.63k     131     145  139.47  143.84    2.93  136.99
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ############
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_timetable_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_timetable_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT arrival FROM train_timetable_master WHERE date='2020/02/08' AND train_class='遅いやつ' AND train_name='84' AND station='雨墨'\G

# Query 12: 33.20 QPS, 0.04x concurrency, ID 0xDE1038D3921D46BB at byte 26555185
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T13:43:38 to 2021-07-23T13:44:38
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1992
# Exec time      1      2s   258us    20ms     1ms     4ms     2ms   568us
# Lock time      0   297ms    48us     6ms   149us   384us   330us    73us
# Rows sent      0  17.00k       0      68    8.74   65.89   22.05       0
# Rows examine   1 163.52k      65     100   84.06   97.36   13.38   76.28
# Query size     1 297.21k     147     153  152.78  151.03    1.34  151.03
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ############################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=1 AND seat_class='premium' AND is_smoking_seat=0 ORDER BY seat_row, seat_column\G

# Query 13: 4.13 QPS, 0.04x concurrency, ID 0x6C2B51712EA1484E at byte 26036322
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T13:43:38 to 2021-07-23T13:44:38
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     248
# Exec time      1      2s     3ms    32ms     9ms    17ms     4ms     8ms
# Lock time      0    67ms    71us     5ms   268us   925us   490us   125us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     1 354.12k   1.39k   1.44k   1.43k   1.39k    4.30   1.39k
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ############################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
INSERT INTO `users` (`email`, `salt`, `super_secure_password`) VALUES ('525131f832a9f0068688e5c87696510d43e7d116@example.com', _binary'�l��AD �#Ѳ���Dzc8�   ~���m2�b�c��\'/��V��?\\W�<���Ĥ`H�ܬ�\n����t��c�!i\\�x�i\Z$�-ILg�(�1-���o�p�+�\0).�ss��7=>�H����(�C�� ;;MkYMY��DC���}�,��;[A`�����\'L�9Hf[�{�3��q�_�se\Z�{\'v��L�}v1\0����Я����%RO�\r�d�ŕ�_�;��ط6!$ojG�#�������E��+g5ٖ8_�\"l�c����t&]�n��@������#�h�<@����MK�aXP\0��D�X?�������g�ܝ������dh��:4|KD��`���ي��F1��s�+�_��)Zd�T�j4�hA�d�a�alɞ���R��7��w�$���u�Zj���>��K�(d�Y.;%���o���E��`�����b9���\\[�pB�‚��l��\r�bD[qE�2�TȫT�_=��pd0Ώ;�?��.M�\rma���A:��b%��7,\Z�it��M������N�����,.h��3�~�{�/<��H(kmZ����k�X�jW��N��˹��G�K�v> lw�\"9��%�9�����;<J!�<�����y*������8\r�K��l�{���&q�8��n�\Z��y�]�\n����Fk(Vp�+�GF��5����fT/Z(u��d�[��@wA������;�v��#��&���   t���̚�Ne\\xӪ��/J�Z:t^��D&\Z��m�ϲ=`��y�b|7)��P��b\n`X�������\\F��� ��r����鞱���e+��bZNHxi���K�ޜ7����`�<�^�޾�r�!:�,Eި\"a��ζ���=\"7���-��)G�@��Se�k�VPDb��Z.�����eJ��6�V��h��    ���1�T{BD:z�x�2Y�23�   �K5��uh/��_�]��h�����a�   ��t�Uu߶��#���=�|6ͺ�q�6픫0�TY3\'\'��{', _binary'�T��F38����Q2XN�9��ip�3�՜+��Q���MjN�ǵ��*t¥\"�{�ߒ�h�=����v�\0��<Y6�Mح�*��%%aC��������!��K(�呢��Pq��o�?�K$k�j*��1p����o�S�L��)���d��co�O�/�M���<}��?��V��:\0�7{pQҦ�$Y��    k�N��Li�rq-U��3��\'��T�;�c�C������aM1M����w6��G9���Ŭ͋')\G

# Query 14: 35.70 QPS, 0.04x concurrency, ID 0x695B410101D468B6 at byte 2803732
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.03
# Time range: 2021-07-23T13:43:38 to 2021-07-23T13:44:38
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2142
# Exec time      1      2s   133us   151ms     1ms     3ms     6ms   301us
# Lock time      2   852ms    40us   120ms   397us   568us     5ms    63us
# Rows sent      0   2.09k       1       1       1       1       0       1
# Rows examine   0   2.09k       1       1       1       1       0       1
# Query size     1 210.90k      94     102  100.82   97.36    1.00   97.36
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###########
#  10ms  #
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM train_master WHERE date='2020/01/20' AND train_class='遅いやつ' AND train_name='40'\G

# Query 15: 32.78 QPS, 0.02x concurrency, ID 0x48AC4127D5F26679 at byte 16863176
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T13:43:38 to 2021-07-23T13:44:38
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1967
# Exec time      0      1s   155us    15ms   719us     2ms     1ms   316us
# Lock time      0   296ms    42us     8ms   150us   424us   394us    66us
# Rows sent      0   1.92k       1       1       1       1       0       1
# Rows examine   0   1.92k       1       1       1       1       0       1
# Query size     1 211.36k     104     112  110.03  107.34    0.67  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #############
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=8 AND seat_column='A' AND seat_row=1\G

# Query 16: 4.40 QPS, 0.02x concurrency, ID 0x4D43F5E0C97651C5 at byte 8969895
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.05
# Time range: 2021-07-23T13:43:38 to 2021-07-23T13:44:38
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     264
# Exec time      0      1s   162us   173ms     5ms    27ms    17ms   414us
# Lock time      3      1s    47us   172ms     5ms    23ms    16ms    66us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0     264       1       1       1       1       0       1
# Query size     0  24.94k      95      97   96.75   92.72       0   92.72
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ############
#  10ms  ###########
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
UPDATE reservations SET status='done', payment_id='c3tcf5fp5qgtp9gaegl0' WHERE reservation_id=78\G
# Converted for EXPLAIN
# EXPLAIN /*!50100 PARTITIONS*/
select  status='done', payment_id='c3tcf5fp5qgtp9gaegl0' from reservations where  reservation_id=78\G

# Query 17: 29.91 QPS, 0.02x concurrency, ID 0x5051645A82753AFA at byte 2897433
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T13:43:38 to 2021-07-23T13:44:32
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1615
# Exec time      0      1s   144us    21ms   753us     3ms     1ms   316us
# Lock time      0   276ms    44us     7ms   170us   626us   374us    66us
# Rows sent      0   1.48k       0       1    0.94    0.99    0.23    0.99
# Rows examine   0   1.48k       0       1    0.94    0.99    0.23    0.99
# Query size     0 177.95k     108     115  112.83  112.70    2.39  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###############
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=13 ORDER BY seat_row, seat_column LIMIT 1\G
mism-mism commented 3 years ago

Top 20 Sort By Total
Count    Total    Mean  Stddev    Min  P50.0  P90.0  P95.0  P99.0    Max  2xx  3xx  4xx  5xx  TotalBytes   MinBytes  MeanBytes   MaxBytes  Request
  333  179.668  0.5395  0.1116  0.000  0.536  0.670  0.727  0.827  0.863  329    0    4    0     1335335          0       4010       4236  GET /api/train/search
  478   39.799  0.0833  0.0816  0.001  0.058  0.173  0.273  0.414  0.467  343    0  135    0       30574         47         63        174  POST /api/train/reserve HTTP/1.1
   95   16.524  0.1739  0.0436  0.041  0.169  0.224  0.246  0.299  0.299   95    0    0    0      652810       6377       6871       9450  GET /api/train/seats
  432    9.206  0.0213  0.0190  0.000  0.013  0.051  0.064  0.077  0.100  431    0    1    0      644512          0       1491       5652  GET /api/user/reservations HTTP/1.1
  774    7.247  0.0094  0.0056  0.000  0.009  0.017  0.020  0.028  0.039  664    0  110    0      295636          0        381        480  GET /api/user/reservations/<num> HTTP/1.1
  288    6.684  0.0232  0.0161  0.007  0.018  0.041  0.054  0.094  0.141  288    0    0    0        4032         14         14         14  POST /api/train/reservation/commit HTTP/1.1
  263    3.252  0.0124  0.0049  0.005  0.011  0.017  0.021  0.030  0.046  263    0    0    0       13676         52         52         52  POST /api/auth/signup HTTP/1.1
  121    1.851  0.0153  0.0078  0.002  0.015  0.025  0.030  0.035  0.049  109    0   12    0        5699         47         47         48  POST /api/user/reservations/<num>/cancel HTTP/1.1
  473    1.520  0.0032  0.0024  0.001  0.002  0.006  0.008  0.012  0.016  473    0    0    0     3938184       8317       8325       8330  GET /api/stations HTTP/1.1
  264    0.869  0.0033  0.0018  0.001  0.003  0.006  0.007  0.009  0.011  263    0    1    0       11360         43         43         51  POST /api/auth/login HTTP/1.1
    1    0.172  0.1720  0.0000  0.172  0.172  0.172  0.172  0.172  0.172    0    0    1    0         157        157        157        157  GET / HTTP/1.1
    1    0.104  0.1040  0.0000  0.104  0.104  0.104  0.104  0.104  0.104    1    0    0    0          43         43         43         43  POST /initialize HTTP/1.1
   45    0.040  0.0009  0.0009  0.000  0.001  0.002  0.002  0.004  0.004   45    0    0    0        1845         41         41         41  POST /api/auth/logout HTTP/1.1
    1    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0         724        724        724        724  GET /index.html HTTP/1.1
    1    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0        2505       2505       2505       2505  GET /img/logo.b0efca9a.svg HTTP/1.1
    1    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0        4286       4286       4286       4286  GET /favicon.ico HTTP/1.1
    1    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       13950      13950      13950      13950  GET /css/app.6535e252.css HTTP/1.1
    1    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0      438711     438711     438711     438711  GET /js/chunk-vendors.2b84179f.js HTTP/1.1
    1    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000    1    0    0    0       55412      55412      55412      55412  GET /js/app.44fa4ee9.js HTTP/1.1
mism-mism commented 3 years ago


# 9.1s user time, 40ms system time, 29.59M rss, 36.50M vsz
# Current date: Fri Jul 23 14:23:05 2021
# Hostname: ip-172-31-16-219
# Files: logs/20210723_142252/mysql-slow.log
# Overall: 106.17k total, 45 unique, 1.71k QPS, 2.49x concurrency ________
# Time range: 2021-07-23T14:21:27 to 2021-07-23T14:22:29
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time           155s    23us   214ms     1ms     6ms     5ms   366us
# Lock time            36s       0   214ms   337us   541us     4ms    66us
# Rows sent          4.23M       0     715   41.79  234.30   99.82    0.99
# Rows examine      11.98M       0   1.50k  118.27  755.64  249.79    0.99
# Query size        14.18M       6   1.44k  140.05  420.77  134.42  102.22

# Profile
# Rank Query ID           Response time Calls R/Call V/M   Item
# ==== ================== ============= ===== ====== ===== ===============
#    1 0xB9CE7A1316DCFADD 31.9214 20.6%  7896 0.0040  0.00 SELECT seat_reservations reservations station_master
#    2 0xF5672BCEBE977130 21.1694 13.7%  5160 0.0041  0.00 SELECT seat_reservations reservations station_master
#    3 0xCAAEA492DF36ED47 18.6517 12.1% 13056 0.0014  0.00 SELECT seat_master
#    4 0x40CC47AD720C5B7A 11.6349  7.5%   451 0.0258  0.11 SELECT reservations
#    5 0x83CD2B0841C8BCE7 10.2156  6.6% 20270 0.0005  0.00 SELECT station_master
#    6 0xBF517FA8ECBD94B6  8.4147  5.4% 10135 0.0008  0.00 SELECT fare_master
#    7 0x444271E4C925DE37  7.9023  5.1%  6695 0.0012  0.00 SELECT seat_reservations reservations
#    8 0x813031B8BBC3B329  6.8462  4.4%   740 0.0093  0.00 COMMIT
#    9 0x3505CEACD14FFD6D  5.7343  3.7% 10135 0.0006  0.00 SELECT distance_fare_master
#   10 0xBE31224501F8AFAC  5.2677  3.4%  6895 0.0008  0.00 SELECT train_timetable_master
#   11 0x4D71330DDB50D348  4.0659  2.6%  5324 0.0008  0.00 SELECT train_timetable_master
#   12 0x695B410101D468B6  3.7114  2.4%  2336 0.0016  0.05 SELECT train_master
#   13 0x6C2B51712EA1484E  2.4682  1.6%   261 0.0095  0.00 INSERT users
#   14 0xC5ED4156FC37CBA8  2.3211  1.5%   273 0.0085  0.03 SELECT reservations seat_reservations
#   15 0x4D43F5E0C97651C5  1.8220  1.2%   288 0.0063  0.03 UPDATE reservations
#   16 0xF45677EF82580C7F  1.8147  1.2%   367 0.0049  0.09 SELECT seat_master
#   17 0x48AC4127D5F26679  1.4880  1.0%  2060 0.0007  0.00 SELECT seat_master
#   18 0x5051645A82753AFA  1.2142  0.8%  1615 0.0008  0.00 SELECT seat_master
#   19 0xD97C7E96186DC3E0  1.1150  0.7%  2060 0.0005  0.00 SELECT seat_reservations
# MISC 0xMISC              6.8884  4.5% 10152 0.0007   0.0 <26 ITEMS>

# Query 1: 129.44 QPS, 0.52x concurrency, ID 0xB9CE7A1316DCFADD at byte 24344093
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T14:21:28 to 2021-07-23T14:22:29
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          7    7896
# Exec time     20     32s   218us    51ms     4ms    12ms     4ms     3ms
# Lock time      7      3s    76us    20ms   318us     1ms   701us   138us
# Rows sent     41   1.74M       0     697  231.60  592.07  167.60  223.14
# Rows examine  45   5.40M       0   1.50k  716.64   1.20k  325.02  685.39
# Query size    22   3.16M     415     421  419.61  420.77       3  420.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ########
#   1ms  ################################################################
#  10ms  ######
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((std.id <= 50 AND 50 < sta.id) OR (std.id <= 57 AND 57 < sta.id) OR (sta.id < 50 AND 57 < std.id))\G

# Query 2: 86 QPS, 0.35x concurrency, ID 0xF5672BCEBE977130 at byte 35463556
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T14:21:29 to 2021-07-23T14:22:29
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          4    5160
# Exec time     13     21s   306us    47ms     4ms    11ms     4ms     3ms
# Lock time      4      2s    78us    18ms   305us   972us   683us   138us
# Rows sent     25   1.07M       2     555  216.96  487.09  130.33  166.51
# Rows examine  28   3.46M       5   1.50k  703.96   1.14k  278.01  652.75
# Query size    14   2.07M     418     421  420.45  420.77    1.50  420.77
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ####
#   1ms  ################################################################
#  10ms  #####
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT sr.reservation_id, sr.car_number, sr.seat_row, sr.seat_column
    FROM seat_reservations AS sr
         INNER JOIN reservations AS r ON r.reservation_id = sr.reservation_id
         INNER JOIN station_master AS std ON std.name = r.departure
         INNER JOIN station_master AS sta ON sta.name = r.arrival
    WHERE
        1 = 1
    AND ((sta.id < 72 AND 72 <= std.id) OR (sta.id < 36 AND 36 <= std.id) OR (72 < sta.id AND std.id < 36))\G

# Query 3: 214.03 QPS, 0.31x concurrency, ID 0xCAAEA492DF36ED47 at byte 29883325
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T14:21:28 to 2021-07-23T14:22:29
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         12   13056
# Exec time     12     19s   144us    30ms     1ms     5ms     2ms   596us
# Lock time      5      2s    43us    15ms   163us   515us   456us    66us
# Rows sent     24   1.04M       0     715   83.27  202.40  119.32   62.76
# Rows examine   8   1.04M       0     715   83.27  202.40  119.32   62.76
# Query size     9   1.31M      99     106  105.01  102.22    1.33  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ################################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='最速' AND seat_class='reserved' AND is_smoking_seat=0\G

# Query 4: 7.52 QPS, 0.19x concurrency, ID 0x40CC47AD720C5B7A at byte 2880705
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.11
# Time range: 2021-07-23T14:21:29 to 2021-07-23T14:22:29
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     451
# Exec time      7     12s   160us   214ms    26ms   189ms    53ms     1ms
# Lock time     31     11s    51us   214ms    25ms   189ms    53ms    98us
# Rows sent      0   1.46k       0      32    3.30   10.84    5.29    0.99
# Rows examine   0  52.49k       0     233  119.17  202.40   60.93  118.34
# Query size     0  49.26k     105     113  111.85  112.70    2.16  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###########################
#  10ms  #############################
# 100ms  ###########
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM reservations WHERE date='2020/03/22' AND train_class='遅いやつ' AND train_name='148' FOR UPDATE\G

# Query 5: 332.30 QPS, 0.17x concurrency, ID 0x83CD2B0841C8BCE7 at byte 11698619
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T14:21:28 to 2021-07-23T14:22:29
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         19   20270
# Exec time      6     10s    86us    38ms   503us     2ms     1ms   167us
# Lock time      7      3s    34us    18ms   124us   332us   410us    54us
# Rows sent      0  19.79k       1       1       1       1       0       1
# Rows examine   0  19.79k       1       1       1       1       0       1
# Query size     5 788.30k      39      40   39.82   38.53       0   38.53
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  ########
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'station_master'\G
#    SHOW CREATE TABLE `isutrain`.`station_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM station_master WHERE id=47\G

# Query 6: 166.15 QPS, 0.14x concurrency, ID 0xBF517FA8ECBD94B6 at byte 34173834
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T14:21:28 to 2021-07-23T14:22:29
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          9   10135
# Exec time      5      8s   166us    26ms   830us     3ms     1ms   384us
# Lock time      4      1s    41us    14ms   144us   384us   384us    66us
# Rows sent      2  89.08k       9       9       9       9       0       9
# Rows examine   7 890.77k      90      90      90      90       0      90
# Query size     7   1.01M      97     108  104.46  107.34    3.23  102.22
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM fare_master WHERE train_class='遅いやつ' AND seat_class='non-reserved' ORDER BY start_date\G

# Query 7: 136.63 QPS, 0.16x concurrency, ID 0x444271E4C925DE37 at byte 4168002
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T14:21:28 to 2021-07-23T14:22:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          6    6695
# Exec time      5      8s   161us    19ms     1ms     4ms     2ms   541us
# Lock time      4      2s    63us    12ms   256us   925us   544us   103us
# Rows sent      0   1.03k       0       1    0.16    0.99    0.36       0
# Rows examine   4 585.12k       0     259   89.49  174.84   60.05   97.36
# Query size    11   1.65M     253     262  258.54  258.32    4.50  258.32
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###############################
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT s.*, r.departure, r.arrival
FROM seat_reservations s
LEFT JOIN reservations r
    ON s.reservation_id = r.reservation_id

WHERE
    r.date='2020/01/01' AND r.train_class='最速' AND r.train_name='49' AND car_number=14 AND seat_row=13 AND seat_column='B'\G

# Query 8: 12.33 QPS, 0.11x concurrency, ID 0x813031B8BBC3B329 at byte 2802688
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T14:21:29 to 2021-07-23T14:22:29
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     740
# Exec time      4      7s     3ms    51ms     9ms    19ms     5ms     8ms
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     0   4.34k       6       6       6       6       0       6
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ###############################
# 100ms
#    1s
#  10s+
COMMIT\G

# Query 9: 166.15 QPS, 0.09x concurrency, ID 0x3505CEACD14FFD6D at byte 18946947
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T14:21:28 to 2021-07-23T14:22:29
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          9   10135
# Exec time      3      6s    93us    18ms   565us     2ms     1ms   176us
# Lock time      3      1s    33us    15ms   112us   260us   373us    49us
# Rows sent      2  98.97k      10      10      10      10       0      10
# Rows examine   1 197.95k      20      20      20      20       0      20
# Query size     4 633.44k      64      64      64      64       0      64
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  ##########
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'distance_fare_master'\G
#    SHOW CREATE TABLE `isutrain`.`distance_fare_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT distance,fare FROM distance_fare_master ORDER BY distance\G

# Query 10: 113.03 QPS, 0.09x concurrency, ID 0xBE31224501F8AFAC at byte 11925793
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T14:21:28 to 2021-07-23T14:22:29
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          6    6895
# Exec time      3      5s   149us    32ms   763us     3ms     1ms   301us
# Lock time      2      1s    41us    17ms   152us   403us   433us    69us
# Rows sent      0   6.73k       1       1       1       1       0       1
# Rows examine   0   6.73k       1       1       1       1       0       1
# Query size     6 949.01k     133     147  140.94  143.84    2.96  136.99
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #############
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_timetable_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_timetable_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT departure FROM train_timetable_master WHERE date='2020/01/10' AND train_class='遅いやつ' AND train_name='95' AND station='霞苑野'\G

# Query 11: 87.28 QPS, 0.07x concurrency, ID 0x4D71330DDB50D348 at byte 16294021
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T14:21:28 to 2021-07-23T14:22:29
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          5    5324
# Exec time      2      4s   145us    20ms   763us     3ms     1ms   273us
# Lock time      2   820ms    43us    13ms   154us   403us   448us    66us
# Rows sent      0   5.20k       1       1       1       1       0       1
# Rows examine   0   5.20k       1       1       1       1       0       1
# Query size     4 725.86k     131     145  139.61  143.84    2.95  136.99
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ############
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_timetable_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_timetable_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT arrival FROM train_timetable_master WHERE date='2020/02/14' AND train_class='遅いやつ' AND train_name='171' AND station='錦太学園'\G

# Query 12: 38.30 QPS, 0.06x concurrency, ID 0x695B410101D468B6 at byte 2768204
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.05
# Time range: 2021-07-23T14:21:28 to 2021-07-23T14:22:29
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          2    2336
# Exec time      2      4s   137us   182ms     2ms     3ms     9ms   301us
# Lock time      6      2s    40us   175ms   991us   725us     9ms    63us
# Rows sent      0   2.28k       1       1       1       1       0       1
# Rows examine   0   2.28k       1       1       1       1       0       1
# Query size     1 230.12k      94     102  100.87   97.36    0.98   97.36
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ############
#  10ms  #
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'train_master'\G
#    SHOW CREATE TABLE `isutrain`.`train_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM train_master WHERE date='2020/01/01' AND train_class='遅いやつ' AND train_name='91'\G

# Query 13: 4.42 QPS, 0.04x concurrency, ID 0x6C2B51712EA1484E at byte 34146313
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T14:21:28 to 2021-07-23T14:22:27
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     261
# Exec time      1      2s     3ms    29ms     9ms    16ms     4ms     8ms
# Lock time      0    85ms    72us     6ms   325us     1ms   670us   119us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Query size     2 372.55k   1.39k   1.44k   1.43k   1.39k    5.92   1.39k
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ################################################################
#  10ms  ####################################
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'users'\G
#    SHOW CREATE TABLE `isutrain`.`users`\G
INSERT INTO `users` (`email`, `salt`, `super_secure_password`) VALUES ('11db1b6d25fc6bb8dd42a904084c315c154b077d@example.com', _binary'-I=\ZS��B�D��͗V��[�Xu�P�h����b��_�K�Lc���\\�|���7]BU��(hP*��_���9��;�L�s_�ԯ&����\n�-�=<�����\'��}��j���z\n�����/�$������=9��$�V����g���\'y@e�\\�y�D�Γ�;�G�0&N:&�aWU��eo���2k������y�D�\'b��������U ޑ@�V�B��@���]�w���Ŵ���d���\'ߦ�!d�vn>>��֨�� �s?�l��>�w��7�(�~�eY���A����[��#�^<=�&����������x��(>+󳬲��U��To�:�����NW^����P҉�›�v��i�� ��mq�I���]��5��H�\0!P�[ɿڪK��J��t�\"�O6�H�t�7n��<.1�K��M���@ƚ]����Ǩ�����ޮkY����Q1+��ph#�@j�(����Ҏ�&�MH<DA޳��yJg!�2�U�/��^M��Ôjp�)s�I����0D$Lm��qA�(�/�T���-�˸G��N�{\n7�S�`�?}�p(n�;,@�X�����?Ԝ7���=��Rf�ZjE�V���N��:�L\r�p��\'�d:��}�+\'�X��̻�l�D����c?�,�z���X�W��YG��I�t�4�0?ó����:٬�3֪��g��&�2�U��=昌`�Կ0V6:��̗���KP����w�q���#4�>�!����K�b��3�<eD�.�砕6�X��ʔ��z��_�ر��}��5=�H��r�ْ⸰vr���]��`�?!t��!t�\0���i�Dky���yzt�������s���H�Xx���Q\'S\Z\Z�2ypɠ�\Z��|������&    ����|C����J��RG����up�p�o�9����|�&�4TP_�8�[���]���U8(�w|�`k����Z�3�H߄\'%�d$]��}��;�马T ����/T]XX��հ@q�[', _binary'gM�&u�����E  �I\'�>���!ʴ,x�������\'�x�x���|��^b����^�Lx��;��U&���,�F�٩J��܊i�޾~\n��ԣX��~�~��k�U�r:��h���8;溆%��&C>-�:�WJ�@���m���8�E|�X�VY�0`�Am�|2lጀ����-�D?�#Vp��X�7�\Z8w��Rܕ5M.���\\O�u�&e��5[���A1�*�`�%ɍ�N�������������\0&ȇ��')\G

# Query 14: 4.55 QPS, 0.04x concurrency, ID 0xC5ED4156FC37CBA8 at byte 6645832
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.03
# Time range: 2021-07-23T14:21:29 to 2021-07-23T14:22:29
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     273
# Exec time      1      2s   263us   101ms     9ms    40ms    15ms     1ms
# Lock time      5      2s    70us   100ms     7ms    36ms    15ms   138us
# Rows sent      0   4.81k       0      72   18.05   59.77   21.98    5.75
# Rows examine   0  42.35k       0     301  158.84  258.32   57.79  158.58
# Query size     0  43.12k     161     163  161.75  158.58       0  158.58
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ########################################################
#  10ms  ################################
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT departure,arrival,car_number,seat_row,seat_column FROM reservations r NATURAL JOIN seat_reservations WHERE date='2020/02/17' AND train_name='3' FOR UPDATE\G

# Query 15: 4.80 QPS, 0.03x concurrency, ID 0x4D43F5E0C97651C5 at byte 7369564
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.03
# Time range: 2021-07-23T14:21:29 to 2021-07-23T14:22:29
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     288
# Exec time      1      2s   158us   122ms     6ms    34ms    14ms   384us
# Lock time      4      2s    45us   122ms     6ms    31ms    13ms    76us
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0     288       1       1       1       1       0       1
# Query size     0  27.22k      95      97   96.77   92.72       0   92.72
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###############
#  10ms  #################
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'reservations'\G
#    SHOW CREATE TABLE `isutrain`.`reservations`\G
UPDATE reservations SET status='done', payment_id='c3td0snp5qgtp9gaf3fg' WHERE reservation_id=72\G
# Converted for EXPLAIN
# EXPLAIN /*!50100 PARTITIONS*/
select  status='done', payment_id='c3td0snp5qgtp9gaf3fg' from reservations where  reservation_id=72\G

# Query 16: 7.65 QPS, 0.04x concurrency, ID 0xF45677EF82580C7F at byte 2759701
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.09
# Time range: 2021-07-23T14:21:29 to 2021-07-23T14:22:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     367
# Exec time      1      2s   183us   171ms     5ms    12ms    21ms   445us
# Lock time      3      1s    51us   171ms     4ms     2ms    21ms    69us
# Rows sent      0     355       0       1    0.97    0.99    0.18    0.99
# Rows examine   0     355       0       1    0.97    0.99    0.18    0.99
# Query size     0  48.52k     129     138  135.38  136.99    2.91  130.47
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ####################
#  10ms  ###
# 100ms  ##
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=9 AND seat_column='A' AND seat_row=1 AND seat_class='premium'\G

# Query 17: 34.33 QPS, 0.02x concurrency, ID 0x48AC4127D5F26679 at byte 18736830
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T14:21:29 to 2021-07-23T14:22:29
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2060
# Exec time      0      1s   161us    18ms   722us     3ms     1ms   301us
# Lock time      0   316ms    43us    10ms   153us   384us   430us    66us
# Rows sent      0   2.01k       1       1       1       1       0       1
# Rows examine   0   2.01k       1       1       1       1       0       1
# Query size     1 221.37k     104     112  110.04  107.34    0.68  107.34
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###########
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='遅いやつ' AND car_number=8 AND seat_column='C' AND seat_row=2\G

# Query 18: 32.96 QPS, 0.02x concurrency, ID 0x5051645A82753AFA at byte 3486266
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T14:21:28 to 2021-07-23T14:22:17
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    1615
# Exec time      0      1s   146us    20ms   751us     2ms     1ms   316us
# Lock time      0   298ms    44us    14ms   184us   626us   545us    66us
# Rows sent      0   1.48k       0       1    0.94    0.99    0.23    0.99
# Rows examine   0   1.48k       0       1    0.94    0.99    0.23    0.99
# Query size     1 177.95k     108     115  112.83  112.70    2.39  112.70
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  ###############
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_master'\G
#    SHOW CREATE TABLE `isutrain`.`seat_master`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_master WHERE train_class='最速' AND car_number=4 ORDER BY seat_row, seat_column LIMIT 1\G

# Query 19: 34.33 QPS, 0.02x concurrency, ID 0xD97C7E96186DC3E0 at byte 33581650
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: 2021-07-23T14:21:29 to 2021-07-23T14:22:29
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    2060
# Exec time      0      1s   119us    13ms   541us     2ms   936us   214us
# Lock time      0   239ms    36us    13ms   116us   273us   398us    54us
# Rows sent      0  11.16k       1       6    5.55    5.75    1.20    5.75
# Rows examine   0  11.16k       1       6    5.55    5.75    1.20    5.75
# Query size     0 112.39k      54      56   55.87   54.21    0.31   54.21
# String:
# Databases    isutrain
# Hosts        localhost
# Users        isutrain
# Query_time distribution
#   1us
#  10us
# 100us  ################################################################
#   1ms  #########
#  10ms  #
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isutrain` LIKE 'seat_reservations'\G
#    SHOW CREATE TABLE `isutrain`.`seat_reservations`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM seat_reservations WHERE reservation_id=311\G
mism-mism commented 2 years ago

Top 20 Sort By Total
Count    Total    Mean  Stddev    Min  P50.0  P90.0  P95.0  P99.0    Max    2xx  3xx   4xx  5xx  TotalBytes   MinBytes  MeanBytes   MaxBytes  Request
 1527  507.447  0.3323  0.4316  0.000  0.002  1.000  1.001  1.007  1.056   1137    0   390    0     9402403          0       6157       8559  GET /api/trend HTTP/2.0
82342  167.790  0.0020  0.0057  0.000  0.001  0.004  0.007  0.019  0.382  82111    0   231    0          98          0          0         14  POST /api/condition/[a-z0-9-]+
 7580  142.142  0.0188  0.0179  0.000  0.015  0.031  0.039  0.074  0.366   7490    0    90    0    19886374          0       2623       4590  GET /api/isu HTTP/2.0
11388  140.283  0.0123  0.0165  0.000  0.009  0.023  0.030  0.061  0.401  10762    0   626    0    54053638          0       4746       6963  GET /api/condition/[a-z0-9-]+
15428   95.244  0.0062  0.0056  0.000  0.005  0.012  0.015  0.026  0.165  14831    0   597    0   206634551          0      13393     135259  GET /api/isu/[a-z0-9-]+
 7930   67.618  0.0085  0.0085  0.000  0.007  0.015  0.019  0.031  0.372   7546    0   384    0    43202651         14       5448       8703  GET /api/isu/[a-z0-9-]+/graph
 2211    6.559  0.0030  0.0034  0.000  0.002  0.006  0.009  0.015  0.056   1498    0   713    0        8188          0          3         19  POST /api/auth HTTP/2.0
 2541    4.142  0.0016  0.0022  0.000  0.001  0.004  0.005  0.010  0.031   1231    0  1310    0       74142         21         29         43  GET /api/user/me HTTP/2.0
   60    3.621  0.0604  0.0173  0.001  0.061  0.074  0.081  0.102  0.102     56    0     4    0        7827         15        130        154  POST /api/isu HTTP/2.0
 1314    3.363  0.0026  0.0028  0.000  0.002  0.005  0.008  0.015  0.031   1223    0    91    0        1911          0          1         21  POST /api/signout HTTP/2.0
    1    0.396  0.3960  0.0000  0.396  0.396  0.396  0.396  0.396  0.396      1    0     0    0          23         23         23         23  POST /initialize HTTP/2.0
 1263    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000   1263    0     0    0      747696        592        592        592  GET /assets/favicon.d0f5f504.svg HTTP/2.0
 1262    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000   1262    0     0    0     4145670       3285       3285       3285  GET /assets/logo_white.svg HTTP/2.0
 1262    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000   1262    0     0    0    33653754      26667      26667      26667  GET /assets/index.23dac98b.js HTTP/2.0
 1262    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000   1262    0     0    0   938192254     743417     743417     743417  GET /assets/vendor.ee7444dd.js HTTP/2.0
 1261    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000   1261    0     0    0     4146168       3288       3288       3288  GET /assets/logo_orange.svg HTTP/2.0
 1263    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000   1263    0     0    0    24080358      19066      19066      19066  GET /assets/index.144d8ca8.css HTTP/2.0
    9    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000      9    0     0    0        4752        528        528        528  GET /isu/[a-z0-9-]+
    6    0.000  0.0000  0.0000  0.000  0.000  0.000  0.000  0.000  0.000      6    0     0    0        3168        528        528        528  GET /isu/[a-z0-9-]+/graph
mism-mism commented 2 years ago


# 59.3s user time, 360ms system time, 33.12M rss, 40.32M vsz
# Current date: Sun Jul 17 09:21:56 2022
# Hostname: ip-172-31-36-253
# Files: logs/20220717_182003/mysql-slow.log
# Overall: 514.98k total, 113 unique, 1.35k QPS, 0.33x concurrency _______
# Time range: 2022-07-17 18:13:39 to 18:20:01
# Attribute          total     min     max     avg     95%  stddev  median
# ============     ======= ======= ======= ======= ======= ======= =======
# Exec time           125s       0      2s   242us   287us     5ms    33us
# Lock time             2s       0    16ms     3us    17us    78us       0
# Rows sent          8.90M       0 112.84k   18.12    1.96  318.63       0
# Rows examine      22.28M       0 113.10k   45.36    0.99   1.30k       0
# Rows affecte     225.88k       0 112.84k    0.45       0  160.63       0
# Bytes sent         1.34G       0   1.12M   2.72k  755.64  19.92k   69.19
# Query size        44.43M       6 790.36k   90.47  130.47   1.85k   31.70
# Boolean:
# QC hit        23% yes,  76% no

# Profile
# Rank Query ID           Response time Calls  R/Call V/M   Item
# ==== ================== ============= ====== ====== ===== ==============
#    1 0x1A3620DEDAEAD803 45.0458 36.0%   1850 0.0243  0.18 SELECT isu isu_condition
#    2 0xF3E2A0049B030C70 36.8778 29.5%   8668 0.0043  0.01 SELECT isu_condition
#    3 0x99AA0165670CE848 17.4333 13.9% 160476 0.0001  0.00 ADMIN PREPARE
#    4 0x83E8898FB5772002  5.8622  4.7%   8681 0.0007  0.02 SELECT isu_condition
#    5 0x23D19AC409FD97AF  4.6442  3.7%  39955 0.0001  0.01 SELECT isu_condition
#    6 0x25657C305C0ED778  3.7577  3.0%    242 0.0155  0.04 INSERT isu_condition
#    7 0xA2D1B74705103105  2.0792  1.7%  44394 0.0000  0.00 SELECT user
#    8 0x5028C7E1D44486E5  1.5110  1.2%      1 1.5110  0.00 ALTER TABLE isu_condition
#    9 0xE4122A99F58ABEB1  1.0772  0.9%      1 1.0772  0.00 ALTER TABLE isu_condition
#   10 0x111FD2D3F3B3B4EB  1.0555  0.8% 160476 0.0000  0.00 ADMIN CLOSE STMT
# MISC 0xMISC              5.6429  4.5%  90236 0.0001   0.0 <103 ITEMS>

# Query 1: 28.03 QPS, 0.68x concurrency, ID 0x1A3620DEDAEAD803 at byte 163946873
# Scores: V/M = 0.18
# Time range: 2022-07-17 18:14:05 to 18:15:11
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0    1850
# Exec time     36     45s   256us   571ms    24ms   219ms    67ms     4ms
# Lock time      4    81ms    17us     4ms    43us    84us   131us    25us
# Rows sent      0   5.84k       1       8    3.23    5.75    1.64    2.90
# Rows examine  60  13.53M      42 113.10k   7.49k  22.45k  19.70k   1.86k
# Rows affecte   0       0       0       0       0       0       0       0
# Bytes sent     0   1.13M     395   1.14k  641.63  918.49  184.96  592.07
# Query size     1 770.28k     423     429  426.36  420.77       0  420.77
# String:
# Databases    isucondition
# Hosts        192.168.0.21
# Users        isucon
# Query_time distribution
#   1us
#  10us
# 100us  ##########
#   1ms  ################################################################
#  10ms  ####################
# 100ms  #####
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isucondition` LIKE 'isu'\G
#    SHOW CREATE TABLE `isucondition`.`isu`\G
#    SHOW TABLE STATUS FROM `isucondition` LIKE 'isu_condition'\G
#    SHOW CREATE TABLE `isucondition`.`isu_condition`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT isu.id, isu_condition.jia_isu_uuid, isu_condition.timestamp, co.condition FROM isu INNER JOIN ( SELECT jia_isu_uuid, MAX(timestamp) as timestamp, `condition` FROM isu_condition GROUP BY jia_isu_uuid ) as isu_condition ON isu.jia_isu_uuid = isu_condition.jia_isu_uuid JOIN isu_condition as co ON isu_condition.timestamp = co.timestamp AND isu_condition.jia_isu_uuid = co.jia_isu_uuid WHERE isu.character = 'ようき'\G

# Query 2: 142.10 QPS, 0.60x concurrency, ID 0xF3E2A0049B030C70 at byte 108690173
# Scores: V/M = 0.01
# Time range: 2022-07-17 18:14:05 to 18:15:06
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    8668
# Exec time     29     37s   122us   318ms     4ms    10ms     7ms     3ms
# Lock time     14   284ms    10us     5ms    32us    60us   104us    18us
# Rows sent     84   7.55M       0   2.29k  913.50   1.78k  549.01  874.75
# Rows examine  33   7.55M       0   2.29k  913.50   1.78k  549.01  874.75
# Rows affecte   0       0       0       0       0       0       0       0
# Bytes sent    82   1.10G     589 338.34k 132.90k 257.47k  80.09k 123.85k
# Query size     2   1.30M     157     157     157     157       0     157
# String:
# Databases    isucondition
# Hosts        192.168.0.21 (5182/59%)... 1 more
# Users        isucon
# Query_time distribution
#   1us
#  10us
# 100us  ###########
#   1ms  ################################################################
#  10ms  ####
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isucondition` LIKE 'isu_condition'\G
#    SHOW CREATE TABLE `isucondition`.`isu_condition`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM `isu_condition` WHERE `jia_isu_uuid` = 'eebd95fc-28bb-451b-80db-ac90cc5844ad' AND `timestamp` < '2021-08-21 15:12:25' ORDER BY `timestamp` DESC\G

# Query 3: 2.29k QPS, 0.25x concurrency, ID 0x99AA0165670CE848 at byte 163657895
# Scores: V/M = 0.00
# Time range: 2022-07-17 18:14:00 to 18:15:10
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         31  160476
# Exec time     13     17s    35us    29ms   108us   185us   277us    76us
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Rows affecte   0       0       0       0       0       0       0       0
# Bytes sent     5  68.96M      52 101.54k  450.62  652.75   2.45k  158.58
# Query size    10   4.59M      30      30      30      30       0      30
# String:
# Databases    isucondition
# Hosts        192.168.0.41 (106147/66%)... 1 more
# Users        isucon
# Query_time distribution
#   1us
#  10us  ################################################################
# 100us  ####################
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
administrator command: Prepare\G

# Query 4: 142.31 QPS, 0.10x concurrency, ID 0x83E8898FB5772002 at byte 108688162
# Scores: V/M = 0.02
# Time range: 2022-07-17 18:14:05 to 18:15:06
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          1    8681
# Exec time      4      6s    32us   310ms   675us     1ms     3ms   490us
# Lock time     15   300ms       0     7ms    34us    60us   133us    20us
# Rows sent      8 787.91k       0     197   92.94  143.84   34.81   88.31
# Rows examine   3 787.42k       0     197   92.88  143.84   34.89   88.31
# Rows affecte   0       0       0       0       0       0       0       0
# Bytes sent     8 118.64M     589  30.37k  14.00k  21.38k   5.07k  13.78k
# Query size     3   1.56M     188     188     188     188       0     188
# Boolean:
# QC hit         0% yes,  99% no
# String:
# Databases    isucondition
# Hosts        192.168.0.21 (5180/59%)... 1 more
# Users        isucon
# Query_time distribution
#   1us
#  10us  #
# 100us  ################################################################
#   1ms  #####
#  10ms  #
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isucondition` LIKE 'isu_condition'\G
#    SHOW CREATE TABLE `isucondition`.`isu_condition`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM `isu_condition` WHERE `jia_isu_uuid` = 'ef323a4c-de9a-4ed9-989b-a754abf6853c' AND `timestamp` BETWEEN '2021-08-21 00:00:00' AND '2021-08-21 23:59:59' ORDER BY `timestamp` ASC\G

# Query 5: 655 QPS, 0.08x concurrency, ID 0x23D19AC409FD97AF at byte 108690576
# Scores: V/M = 0.01
# Time range: 2022-07-17 18:14:05 to 18:15:06
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          7   39955
# Exec time      3      5s    13us   179ms   116us   247us   920us    44us
# Lock time     23   449ms       0     8ms    11us    31us    87us       0
# Rows sent      0  38.67k       0       1    0.99    0.99    0.09    0.99
# Rows examine   0  14.41k       0       1    0.37    0.99    0.48       0
# Rows affecte   0       0       0       0       0       0       0       0
# Bytes sent     2  28.04M     589     789  735.98  755.64   17.37  719.66
# Query size    10   4.76M     125     125     125     125       0     125
# Boolean:
# QC hit        62% yes,  37% no
# String:
# Databases    isucondition
# Hosts        192.168.0.41
# Users        isucon
# Query_time distribution
#   1us
#  10us  ################################################################
# 100us  #######################################
#   1ms  #
#  10ms  #
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isucondition` LIKE 'isu_condition'\G
#    SHOW CREATE TABLE `isucondition`.`isu_condition`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT * FROM `isu_condition` WHERE `jia_isu_uuid` = '876bcb06-5726-4915-b9fd-9f32e6ca5159' ORDER BY `timestamp` DESC LIMIT 1\G

# Query 6: 4.03 QPS, 0.06x concurrency, ID 0x25657C305C0ED778 at byte 108765874
# Scores: V/M = 0.04
# Time range: 2022-07-17 18:14:06 to 18:15:06
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0     242
# Exec time      3      4s     3ms   349ms    16ms    27ms    26ms    11ms
# Lock time     31   605ms    74us    16ms     2ms     5ms     2ms     2ms
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Rows affecte  49 112.23k      10     770  474.90  652.75  122.45  463.90
# Bytes sent     0  13.32k      53      57   56.35   56.92    1.42   54.21
# Query size    36  16.32M   1.47k 112.97k  69.06k  97.04k  17.89k  65.68k
# String:
# Databases    isucondition
# Hosts        192.168.0.21 (121/50%), 192.168.0.41 (121/50%)
# Users        isucon
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms  ##########################################
#  10ms  ################################################################
# 100ms  #
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isucondition` LIKE 'isu_condition'\G
#    SHOW CREATE TABLE `isucondition`.`isu_condition`\G
INSERT INTO `isu_condition` (`jia_isu_uuid`, `timestamp`, `is_sitting`, `condition`, `message`) VALUES ('a42e2b37-b598-4466-a605-eacd3e276a34', '2021-08-21 22:06:14', 1, 'is_dirty=false,is_overweight=true,is_broken=true', 'はやくどいてなおしてよ!'),('a42e2b37-b598-4466-a605-eacd3e276a34', '2021-08-21 22:07:14', 1, 'is_dirty=false,is_overweight=true,is_broken=true', 'はやくどいてなおしてよ!'),('a42e2b37-b598-4466-a605-eacd3e276a34', '2021-08-21 22:08:08', 1, 'is_dirty=false,is_overweight=true,is_broken=true', 'はやくどいてなおしてよ!'),('a42e2b37-b598-4466-a605-eacd3e276a34', '2021-08-21 22:09:14', 1, 'is_dirty=false,is_overweight=true,is_broken=true', 'はやくどいてなおしてよ!'),('a42e2b37-b598-4466-a605-eacd3e276a34', '2021-08-21 22:10:11', 1, 'is_dirty=false,is_overweight=true,is_broken=true', 'はやくどいてなおしてよ!'),('a42e2b37-b598-4466-a605-eacd3e276a34', '2021-08-21 22:11:15', 1, 'is_dirty=false,is_overweight=true,is_broken=true', 'はやくどいてなおしてよ!'),('a42e2b37-b598-4466-a605-eacd3e276a34', '2021-08-21 22:12:13', 1, 'is_dirty=false,is_overweight=true,is_broken=true', 'はやくどいてなおしてよ!'),('a42e2b37-b598-4466-a605-eacd3e276a34', '2021-08-21 22:13:13', 1, 'is_dirty=false,is_overweight=true,is_broken=true', 'はやくどいてなおしてよ!'),('a42e2b37-b598-4466-a605-eacd3e276a34', '2021-08-21 22:14:08', 1, 'is_dirty=false,is_overweight=true,is_broken=true', 'はやくどいてなおしてよ!'),('a42e2b37-b598-4466-a605-eacd3e276a34', '2021-08-21 22:15:10', 1, 'is_dirty=false,is_overweight=true,is_broken=true', 'はやくどいてなおしてよ!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-21 22:07:17', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-21 22:08:21', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-21 22:09:22', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-21 22:10:21', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-21 22:11:12', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-21 22:12:14', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-21 22:13:22', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-21 22:14:16', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-21 22:15:18', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-21 22:16:18', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('e92ff1e4-2573-4570-a30c-3fbf13977d69', '2021-08-21 22:17:47', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('e92ff1e4-2573-4570-a30c-3fbf13977d69', '2021-08-21 22:18:51', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('e92ff1e4-2573-4570-a30c-3fbf13977d69', '2021-08-21 22:19:50', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('e92ff1e4-2573-4570-a30c-3fbf13977d69', '2021-08-21 22:20:53', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('e92ff1e4-2573-4570-a30c-3fbf13977d69', '2021-08-21 22:21:49', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('e92ff1e4-2573-4570-a30c-3fbf13977d69', '2021-08-21 22:22:55', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('e92ff1e4-2573-4570-a30c-3fbf13977d69', '2021-08-21 22:23:55', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('e92ff1e4-2573-4570-a30c-3fbf13977d69', '2021-08-21 22:24:45', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('e92ff1e4-2573-4570-a30c-3fbf13977d69', '2021-08-21 22:25:48', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('e92ff1e4-2573-4570-a30c-3fbf13977d69', '2021-08-21 22:26:48', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('5891d2c0-f8ce-4634-a4e0-cd2a27310d07', '2021-08-21 22:16:20', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです〜'),('5891d2c0-f8ce-4634-a4e0-cd2a27310d07', '2021-08-21 22:17:26', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです〜'),('5891d2c0-f8ce-4634-a4e0-cd2a27310d07', '2021-08-21 22:18:21', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです〜'),('5891d2c0-f8ce-4634-a4e0-cd2a27310d07', '2021-08-21 22:19:29', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです〜'),('5891d2c0-f8ce-4634-a4e0-cd2a27310d07', '2021-08-21 22:20:23', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです〜'),('5891d2c0-f8ce-4634-a4e0-cd2a27310d07', '2021-08-21 22:21:25', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです〜'),('5891d2c0-f8ce-4634-a4e0-cd2a27310d07', '2021-08-21 22:22:23', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです〜'),('5891d2c0-f8ce-4634-a4e0-cd2a27310d07', '2021-08-21 22:23:20', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです〜'),('5891d2c0-f8ce-4634-a4e0-cd2a27310d07', '2021-08-21 22:24:26', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです〜'),('5891d2c0-f8ce-4634-a4e0-cd2a27310d07', '2021-08-21 22:25:23', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです〜'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-21 22:22:15', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-21 22:23:13', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-21 22:24:17', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-21 22:25:19', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-21 22:26:20', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-21 22:27:12', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-21 22:28:14', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-21 22:29:19', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-21 22:30:12', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-21 22:31:13', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 22:22:33', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 22:23:37', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 22:24:34', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 22:25:34', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 22:26:34', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 22:27:36', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 22:28:41', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 22:29:40', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 22:30:39', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 22:31:32', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('494a09b9-7e84-40d8-b99b-bcd11572d1c8', '2021-08-21 22:27:35', 1, 'is_dirty=true,is_overweight=false,is_broken=false', 'そろそろお手入れしません…?'),('494a09b9-7e84-40d8-b99b-bcd11572d1c8', '2021-08-21 22:28:32', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'そろそろお手入れしません…?'),('494a09b9-7e84-40d8-b99b-bcd11572d1c8', '2021-08-21 22:29:28', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'そろそろお手入れしません…?'),('494a09b9-7e84-40d8-b99b-bcd11572d1c8', '2021-08-21 22:30:34', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'そろそろお手入れしません…?'),('494a09b9-7e84-40d8-b99b-bcd11572d1c8', '2021-08-21 22:31:33', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'そろそろお手入れしません…?'),('494a09b9-7e84-40d8-b99b-bcd11572d1c8', '2021-08-21 22:32:26', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'そろそろお手入れしません…?'),('494a09b9-7e84-40d8-b99b-bcd11572d1c8', '2021-08-21 22:33:31', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'そろそろお手入れしません…?'),('494a09b9-7e84-40d8-b99b-bcd11572d1c8', '2021-08-21 22:34:36', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'そろそろお手入れしません…?'),('494a09b9-7e84-40d8-b99b-bcd11572d1c8', '2021-08-21 22:35:33', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'そろそろお手入れしません…?'),('494a09b9-7e84-40d8-b99b-bcd11572d1c8', '2021-08-21 22:36:27', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'そろそろお手入れしません…?'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-21 22:31:13', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '拭いてくれてもいいんだけど'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-21 22:32:18', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '拭いてくれてもいいんだけど'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-21 22:33:13', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '拭いてくれてもいいんだけど'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-21 22:34:18', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '拭いてくれてもいいんだけど'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-21 22:35:12', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '拭いてくれてもいいんだけど'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-21 22:36:18', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '拭いてくれてもいいんだけど'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-21 22:37:10', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '拭いてくれてもいいんだけど'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-21 22:38:10', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '拭いてくれてもいいんだけど'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-21 22:39:17', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '拭いてくれてもいいんだけど'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-21 22:40:18', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '拭いてくれてもいいんだけど'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 22:32:42', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 22:33:52', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 22:34:42', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 22:35:51', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 22:36:49', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 22:37:47', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 22:38:50', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 22:39:47', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 22:40:52', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 22:41:43', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-21 22:35:54', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-21 22:36:54', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-21 22:37:55', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-21 22:38:57', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-21 22:39:58', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-21 22:41:00', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-21 22:42:00', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-21 22:42:58', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-21 22:43:57', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-21 22:44:54', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('cf48ceef-88f9-44b4-bb8b-7c126f773021', '2021-08-21 22:39:05', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('cf48ceef-88f9-44b4-bb8b-7c126f773021', '2021-08-21 22:40:09', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('cf48ceef-88f9-44b4-bb8b-7c126f773021', '2021-08-21 22:41:10', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('cf48ceef-88f9-44b4-bb8b-7c126f773021', '2021-08-21 22:42:14', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('cf48ceef-88f9-44b4-bb8b-7c126f773021', '2021-08-21 22:43:14', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('cf48ceef-88f9-44b4-bb8b-7c126f773021', '2021-08-21 22:44:15', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('cf48ceef-88f9-44b4-bb8b-7c126f773021', '2021-08-21 22:45:15', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('cf48ceef-88f9-44b4-bb8b-7c126f773021', '2021-08-21 22:46:09', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('cf48ceef-88f9-44b4-bb8b-7c126f773021', '2021-08-21 22:47:08', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('cf48ceef-88f9-44b4-bb8b-7c126f773021', '2021-08-21 22:48:05', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-21 22:45:13', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-21 22:46:18', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-21 22:47:15', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-21 22:48:17', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-21 22:49:16', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-21 22:50:19', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-21 22:51:18', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-21 22:52:16', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-21 22:53:20', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-21 22:54:18', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-21 22:53:20', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-21 22:54:21', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-21 22:55:23', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-21 22:56:25', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-21 22:57:19', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-21 22:58:23', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-21 22:59:26', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-21 23:00:20', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-21 23:01:25', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-21 23:02:24', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 22:53:45', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 22:54:51', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 22:55:47', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 22:56:42', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 22:57:44', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 22:58:51', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 22:59:50', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 23:00:49', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 23:01:48', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 23:02:48', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('b600d88b-8f62-4339-aab6-a377a0533d4f', '2021-08-21 23:18:41', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('b600d88b-8f62-4339-aab6-a377a0533d4f', '2021-08-21 23:19:38', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('b600d88b-8f62-4339-aab6-a377a0533d4f', '2021-08-21 23:20:33', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('b600d88b-8f62-4339-aab6-a377a0533d4f', '2021-08-21 23:21:35', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('b600d88b-8f62-4339-aab6-a377a0533d4f', '2021-08-21 23:22:32', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('b600d88b-8f62-4339-aab6-a377a0533d4f', '2021-08-21 23:23:33', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('b600d88b-8f62-4339-aab6-a377a0533d4f', '2021-08-21 23:24:37', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('b600d88b-8f62-4339-aab6-a377a0533d4f', '2021-08-21 23:25:33', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('b600d88b-8f62-4339-aab6-a377a0533d4f', '2021-08-21 23:26:35', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('b600d88b-8f62-4339-aab6-a377a0533d4f', '2021-08-21 23:27:33', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 23:23:35', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 23:24:35', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 23:25:31', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 23:26:33', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 23:27:39', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 23:28:36', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 23:29:36', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 23:30:33', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 23:31:35', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('9120c6a5-e348-4ffe-b885-6fd8fdce5d99', '2021-08-21 23:32:31', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'わ、わるくないね!'),('16666319-831f-46fb-b6a0-8aac4361699e', '2021-08-21 23:30:23', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('16666319-831f-46fb-b6a0-8aac4361699e', '2021-08-21 23:31:24', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('16666319-831f-46fb-b6a0-8aac4361699e', '2021-08-21 23:32:28', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('16666319-831f-46fb-b6a0-8aac4361699e', '2021-08-21 23:33:32', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('16666319-831f-46fb-b6a0-8aac4361699e', '2021-08-21 23:34:30', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('16666319-831f-46fb-b6a0-8aac4361699e', '2021-08-21 23:35:23', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('16666319-831f-46fb-b6a0-8aac4361699e', '2021-08-21 23:36:32', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('16666319-831f-46fb-b6a0-8aac4361699e', '2021-08-21 23:37:24', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('16666319-831f-46fb-b6a0-8aac4361699e', '2021-08-21 23:38:25', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('16666319-831f-46fb-b6a0-8aac4361699e', '2021-08-21 23:39:25', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('81d62625-8a9e-4e70-af63-696a9c3aae52', '2021-08-21 23:34:01', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '掃除してほしいです...'),('81d62625-8a9e-4e70-af63-696a9c3aae52', '2021-08-21 23:34:58', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '掃除してほしいです...'),('81d62625-8a9e-4e70-af63-696a9c3aae52', '2021-08-21 23:36:02', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '掃除してほしいです...'),('81d62625-8a9e-4e70-af63-696a9c3aae52', '2021-08-21 23:37:01', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '掃除してほしいです...'),('81d62625-8a9e-4e70-af63-696a9c3aae52', '2021-08-21 23:37:58', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '掃除してほしいです...'),('81d62625-8a9e-4e70-af63-696a9c3aae52', '2021-08-21 23:39:05', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '掃除してほしいです...'),('81d62625-8a9e-4e70-af63-696a9c3aae52', '2021-08-21 23:40:01', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '掃除してほしいです...'),('81d62625-8a9e-4e70-af63-696a9c3aae52', '2021-08-21 23:41:08', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '掃除してほしいです...'),('81d62625-8a9e-4e70-af63-696a9c3aae52', '2021-08-21 23:42:00', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '掃除してほしいです...'),('81d62625-8a9e-4e70-af63-696a9c3aae52', '2021-08-21 23:43:00', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '掃除してほしいです...'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 23:32:42', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 23:33:51', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 23:34:42', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 23:35:49', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 23:36:52', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 23:37:45', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 23:38:42', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 23:39:47', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 23:40:45', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-21 23:41:43', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-21 23:53:24', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-21 23:54:22', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-21 23:55:19', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-21 23:56:19', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-21 23:57:23', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-21 23:58:22', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-21 23:59:19', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-22 00:00:21', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-22 00:01:27', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('c4f785b9-839f-45c3-af97-2bec28fd8364', '2021-08-22 00:02:22', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '清掃が必要です'),('e8a8a6ff-107a-4999-a37d-11e691b53f78', '2021-08-21 23:53:37', 1, 'is_dirty=false,is_overweight=true,is_broken=false', '重さを自覚してよね'),('e8a8a6ff-107a-4999-a37d-11e691b53f78', '2021-08-21 23:54:41', 1, 'is_dirty=false,is_overweight=true,is_broken=false', '重さを自覚してよね'),('e8a8a6ff-107a-4999-a37d-11e691b53f78', '2021-08-21 23:55:38', 1, 'is_dirty=false,is_overweight=true,is_broken=false', '重さを自覚してよね'),('e8a8a6ff-107a-4999-a37d-11e691b53f78', '2021-08-21 23:56:41', 1, 'is_dirty=false,is_overweight=true,is_broken=false', '重さを自覚してよね'),('e8a8a6ff-107a-4999-a37d-11e691b53f78', '2021-08-21 23:57:35', 1, 'is_dirty=false,is_overweight=true,is_broken=false', '重さを自覚してよね'),('e8a8a6ff-107a-4999-a37d-11e691b53f78', '2021-08-21 23:58:40', 1, 'is_dirty=false,is_overweight=true,is_broken=false', '重さを自覚してよね'),('e8a8a6ff-107a-4999-a37d-11e691b53f78', '2021-08-21 23:59:36', 1, 'is_dirty=false,is_overweight=true,is_broken=false', '重さを自覚してよね'),('e8a8a6ff-107a-4999-a37d-11e691b53f78', '2021-08-22 00:00:35', 1, 'is_dirty=false,is_overweight=true,is_broken=false', '重さを自覚してよね'),('e8a8a6ff-107a-4999-a37d-11e691b53f78', '2021-08-22 00:01:34', 1, 'is_dirty=false,is_overweight=true,is_broken=false', '重さを自覚してよね'),('e8a8a6ff-107a-4999-a37d-11e691b53f78', '2021-08-22 00:02:41', 1, 'is_dirty=false,is_overweight=true,is_broken=false', '重さを自覚してよね'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-21 23:54:13', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-21 23:55:11', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-21 23:56:05', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-21 23:57:07', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-21 23:58:15', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-21 23:59:09', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-22 00:00:10', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-22 00:01:10', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-22 00:02:15', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-22 00:03:06', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-21 23:55:53', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-21 23:56:57', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-21 23:57:55', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-21 23:58:58', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-21 23:59:53', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-22 00:00:50', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-22 00:01:51', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-22 00:02:56', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-22 00:04:00', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-22 00:04:54', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 00:06:48', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 00:07:44', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 00:08:46', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 00:09:51', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 00:10:53', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 00:11:48', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 00:12:44', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 00:13:50', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 00:14:54', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 00:15:47', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:17:25', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:18:26', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:19:29', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:20:34', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:21:25', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:22:24', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:23:33', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:24:29', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:25:31', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:26:28', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:37:33', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:38:32', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:39:31', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:40:28', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:41:33', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:42:30', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:43:32', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:44:25', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:45:31', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 00:46:30', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('4419e781-3ba8-413c-b530-6f483930bacf', '2021-08-22 00:43:11', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('4419e781-3ba8-413c-b530-6f483930bacf', '2021-08-22 00:44:12', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('4419e781-3ba8-413c-b530-6f483930bacf', '2021-08-22 00:45:15', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('4419e781-3ba8-413c-b530-6f483930bacf', '2021-08-22 00:46:20', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('4419e781-3ba8-413c-b530-6f483930bacf', '2021-08-22 00:47:15', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('4419e781-3ba8-413c-b530-6f483930bacf', '2021-08-22 00:48:12', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('4419e781-3ba8-413c-b530-6f483930bacf', '2021-08-22 00:49:21', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('4419e781-3ba8-413c-b530-6f483930bacf', '2021-08-22 00:50:17', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('4419e781-3ba8-413c-b530-6f483930bacf', '2021-08-22 00:51:16', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('4419e781-3ba8-413c-b530-6f483930bacf', '2021-08-22 00:52:17', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 00:44:14', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 00:45:21', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 00:46:20', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 00:47:21', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 00:48:14', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 00:49:18', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 00:50:20', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 00:51:20', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 00:52:19', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 00:53:14', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-22 00:45:16', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-22 00:46:17', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-22 00:47:18', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-22 00:48:18', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-22 00:49:12', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-22 00:50:17', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-22 00:51:19', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-22 00:52:19', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-22 00:53:14', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('939f5a4e-73eb-4902-b5b6-67ead938a2f1', '2021-08-22 00:54:19', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 00:46:57', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 00:48:04', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 00:49:04', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 00:50:04', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 00:50:57', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 00:52:04', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 00:53:04', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 00:54:00', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 00:55:02', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 00:56:06', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 00:50:03', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 00:50:56', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 00:51:54', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 00:53:03', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 00:53:54', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 00:54:53', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 00:55:53', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 00:56:58', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 00:57:53', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 00:58:59', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('fbd4fe78-eba6-43cb-b0fc-8aac2f88b279', '2021-08-22 01:01:12', 1, 'is_dirty=true,is_overweight=false,is_broken=false', 'この程度の汚れヘーキだって!'),('fbd4fe78-eba6-43cb-b0fc-8aac2f88b279', '2021-08-22 01:02:17', 1, 'is_dirty=true,is_overweight=false,is_broken=false', 'この程度の汚れヘーキだって!'),('fbd4fe78-eba6-43cb-b0fc-8aac2f88b279', '2021-08-22 01:03:12', 1, 'is_dirty=true,is_overweight=false,is_broken=false', 'この程度の汚れヘーキだって!'),('fbd4fe78-eba6-43cb-b0fc-8aac2f88b279', '2021-08-22 01:04:10', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'この程度の汚れヘーキだって!'),('fbd4fe78-eba6-43cb-b0fc-8aac2f88b279', '2021-08-22 01:05:13', 1, 'is_dirty=true,is_overweight=false,is_broken=false', 'この程度の汚れヘーキだって!'),('fbd4fe78-eba6-43cb-b0fc-8aac2f88b279', '2021-08-22 01:06:19', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'この程度の汚れヘーキだって!'),('fbd4fe78-eba6-43cb-b0fc-8aac2f88b279', '2021-08-22 01:07:15', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'この程度の汚れヘーキだって!'),('fbd4fe78-eba6-43cb-b0fc-8aac2f88b279', '2021-08-22 01:08:16', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'この程度の汚れヘーキだって!'),('fbd4fe78-eba6-43cb-b0fc-8aac2f88b279', '2021-08-22 01:09:11', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'この程度の汚れヘーキだって!'),('fbd4fe78-eba6-43cb-b0fc-8aac2f88b279', '2021-08-22 01:10:15', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'この程度の汚れヘーキだって!'),('1f43a624-93f2-4206-b953-27b28c9ff5c9', '2021-08-22 01:05:50', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('1f43a624-93f2-4206-b953-27b28c9ff5c9', '2021-08-22 01:06:43', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('1f43a624-93f2-4206-b953-27b28c9ff5c9', '2021-08-22 01:07:49', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('1f43a624-93f2-4206-b953-27b28c9ff5c9', '2021-08-22 01:08:45', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('1f43a624-93f2-4206-b953-27b28c9ff5c9', '2021-08-22 01:09:45', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('1f43a624-93f2-4206-b953-27b28c9ff5c9', '2021-08-22 01:10:42', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('1f43a624-93f2-4206-b953-27b28c9ff5c9', '2021-08-22 01:11:45', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('1f43a624-93f2-4206-b953-27b28c9ff5c9', '2021-08-22 01:12:48', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('1f43a624-93f2-4206-b953-27b28c9ff5c9', '2021-08-22 01:13:52', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('1f43a624-93f2-4206-b953-27b28c9ff5c9', '2021-08-22 01:14:51', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('2c428534-c7e5-47a5-8418-e359ab057836', '2021-08-22 01:12:51', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('2c428534-c7e5-47a5-8418-e359ab057836', '2021-08-22 01:13:50', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('2c428534-c7e5-47a5-8418-e359ab057836', '2021-08-22 01:14:47', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('2c428534-c7e5-47a5-8418-e359ab057836', '2021-08-22 01:15:51', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('2c428534-c7e5-47a5-8418-e359ab057836', '2021-08-22 01:16:48', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('2c428534-c7e5-47a5-8418-e359ab057836', '2021-08-22 01:17:48', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('2c428534-c7e5-47a5-8418-e359ab057836', '2021-08-22 01:18:43', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('2c428534-c7e5-47a5-8418-e359ab057836', '2021-08-22 01:19:44', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('2c428534-c7e5-47a5-8418-e359ab057836', '2021-08-22 01:20:49', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('2c428534-c7e5-47a5-8418-e359ab057836', '2021-08-22 01:21:47', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('9f37347f-bfa8-4b30-b036-309d1853bc5a', '2021-08-22 01:14:27', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'キレイにしていただけますか?'),('9f37347f-bfa8-4b30-b036-309d1853bc5a', '2021-08-22 01:15:20', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'キレイにしていただけますか?'),('9f37347f-bfa8-4b30-b036-309d1853bc5a', '2021-08-22 01:16:22', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'キレイにしていただけますか?'),('9f37347f-bfa8-4b30-b036-309d1853bc5a', '2021-08-22 01:17:22', 1, 'is_dirty=true,is_overweight=false,is_broken=false', 'キレイにしていただけますか?'),('9f37347f-bfa8-4b30-b036-309d1853bc5a', '2021-08-22 01:18:22', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'キレイにしていただけますか?'),('9f37347f-bfa8-4b30-b036-309d1853bc5a', '2021-08-22 01:19:21', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'キレイにしていただけますか?'),('9f37347f-bfa8-4b30-b036-309d1853bc5a', '2021-08-22 01:20:21', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'キレイにしていただけますか?'),('9f37347f-bfa8-4b30-b036-309d1853bc5a', '2021-08-22 01:21:21', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'キレイにしていただけますか?'),('9f37347f-bfa8-4b30-b036-309d1853bc5a', '2021-08-22 01:22:28', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'キレイにしていただけますか?'),('9f37347f-bfa8-4b30-b036-309d1853bc5a', '2021-08-22 01:23:24', 0, 'is_dirty=true,is_overweight=false,is_broken=false', 'キレイにしていただけますか?'),('0c11bb01-a911-41e8-8f2b-90f8d97628c1', '2021-08-22 01:23:26', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('0c11bb01-a911-41e8-8f2b-90f8d97628c1', '2021-08-22 01:24:28', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('0c11bb01-a911-41e8-8f2b-90f8d97628c1', '2021-08-22 01:25:28', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('0c11bb01-a911-41e8-8f2b-90f8d97628c1', '2021-08-22 01:26:25', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('0c11bb01-a911-41e8-8f2b-90f8d97628c1', '2021-08-22 01:27:29', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('0c11bb01-a911-41e8-8f2b-90f8d97628c1', '2021-08-22 01:28:25', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('0c11bb01-a911-41e8-8f2b-90f8d97628c1', '2021-08-22 01:29:21', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('0c11bb01-a911-41e8-8f2b-90f8d97628c1', '2021-08-22 01:30:21', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('0c11bb01-a911-41e8-8f2b-90f8d97628c1', '2021-08-22 01:31:26', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('0c11bb01-a911-41e8-8f2b-90f8d97628c1', '2021-08-22 01:32:22', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'い、いい感じだよ...'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-22 01:27:20', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-22 01:28:18', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-22 01:29:20', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-22 01:30:19', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-22 01:31:17', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-22 01:32:21', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-22 01:33:14', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-22 01:34:22', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-22 01:35:18', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('96f862fa-e1d6-4d65-b960-17f7827e3f62', '2021-08-22 01:36:15', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもがんばっていきましょう!'),('708962e9-d118-41af-9471-1c538780ce9c', '2021-08-22 01:33:37', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい!'),('708962e9-d118-41af-9471-1c538780ce9c', '2021-08-22 01:34:38', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい!'),('708962e9-d118-41af-9471-1c538780ce9c', '2021-08-22 01:35:43', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい!'),('708962e9-d118-41af-9471-1c538780ce9c', '2021-08-22 01:36:42', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい!'),('708962e9-d118-41af-9471-1c538780ce9c', '2021-08-22 01:37:42', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい!'),('708962e9-d118-41af-9471-1c538780ce9c', '2021-08-22 01:38:40', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい!'),('708962e9-d118-41af-9471-1c538780ce9c', '2021-08-22 01:39:36', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい!'),('708962e9-d118-41af-9471-1c538780ce9c', '2021-08-22 01:40:43', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい!'),('708962e9-d118-41af-9471-1c538780ce9c', '2021-08-22 01:41:41', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい!'),('708962e9-d118-41af-9471-1c538780ce9c', '2021-08-22 01:42:42', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい!'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-22 01:34:12', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-22 01:35:15', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-22 01:36:10', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-22 01:37:10', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-22 01:38:06', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-22 01:39:09', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-22 01:40:11', 1, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-22 01:41:06', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-22 01:42:13', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('fb3e16b5-5926-45c0-af7b-689b43f71dcf', '2021-08-22 01:43:09', 0, 'is_dirty=true,is_overweight=false,is_broken=false', '汚れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-22 01:35:54', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-22 01:37:00', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-22 01:37:51', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-22 01:38:52', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-22 01:39:54', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-22 01:40:51', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-22 01:41:59', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-22 01:43:00', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-22 01:43:51', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('af7de123-6566-4f59-b2b2-bd285fbee60b', '2021-08-22 01:44:54', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています。'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 01:37:34', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 01:38:24', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 01:39:29', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 01:40:28', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 01:41:33', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 01:42:25', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 01:43:34', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 01:44:27', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 01:45:28', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('526c916f-6824-455d-933d-e152761cb7c6', '2021-08-22 01:46:30', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じ〜'),('a1b7a691-40fb-40ae-91ce-97724d178cb5', '2021-08-22 01:41:08', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'ま、いいんじゃない?'),('a1b7a691-40fb-40ae-91ce-97724d178cb5', '2021-08-22 01:42:15', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'ま、いいんじゃない?'),('a1b7a691-40fb-40ae-91ce-97724d178cb5', '2021-08-22 01:43:16', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'ま、いいんじゃない?'),('a1b7a691-40fb-40ae-91ce-97724d178cb5', '2021-08-22 01:44:09', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'ま、いいんじゃない?'),('a1b7a691-40fb-40ae-91ce-97724d178cb5', '2021-08-22 01:45:12', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'ま、いいんじゃない?'),('a1b7a691-40fb-40ae-91ce-97724d178cb5', '2021-08-22 01:46:12', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'ま、いいんじゃない?'),('a1b7a691-40fb-40ae-91ce-97724d178cb5', '2021-08-22 01:47:12', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'ま、いいんじゃない?'),('a1b7a691-40fb-40ae-91ce-97724d178cb5', '2021-08-22 01:48:14', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'ま、いいんじゃない?'),('a1b7a691-40fb-40ae-91ce-97724d178cb5', '2021-08-22 01:49:13', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'ま、いいんじゃない?'),('a1b7a691-40fb-40ae-91ce-97724d178cb5', '2021-08-22 01:50:13', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'ま、いいんじゃない?'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 01:42:20', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 01:43:18', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 01:44:12', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 01:45:20', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 01:46:21', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 01:47:18', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 01:48:12', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 01:49:12', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 01:50:17', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 01:51:22', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 01:44:18', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 01:45:24', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 01:46:21', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 01:47:22', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 01:48:24', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 01:49:20', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 01:50:18', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 01:51:23', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 01:52:20', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('7039ee6d-2225-496f-93ae-a91f51f32481', '2021-08-22 01:53:22', 1, 'is_dirty=false,is_overweight=true,is_broken=true', '重さで壊れないようにがんばります!'),('83a8306a-42ed-42b7-8d14-b7fa6b792fe3', '2021-08-22 01:44:27', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('83a8306a-42ed-42b7-8d14-b7fa6b792fe3', '2021-08-22 01:45:20', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('83a8306a-42ed-42b7-8d14-b7fa6b792fe3', '2021-08-22 01:46:22', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('83a8306a-42ed-42b7-8d14-b7fa6b792fe3', '2021-08-22 01:47:21', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('83a8306a-42ed-42b7-8d14-b7fa6b792fe3', '2021-08-22 01:48:26', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('83a8306a-42ed-42b7-8d14-b7fa6b792fe3', '2021-08-22 01:49:23', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('83a8306a-42ed-42b7-8d14-b7fa6b792fe3', '2021-08-22 01:50:25', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('83a8306a-42ed-42b7-8d14-b7fa6b792fe3', '2021-08-22 01:51:20', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('83a8306a-42ed-42b7-8d14-b7fa6b792fe3', '2021-08-22 01:52:23', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('83a8306a-42ed-42b7-8d14-b7fa6b792fe3', '2021-08-22 01:53:21', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです!'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 01:46:50', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 01:47:54', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 01:48:53', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 01:49:46', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 01:50:49', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 01:51:54', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 01:52:49', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 01:53:49', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 01:54:51', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('71c73729-9663-4fc1-bb22-82fd63cdd801', '2021-08-22 01:55:47', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '壊れています...'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 01:47:03', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 01:47:57', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 01:49:00', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 01:50:05', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 01:50:56', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 01:52:03', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 01:53:04', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 01:54:04', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 01:55:02', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('45d1f386-92a5-44cc-81b3-4f7535204365', '2021-08-22 01:55:58', 1, 'is_dirty=false,is_overweight=false,is_broken=true', '直るまで耐えます!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 01:50:00', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 01:50:56', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 01:51:58', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 01:53:02', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 01:53:59', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 01:54:59', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 01:56:03', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 01:57:00', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 01:57:58', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('73ecca06-6ec2-41d8-b754-6d51ae806257', '2021-08-22 01:58:58', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'これからもいっしょだよ!'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-22 01:52:47', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-22 01:53:44', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-22 01:54:51', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-22 01:55:43', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-22 01:56:46', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-22 01:57:47', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-22 01:58:48', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-22 01:59:51', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-22 02:00:51', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('9ec5cb0a-a590-4d79-a197-c13b8a99cb64', '2021-08-22 02:01:52', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('66562e89-a37f-4bb8-9aa9-e2585f205e21', '2021-08-22 01:48:18', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('66562e89-a37f-4bb8-9aa9-e2585f205e21', '2021-08-22 01:49:14', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('66562e89-a37f-4bb8-9aa9-e2585f205e21', '2021-08-22 01:50:14', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('66562e89-a37f-4bb8-9aa9-e2585f205e21', '2021-08-22 01:51:17', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('66562e89-a37f-4bb8-9aa9-e2585f205e21', '2021-08-22 01:52:20', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('66562e89-a37f-4bb8-9aa9-e2585f205e21', '2021-08-22 01:53:18', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('66562e89-a37f-4bb8-9aa9-e2585f205e21', '2021-08-22 01:54:20', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('66562e89-a37f-4bb8-9aa9-e2585f205e21', '2021-08-22 01:55:14', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('66562e89-a37f-4bb8-9aa9-e2585f205e21', '2021-08-22 01:56:20', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('66562e89-a37f-4bb8-9aa9-e2585f205e21', '2021-08-22 01:57:15', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いい感じです。'),('5b8e59d7-6051-45f2-a083-fc6468f4e70f', '2021-08-22 01:52:30', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('5b8e59d7-6051-45f2-a083-fc6468f4e70f', '2021-08-22 01:53:30', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('5b8e59d7-6051-45f2-a083-fc6468f4e70f', '2021-08-22 01:54:37', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('5b8e59d7-6051-45f2-a083-fc6468f4e70f', '2021-08-22 01:55:30', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('5b8e59d7-6051-45f2-a083-fc6468f4e70f', '2021-08-22 01:56:28', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('5b8e59d7-6051-45f2-a083-fc6468f4e70f', '2021-08-22 01:57:28', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('5b8e59d7-6051-45f2-a083-fc6468f4e70f', '2021-08-22 01:58:34', 1, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('5b8e59d7-6051-45f2-a083-fc6468f4e70f', '2021-08-22 01:59:30', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('5b8e59d7-6051-45f2-a083-fc6468f4e70f', '2021-08-22 02:00:28', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('5b8e59d7-6051-45f2-a083-fc6468f4e70f', '2021-08-22 02:01:33', 0, 'is_dirty=false,is_overweight=false,is_broken=false', 'いいよ!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 02:02:17', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 02:03:13', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 02:04:14', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 02:05:18', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 02:06:16', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 02:07:17', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 02:08:20', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 02:09:15', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 02:10:16', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('66d91612-dabc-4f8d-840a-87f65db51912', '2021-08-22 02:11:14', 1, 'is_dirty=true,is_overweight=true,is_broken=true', '全部改善してね!'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-22 02:11:11', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '直してくれてもいいんだよ?'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-22 02:12:11', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '直してくれてもいいんだよ?'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-22 02:13:16', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '直してくれてもいいんだよ?'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-22 02:14:12', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '直してくれてもいいんだよ?'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-22 02:15:13', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '直してくれてもいいんだよ?'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-22 02:16:14', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '直してくれてもいいんだよ?'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-22 02:17:17', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '直してくれてもいいんだよ?'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-22 02:18:14', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '直してくれてもいいんだよ?'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-22 02:19:13', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '直してくれてもいいんだよ?'),('1479fbfd-867a-4d52-ab12-9449fba01b6f', '2021-08-22 02:20:11', 0, 'is_dirty=false,is_overweight=false,is_broken=true', '直してくれてもいいんだよ?'),('1e9666ca-0163-4399-a29d-618ce418251a', '2021-08-22 02:11:57', 1, 'is_dirty=true,is_overweight=false,is_broken=true', 'ドロドロのボロボロ!'),('1e9666ca-0163-4399-a29d-618ce418251a', '2021-08-22 02:12:57', 1, 'is_dirty=true,is_overweight=false,is_broken=true', 'ドロドロのボロボロ!'),('1e9666ca-0163-4399-a29d-618ce418251a', '2021-08-22 02:14:01', 1, 'is_dirty=true,is_overweight=false,is_broken=true', 'ドロドロのボロボロ!'),('1e9666ca-0163-4399-a29d-618ce418251a', '2021-08-22 02:15:00', 1, 'is_dirty=true,is_overweight=false,is_broken=true', 'ドロドロのボロボロ!'),('1e9666ca-0163-4399-a29d-618ce418251a', '2021-08-22 02:15:57', 1, 'is_dirty=true,is_overweight=false,is_broken=true', 'ドロドロのボロボロ!'),('1e9666ca-0163-4399-a29d-618ce418251a', '2021-08-22 02:17:03', 1, 'is_dirty=true,is_overweight=false,is_broken=true', 'ドロドロのボロボロ!'),('1e9666ca-0163-4399-a29d-618ce418251a', '2021-08-22 02:18:03', 1, 'is_dirty=true,is_overweight=false,is_broken=true', 'ドロドロのボロボロ!'),('1e9666ca-0163-4399-a29d-618ce418251a', '2021-08-22 02:19:01', 1, 'is_dirty=true,is_overweight=false,is_broken=true', 'ドロドロのボロボロ!'),('1e9666ca-0163-4399-a29d-618ce418251a', '2021-08-22 02:20:00', 1, 'is_dirty=true,is_overweight=false,is_broken=true', 'ドロドロのボロボロ!'),('1e9666ca-0163-4399-a29d-618ce418251a', '2021-08-22 02:21:02', 1, 'is_dirty=true,is_overweight=false,is_broken=true', 'ドロドロのボロボロ!')\G

# Query 7: 727.77 QPS, 0.03x concurrency, ID 0xA2D1B74705103105 at byte 46294552
# Scores: V/M = 0.00
# Time range: 2022-07-17 18:14:05 to 18:15:06
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          8   44394
# Exec time      1      2s     9us     9ms    46us    84us   153us    28us
# Lock time      0     3ms       0     1ms       0       0     5us       0
# Rows sent      0  43.35k       1       1       1       1       0       1
# Rows examine   0      55       0       1    0.00       0    0.03       0
# Rows affecte   0       0       0       0       0       0       0       0
# Bytes sent     0   3.01M      71      71      71      71       0      71
# Query size     6   2.79M      58      71   65.89   69.19    3.36   65.89
# Boolean:
# QC hit        99% yes,   0% no
# String:
# Databases    isucondition
# Hosts        192.168.0.41 (27020/60%)... 1 more
# Users        isucon
# Query_time distribution
#   1us  #
#  10us  ################################################################
# 100us  ##
#   1ms  #
#  10ms
# 100ms
#    1s
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isucondition` LIKE 'user'\G
#    SHOW CREATE TABLE `isucondition`.`user`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT COUNT(*) FROM `user` WHERE `jia_user_id` = 'optimistic_elbakyan'\G

# Query 8: 0 QPS, 0x concurrency, ID 0x5028C7E1D44486E5 at byte 168525421
# Scores: V/M = 0.00
# Time range: all events occurred at 2022-07-17 18:19:50
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0       1
# Exec time      1      2s      2s      2s      2s      2s       0      2s
# Lock time      0     2ms     2ms     2ms     2ms     2ms       0     2ms
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Rows affecte  49 112.84k 112.84k 112.84k 112.84k 112.84k       0 112.84k
# Bytes sent     0     116     116     116     116     116       0     116
# Query size     0     256     256     256     256     256       0     256
# String:
# Databases    isucondition
# Hosts        133.242.17.28
# Users        isucon
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms
#  10ms
# 100ms
#    1s  ################################################################
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isucondition` LIKE 'isu_condition'\G
#    SHOW CREATE TABLE `isucondition`.`isu_condition`\G
ALTER TABLE isu_condition ADD COLUMN condition_level VARCHAR(255) AS (CASE (LENGTH(`condition`) - LENGTH(REPLACE(`condition`, "=true", ''))) / LENGTH("=true") WHEN 0 THEN "info" WHEN 1 THEN "warning" WHEN 2 THEN "warning" WHEN 3 THEN "critical" END) STORED\G

# Query 9: 0 QPS, 0x concurrency, ID 0xE4122A99F58ABEB1 at byte 168525943
# Scores: V/M = 0.00
# Time range: all events occurred at 2022-07-17 18:20:01
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count          0       1
# Exec time      0      1s      1s      1s      1s      1s       0      1s
# Lock time      0     4ms     4ms     4ms     4ms     4ms       0     4ms
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Rows affecte   0       0       0       0       0       0       0       0
# Bytes sent     0      78      78      78      78      78       0      78
# Query size     0      53      53      53      53      53       0      53
# String:
# Databases    isucondition
# Hosts        133.242.17.28
# Users        isucon
# Query_time distribution
#   1us
#  10us
# 100us
#   1ms
#  10ms
# 100ms
#    1s  ################################################################
#  10s+
# Tables
#    SHOW TABLE STATUS FROM `isucondition` LIKE 'isu_condition'\G
#    SHOW CREATE TABLE `isucondition`.`isu_condition`\G
ALTER TABLE isu_condition drop column condition_level\G

# Query 10: 2.26k QPS, 0.01x concurrency, ID 0x111FD2D3F3B3B4EB at byte 111413714
# Scores: V/M = 0.00
# Time range: 2022-07-17 18:14:00 to 18:15:11
# Attribute    pct   total     min     max     avg     95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count         31  160476
# Exec time      0      1s       0    16ms     6us    10us    67us     3us
# Lock time      0       0       0       0       0       0       0       0
# Rows sent      0       0       0       0       0       0       0       0
# Rows examine   0       0       0       0       0       0       0       0
# Rows affecte   0       0       0       0       0       0       0       0
# Bytes sent     0       0       0       0       0       0       0       0
# Query size    11   5.05M      33      33      33      33       0      33
# String:
# Databases    isucondition
# Hosts        192.168.0.41 (106147/66%)... 1 more
# Users        isucon
# Query_time distribution
#   1us  ################################################################
#  10us  ###
# 100us  #
#   1ms  #
#  10ms  #
# 100ms
#    1s
#  10s+
administrator command: Close stmt\G