From: | John Scalia <jayknowsunix(at)gmail(dot)com> |
---|---|
To: | leoaaryan <leoaaryan(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Shared memory estimation for postgres |
Date: | 2016-11-10 23:11:55 |
Message-ID: | 85F8B8C1-CF7E-4D06-B9CE-991A0AC82F13@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Do a web search on setting shared memory the hard way, and I think you'll see what you really need to do.
--
Jay
Sent from my iPad
> On Nov 10, 2016, at 5:57 PM, leoaaryan <leoaaryan(at)gmail(dot)com> wrote:
>
> I am a newbie to databases and Postgres and I am trying to analyze the shared
> memory being calculated and allocated by Postgres in the method
> "CreateSharedMemoryAndSemaphores" for different major versions for different
> postgres.conf file
>
> My idea was to create a utility in Postgres and calll out the methods like
> BufferShmemSize(), LockShmemSize() etc being used in the
> CreateSharedMemoryAndSemaphores() to find the value.
>
> Till now what I have done: I have created a new utility and am trying to
> link the src/backend code to it but I'm not able to get it working
> correctly.
>
> Is there any other interest idea / way where I use a postgres.conf file to
> calculate the above mentioned shared memory value ?
>
> I have found this discussion thread from the past but haven't made much
> sense to me in terms of where to look.
> Old discussion thread:
> http://postgresql.nabble.com/postgresql-conf-basic-analysis-tool-td1948070.html
>
>
>
> --
> View this message in context: http://postgresql.nabble.com/Shared-memory-estimation-for-postgres-tp5929868.html
> Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
From | Date | Subject | |
---|---|---|---|
Next Message | Corey Huinker | 2016-11-10 23:19:04 | Re: Do we need use more meaningful variables to replace 0 in catalog head files? |
Previous Message | Tom Lane | 2016-11-10 23:04:34 | Re: Something is broken about connection startup |