Skip site navigation (1) Skip section navigation (2)

Re: Is There Any Way ....

From: Richard Huxton <dev(at)archonet(dot)com>
To: Lane Van Ingen <lvaningen(at)esncc(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Is There Any Way ....
Date: 2005-09-30 07:14:38
Message-ID: 433CE5DE.8090004@archonet.com (view raw or flat)
Thread:
Lists: pgsql-performance
Lane Van Ingen wrote:
>   (2) Set up user variables in memory that are persistent across all
> sessions, for
>       as long as the database is up and running ?

You could probably write "C" functions (or possibly Perl) to store data 
in shared memory. Of course you'd have to deal with concurrency issues 
yourself.

Storing the values in a table and having cached access to them during 
the session is probably your best bet.

--
   Richard Huxton
   Archonet Ltd

In response to

pgsql-performance by date

Next:From: xchrisDate: 2005-09-30 09:16:21
Subject: Lists or external TABLE?
Previous:From: Magnus HaganderDate: 2005-09-30 05:58:23
Subject: Re: Comparative performance

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group