Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-35185

Query cache used for results of vector search conflicts with the purpose of mhnsw_min_limit

Details

    Description

      Currently results of vector search queries are written into the query cache and read from it.
      It means that increasing mhnsw_min_limit at runtime for the purpose of a more precise search won't have any effect, as the previous less precise results will be still returned from the cache.

      Attachments

        Issue Links

          Activity

            I see two possible solutions here:

            • complex: extend Query_cache_query_flags somehow to allow plugins to add there their variables or flags. Not easy, as it'll break the assumption that Query_cache_query_flags is fixed size.
            • easy: disable query cache whenever VEC_DISTANCE is used
            serg Sergei Golubchik added a comment - I see two possible solutions here: complex: extend Query_cache_query_flags somehow to allow plugins to add there their variables or flags. Not easy, as it'll break the assumption that Query_cache_query_flags is fixed size. easy: disable query cache whenever VEC_DISTANCE is used

            People

              serg Sergei Golubchik
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.