OODB basics
2005-10-08
Oleg Broytmann2005-10-08
Patrick K. O'Brien2005-10-09
David Binger2005-10-09
Patrick K. O'Brien2005-10-09
David Binger2005-10-09
Patrick K. O'Brien2005-10-09
Oleg Broytmann2005-10-09
David Binger2005-10-09
Oleg Broytmann2005-10-09
Oleg Broytmann2005-10-09
Patrick K. O'Brien2005-10-09
Oleg Broytmann2005-10-09
mario ruggierOODB vs SQL
2005-10-09
Oleg Broytmann2005-10-09
Patrick K. O'Brien2005-10-09
Oleg Broytmann2005-10-09
Patrick K. O'Brien2005-10-09
Oleg Broytmann2005-10-09
John Miller2005-10-09
Patrick K. O'Brien2005-10-12
mario ruggier2005-10-09
David Binger2005-10-09
Oleg Broytmann2005-10-10
Rodrigo Dias Arruda Senra2005-10-10
David Binger2005-10-11
mario ruggier2005-10-11
Rodrigo Dias Arruda Senra2005-10-11
A.M. Kuchling2005-10-11
Rodrigo Dias Arruda Senra2005-10-11
Roger E. Masse2005-10-11
Rodrigo Dias Arruda Senra2005-10-11
Roger E. MasseRe: OODB vs SQL
2005-10-11
Michael Watkins2005-10-11
Michael Watkins2005-10-11
Patrick K. O'Brien2005-10-11
Patrick K. O'Brien2005-10-11
David Binger2005-10-11
Patrick K. O'Brien2005-10-15
Patrick K. O'Brien2005-10-12
Michael Watkins2005-10-12
Patrick K. O'Brien2005-10-12
mario ruggier2005-10-12
Michael Watkins2005-10-12
Patrick K. O'BrienDemo application [was: Re: [Durus-users] Re: OODB vs SQL]
2005-10-13
mario ruggier2005-10-12
Patrick K. O'BrienRe: OODB vs SQL
2005-10-11
Michael Watkins2005-10-11
Rodrigo Dias Arruda SenraDurus basics
2005-10-09
Oleg Broytmann2005-10-09
David BingerRe: OODB basics
2005-10-13
Oleg BroytmannDurus basics
mario ruggier
On Oct 13, 2005, at 5:11 PM, Oleg Broytmann wrote: > On Sun, Oct 09, 2005 at 05:49:33PM -0400, David Binger wrote: >> On Oct 9, 2005, at 4:51 PM, Oleg Broytmann wrote: >>> Can I have a serial (autoincremented) counter? Should I? They >>> are useful >>> in cases when I don't have an interesting distinguishing features >>> in my >>> objects. For example, if I want to store a list of FTP servers I can >>> distinguish them by their URLs; hence I can use URLs as indices. >>> But if I >>> want to store access_log elements - there are no such distinguishing >>> elements. Even the full tuple (time, client IP, URL) can occur many >>> times >>> (many concurrent queries from a program like ApacheBenchmark; or a >>> huge >>> network behind a NAT with a single external IP). Autoincremented >>> counter >>> seems to be the best way to generate names (indices). >> >> I think I would do that as a BTree whose values are Persistent >> instances with a single "int" attribute. > > Keys, not values? Or I've missed something important here... To deal with this I just have each container keep its own item counter, and that is the value of each item's id. This assumes that each item belongs to a container... In addition to that, I can define a unique index (or several) if and whenever they make sense. The value I use for the keys of that index, is a tuple of values -- and such values may also of course be persistent items. mario