Re: post-freeze damage control

From: Alena Rybakina <lena(dot)ribackina(at)yandex(dot)ru>
To: Andrei Lepikhov <a(dot)lepikhov(at)postgrespro(dot)ru>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: post-freeze damage control
Date: 2024-06-18 11:56:34
Message-ID: 98403b80-11c2-4f90-a332-e2a01b709a1a@yandex.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Sorry, I've just noticed that the letter is shown incorrectly. I rewrote
it below.

As I understand it, you talked about speeding up SeqScan by faster
re-searching through the use of a hash table. At the same time, we have
to build it before that, when there was the initial lookup tuples, right?

I found this information in the ExecEvalHashedScalarArrayOp function,
and I assume you meant this function in your message, right?

But I couldn't find information, when you told about cycling a
long-expression on each incoming tuple. Could you ask me what function
you were talking about or maybe functionality? I saw ExecSeqScan
function, but I didn't see it.

On 18.06.2024 13:05, Alena Rybakina wrote:
>
> Hi! Unfortunately,Iwas notableto fullyunderstandyourmessage.Couldyou
> explainit to meplease?
>
> On 09.04.2024 16:20, Andrei Lepikhov wrote:
>>
>> Moreover, it helps even SeqScan: attempting to find a value in the
>> hashed array is much faster than cycling a long-expression on each
>> incoming tuple.
>
> AsIunderstandit,youtalkedaboutspeedingupSeqScan
> byfasterre-searchingthroughthe useof a hashtable. Atthe same time,
> wehaveto builditbeforethat,whenthere was the initiallookuptuples,right?
>
> Ifoundthisinformationinthe ExecEvalHashedScalarArrayOp
> function,andIassumeyoumeantthisfunctioninyourmessage.
>
> But I couldn't find information, when you told about cycling a
> long-expression on each incoming tuple. Could you ask me what function
> you were talking about or maybe functionality? I saw ExecSeqScan
> function, but I didn't see it.
>
> --
> Regards,
> Alena Rybakina
> Postgres Professional:http://www.postgrespro.com
> The Russian Postgres Company

--
Regards,
Alena Rybakina
Postgres Professional:http://www.postgrespro.com
The Russian Postgres Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashutosh Sharma 2024-06-18 12:09:41 Truncation of mapped catalogs (whether local or shared) leads to server crash
Previous Message Peter Eisentraut 2024-06-18 11:48:17 jsonapi type fixups