db4o database files are structured as used and unused slots internally, very much like a file system. Just like a file system, a db4o file can become fragmented, which means it may become larger than it would have to be. This also can have a negative affect on (file access) performance, so it is advisable to defragment database files on a regular basis.
As of version 6.0 db4o provides a new defragment mechanism. While the old mechanism would instantiate live objects to transfer them to the defragmented database file, the new version operates directly at the slot/file level, avoiding any reflection or object instantiation calls.
According to our internal benchmarks this results in a performance speedup of 4x up to 14x, depending on various factors ranging from OS/VM version through the individual database structure to custom defragment configuration. For more complex and deeper graphs we suspect that there can be much larger performance improvements than in our benchmark. Please let us know about your results.
For the general case, usage is as simple as calling
com.db4o.defragment.Defragment.defrag();
...which will move the original file to a backup location and create a defragmented version in the original location. Those of you who would like to have more fine-grained control over the defragmentation process, please refer to the API docs.
-
Posted by Anonymous on 3/20/2010 6:40 PM
db4objects, Inc. ( http://www.db4o.com ) acaba de liberar la versión 6 de db4o, su base de objetos de
-
Posted by Anonymous on 3/20/2010 6:40 PM
db4o Version 6.0 Debuts to the Community How to Contribute to db4o Seagate Personal Servers get a boost
-
Posted by Anonymous on 3/20/2010 6:40 PM
db4o Version 6.0 ...ist erschienen und ab sofort fuer die Community als development (beta) Release zum
-
Posted by Anonymous on 3/20/2010 6:40 PM
11-12月事件列表: 11/18/2006 - Itasca, IL, USA 11/23/2006 - Vienna, Austria 11/24/2006 - Bangalore, India 11/28/2006
-
Posted by Anonymous on 3/20/2010 6:40 PM
SAN MATEO, Calif., Dec. 14, 2006 - db4objects ( www.db4o.com ), creator of the open source object database,
-
Posted by Anonymous on 3/20/2010 6:40 PM
Welcome to the January newsletter! db4o Version 6.0 Released as Production-Ready dOCL, the New db4o Open
-
Posted by Anonymous on 3/20/2010 6:40 PM
节日快乐! db4objects 祝你有一个快乐的圣诞节.我们感谢你在过去一年对我们的支持, 我们希望2007能迎来更成功的一年! K U D O O F T H E M O N T H "面向对象数据库...我并没有预料到他们是如此简单和实效.想象一下,db4o只是一个dll.仅仅一个dl这么简单.不用任何的设置和配置.高效率地存储数据.
-
Posted by Anonymous on 3/20/2010 6:40 PM
db4objects wünscht allen eine schöne Weihnachtszeit! Wir danken euch für eure wertvollen Beiträge und
-
Posted by Anonymous on 3/20/2010 6:40 PM
http://www.infoq.com/news/2006/12/db40-6 Db4Object has released version 6.0 of their open source object
Loading, please waiting...