Those aren't the same inserts as SqlAlchemy

The SQL you noted above (DECLARE / BEGIN/ END) is one packet of text that 
is sent over the wire to the database server and executed.  (a few hundred 
bytes)

A more appropriate comparison would be sending 1000 separate "INSERT INTO 
____" statements over the network connection. (nearly 100 k)
But you'd need send each line one-at-a-time, waiting for a response before 
you can send the next line. 

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to