Search Postgresql Archives

Re: maintenance_work_mem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On Nov 19, 2020, at 3:05 AM, Atul Kumar <akumar14871@xxxxxxxxx> wrote:
> 
> Hi,
> 
> I have below queries:
> 
> 1. How do i check the maintenance_work_mem for current session, before
> setting some other value for this parameter for the same session.
> 
> 2. and How do I set maintenance_work_mem for a session only, and how
> will it be "rollback" once my maintainance work is done, Do I need to
> execute any command for that or just closing the session will rollback
> what I set for the session.

In addition to Andreas’ helpful references to SHOW and SET, there’s also pg_settings --

https://www.postgresql.org/docs/13/view-pg-settings.html


Cheers
Philip





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux