Re: Shared memory estimation for postgres - Mailing list pgsql-hackers

From leoaaryan
Subject Re: Shared memory estimation for postgres
Date
Msg-id 1478840375508-5929891.post@n3.nabble.com
Whole thread Raw
In response to Re: Shared memory estimation for postgres  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Shared memory estimation for postgres  (Craig Ringer <craig.ringer@2ndquadrant.com>)
List pgsql-hackers
Hi Michael,

Thanks for all the help and time. I have already developed a code where I
can exactly calculate the to be allocated shared memory value based on the
Postgres 9.5.4 code (i went through the code, found out the sizes and offset
of all the structures used in the memory calculation process and then use
the values from postgres.conf file to calculate the required value).

But the problem is if there is any change in the structures or anything is
newly added in the next major version, I need to look at the code again and
see what changed and then modify the hardcoded values of the structure size.
I'm trying to avoid that.

-leoaaryan



--
View this message in context:
http://postgresql.nabble.com/Shared-memory-estimation-for-postgres-tp5929868p5929891.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.



pgsql-hackers by date:

Previous
From: Haribabu Kommi
Date:
Subject: Re: Re: [BUGS] BUG #14350: VIEW with INSTEAD OF INSERT TRIGGER and COPY. Missing feature or working as designed.
Next
From: Ashutosh Sharma
Date:
Subject: Re: Microvacuum support for Hash Index