[ZODB-Dev] copying objects from one database to another
Sanjay Rao
srao at noida.interrasystems.com
Thu Sep 20 10:27:47 UTC 2012
Hi All,
I am trying to copy selective objects from one database to another
database. we are using following functions to accomplish this.
/ZODB.Connection.Connection.ExportFile
ZODB.Connection.Connection.ImportFile/
In this process destination file become very large after copy operation,
plus it takes a lot of memory.
for example
source database size is 500 MB
initial destination database size is 700 MB
finally destination database size become around 20GB. After packing the
final database it came to normal size but
- Sometime it creates disk space issue on machine
- It consumes a lot of memory
Is somebody aware of any solution to this problem ?
Thanks a lot in advance.
Thanks & Regards,
Sanjay Rao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.zope.org/pipermail/zodb-dev/attachments/20120920/5db4f4f9/attachment.html>
More information about the ZODB-Dev
mailing list