Re: SSI non-serializable UPDATE performance
Simon Riggs <simon@2ndquadrant.com>
From: Simon Riggs <simon@2ndQuadrant.com>
To: Dan Ports <drkp@csail.mit.edu>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-04-27T17:26:52Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add fast paths for cases when no serializable transactions are running.
- 02e6a115cc61 9.1.0 cited
On Mon, Apr 25, 2011 at 4:33 AM, Dan Ports <drkp@csail.mit.edu> wrote: > On Sat, Apr 23, 2011 at 08:54:31AM -0500, Kevin Grittner wrote: >> Even though this didn't show any difference in Dan's performance >> tests, it seems like reasonable insurance against creating a new >> bottleneck in very high concurrency situations. >> >> Dan, do you have a patch for this, or should I create one? > > Sure, patch is attached. Reading the code, IIUC, we check for RW conflicts after each write but only if the writer is running a serializable transaction. Am I correct in thinking that there is zero impact of SSI if nobody is running a serializable transaction? -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services