| От | Tom Lane |
|---|---|
| Тема | Re: Speeding up operations |
| Дата | |
| Msg-id | 10947.1060806363@sss.pgh.pa.us обсуждение |
| Ответ на | Speeding up operations ("Rahul_Iyer" <rahul_iyer@persistent.co.in>) |
| Список | pgsql-hackers |
"Rahul_Iyer" <rahul_iyer@persistent.co.in> writes: > im on a project using Postgres. The project involves, at times, upto > 5,000,000 inserts. I was checking the performance of Postgres for 5M inserts > into a 2 column table (one col=integer, 2nd col=character). I used the > Prepare... and execute method, so i basically had 5M execute statements and > 1 prepare statement. Postgres took 144min for this... is there any way to > improve this performance? COPY, perhaps. Have you read http://www.postgresql.org/docs/view.php?version=7.3&idoc=0&file=populate.html regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера