CREATE TABLE t1 (id1 int);
|
INSERT INTO t1 VALUES (1814),(0),(NULL),(1);
|
|
CREATE TABLE t2 (id2 int);
|
|
SELECT 1 FROM t2,t1,(SELECT * FROM t1) dt1
|
WHERE NOT EXISTS (SELECT id2 FROM t2 WHERE dt1.id1 IN (SELECT t2.id2 FROM t2 HAVING t2.id2 >= 1));
|
10.4 55dd0776566000c5ea12e177df0c784b500
|
|
#3 <signal handler called>
|
#4 0x000055e7275bab59 in optimize_keyuse (join=0x7f4fe40abe88, keyuse_array=0x7f4fe40ac178) at /10.4/sql/sql_select.cc:6445
|
#5 0x000055e7275b68d1 in make_join_statistics (join=0x7f4fe40abe88, tables_list=..., keyuse_array=0x7f4fe40ac178) at /10.4/sql/sql_select.cc:5021
|
#6 0x000055e7275aba0f in JOIN::optimize_inner (this=0x7f4fe40abe88) at /10.4/sql/sql_select.cc:1939
|
#7 0x000055e7275a9ceb in JOIN::optimize (this=0x7f4fe40abe88) at /10.4/sql/sql_select.cc:1448
|
#8 0x000055e72753a909 in st_select_lex::optimize_unflattened_subqueries (this=0x7f4fe4015018, const_only=false) at /10.4/sql/sql_lex.cc:4102
|
#9 0x000055e727728750 in JOIN::optimize_unflattened_subqueries (this=0x7f4fe40aae80) at /10.4/sql/opt_subselect.cc:5292
|
#10 0x000055e7275ae1a5 in JOIN::optimize_stage2 (this=0x7f4fe40aae80) at /10.4/sql/sql_select.cc:2678
|
#11 0x000055e7275abb07 in JOIN::optimize_inner (this=0x7f4fe40aae80) at /10.4/sql/sql_select.cc:1965
|
#12 0x000055e7275a9ceb in JOIN::optimize (this=0x7f4fe40aae80) at /10.4/sql/sql_select.cc:1448
|
#13 0x000055e7275b3d8b in mysql_select (thd=0x7f4fe4000b00, tables=0x7f4fe4015528, wild_num=0, fields=..., conds=0x7f4fe401ab90, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7f4fe401add0, unit=0x7f4fe40049b0, select_lex=0x7f4fe4015018) at /10.4/sql/sql_select.cc:4274
|
#14 0x000055e7275a578e in handle_select (thd=0x7f4fe4000b00, lex=0x7f4fe40048e8, result=0x7f4fe401add0, setup_tables_done_option=0) at /10.4/sql/sql_select.cc:382
|
#15 0x000055e72756fe53 in execute_sqlcom_select (thd=0x7f4fe4000b00, all_tables=0x7f4fe4015528) at /10.4/sql/sql_parse.cc:6550
|
#16 0x000055e7275662aa in mysql_execute_command (thd=0x7f4fe4000b00) at /10.4/sql/sql_parse.cc:3772
|
#17 0x000055e727573c3b in mysql_parse (thd=0x7f4fe4000b00, rawbuf=0x7f4fe4014e98 "SELECT 1 FROM t2,t1,(SELECT * FROM t1) dt1 \nWHERE NOT EXISTS (SELECT id2 FROM t2 WHERE dt1.id1 IN (SELECT t2.id2 FROM t2 HAVING t2.id2 >= 1))", length=141, parser_state=0x7f5034181470, is_com_multi=false, is_next_command=false) at /10.4/sql/sql_parse.cc:8085
|
#18 0x000055e727560d06 in dispatch_command (command=COM_QUERY, thd=0x7f4fe4000b00, packet=0x7f4fe4179421 "SELECT 1 FROM t2,t1,(SELECT * FROM t1) dt1 \nWHERE NOT EXISTS (SELECT id2 FROM t2 WHERE dt1.id1 IN (SELECT t2.id2 FROM t2 HAVING t2.id2 >= 1))", packet_length=141, is_com_multi=false, is_next_command=false) at /10.4/sql/sql_parse.cc:1850
|
#19 0x000055e72755f723 in do_command (thd=0x7f4fe4000b00) at /10.4/sql/sql_parse.cc:1395
|
#20 0x000055e7276c7d7f in do_handle_one_connection (connect=0x55e72b63f090) at /10.4/sql/sql_connect.cc:1402
|
#21 0x000055e7276c7ad0 in handle_one_connection (arg=0x55e72b63f090) at /10.4/sql/sql_connect.cc:1308
|
#22 0x000055e727f9e2f9 in pfs_spawn_thread (arg=0x55e72b646070) at /10.4/storage/perfschema/pfs.cc:1862
|
#23 0x00007f503c8d06ba in start_thread (arg=0x7f5034182700) at pthread_create.c:333
|
#24 0x00007f503bd6541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
|
|
- relates to
-
MDEV-14999
[Draft] Server crashes in optimize_keyuse
-
-
Closed
{"report":{"fcp":1217.6000001430511,"ttfb":332.40000009536743,"pageVisibility":"visible","entityId":70069,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"df99c32e-8129-415c-af0c-4c112decbc5f","navigationType":0,"readyForUser":1308.6000001430511,"redirectCount":0,"resourceLoadedEnd":1506.9000000953674,"resourceLoadedStart":338.7000000476837,"resourceTiming":[{"duration":99.70000004768372,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":338.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":338.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":438.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":100.20000004768372,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":338.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":338.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":439.10000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":157.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":339.10000014305115,"connectEnd":339.10000014305115,"connectStart":339.10000014305115,"domainLookupEnd":339.10000014305115,"domainLookupStart":339.10000014305115,"fetchStart":339.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":339.10000014305115,"responseEnd":496.90000009536743,"responseStart":496.90000009536743,"secureConnectionStart":339.10000014305115},{"duration":525.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":339.2000000476837,"connectEnd":339.2000000476837,"connectStart":339.2000000476837,"domainLookupEnd":339.2000000476837,"domainLookupStart":339.2000000476837,"fetchStart":339.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":339.2000000476837,"responseEnd":865.1000001430511,"responseStart":865.1000001430511,"secureConnectionStart":339.2000000476837},{"duration":529.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":339.5,"connectEnd":339.5,"connectStart":339.5,"domainLookupEnd":339.5,"domainLookupStart":339.5,"fetchStart":339.5,"redirectEnd":0,"redirectStart":0,"requestStart":339.5,"responseEnd":869,"responseStart":869,"secureConnectionStart":339.5},{"duration":529.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":339.7000000476837,"connectEnd":339.7000000476837,"connectStart":339.7000000476837,"domainLookupEnd":339.7000000476837,"domainLookupStart":339.7000000476837,"fetchStart":339.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":339.7000000476837,"responseEnd":869.6000001430511,"responseStart":869.6000001430511,"secureConnectionStart":339.7000000476837},{"duration":530.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":339.90000009536743,"connectEnd":339.90000009536743,"connectStart":339.90000009536743,"domainLookupEnd":339.90000009536743,"domainLookupStart":339.90000009536743,"fetchStart":339.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":339.90000009536743,"responseEnd":870.1000001430511,"responseStart":870.1000001430511,"secureConnectionStart":339.90000009536743},{"duration":531.1000001430511,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":340,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":340,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":871.1000001430511,"responseStart":0,"secureConnectionStart":0},{"duration":530.4000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":340.2000000476837,"connectEnd":340.2000000476837,"connectStart":340.2000000476837,"domainLookupEnd":340.2000000476837,"domainLookupStart":340.2000000476837,"fetchStart":340.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":340.2000000476837,"responseEnd":870.6000001430511,"responseStart":870.6000001430511,"secureConnectionStart":340.2000000476837},{"duration":530.9000000953674,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":340.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":340.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":871.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":530.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":340.5,"connectEnd":340.5,"connectStart":340.5,"domainLookupEnd":340.5,"domainLookupStart":340.5,"fetchStart":340.5,"redirectEnd":0,"redirectStart":0,"requestStart":340.5,"responseEnd":871.2999999523163,"responseStart":871.2999999523163,"secureConnectionStart":340.5},{"duration":608.8999998569489,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":346.10000014305115,"connectEnd":346.10000014305115,"connectStart":346.10000014305115,"domainLookupEnd":346.10000014305115,"domainLookupStart":346.10000014305115,"fetchStart":346.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":346.10000014305115,"responseEnd":955,"responseStart":955,"secureConnectionStart":346.10000014305115},{"duration":1156.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":346.2000000476837,"connectEnd":346.2000000476837,"connectStart":346.2000000476837,"domainLookupEnd":346.2000000476837,"domainLookupStart":346.2000000476837,"fetchStart":346.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":346.2000000476837,"responseEnd":1503.1000001430511,"responseStart":1503.1000001430511,"secureConnectionStart":346.2000000476837},{"duration":301.2000000476837,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":653.2000000476837,"connectEnd":653.2000000476837,"connectStart":653.2000000476837,"domainLookupEnd":653.2000000476837,"domainLookupStart":653.2000000476837,"fetchStart":653.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":653.2000000476837,"responseEnd":954.4000000953674,"responseStart":954.4000000953674,"secureConnectionStart":653.2000000476837},{"duration":353.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1150.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1150.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1503.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":352.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1151.2999999523163,"connectEnd":1151.2999999523163,"connectStart":1151.2999999523163,"domainLookupEnd":1151.2999999523163,"domainLookupStart":1151.2999999523163,"fetchStart":1151.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1151.2999999523163,"responseEnd":1504.2000000476837,"responseStart":1504.2000000476837,"secureConnectionStart":1151.2999999523163},{"duration":314.80000019073486,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1209.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1209.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1524.1000001430511,"responseStart":0,"secureConnectionStart":0},{"duration":355.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1151.7000000476837,"connectEnd":1151.7000000476837,"connectStart":1151.7000000476837,"domainLookupEnd":1151.7000000476837,"domainLookupStart":1151.7000000476837,"fetchStart":1151.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":1151.7000000476837,"responseEnd":1506.9000000953674,"responseStart":1506.9000000953674,"secureConnectionStart":1151.7000000476837}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":174,"responseStart":332,"responseEnd":343,"domLoading":337,"domInteractive":1533,"domContentLoadedEventStart":1533,"domContentLoadedEventEnd":1581,"domComplete":2623,"loadEventStart":2623,"loadEventEnd":2625,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1510},{"name":"bigPipe.sidebar-id.end","time":1510.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":1511.1000001430511},{"name":"bigPipe.activity-panel-pipe-id.end","time":1513.6000001430511},{"name":"activityTabFullyLoaded","time":1590.7000000476837}],"measures":[],"correlationId":"ea2bca53dfec5","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":94,"dbReadsTimeInMs":10,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}