Re: Memory usage per session - Mailing list pgsql-general

From John R Pierce
Subject Re: Memory usage per session
Date
Msg-id 1d38e27b-6e89-6fb2-2e15-306fa9fa217a@hogranch.com
Whole thread Raw
In response to Re: Memory usage per session  (Karl Czajkowski <karlcz@isi.edu>)
List pgsql-general
On 7/8/2016 12:00 PM, Karl Czajkowski wrote:
> 3. Rewrite or refactor such complex stored procedures in a different
>     programming language such as C or Python, so your PL/pgsql stored
>     procedures remain small glue around libraries of code.  Postgres
>     makes it very trivial to extend the system with such procedural
>     libraries.

4.   move said business logic to app servers to unload the database
server from doing so much compute, and get better all around
performance.   use plpgsql functions for inner functions only where
there are significant performance gains.    its easy to cluster app
servers, its not so easy to parallelize database servers.



--
john r pierce, recycling bits in santa cruz



pgsql-general by date:

Previous
From: Karl Czajkowski
Date:
Subject: Re: Memory usage per session
Next
From: hamann.w@t-online.de
Date:
Subject: Running query without trigger?