Re: Avoid scanning on tape

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Manolo _ <mac_man2005(at)hotmail(dot)it>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Avoid scanning on tape
Date: 2008-02-11 19:27:57
Message-ID: 6389.1202758077@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Manolo _ <mac_man2005(at)hotmail(dot)it> writes:
> I would like to store the "address on tape" of the first and the last tuple for the run I'm currently creating on a specific tape.
> I need it in order to access directly to those two tuples right after terminating the creation of that specific run.

Why don't you just hold those two tuples in memory (ie, track the first
and latest-so-far tuples of each run)?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Manolo _ 2008-02-11 19:42:18 Re: Avoid scanning on tape
Previous Message Manolo _ 2008-02-11 18:40:32 Avoid scanning on tape