Object Databases

Arnaud Fontaine arnaud at crao.net
Thu Mar 2 13:11:43 EST 2000


In article <89m4nb$nsb$1 at nnrp1.deja.com>, Ng Pheng Siong 
<ngps at post1.com> wrote:

> I imagine a simpler approach is to use ZODB.  One possibility is,
> instead of FileStorage or BerkeleyStorage as the underlying, use
> something like _MySQLStorage_ or _OracleStorage_!

Using ZODB as an object layer on top of a SQL database seems fine but 
... don't you think this will add a big overhead ?
One solution to reduce overhead is to use persistent connection and the 
second (hmmm .. the first) is to translate your ZODB queries into 
EFFICIENT SQL queries ... 

> Writing the abovementioned new storages is left as exercises for
> the reader. ;-)

def joke():
   print "easy"

Arnaud
PS: Oracle already has some object stuff ...



More information about the Python-list mailing list