Thread: Obtaining the size of temp tables in current sesion

Obtaining the size of temp tables in current sesion

From
Wells Oliver
Date:
Is this possible? I am tweaking some scripts and adjusting temp buffers and trying to pin down how much is being written to temporary tables..

--

Re: Obtaining the size of temp tables in current sesion

From
Licio Matos
Date:
Hi,

Have you tried this?




Em qui., 8 de jun. de 2023 às 14:32, Wells Oliver <wells.oliver@gmail.com> escreveu:
Is this possible? I am tweaking some scripts and adjusting temp buffers and trying to pin down how much is being written to temporary tables..


--
--
Licio Matos

RE: Obtaining the size of temp tables in current sesion

From
M Sarwar
Date:
Whether you are trying to estimate memory or the storage for the temp tables, I have not seen any estimates or views. 
I have just learned or estimated based on the actual usage as it moves forward.
Theoretically in some database flavors, there are estimates but in actuality practical usage is realistic number.
Good luck,
Sarwar




Sent from my Galaxy



-------- Original message --------
From: Wells Oliver <wells.oliver@gmail.com>
Date: 6/8/23 1:33 PM (GMT-05:00)
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Obtaining the size of temp tables in current sesion

Is this possible? I am tweaking some scripts and adjusting temp buffers and trying to pin down how much is being written to temporary tables..

--

Re: Obtaining the size of temp tables in current sesion

From
MichaelDBA
Date:
du -hs $PGDATA/base/pgsql_tmp


Wells Oliver wrote on 6/8/2023 1:32 PM:
Is this possible? I am tweaking some scripts and adjusting temp buffers and trying to pin down how much is being written to temporary tables..

--


Regards,

Michael Vitale

Michaeldba@sqlexec.com

703-600-9343 


Attachment