Type:
Bug
Priority:
Critical
Resolution:
Fixed
Affects Version/s:
N/A
We discussed the possibility of renaming the variables before. If it is to be done, it should be done before the release, after that it gets more complicated.
Currently we have 4 system variables:
7fce19bd215ac0671855044520092aa4210049d1
+ --------------------------+-----------+
| Variable_name | Value |
+ --------------------------+-----------+
| mhnsw_cache_size | 16777216 |
| mhnsw_distance_function | euclidean |
| mhnsw_max_edges_per_node | 6 |
| mhnsw_min_limit | 20 |
+ --------------------------+-----------+
Considerations:
the presence of HNSW in the name suggests there may be other algorithms in the future; if so, I think it would be more user-friendly to group all vector-related variables together, by giving them a common prefix. vector_ is first that comes to mind, for further use as vector_mhnsw_xxx , vector_lsh_xxx , etc., but maybe there are better ideas.
I don't know whether there is already a vision how it will be configured when there are alternative algorithms, e.g. whether it would make sense to have, for example, distance_function variable for each algorithm separately, it seems too cumbersome given that the function can also be set in the table definition. If, however, any of the options will be shared among different algorithms, they should lose the algorithm prefix already now, e.g. be not [vector_] mhnsw_distance_function or some [vector_] lsh_distance_function in the future, but just vector_distance_function .
it was also discussed that min_limit and max_edges_per_node as such are not very meaningful name and could be improved. I don't have suggestions for the better naming for them, though.
is caused by
MDEV-34939
vector search in 11.7
Closed
{"report":{"fcp":1292.9000000953674,"ttfb":236.30000019073486,"pageVisibility":"visible","entityId":131332,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"28110f7b-818c-4c0a-b2a2-c8e96c0b77ed","navigationType":0,"readyForUser":1391.1000003814697,"redirectCount":0,"resourceLoadedEnd":2018.7000002861023,"resourceLoadedStart":242.2000002861023,"resourceTiming":[{"duration":419.2999997138977,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":242.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":242.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":661.5,"responseStart":0,"secureConnectionStart":0},{"duration":419.40000009536743,"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":242.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":242.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":661.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":429.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":242.7000002861023,"connectEnd":242.7000002861023,"connectStart":242.7000002861023,"domainLookupEnd":242.7000002861023,"domainLookupStart":242.7000002861023,"fetchStart":242.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":242.7000002861023,"responseEnd":672.2000002861023,"responseStart":672.2000002861023,"secureConnectionStart":242.7000002861023},{"duration":532.3000001907349,"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":242.90000009536743,"connectEnd":242.90000009536743,"connectStart":242.90000009536743,"domainLookupEnd":242.90000009536743,"domainLookupStart":242.90000009536743,"fetchStart":242.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":242.90000009536743,"responseEnd":775.2000002861023,"responseStart":775.2000002861023,"secureConnectionStart":242.90000009536743},{"duration":536.2999997138977,"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":243.10000038146973,"connectEnd":243.10000038146973,"connectStart":243.10000038146973,"domainLookupEnd":243.10000038146973,"domainLookupStart":243.10000038146973,"fetchStart":243.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":243.10000038146973,"responseEnd":779.4000000953674,"responseStart":779.4000000953674,"secureConnectionStart":243.10000038146973},{"duration":537.0999999046326,"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":243.30000019073486,"connectEnd":243.30000019073486,"connectStart":243.30000019073486,"domainLookupEnd":243.30000019073486,"domainLookupStart":243.30000019073486,"fetchStart":243.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":243.30000019073486,"responseEnd":780.4000000953674,"responseStart":780.4000000953674,"secureConnectionStart":243.30000019073486},{"duration":537.3000001907349,"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":243.5,"connectEnd":243.5,"connectStart":243.5,"domainLookupEnd":243.5,"domainLookupStart":243.5,"fetchStart":243.5,"redirectEnd":0,"redirectStart":0,"requestStart":243.5,"responseEnd":780.8000001907349,"responseStart":780.8000001907349,"secureConnectionStart":243.5},{"duration":626.5999999046326,"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":243.60000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":243.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":870.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":537.5999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":243.80000019073486,"connectEnd":243.80000019073486,"connectStart":243.80000019073486,"domainLookupEnd":243.80000019073486,"domainLookupStart":243.80000019073486,"fetchStart":243.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":243.80000019073486,"responseEnd":781.4000000953674,"responseStart":781.4000000953674,"secureConnectionStart":243.80000019073486},{"duration":626.7000002861023,"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":243.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":243.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":870.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":537.7999997138977,"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":244.10000038146973,"connectEnd":244.10000038146973,"connectStart":244.10000038146973,"domainLookupEnd":244.10000038146973,"domainLookupStart":244.10000038146973,"fetchStart":244.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":244.10000038146973,"responseEnd":781.9000000953674,"responseStart":781.9000000953674,"secureConnectionStart":244.10000038146973},{"duration":855.3000001907349,"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":245,"connectEnd":245,"connectStart":245,"domainLookupEnd":245,"domainLookupStart":245,"fetchStart":245,"redirectEnd":0,"redirectStart":0,"requestStart":245,"responseEnd":1100.3000001907349,"responseStart":1100.3000001907349,"secureConnectionStart":245},{"duration":1773.7000002861023,"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":245,"connectEnd":245,"connectStart":245,"domainLookupEnd":245,"domainLookupStart":245,"fetchStart":245,"redirectEnd":0,"redirectStart":0,"requestStart":245,"responseEnd":2018.7000002861023,"responseStart":2018.7000002861023,"secureConnectionStart":245},{"duration":302.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":945.5,"connectEnd":945.5,"connectStart":945.5,"domainLookupEnd":945.5,"domainLookupStart":945.5,"fetchStart":945.5,"redirectEnd":0,"redirectStart":0,"requestStart":945.5,"responseEnd":1248,"responseStart":1248,"secureConnectionStart":945.5},{"duration":804.8000001907349,"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":1303.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1303.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2108.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":791.8000001907349,"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":1305.3000001907349,"connectEnd":1305.3000001907349,"connectStart":1305.3000001907349,"domainLookupEnd":1305.3000001907349,"domainLookupStart":1305.3000001907349,"fetchStart":1305.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1305.3000001907349,"responseEnd":2097.1000003814697,"responseStart":2097.1000003814697,"secureConnectionStart":1305.3000001907349},{"duration":798.6999998092651,"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":1306.2000002861023,"connectEnd":1306.2000002861023,"connectStart":1306.2000002861023,"domainLookupEnd":1306.2000002861023,"domainLookupStart":1306.2000002861023,"fetchStart":1306.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":1306.2000002861023,"responseEnd":2104.9000000953674,"responseStart":2104.9000000953674,"secureConnectionStart":1306.2000002861023}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":62,"responseStart":236,"responseEnd":237,"domLoading":240,"domInteractive":2053,"domContentLoadedEventStart":2053,"domContentLoadedEventEnd":2108,"domComplete":3601,"loadEventStart":3601,"loadEventEnd":3603,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2020.7000002861023},{"name":"bigPipe.sidebar-id.end","time":2021.7000002861023},{"name":"bigPipe.activity-panel-pipe-id.start","time":2021.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":2024.1000003814697},{"name":"activityTabFullyLoaded","time":2117.800000190735}],"measures":[],"correlationId":"ea554eb77db6d2","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":110,"dbReadsTimeInMs":16,"dbConnsTimeInMs":25,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}