Thanks for the question, Toivo.
Asked: July 24, 2020 - 10:22 am UTC
Answered by: Connor McDonald - Last updated: July 27, 2020 - 2:46 am UTC
Category: Database Administration - Version: 184.108.40.206
Viewed 100+ times
Could I load AQ tables into InMemory and what are possible downsides when doing that? We are using ExaCC rack.
and we said...
I can't see a downside, but I'm not entirely sure I see an upside either.
- The cost of enqueue is an insert, which would not get any faster with in-memory
- The cost of dequeue is an indexed read, which also is unlikely to see any significant jump in performance.
By all means benchmark it, but I suspect there are probably better opportunities for in-memory for you.
If the intent is to have queues just sitting in memory, ie, you don't care if you lost some messages if you (say) lost power, then check out buffered queues.