in reply to Re^2: Accessing BDB file fails on linux
in thread Accessing BDB file fails on linux

Are either of the processes writing to the database or are they both just reading the database from the SAN drive?

I'm not that familiar with the Perl API, but what do you mean when you say "When I try to access value for few keys it returns undef."

BTW: Although Berkeley DB is endian-neutral in terms of it's internal data structures, it makes no attempt to interpret the data payload. Managing endian-ness changes is the responsibility of the embedding application.

  • Comment on Re^3: Accessing BDB file fails on linux

Replies are listed 'Best First'.
Re^4: Accessing BDB file fails on linux
by vsdeepthi (Initiate) on Feb 22, 2011 at 09:47 UTC
    Its only one program run on both Solaris and Linux. And all it does is reading the database file. I meant on Linux it does not return all the records. Though the count says it has loaded the entire file, I can only access few records from the data structure that is populated from this file.
Re^4: Accessing BDB file fails on linux
by vsdeepthi (Initiate) on Feb 22, 2011 at 09:50 UTC
    Its only one program run on both Solaris and Linux. And all it does is reading the database file.
    
    I meant on Linux it does not return all the records. Though the count says it has loaded the entire file, I can only access few records from the data structure that is populated from this file.