Re: [elephant-devel] gp-export strikes back

2010-02-05 Thread Alex Mizrahi
HH> I have an idea: we could have a second elephant database used only for HH> reference tracking. It does not have to have the same backend, HH> bdb will probably be the best choice at all time. This should be easy HH> to implement and avoid the problem completely? There is a catch -- s-seria

Re: [elephant-devel] gp-export strikes back

2010-02-04 Thread Ian Eslick
> I have an idea: we could have a second elephant database used only for > reference tracking. It does not have to have the same backend, > bdb will probably be the best choice at all time. This should be easy > to implement and avoid the problem completely? > Make we can make its use an option, af

Re: [elephant-devel] gp-export strikes back

2010-02-04 Thread Henrik Hjelte
On Thu, Feb 4, 2010 at 12:53 PM, Alex Mizrahi wrote: >  hi > Problems with this approach: >  1) To deal with circular references or just objects being referenced from > multiple places, it keeps track of objects it already visited, and in case > it is encountered again, it writes object reference

[elephant-devel] gp-export strikes back

2010-02-04 Thread Alex Mizrahi
hi Previous discussion of gp-export did not cover its design in details. I think if we're going to bundle gp-export with elephant, it is better to dicuss its features and shortcomings, so we can either try to fix them or document them. Basic idea how it works -- it goes through objects in dat

Re: [elephant-devel] gp-export

2009-04-26 Thread Ian Eslick
>> However, for now gp-export does not back up whole store -- it only >> iterates >> through all objects >> it finds in index and dumps them together with all their slots etc. >> It is >> such because it was meant >> to be working with various stores. (But it supports only elephant/ >> postmod

Re: [elephant-devel] gp-export

2009-04-26 Thread Ian Eslick
gp-export sounds very useful. I actually implemented something similar to help convert databases from one lisp to another (string serialization is not compatible across lisp implementations). This would be a more general solution to my hack. I'll look at it when I get a chance. Cheers,

Re: [elephant-devel] gp-export

2009-04-25 Thread Leslie P. Polzer
> helo 220 Hi there > Just a few monthes passed, and I've made gp-export that is suitable for > migration from 0.9 to 1.0. :) > The problem was that there was no support for btrees whatsoever, so I had to > refactor it badly. > Anyway, now it seems to work and it even has some tests. Let's put

[elephant-devel] gp-export

2009-04-24 Thread Alex Mizrahi
helo (Short introduction for those who does not know what is this about: gp-export is a tool to export/import databases in human-readable (SEXP) format, with serialization based on s-serialization of cl-prevalence, meant to work with different databases. In previous discussions it was considere