Reuse of objects versus create and delete in order to keep m
Posted: Fri Aug 07, 2009 11:28 am
by cnwep1 >> Thu, 21 Nov 2002 3:44:31 GMT
Hello,
Imagine your system creates some thousands of short lived persistent objects regularly e.g. you create 50,000 of these objects daily and then on a weekly basis you have a process that goes through and deletes them.
Your system is 24x7x52 and down time for housekeeping is to be kept to a minimum. You run the database with the SpaceReuseOption turned off because you want maximum performance at the expense of disk space. However you don't want disk space to grew too rapidly nor do you necessarily want to do lots of map file compaction.
So has anybody built something so that instead of deleting these short lived objects it just marks them as deleted and will then recyle them when a new object is required (some kind of 'Factory' thing that knows how to create new objects or recycle old ones). Has anybody done this with persistent objects? Any benefits or performance improvements?
Hope this makes sense.
Eric in Dunedin (city of soggyness)
Hello,
Imagine your system creates some thousands of short lived persistent objects regularly e.g. you create 50,000 of these objects daily and then on a weekly basis you have a process that goes through and deletes them.
Your system is 24x7x52 and down time for housekeeping is to be kept to a minimum. You run the database with the SpaceReuseOption turned off because you want maximum performance at the expense of disk space. However you don't want disk space to grew too rapidly nor do you necessarily want to do lots of map file compaction.
So has anybody built something so that instead of deleting these short lived objects it just marks them as deleted and will then recyle them when a new object is required (some kind of 'Factory' thing that knows how to create new objects or recycle old ones). Has anybody done this with persistent objects? Any benefits or performance improvements?
Hope this makes sense.
Eric in Dunedin (city of soggyness)