Re: Dump in-memory database to disk?

"Thomas Weholt" <[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
Thanks for your reply :-)

I was hoping to avoid all the inserts and use some way of writing all
the data directly to a database-file. I believe that would be faster,
but perhaps it's not possible so I'll have to use the method you
described.

On a side note; are there any speed enhancements gained by using
executemany vs. just execute?



On 9/23/06, Gerhard Häring <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Thomas Weholt wrote:
> > How can I dump a in-memory database using :memory to disk using pysqlite?
>
> I've described a sketch solution here:
> http://initd.org/tracker/pysqlite/wiki/FAQ
>
> - -- Gerhard
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFFW2rdIO4ozGCH14RAn16AJ0ZXEuQmlvC1/ccn9wDe+kgfYOb5QCgq2ST
> /fnLxUMRKruqteUUYznoPzk=
> =K3wU
> -----END PGP SIGNATURE-----
> _______________________________________________
> pysqlite mailing list
> pysqlite-IAPFreCvJWPBWskQ1e/[email protected]
> http://lists.initd.org/mailman/listinfo/pysqlite
>


-- 
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.