Hi, Not that I am aware unless Berkeley DB added that functionality to their API recently. You can do coalescing in OrangeFS where sync() is only called after a variable number of operations have occurred. That code may also provide an example that would help you implement the functionality you are looking for.
Michael 2011/7/25 欧佳欣 <[email protected]> > The pvfs2 use Berkeley DB to store the data ,includes dspace db and > key-value db , and in dbpf-sync.c , it use the "dbp->sync" to sync the data > in Berkeley DB , but "dbp->sync" just sync all the data in the DB . And now > I want to know whether it has some methods that can just sync some (not all) > records which I want them to sync in the DB . > For example there are five record in key-value db now , and they are > as follows : > record 1 , record 2 ,record 3 , record 4 ,record 5. > And now I only want to sync record 1 and record 4 ,but the record 2, > record 3,and record 5 don't sync, Is there some way to achieve this > requirement ? > Thank you very much. > > > _______________________________________________ > Pvfs2-developers mailing list > [email protected] > http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers > >
_______________________________________________ Pvfs2-developers mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
