Re: [PERFORM] Concurrency issue under very heay loads

Поиск
Список
Период
Сортировка
От ramasubramanian
Тема Re: [PERFORM] Concurrency issue under very heay loads
Дата
Msg-id 28022EE0B1F94CE59A0C270DE78D4571@ramasubramanian
обсуждение исходный текст
Ответ на Concurrency issue under very heay loads  ("Raji Sridar (raji)" <raji@cisco.com>)
Список pgsql-general
Hi,
Are you using automatic sequence increment in table?
----- Original Message -----
Sent: Thursday, July 16, 2009 10:29 AM
Subject: [PERFORM] Concurrency issue under very heay loads

Hi,
 
We use a typical counter within a transaction to generate order sequence number and update the next sequence number. This is a simple next counter - nothing fancy about it.  When multiple clients are concurrently accessing this table and updating it, under extermely heavy loads in the system (stress testing), we find that the same order number is being generated for multiple clients. Could this be a bug? Is there a workaround? Please let me know.
 
Thanks
Raji

В списке pgsql-general по дате отправления:

Предыдущее
От: "Raji Sridar (raji)"
Дата:
Сообщение: Concurrency issue under very heay loads
Следующее
От: Greenhorn
Дата:
Сообщение: Re: Concurrency issue under very heay loads