Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-4215

Allow manual clearing of schemarouter caches

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 23.08.0
    • schemarouter
    • None
    • MXS-SPRINT-184, MXS-SPRINT-185

    Description

      As described in MXS-4214, there's a need to have finer control over when the schemarouter caches are emptied as the act of populating the cache causes a one-time increase in query latency.

      Being able to manually clear the cache, both globally and for a single user, would make it easier to manage when the expensive work of loading the database and table information takes place.

      Attachments

        Activity

          markus makela markus makela added a comment -

          I needed this for testing of some other stuff so I wrote a patch for it (attached to the issue).

          markus makela markus makela added a comment - I needed this for testing of some other stuff so I wrote a patch for it (attached to the issue).
          markus makela markus makela added a comment -

          The command should also allow the cache to be marked a stale instead of clearing it completely. This way the cache can still be used if max_staleness is set to a high value.

          markus makela markus makela added a comment - The command should also allow the cache to be marked a stale instead of clearing it completely. This way the cache can still be used if max_staleness is set to a high value.

          People

            markus makela markus makela
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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