public inbox for [email protected]  
help / color / mirror / Atom feed
From: Bo Guo <[email protected]>
To: Pgsql-admin <[email protected]>
To: pgsql-admin <[email protected]>
Subject: When indexing is needed for a temp table
Date: Fri, 25 Apr 2025 09:43:38 -0700
Message-ID: <CADHFRch76wc6ewguEteMAiwGiCp_Grbk1pueqAb3pa92Cc2dmQ@mail.gmail.com> (raw)
In-Reply-To: <CAB5fag6q2OyOV0uJA8nahs5WGavEw-i1fgjYODGPKYexDQToSA@mail.gmail.com>
References: <CAB5fag6q2OyOV0uJA8nahs5WGavEw-i1fgjYODGPKYexDQToSA@mail.gmail.com>

Hello, everyone!

When creating a temporary table for additional sql operations in a stored
function, should I worry about building indexes on the temp table to
increase performance when the temp table's row count exceeds a certain
threshold?  If so, is there a rule of thumb for the row count threshold?

Thanks

*Bo *

>


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: When indexing is needed for a temp table
  In-Reply-To: <CADHFRch76wc6ewguEteMAiwGiCp_Grbk1pueqAb3pa92Cc2dmQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox