Re: High memory usage / performance issue ( temp tables ? )
От | gmb |
---|---|
Тема | Re: High memory usage / performance issue ( temp tables ? ) |
Дата | |
Msg-id | 1408339998171-5815175.post@n5.nabble.com обсуждение исходный текст |
Ответ на | Re: High memory usage / performance issue ( temp tables ? ) (Pavel Stehule <pavel.stehule@gmail.com>) |
Ответы |
Re: High memory usage / performance issue ( temp tables ? )
|
Список | pgsql-sql |
Thanks for the replies. I tried a couple of alternative methods over the weekend in the hope of improving performance, but unfortunately to no avail. One of these was to have the processing of the 500K xml files shared between multiple threads ( multiple connections ). In an attempt to "force" the dropping of the temp tables , each thread creates its own connection, run the function with XML payload and the disconnects. The impression I got was that the avg time per transaction still increases as the process progresses. My one concern with this method was locking , which I'm unfortunately quite unfamiliar with. Is it possible that locking could be a key problem when following this multi-thread approach ? Regards gmb -- View this message in context: http://postgresql.1045698.n5.nabble.com/High-memory-usage-performance-issue-temp-tables-tp5815108p5815175.html Sent from the PostgreSQL - sql mailing list archive at Nabble.com.
В списке pgsql-sql по дате отправления: