Skip to Main Content
  • Questions
  • Advanced Queueing tables in InMemory

Breadcrumb

XMAS_TREE

The AskTOM team is taking a break over the holiday season, so we're not taking questions or responding to comments. Please have a happy and safe festive season and as always, thanks for being a member of the AskTOM community.

Question and Answer

Connor McDonald

Thanks for the question, Toivo.

Asked: July 24, 2020 - 10:22 am UTC

Last updated: July 27, 2020 - 2:46 am UTC

Version: 12.1.0.2

Viewed 1000+ times

You Asked

Could I load AQ tables into InMemory and what are possible downsides when doing that? We are using ExaCC rack.

and Connor 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.

We're not taking comments currently, so please try again later if you want to add a comment.

More to Explore

PL/SQL demos

Check out more PL/SQL tutorials on our LiveSQL tool.

PL/SQL docs

PL/SQL reference manual from the Oracle documentation library