Re: slow INSERTS :((
От | Martijn van Oosterhout |
---|---|
Тема | Re: slow INSERTS :(( |
Дата | |
Msg-id | 20020617002231.B27234@svana.org обсуждение исходный текст |
Ответ на | slow INSERTS :(( (Varun Kacholia <varunk@cse.iitb.ac.in>) |
Список | pgsql-general |
On Sun, Jun 16, 2002 at 07:21:12PM +0530, Varun Kacholia wrote: > hi , > I have migrated from MySql to PostgreSQL and i find that inserts are > extremly slow.The things which used to be done in 10-15 mins in mysql > take 1.5 hrs in pgsql(though i expected double or triple the time but > not 8 times...omg). > I am using pgsql-7.1 with Redhat linux 7.2 > Tips to increase and improve performace would be appriciated. Are you using transactions? Putting it all in one transaction should speed it up considerably. begin; inserts... commit; Otherwise, shows us the explain for the query. -- Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/ > There are 10 kinds of people in the world, those that can do binary > arithmetic and those that can't.
В списке pgsql-general по дате отправления: