Warmup ( preLoad all table rows into memory )

#1

Hi , I have 3 questions for objectdb :

1-)

How can i preload all table rows into memory in objectdb ?

So i can query fast.

I have seen @Cacheable annotation.

But i need warmup table to memory when my software boots up.

 

2-)

Also for speed up

I am inserting a message into table.

But within 1 or 10 seconds i may query the same message key.

I can wrap with guava cachebuilder to prevent writing into disk for objectdb.

So i can query from guava cachebuilder then objectdb.

Do i need that thing or objectdb has internally that function.

Or how can i enable that function ?

 

#2

> How can i preload all table rows into memory in objectdb ?

You will have to run a query that retrieves the objects.

> Do i need that thing or objectdb has internally that function.

What thing? The question is unclear.

Please follow the posting instructions and use a separate thread for every topic. The subject of the thread should match the content, and other topics should be moved to additional threads.

 

ObjectDB Support

Reply