[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: is data in db architecture specific?

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-05-02 21:29:21 CEST

On Fri, 2003-05-02 at 14:54, Ben Collins-Sussman wrote:
> Yes, that is correct. Berkeley DB data is sensitive to endianness.

Uh, I don't think so.
http://www.sleepycat.com/docs/ref/am_conf/byteorder.html says:

        Berkeley DB databases are architecture independent, and any
        format database can be used on a machine with a different native
        format. In this case, as each page that is read into or written
        from the cache must be converted to or from the host format, and
        databases with non-native formats will incur a performance
        penalty for the run-time conversion.

I believe all our application data is also byte-order-independent (skels
use ASCII; svndiff uses a well-defined integer encoding which has
nothing to do with the native format). Admittedly, I can't explain the
user's experiences.

But as Phillip said, repositories in AFS are probably not a great idea
as long as we're died to BDB.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 2 21:30:22 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.