{
  "slow_queries": [
    {
      "source": "slow_query",
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "sql_preview": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . ",
      "exec_count": 6219,
      "avg_time": "0.34s",
      "max_time": "0.69s",
      "max_mem": 46668,
      "link": "https://clinic.pingcap.com/portal/dashboard/cloud/ngm.html?clusterId=10766841556523235152&provider=gcp&region=asia-northeast1&orgName=Aiminginc2&orgId=1372813089209272332&projectId=1372813089454590170&clusterName=fan-prd&deployType=dedicated&version=v8.5.2#/slow_query?digest=7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102&from=1775039760&to=1775043360&show_internal=true&term="
    },
    {
      "source": "slow_query",
      "digest": "2cf36c29bec381036b1ed8be25bf7ef705e492836bed229d5fcd65170989a66b",
      "sql_preview": "select * from `account_presents` where `joined_account_id` = binary ? and `received_at` is ? and `present_id` in ( (_charset) ? );",
      "exec_count": 625,
      "avg_time": "0.38s",
      "max_time": "0.84s",
      "max_mem": 327840,
      "link": "https://clinic.pingcap.com/portal/dashboard/cloud/ngm.html?clusterId=10766841556523235152&provider=gcp&region=asia-northeast1&orgName=Aiminginc2&orgId=1372813089209272332&projectId=1372813089454590170&clusterName=fan-prd&deployType=dedicated&version=v8.5.2#/slow_query?digest=2cf36c29bec381036b1ed8be25bf7ef705e492836bed229d5fcd65170989a66b&from=1775039760&to=1775043360&show_internal=true&term="
    },
    {
      "source": "slow_query",
      "digest": "034f8fce0607d355fb423203d9a060db44d02222173fae9a16b8d2cbaf17f141",
      "sql_preview": "select `a` . `section_id` as `sectionid` , count ( ? ) as `count` from `accounts` as `a` where `a` . `state` <> ? group by `a` . `section_id`;",
      "exec_count": 60,
      "avg_time": "0.80s",
      "max_time": "1.13s",
      "max_mem": 34264,
      "link": "https://clinic.pingcap.com/portal/dashboard/cloud/ngm.html?clusterId=10766841556523235152&provider=gcp&region=asia-northeast1&orgName=Aiminginc2&orgId=1372813089209272332&projectId=1372813089454590170&clusterName=fan-prd&deployType=dedicated&version=v8.5.2#/slow_query?digest=034f8fce0607d355fb423203d9a060db44d02222173fae9a16b8d2cbaf17f141&from=1775039760&to=1775043360&show_internal=true&term="
    },
    {
      "source": "slow_query",
      "digest": "9effb8e73ddb4addd727fcdab2ed4d7f312c611e9709931aec18b081eb7b81e6",
      "sql_preview": "select `value` from information_schema.cluster_config where type = 'tikv' and `key` = 'storage.engine';",
      "exec_count": 6,
      "avg_time": "0.38s",
      "max_time": "0.40s",
      "max_mem": 1644636,
      "link": "https://clinic.pingcap.com/portal/dashboard/cloud/ngm.html?clusterId=10766841556523235152&provider=gcp&region=asia-northeast1&orgName=Aiminginc2&orgId=1372813089209272332&projectId=1372813089454590170&clusterName=fan-prd&deployType=dedicated&version=v8.5.2#/slow_query?digest=9effb8e73ddb4addd727fcdab2ed4d7f312c611e9709931aec18b081eb7b81e6&from=1775039760&to=1775043360&show_internal=true&term="
    },
    {
      "source": "slow_query",
      "digest": "cc8dbf4d28fc715920e467bfa46a355bae82afbb1ec8505dc1a024e9e2e0a5b5",
      "sql_preview": "insert `account_stack_items` ( `joined_account_id` , `item_code` , `count` ) values ( ... ) on duplicate key update `count` = `account_stack_items` . `count` + values ( `count` );",
      "exec_count": 1,
      "avg_time": "0.54s",
      "max_time": "0.54s",
      "max_mem": 8620,
      "link": "https://clinic.pingcap.com/portal/dashboard/cloud/ngm.html?clusterId=10766841556523235152&provider=gcp&region=asia-northeast1&orgName=Aiminginc2&orgId=1372813089209272332&projectId=1372813089454590170&clusterName=fan-prd&deployType=dedicated&version=v8.5.2#/slow_query?digest=cc8dbf4d28fc715920e467bfa46a355bae82afbb1ec8505dc1a024e9e2e0a5b5&from=1775039760&to=1775043360&show_internal=true&term="
    },
    {
      "source": "slow_query",
      "digest": "dc473de6890ba36f06ab369063e622654db4265a22bef760c44738be68709537",
      "sql_preview": "analyze table `fan_prd`.`account_ruins_explorations`;",
      "exec_count": 1,
      "avg_time": "0.63s",
      "max_time": "0.63s",
      "max_mem": 82056569,
      "link": "https://clinic.pingcap.com/portal/dashboard/cloud/ngm.html?clusterId=10766841556523235152&provider=gcp&region=asia-northeast1&orgName=Aiminginc2&orgId=1372813089209272332&projectId=1372813089454590170&clusterName=fan-prd&deployType=dedicated&version=v8.5.2#/slow_query?digest=dc473de6890ba36f06ab369063e622654db4265a22bef760c44738be68709537&from=1775039760&to=1775043360&show_internal=true&term="
    },
    {
      "source": "slow_query",
      "digest": "33a6484aee10a6effff7a3f8a320e94348c4f7012468c3d19f70810cd6a162fc",
      "sql_preview": "analyze table `fan_prd`.`account_evchara_dispatch_active_orders`;",
      "exec_count": 1,
      "avg_time": "1.57s",
      "max_time": "1.57s",
      "max_mem": 124167192,
      "link": "https://clinic.pingcap.com/portal/dashboard/cloud/ngm.html?clusterId=10766841556523235152&provider=gcp&region=asia-northeast1&orgName=Aiminginc2&orgId=1372813089209272332&projectId=1372813089454590170&clusterName=fan-prd&deployType=dedicated&version=v8.5.2#/slow_query?digest=33a6484aee10a6effff7a3f8a320e94348c4f7012468c3d19f70810cd6a162fc&from=1775039760&to=1775043360&show_internal=true&term="
    },
    {
      "source": "slow_query",
      "digest": "5c0b795b4951bc8d2963bde466ffb31f5a6f9b05d26cb24818e108cc7af8a7c4",
      "sql_preview": "analyze table `fan_prd`.`users`;",
      "exec_count": 1,
      "avg_time": "1.69s",
      "max_time": "1.69s",
      "max_mem": 150629568,
      "link": "https://clinic.pingcap.com/portal/dashboard/cloud/ngm.html?clusterId=10766841556523235152&provider=gcp&region=asia-northeast1&orgName=Aiminginc2&orgId=1372813089209272332&projectId=1372813089454590170&clusterName=fan-prd&deployType=dedicated&version=v8.5.2#/slow_query?digest=5c0b795b4951bc8d2963bde466ffb31f5a6f9b05d26cb24818e108cc7af8a7c4&from=1775039760&to=1775043360&show_internal=true&term="
    },
    {
      "source": "slow_query",
      "digest": "7b1fc43cb9195e302375123ed0a3751b36fe62ef7aa33308889b0612c62f713c",
      "sql_preview": "analyze table `fan_prd`.`account_ranking`;",
      "exec_count": 1,
      "avg_time": "4.96s",
      "max_time": "4.96s",
      "max_mem": 243304929,
      "link": "https://clinic.pingcap.com/portal/dashboard/cloud/ngm.html?clusterId=10766841556523235152&provider=gcp&region=asia-northeast1&orgName=Aiminginc2&orgId=1372813089209272332&projectId=1372813089454590170&clusterName=fan-prd&deployType=dedicated&version=v8.5.2#/slow_query?digest=7b1fc43cb9195e302375123ed0a3751b36fe62ef7aa33308889b0612c62f713c&from=1775039760&to=1775043360&show_internal=true&term="
    },
    {
      "source": "slow_query",
      "digest": "932e5f7295d3c1ad3d7688c2a0506ac56b8a8311fa23578b5f40d81c64310b16",
      "sql_preview": "select `a` . `distribute_id` from `account_received_distributes` as `a` where `a` . `joined_account_id` = ?;",
      "exec_count": 1,
      "avg_time": "0.31s",
      "max_time": "0.31s",
      "max_mem": 90404,
      "link": "https://clinic.pingcap.com/portal/dashboard/cloud/ngm.html?clusterId=10766841556523235152&provider=gcp&region=asia-northeast1&orgName=Aiminginc2&orgId=1372813089209272332&projectId=1372813089454590170&clusterName=fan-prd&deployType=dedicated&version=v8.5.2#/slow_query?digest=932e5f7295d3c1ad3d7688c2a0506ac56b8a8311fa23578b5f40d81c64310b16&from=1775039760&to=1775043360&show_internal=true&term="
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6142,
      "query_time": 0.394985908,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-996g",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6151,
      "query_time": 0.401987734,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-trz7",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6146,
      "query_time": 0.393562229,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-996g",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6151,
      "query_time": 0.406462899,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-723d9ed8-49gv",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6142,
      "query_time": 0.399095485,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-bzfb",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6147,
      "query_time": 0.398742472,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-n4kq",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6146,
      "query_time": 0.4018333,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-723d9ed8-49gv",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6406,
      "query_time": 0.332005876,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-n4kq",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 7070,
      "query_time": 0.311261788,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-x2r5",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6147,
      "query_time": 0.422163472,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-n4kq",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6151,
      "query_time": 0.42926221,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-x2r5",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6141,
      "query_time": 0.395544345,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-jzs2",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6144,
      "query_time": 0.313013441,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-s6l2",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6144,
      "query_time": 0.404588933,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-s6l2",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6404,
      "query_time": 0.327981851,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-rn2w",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6404,
      "query_time": 0.318175702,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-2f5v",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6141,
      "query_time": 0.43102095,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-rn2w",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6141,
      "query_time": 0.406046904,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-2f5v",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6405,
      "query_time": 0.464127349,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-x2r5",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
      "query": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
      "mem_max": 6148,
      "query_time": 0.400506774,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-x2r5",
      "source": "slow_queries",
      "title": "slow_mem_crash3",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY time DESC LIMIT 20"
    },
    {
      "digest": "01aafd1e35a4356bbafbe94104c960448aab72fa816a011afc8442a52058bcc2",
      "query": "analyze table `fanjplinkproduction`.`purchase_orders`;",
      "mem_max": 611475958,
      "query_time": 6.795659302,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-xljm",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "7b1fc43cb9195e302375123ed0a3751b36fe62ef7aa33308889b0612c62f713c",
      "query": "analyze table `fan_prd`.`account_ranking`;",
      "mem_max": 245350063,
      "query_time": 4.457440533,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-xljm",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "7b1fc43cb9195e302375123ed0a3751b36fe62ef7aa33308889b0612c62f713c",
      "query": "analyze table `fan_prd`.`account_ranking`;",
      "mem_max": 244578999,
      "query_time": 4.878540668,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-xljm",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "7b1fc43cb9195e302375123ed0a3751b36fe62ef7aa33308889b0612c62f713c",
      "query": "analyze table `fan_prd`.`account_ranking`;",
      "mem_max": 243998161,
      "query_time": 4.390363035,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-xljm",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "7b1fc43cb9195e302375123ed0a3751b36fe62ef7aa33308889b0612c62f713c",
      "query": "analyze table `fan_prd`.`account_ranking`;",
      "mem_max": 243607890,
      "query_time": 4.339683119,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-n4kq",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "7b1fc43cb9195e302375123ed0a3751b36fe62ef7aa33308889b0612c62f713c",
      "query": "analyze table `fan_prd`.`account_ranking`;",
      "mem_max": 243579300,
      "query_time": 4.361707046,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-n4kq",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "7b1fc43cb9195e302375123ed0a3751b36fe62ef7aa33308889b0612c62f713c",
      "query": "analyze table `fan_prd`.`account_ranking`;",
      "mem_max": 243563989,
      "query_time": 4.356108513,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-xljm",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "7b1fc43cb9195e302375123ed0a3751b36fe62ef7aa33308889b0612c62f713c",
      "query": "analyze table `fan_prd`.`account_ranking`;",
      "mem_max": 243391307,
      "query_time": 5.447893638,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-xljm",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "7b1fc43cb9195e302375123ed0a3751b36fe62ef7aa33308889b0612c62f713c",
      "query": "analyze table `fan_prd`.`account_ranking`;",
      "mem_max": 243304929,
      "query_time": 4.963398608,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-xljm",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "7b1fc43cb9195e302375123ed0a3751b36fe62ef7aa33308889b0612c62f713c",
      "query": "analyze table `fan_prd`.`account_ranking`;",
      "mem_max": 232235827,
      "query_time": 5.093482827,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-xljm",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "8f46c87a98a7e9f42317cdbbdc5a18e965031aabd318c172631d8f5639a81f9d",
      "query": "analyze table `fanjplinkproduction`.`auth_sessions`;",
      "mem_max": 224611207,
      "query_time": 3.6370637759999997,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-xljm",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "8f46c87a98a7e9f42317cdbbdc5a18e965031aabd318c172631d8f5639a81f9d",
      "query": "analyze table `fanjplinkproduction`.`auth_sessions`;",
      "mem_max": 224377342,
      "query_time": 3.65606379,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-bc53cf00-n4kq",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "8f46c87a98a7e9f42317cdbbdc5a18e965031aabd318c172631d8f5639a81f9d",
      "query": "analyze table `fanjplinkproduction`.`auth_sessions`;",
      "mem_max": 224280044,
      "query_time": 3.684177445,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-xljm",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "8f46c87a98a7e9f42317cdbbdc5a18e965031aabd318c172631d8f5639a81f9d",
      "query": "analyze table `fanjplinkproduction`.`auth_sessions`;",
      "mem_max": 224041616,
      "query_time": 3.946120181,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-xljm",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "8f46c87a98a7e9f42317cdbbdc5a18e965031aabd318c172631d8f5639a81f9d",
      "query": "analyze table `fanjplinkproduction`.`auth_sessions`;",
      "mem_max": 222924943,
      "query_time": 3.821222486,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-xljm",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "f38258d897075bb13a102c99962f511ddb6daeda6e29038b773668051f4448ca",
      "query": "analyze table `fan_prd`.`account_evcharas`;",
      "mem_max": 186549418,
      "query_time": 71.831109222,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-xljm",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "52cce52975d625d06b19e3b7ef22c67cb3a55a4d682ab229e6b4dbd30ab84fbd",
      "query": "analyze table `fan_prd`.`accounts`;",
      "mem_max": 180219435,
      "query_time": 6.419423361,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-xljm",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "02a86c1da7eee4623ae5b823e256a1aa798c7e39dbe513313da3f92e06fd107a",
      "query": "analyze table `fan_prd`.`account_presents`;",
      "mem_max": 153362153,
      "query_time": 22.970630567,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-xljm",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "ea202b217e9b3c7bcc9563464a129f26466bd22031f43ce83ac09ffd7eb35515",
      "query": "analyze table `fanjplinkproduction`.`accounts`;",
      "mem_max": 151520829,
      "query_time": 2.239032363,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-xljm",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    },
    {
      "digest": "5c0b795b4951bc8d2963bde466ffb31f5a6f9b05d26cb24818e108cc7af8a7c4",
      "query": "analyze table `fan_prd`.`users`;",
      "mem_max": 150629568,
      "query_time": 1.687870011,
      "instance": "gke-dedicated-prod-a-n2-custom-16-327-c23c4176-xljm",
      "source": "slow_queries",
      "title": "analyze_instance",
      "query_sql": "SELECT digest, query, mem_max, query_time, instance FROM clinic_data_proxy.slow_query_logs WHERE date = '20260401' ORDER BY mem_max DESC LIMIT 20"
    }
  ],
  "topsql": [],
  "decoded_plan": {
    "digest": "7a117029ace0cf816155a39a163838a1b0e32ca78de6da0830168baa1b1f6102",
    "source": "slow_query",
    "full_sql": "select `a` . `ranking_code` , `a` . `content_code` , `a` . `joined_account_id` , `a` . `optional_code` , `a` . `banned_from_at` , `a` . `banned_to_at` , `a` . `created_at` , `a` . `is_banned` , `a` . `redis_value` , `a` . `score` , `a` . `scored_at` , `a` . `updated_at` , `a` . `world_id` from `account_ranking` as `a` where `a` . `joined_account_id` = ?;",
    "decoded_plan": "{\n  \"main\": {\n    \"name\": \"Projection_4\",\n    \"children\": [\n      {\n        \"name\": \"TableReader_7\",\n        \"children\": [\n          {\n            \"name\": \"Selection_6\",\n            \"children\": [\n              {\n                \"name\": \"TableFullScan_5\",\n                \"cost\": 480968068.0167135,\n                \"estRows\": 1231200.0,\n                \"actRows\": \"1231223\",\n                \"taskType\": \"cop\",\n                \"storeType\": \"tikv\",\n                \"accessObjects\": [\n                  {\n                    \"scanObject\": {\n                      \"database\": \"fan_prd\",\n                      \"table\": \"a\"\n                    }\n                  }\n                ],\n                \"operatorInfo\": \"keep order:false\",\n                \"copExecInfo\": \"tikv_task:{proc max:155ms, min:2ms, avg: 53.9ms, p80:83ms, p95:137ms, iters:1507, tasks:67}\",\n                \"memoryBytes\": \"-1\",\n                \"diskBytes\": \"-1\"\n              }\n            ],\n            \"cost\": 542404948.0167135,\n            \"estRows\": 7.4240298738715556,\n            \"taskType\": \"cop\",\n            \"storeType\": \"tikv\",\n            \"operatorInfo\": \"eq(fan_prd.account_ranking.joined_account_id, ?)\",\n            \"copExecInfo\": \"tikv_task:{proc max:160ms, min:2ms, avg: 55.7ms, p80:86ms, p95:142ms, iters:1507, tasks:67}, scan_detail: {total_process_keys: 1231223, total_process_keys_size: 3260071881, total_keys: 1353077, get_snapshot_time: 876.1\\u00b5s, rocksdb: {delete_skipped_count: 92162, key_skipped_count: 2724923, block: {cache_hit_count: 110525}}}, time_detail: {total_process_time: 3.72s, total_suspend_time: 18ms, total_wait_time: 3.41ms, total_kv_read_wall_time: 3.61s, tikv_wall_time: 3.75s}\",\n            \"memoryBytes\": \"-1\",\n            \"diskBytes\": \"-1\"\n          }\n        ],\n        \"cost\": 36161849.05948636,\n        \"estRows\": 7.4240298738715556,\n        \"taskType\": \"root\",\n        \"storeType\": \"tidb\",\n        \"operatorInfo\": \"data:Selection_6\",\n        \"rootBasicExecInfo\": \"time:332.2ms, loops:1\",\n        \"rootGroupExecInfo\": [\n          \"cop_task: {num: 67, max: 161.6ms, min: 2ms, avg: 56.7ms, p95: 143.5ms, max_proc_keys: 95111, p95_proc_keys: 56876, tot_proc: 3.72s, tot_wait: 3.41ms, copr_cache_hit_ratio: 0.00, build_task_duration: 106.6\\u00b5s, max_distsql_concurrency: 15}, rpc_info:{Cop:{num_rpc:68, total_time:3.8s}, rpc_errors:{not_leader:1}}\"\n        ],\n        \"memoryBytes\": \"813\",\n        \"diskBytes\": \"-1\"\n      }\n    ],\n    \"cost\": 36161858.691422716,\n    \"estRows\": 7.4240298738715556,\n    \"taskType\": \"root\",\n    \"storeType\": \"tidb\",\n    \"operatorInfo\": \"fan_prd.account_ranking.ranking_code, fan_prd.account_ranking.content_code, fan_prd.account_ranking.joined_account_id, fan_prd.account_ranking.optional_code, fan_prd.account_ranking.banned_from_at, fan_prd.account_ranking.banned_to_at, fan_prd.account_ranking.created_at, fan_prd.account_ranking.is_banned, fan_prd.account_ranking.redis_value, fan_prd.account_ranking.score, fan_prd.account_ranking.scored_at, fan_prd.account_ranking.updated_at, fan_prd.account_ranking.world_id\",\n    \"rootBasicExecInfo\": \"time:332.2ms, loops:1\",\n    \"rootGroupExecInfo\": [\n      \"Concurrency:OFF\"\n    ],\n    \"memoryBytes\": \"5708\",\n    \"diskBytes\": \"-1\"\n  },\n  \"withRuntimeStats\": true\n}",
    "stats_info": "account_ranking:465316153283313678[1231200;368579]",
    "backoff": "None",
    "indexes_used": "None",
    "query_time": 0.69026678,
    "process_time": 5.150419546,
    "wait_time": 0.021599674,
    "total_keys": "998770",
    "process_keys": "986360"
  }
}
