Re: [elephant-devel] Re: Re: Re: sqite3 - always increase database size

2008-04-09 Thread Aaron Feng
Robert, > This may seem silly and you may be beyond it, but the first thing you > should do is just design a good object-oriented system without worrying > about persistence at all. I agree with what you are saying fundamentally. However, I'm also a firm believer in "eating your dog food

Re: [elephant-devel] Re: Re: Re: sqite3 - always increase database size

2008-04-09 Thread Robert L. Read
On Wed, 2008-04-09 at 13:36 -0400, Aaron Feng wrote: > I have learned a good deal about elephant so far, but I'm still unsure > on how to design my schema with elephant, so I'll post what I have > later on today. All suggestions are welcome! This may seem silly and you may be beyond it, but the

Re: [elephant-devel] Re: Re: Re: sqite3 - always increase database size

2008-04-09 Thread Aaron Feng
Hi Robert, > The one mistake the beginners commonly make is to think that they need > to declare something a persistent class AND put it in a btree. This is exactly what I'm doing. I would like to avoid working with btrees, but for some reason I thought I had to add it myself. This is good news

[elephant-devel] Re: Re: Re: sqite3 - always increase database size

2008-04-09 Thread Alex Mizrahi
> I'm trying to remove an item from a btree. > Is there other function I can call instead of remove-kv? > I'm indeed using persistent classes. you can enable class indexing then -- it automatically create one btree to retrieve objects by class, and also a btree for each indexed slot. (if you