Skip site navigation (1) Skip section navigation (2)

Re: [PERFORM] Concurrency issue under very heay loads

From: "ramasubramanian" <ramasubramanian(dot)g(at)renaissance-it(dot)com>
To: "Raji Sridar \(raji\)" <raji(at)cisco(dot)com>,<pgsql-general(at)postgresql(dot)org>,<pgsql-performance(at)postgresql(dot)org>
Subject: Re: [PERFORM] Concurrency issue under very heay loads
Date: 2009-07-16 05:19:17
Message-ID: 28022EE0B1F94CE59A0C270DE78D4571@ramasubramanian (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-performance
Hi,
Are you using automatic sequence increment in table?
  ----- Original Message ----- 
  From: Raji Sridar (raji) 
  To: pgsql-general(at)postgresql(dot)org ; pgsql-performance(at)postgresql(dot)org 
  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

In response to

pgsql-performance by date

Next:From: Marc CousinDate: 2009-07-16 05:20:18
Subject: Re: Very big insert/join performance problem (bacula)
Previous:From: Raji Sridar (raji)Date: 2009-07-16 04:59:41
Subject: Concurrency issue under very heay loads

pgsql-general by date

Next:From: GreenhornDate: 2009-07-16 05:30:53
Subject: Re: Concurrency issue under very heay loads
Previous:From: Raji Sridar (raji)Date: 2009-07-16 04:59:41
Subject: Concurrency issue under very heay loads

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group