Re: How to install latest stable postgresql on Debian

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Andrus <kobruleht2(at)hot(dot)ee>
Cc: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: How to install latest stable postgresql on Debian
Date: 2011-11-19 21:48:11
Message-ID: CAOR=d=3zVq5zufrh6R+WpZxRaSQ5WuBGEvfxOneEm-BTtKRFFg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2011/11/19 Andrus <kobruleht2(at)hot(dot)ee>:
>> From here(look familiar):
>> http://wiki.postgresql.org/wiki/Performance_Optimization
>> http://linuxfinances.info/info/quickstart.html
>> http://www.westnet.com/~gsmith/content/postgresql/pg-5minute.htm
>
> Thank you.
> I tried
>
> # sysctl -w kernel.shmmax=419430400
> kernel.shmmax = 419430400
> # sysctl -n kernel.shmmax
> 419430400
>
> according to
> http://www.postgresql.org/docs/current/static/kernel-resources.html
> this value should be written to /etc/sysctl.conf
>
> I opened /etc/sysctl.conf but it does not contain this value.
>
> How to make this setting persistent ?

Just add them to the bottom then run

sudo sysctl -p

to make them take effect.

btw, the standard way to control rc stuff is update-rc.d Odd name but
it's pretty easy, just look up the man page.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Phoenix Kiula 2011-11-19 22:34:54 Re: Huge number of INSERTs
Previous Message Tomas Vondra 2011-11-19 20:25:07 Re: Huge number of INSERTs