Re: BUG #2442: Problemas accessing DB in a multithread pross
В списке pgsql-bugs по дате отправления:
| От | Qingqing Zhou |
|---|---|
| Тема | Re: BUG #2442: Problemas accessing DB in a multithread pross |
| Дата | |
| Msg-id | e4gkh7$27rv$1@news.hub.org обсуждение исходный текст |
| Ответ на | BUG #2442: Problemas accessing DB in a multithread pross ("Carmen" <carmenlucia@globo.com>) |
| Список | pgsql-bugs |
""Carmen"" <carmenlucia@globo.com> wrote > > I have a Windows system accesing a FreeBSD PostGres 8.0. > I have a multihread process in Windows using a PostGres 8.0 FreeBSD. Each > thread of this process has a TCP communicaction with a remote client and it > updates a common BD of the global process. > TEach time two threads access a SQL API at the axact sametiem, the > process(not just the thread) is aborted. I resolved this problem defining a > critical section for each API SQL acess, but it has been causing a great > delay in my realtime program. > What SQL API exactly? I once rewrite Pgbench (the TPCB benchmark) as a multi-threaded version in Windows, there is no obvious problem (the patch can be found in pg-patches). Just to make sure that each thread use a different connection. Regards, Qingqing
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера