pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hernan J. Gonzalez <leonbloy@yahoo.com>
To: pgsql-admin@postgreSQL.org
Subject: Re: [ADMIN] request for tuning suggestions from PC Week Labs
Date: Mon, 31 Jan 2000 13:45:01 -0800 (PST)
Message-ID: <20000131214501.14981.qmail@web216.mail.yahoo.com> (raw)

My init script includes this line
(in red hat 6.1):

echo "100000000" > /proc/sys/kernel/shmmax  

to increase the available shared memory,
and afterwards:

/sql/bin/postmaster -B5892 -D/sql/data -o "-e -B5892
-S4000 -F" -i >> /sql/log/sql.log


> When fsync is off, how is
> data loss possible?
> 

I have turned fsync off, since I feel that
the perfomance gain is more important, for 
me, than the risk of loosing data; indeed, my 
database got corrupted,
once or twice, but dropping and recreating all the
indexes was enough... and I backup daily.

Another suggestion I found useful,
to improve disk speed (in linux) is to
increase the default block length 
(4 kb instead of 1 kb); but I don't know
if that matters with raid 5...

Regards

Hernan Gonzalez
Buenos Aires, Argentina
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com



view thread (3+ messages)

Message-ID: <20000131214501.14981.qmail@web216.mail.yahoo.com>
Permalink:  ../20000131214501.14981.qmail@web216.mail.yahoo.com/
Also on:    postgresql.org/message-id/20000131214501.14981.qmail@web216.mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: leonbloy@yahoo.com
  Subject: Re: [ADMIN] request for tuning suggestions from PC Week Labs
  In-Reply-To: <20000131214501.14981.qmail@web216.mail.yahoo.com>
  References: <20000131214501.14981.qmail@web216.mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox