We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please answer these questions before submitting your issue. Thanks!
set @@tidb_slow_log_threshold=0;
related slow log:
# Time: 2024-05-14T10:46:16.744456542Z # Txn_start_ts: 449756151429201928 # Query_time: 15.671098186 # Parse_time: 0 # Compile_time: 0.001440327 # Rewrite_time: 0.00028654 # Optimize_time: 0.000975736 # Wait_TS: 0.000020672 # Cop_time: 15.669230206 Process_time: 0.000263148 Wait_time: 0.000087955 Backoff_time: 15.588 Request_count: 2 Total_keys: 36 Get_snapshot_time: 0.000 Rocksdb_key_skipped_count: 32 Rocksdb_block_cache_hit_count: 28 # Index_names: [tidb_background_subtask:idx_exec_id,tidb_global_task:state] # Is_internal: true # Digest: 8e00fe5c3677d581b104159ff91d824e3be8160c4e4be058288db681abd1a134 # Stats: tidb_global_task:pseudo[10000;0],tidb_background_subtask:pseudo[10000;0] # Num_cop_tasks: 2 # Cop_proc_avg: 0.000131574 Cop_proc_p90: 0.000189195 Cop_proc_max: 0.000189195 Cop_proc_addr: 192.168.180.13:23360 # Cop_wait_avg: 4.3977e-05 Cop_wait_p90: 4.5169e-05 Cop_wait_max: 4.5169e-05 Cop_wait_addr: 192.168.180.13:23360 # Cop_backoff_regionMiss_total_times: 35 Cop_backoff_regionMiss_total_time: 14.01 Cop_backoff_regionMiss_max_time: 14.01 Cop_backoff_regionMiss_max_addr: 192.168.180.13:23360 Cop_backoff_regionMiss_avg_time: 14.01 Cop_backoff_regionMiss_p90_time: 14.01 # Cop_backoff_regionScheduling_total_times: 10 Cop_backoff_regionScheduling_total_time: 1.51 Cop_backoff_regionScheduling_max_time: 1.51 Cop_backoff_regionScheduling_max_addr: 192.168.180.13:23360 Cop_backoff_regionScheduling_avg_time: 1.51 Cop_backoff_regionScheduling_p90_time: 1.51 # Cop_backoff_tikvRPC_total_times: 1 Cop_backoff_tikvRPC_total_time: 0.068 Cop_backoff_tikvRPC_max_time: 0.068 Cop_backoff_tikvRPC_max_addr: 192.168.180.13:23360 Cop_backoff_tikvRPC_avg_time: 0.068 Cop_backoff_tikvRPC_p90_time: 0.068 # Mem_max: 17016 # Prepared: false # Plan_from_cache: false # Plan_from_binding: false # Has_more_results: false # KV_total: 0 # PD_total: 0 # Backoff_total: 0 # Write_sql_response_total: 0 # Result_rows: 0 # Warnings: [{"Level":"Note","Message":"[st,idx_exec_id] remain after pruning paths for st given Prop{SortItems: [], TaskTp: rootTask}","IsExtra":true},{"Level":"Note","Message":"[t,state] remain after pruning paths for t given Prop{SortItems: [], TaskTp: rootTask}","IsExtra":true}] # Succ: true # IsExplicitTxn: false # IsSyncStatsFailed: false # Plan: tidb_decode_plan('gSawMAkxNF8xMwkwCTEJbXlzcWwudGlkYl9nbG9iYWxfdGFzay5wcmlvcml0eSwgWiEAKGNyZWF0ZV90aW1lYiQAEGlkCTAJASJYOjE1LjdzLCBsb29wczoxCTAgQnl0ZXMRCBgKMQkzXzE1bpAADGlkLCBaigABsAxfa2V5ZiEABHlwZqQADHN0YXRuHgAEZXBiWACGJAEgb25jdXJyZW5jZp0AjkgBJHRhcmdldF9zY28ByRxDb2x1bW4jMyEwSl0BCCwgQxl3WDpPRkYJNC43MSBLQglOL0EKMgk2XzE2JWogZ3JvdXAgYnk6WlgBIXMkZnVuY3M6bWF4KB0lDGJhY2sBPRRuZF9zdWIhfwAuHeoIKS0+FaIALA1BHGZpcnN0cm93LkYAL m4CEGlkKS0+HWI2HACeRgABikEJZkwAESKiUgAIeXBlak4ARVgpI37iAEVnZksABR+elgBReGZPABEinlIAXYVmVQAdJaJYAFmKalgAGSWeWAAMc3RlcGZRAAEenkoALlsDZlIALiYAVtMEVCwgcGFydGlhbF93b3JrZXI6e3dhbGylHzw6MTUuNjY4OTA2NzMxcywgHfAMOjUsIEWUeG51bTowLCB0b3Rf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ogNH0JgARtZT5iACE8CGVzcw1UOUTBXARhaRFsNUsFw/kXDCAyNzcFhrn1MDcJMV8yNyhQcm9iZSlFbKX+BGluejYDQSBIZSwgInBlbmRpbmciLCAicnVubgELMCksIG5vdChpc251bGyCRwAIZXApYf1B+gEEHAo4CTQ1XzI2BYsy9wKCpAIBPwEEiVkAORHUGDAJMjkuOTcuWgQ+7QqddS4bAJkaXiEAEo8KWh0ALSJaHgD+0Qb+0QZO0QY+LQUuDAHh+F4gBQ7dDGUiNnQORh0FDDQuMzQeFw2lHQU7KZ+RZTZEAAwJMjUzPhsFBDMzLhsFADOxG7UaJXkAKAUGvRIMcGF1c0GeACwVCihdLCBbInJldmVydAkZGQwJG03QACxV2qIqBTbFAGYnBRA2MjcuN4W7YdmNQDInBQgxODmtSSILCgggNDUNEwBjvioFBDI5BW3OKAUENjQyKQUIMzNtDtcKoVU4ZXJyb3JzOntub3RfbGVhwUUENjKBBBQgYXZhaWwOJwgO4wokbmVjdGlvbnM6MYHd4bkMb2Zme4GiXFJQQzogNjhtcywgcmVnaW9uTWlzczogMQ5fCwkRPFNjaGVkdWxpbmc6IDEuNTEBewE6Lp8FADEBQI6gBQQzNVahBQA0pfoALL2hKGtleV9za2lwcGVksZsMMzIsIGK4BQAynrkFMtYBOrwFMd0AdA5ZCRxfa3ZfcmVhZC7FBQXpBf692gwzMTMuId022gUEMzWxBg5GCGlpVpwFLuwDEhwKRpUFBDM0BUYucQOmlAU=') # Plan_digest: 19251e4d0852c3daee269dcb983554a856b9ab56b15a27ac9c282faeeb7e2e53 # Binary_plan: tidb_decode_binary_plan('winACr0pCgdTb3J0XzEzEqYoCg1Qcm9qZWN0aW9uXzE1EpwlCgpIYXNoQWdnXzE2EskbCjIhABQ4Ep8YCgsBISRKb2luXzIwEv0JMkMAZDIxEoMICg5JbmRleExvb2tVcF8yOBKUBQoRBRNAUmFuZ2VTY2FuXzI1GgEBIQABAQzQgUApAQigAAAkQDgCQAJKJQojCgVteXNxbBICc3QaF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ESKeUgC9dmZVAB0lolgAJkMLalgAGSWeWACF3WIyAgEenkoAAHTdC2ZSAC4mAFaEAxjGAnBhcnRpDgAJGG9ya2VyOnsm0QgoMTUuNjY4OTA2NzMODwod8Aw6NSwgRZQOVxAaORASKBA4MW0xOC4zNDQyODExNjNzErAKAF8OCRESnw8OQAsWngsVJxA1NTk0cxaXEAlvLDg2MDAxMnMsIHA5NTYTABR9LCBmaW5SqgAO/A9enwABqwRvdAmfEDg4LjQ0DkIQHZkMMTkxbg0QMpwAEDUwNzM1DkQMCG1heA2JEDkxNTM4ARMZnA0TWvMJGCE0Dc5I1uQ+xAQAq/5cBv5cBjpcBkl5WsgEeZRaIQA9eWb7CIofCS6tAvn0ADVWuAJ6PAYUkscXVdj8PngBAF5awgCG4wCKvwAEaWRSqgAEGAE=') # Resource_group: default ;
nightly: 4b91fee
The text was updated successfully, but these errors were encountered:
duplicate of #52743
Sorry, something went wrong.
0106f4c
*: fix empty SQL in slow log for internal statement (#54274) (#54309)
b5de417
close #52743, close #53264, close #54190
Successfully merging a pull request may close this issue.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
related slow log:
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
nightly: 4b91fee
The text was updated successfully, but these errors were encountered: