Hi Esteban, all,

I work with mongo daily an it works fine, I am very happy with it.

As you told me, with
>>VORepository current reset.
I can force re loading all objects from database and resetting the cache
completely.
This is helpful for development eg. after changing the magritte
descriptions.

My question:
Is there a possibility to make a query and tell voyage that THIS query
should be done within the database and NOT within the cached objets? And
that all objects and the child objects from this query are loaded freshly
from database into the cache.

My concrete situation:
I want that if the user logs in, his objects are loaded from database and
NOT from cache. This means the person, his trips etc.

And the question coming along with this:
How long does the cache keeps objects/when are they reseted (except the
>>VORepository current reset)? 
If I would never take a new image and never make a reset, would all objects
remain in the image (and the database objects wold never be read)? In this
case what about the size of the image?

Regards
Sabine



--
View this message in context: 
http://forum.world.st/Mongo-cache-vs-database-objects-tp4725554.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to