Re: Memory usage per session

From: AMatveev(at)bitec(dot)ru
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>, "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Memory usage per session
Date: 2016-07-08 15:49:14
Message-ID: 3210185028.20160708184914@bitec.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<html><head><title>Re: [GENERAL] Memory usage per session</title>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
</head>
<body>
<span style=" font-family:'courier new'; font-size: 9pt;">Hi<br>
<br>
<br>
&gt;&gt; Oracle: about 5M<br>
&gt;&gt; postgreSql: about 160М<br>
<br>
<br>
<br>
&gt;The almost session memory is used for catalog caches. So you should to have big catalog and long living sessions.&nbsp;<br>
<br>
&gt;What do you do exactly?<br>
<br>
I've generate test code that &nbsp;emulates instruction tree size for our production code.<br>
This test shows:<br>
-What is the size of instruction tree for our typical &nbsp;BP &nbsp;<br>
&nbsp; it's greater than 300M for each session&nbsp;<br>
-How often do PostgreSql parse the text&nbsp;<br>
&nbsp; When postgres clean cache, so much often&nbsp;<br>
<br>
So Oracle is much better in this case.&nbsp;<br>
It's very difficult really estimate in such case, to buy Oracle or to by hardware.<br>
<br>
</body></html>

Attachment Content-Type Size
unknown_filename text/html 993 bytes

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Melvin Davidson 2016-07-08 16:26:06 Re: Memory usage per session
Previous Message AMatveev 2016-07-08 15:32:25 Re: Memory usage per session