Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-3188

Full table scan for durable subs in jdbc store when priority enabled; very slow with large message backlog

    XMLWordPrintableJSON

Details

    Description

      Priority support is delegate to the DB, but it currently requires a full table scan to recover a new batch of messages. This can be very slow when the message table is large (a consumer has been offline for some time). With multiple concurrent consumers this gets worse.
      The store needs to use more internal state w.r.t priority such that simpler/faster queries are used.

      Attachments

        Issue Links

          Activity

            People

              gtully Gary Tully
              gtully Gary Tully
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: