Re: [BUGS] server crash in very big transaction [postgresql 8.0beta1]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
Cc: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [BUGS] server crash in very big transaction [postgresql 8.0beta1]
Date: 2004-08-25 04:30:23
Message-ID: 15118.1093408223@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Gavin Sherry <swm(at)linuxworld(dot)com(dot)au> writes:
> As for extending the length of xl_len, what happens if someone now has
> 2^30 subtransaction IDs (as unlikely as that sounds)?

They'll have run out of RAM to store the subxact-related storage before
that (not to mention most likely have exhausted the CommandCounter
range, not to mention exhausted their patience --- it takes a good while
even to exercise the 2^16-subxact case). I'm satisfied if we can
approach that limit. Exceeding it will be a task for some other release.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-08-25 04:45:43 Re: Backward compatibility issue with 8.0b1
Previous Message Alvaro Herrera 2004-08-25 04:25:35 Re: [BUGS] server crash in very big transaction [postgresql

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-08-25 05:01:49 Re: [BUGS] server crash in very big transaction [postgresql
Previous Message Alvaro Herrera 2004-08-25 04:25:35 Re: [BUGS] server crash in very big transaction [postgresql