Re: Time to insert
От | Renaud Thonnart |
---|---|
Тема | Re: Time to insert |
Дата | |
Msg-id | 3AF15178.DF5F10C0@amwdb.u-strasbg.fr обсуждение исходный текст |
Ответ на | Re: Time to insert (Einar Karttunen <ekarttun@cs.Helsinki.FI>) |
Ответы |
Re: Time to insert
View Queries to server |
Список | pgsql-general |
Thank you Einar and Colin for your help. I have some little qusetions more : - How do I interpret a VACUUM ANALYSE ? - I'm going to load version 7.1 : what is the difference between 7.1 and 7.1rc4 ? Renaud THONNART Einar Karttunen wrote: > On Thu, 3 May 2001, Renaud Thonnart wrote: > > > It is a little difficult to perform VACUUM analyse because I'm writing an > > application in C++ using libpq++. > > I Use version 7.0.3 > > I try COPY too but result was about the same. > > > int PgConnection::ExecCommandOk("VACUUM ANALYZE"); > > If you can upgrading to 7.1 it will probably help with the performance > problem. The copy is good only if you perform very many inserts the > same time. I use a cron job that performs the vacuuming so I don't > have to worry about it in client aps. If you have multiple inserts, > but not so many that you should use a copy, try wrapping them in a > single transaction. > > - Einar Karttunen
В списке pgsql-general по дате отправления: