Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Re: Persistent ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 15219 of 17602
Post > Topic >>

Re: Persistent objects within PG or the availability of

by jd@[EMAIL PROTECTED] ("Joshua D. Drake") Apr 8, 2008 at 10:27 AM

On Tue, 8 Apr 2008 11:19:57 -0600
Keaton Adams <kadams@[EMAIL PROTECTED]
> wrote:

> there a way for an object (variable/table/etc) to remain persistent
> in memory that is shared among multiple client sessions?  If not, an
> alternative we thought of is to use a small table within the DB in
> conjunction with a function to keep track of the last set of data.
> The question we have, though, is the rate at which the table is
> updated (possibly many times per second) and the amount of WAL data
> that is generated by this operation.

You could use pg_memcache.

> 
> Is there such as thing as a non-logged table or a non-logged database
> in PG?

No but if the updates taking place are on columns that are not indexed
(and you are running 8.3) then HOT will kick in and the load is
significantly reduced.

E.g.; CREATE TABLE foo (id serial pk, bar text);

UPDATE foo SET bar = 'baz';

Will not create a dead row and thus greatly reduces overall load and
maintenance requirements.

SIncerely,

Joshua D. Drake


-- 
The PostgreSQL Company since 1997: http://www.commandprompt.com/

PostgreSQL Community Conference: http://www.postgresqlconference.org/
United States PostgreSQL Association: http://www.postgresql.us/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate



-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 1 Posts in Topic:
Re: Persistent objects within PG or the availability of
jd@[EMAIL PROTECTED] (&q  2008-04-08 10:27:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 19:36:08 CST 2008.