Re: [v9.1] sepgsql - userspace access vector cache
От | Robert Haas |
---|---|
Тема | Re: [v9.1] sepgsql - userspace access vector cache |
Дата | |
Msg-id | BANLkTim5bD=32_73ObiSCoQBUO21exJ7jw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [v9.1] sepgsql - userspace access vector cache (Kohei KaiGai <kaigai@kaigai.gr.jp>) |
Ответы |
Re: [v9.1] sepgsql - userspace access vector cache
|
Список | pgsql-hackers |
On Mon, Jun 13, 2011 at 7:51 AM, Kohei KaiGai <kaigai@kaigai.gr.jp> wrote: > For syscache, length of a typical security label in selinux is > less than 64 bytes. If we assume an entry consume 128bytes > including Oid pairs or pointers, its consumption is 128KBytes > per 1,000 of tables or others. > (Do we have a way to confirm syscache status?) I was thinking you might start a new session, SELECT pg_backendd_pid() to get the PID, use top/ps to get its memory usage; then do a bunch of stuff and see how much it's grown. The difference between how much it grows with and without the patch is the amount of additional memory the patch consumes. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: