Subject Re: [firebird-support] Why "cooperative" garbage collection?
Author Martijn Tonies
> > What is the purpose of the cooperative garbage collection in Fb 2.0?
>
> It was intuitively obvious to the developers of InterBase 6.0
> that a background garbage collect thread would be faster than
> cooperative garbage collection. Unfortunately, under load, the
> garbage collect thread failed to get enough cycles to do its work
> and the whole system could grind to a halt. IBPhoenix provided
> special kits that disabled the garbage collect thread and enabled
> cooperative garbage collection to fix customers' performance
> problems.
>
> The hybrid method in Firebird 2 should have the best
> characteristics of both cooperative garbage collection and the
> garbage collect thread. If there turn out to be cases where it
> doesn't, you don't have to build a special kit to change modes.

But why? When does it use the background thread and when does
it use cooperative garbage collection?


Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com