Tryton is reading too much data when the cache size is small wrt database.IN_MAX
When operating on big data is could be interesting to manipulate _record_cache_size
unfortunately when reading the data the number of ids read do not take into account the new size of the cache.
This result in a performance hit because of cache alignment.