Re: [HACKERS] Idea for nested transactions / savepoints

2001-09-06 Thread Bruce Momjian
Added to TODO.detail/transactions as a nested transaction idea. > > Bruce Momjian <[EMAIL PROTECTED]> writes: > > >> The complaints about WAL size amount to "we don't have the disk space > > >> to keep track of this, for long-running transactions". If it doesn't > > >> fit on disk, how likely i

Re: [HACKERS] Idea for nested transactions / savepoints

2001-08-05 Thread Bruce Momjian
> > Bruce Momjian <[EMAIL PROTECTED]> writes: > > >> The complaints about WAL size amount to "we don't have the disk space > > >> to keep track of this, for long-running transactions". If it doesn't > > >> fit on disk, how likely is it that it will fit in memory? > > > > > Sure, we can put on th

Re: [HACKERS] Idea for nested transactions / savepoints

2001-08-05 Thread Hannu Krosing
Tom Lane wrote: > > Bruce Momjian <[EMAIL PROTECTED]> writes: > >> The complaints about WAL size amount to "we don't have the disk space > >> to keep track of this, for long-running transactions". If it doesn't > >> fit on disk, how likely is it that it will fit in memory? > > > Sure, we can pu

Re: [HACKERS] Idea for nested transactions / savepoints

2001-08-05 Thread Bruce Momjian
> Bruce Momjian <[EMAIL PROTECTED]> writes: > >> The complaints about WAL size amount to "we don't have the disk space > >> to keep track of this, for long-running transactions". If it doesn't > >> fit on disk, how likely is it that it will fit in memory? > > > Sure, we can put on the disk if th

Re: [HACKERS] Idea for nested transactions / savepoints

2001-08-05 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: >> The complaints about WAL size amount to "we don't have the disk space >> to keep track of this, for long-running transactions". If it doesn't >> fit on disk, how likely is it that it will fit in memory? > Sure, we can put on the disk if that is better

Re: [HACKERS] Idea for nested transactions / savepoints

2001-08-05 Thread Bruce Momjian
> Bruce Momjian <[EMAIL PROTECTED]> writes: > > My idea is that we not put UNDO information into WAL but keep a List of > > rel ids / tuple ids in the memory of each backend and do the undo inside > > the backend. > > The complaints about WAL size amount to "we don't have the disk space > to keep

Re: [HACKERS] Idea for nested transactions / savepoints

2001-08-05 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > My idea is that we not put UNDO information into WAL but keep a List of > rel ids / tuple ids in the memory of each backend and do the undo inside > the backend. The complaints about WAL size amount to "we don't have the disk space to keep track of this

[HACKERS] Idea for nested transactions / savepoints

2001-08-04 Thread Bruce Momjian
I have been thinking about how to implement nested transactions / savepoints. As you may remember, Vadim wants to add UNDO to WAL and thus enable this feature. Some objected because of the added WAL complexity and the problem with long running transactions requiring lots of WAL segments. I have