I wrote a detailed description of what's going on regarding INSERT here: http://stackoverflow.com/questions/11769366/why-is-sqlalchemy-insert-with-sqlite-25-times-slower-than-using-sqlite3-directly/11769768#11769768
On Mar 11, 2013, at 4:56 PM, "Arkilic, Arman" <arki...@bnl.gov> wrote: > Hi, > I am working on a database design that I am required to use lots of tables > with one-to-many relationship. As a consequence of the design, I need to > insert thousands of entries. I tried session.add(), session.merge, however > none of them is fast enough for me to meet the requirements. I was wondering > if you can suggest me an efficient way through either ORM or ORM+Core. > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sqlalchemy+unsubscr...@googlegroups.com. > To post to this group, send email to sqlalchemy@googlegroups.com. > Visit this group at http://groups.google.com/group/sqlalchemy?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at http://groups.google.com/group/sqlalchemy?hl=en. For more options, visit https://groups.google.com/groups/opt_out.