Re: Input and Output data traffic
| От | Daniele Varrazzo |
|---|---|
| Тема | Re: Input and Output data traffic |
| Дата | |
| Msg-id | BANLkTimXAbLBuHfpSGv0yFCJ5XGReW9wFg@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: Input and Output data traffic (Israel Ben Guilherme Fonseca <israel.bgf@gmail.com>) |
| Ответы |
Re: Input and Output data traffic
|
| Список | psycopg |
On Wed, May 11, 2011 at 3:38 PM, Israel Ben Guilherme Fonseca <israel.bgf@gmail.com> wrote: > I'm explicitly committing the insert instruction at every iteration, so I > don't think that's possible to cache all the inserts in one statement like > you did. In this case, it may be due to the "set isolation level" issued together with the "begin" by psycopg. Because you send a very short statement between BEGIN/COMMIT pair the code for the set could be a relevant part of the communication. The overhead would be less relevant with bigger commands per transaction of course. This is a point I just wanted to talk about on the ML: will try to write this evening/in the next few days. -- Daniele
В списке psycopg по дате отправления: