Re: [GENERAL] Optimizations for busy DB??

From: Brian <signal(at)shreve(dot)net>
To: "Brett W(dot) McCoy" <bmccoy(at)lan2wan(dot)com>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Optimizations for busy DB??
Date: 1999-05-13 15:13:40
Message-ID: Pine.LNX.4.10.9905131012560.9075-100000@mercury.shreve.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 13 May 1999, Brett W. McCoy wrote:

> On Thu, 13 May 1999, Brian wrote:
>
> > ok, so specifying -B etc to the postmaster itself has no advantages? I
> > mean I guess you wouldn't want/need to specify those optimizations to both
> > postgres backend AND the postmaster?
>
> Actually, you're right -- you only want to pass -B to the backend if you
> are running it standalone, otherwise use the postmaster option. Note,
> though that passing -S to the postmaster is a different option than
> passing -S to the backend (postmaster recognizes -S as 'silent mode'
> whereas the backend recognizes -S as the sort allocation). Check the man
> pages for the specifics. Just remember that the postmaster has its own
> options while postgres (the actual backend) has its own options distinct
> from the postmaster.

Would something like this be appropriate?

/usr/bin/postmaster -B 256 -i -S -D/var/lib/pgsql -o -F -B 256 -S 1024

or should -B just be in their once? in the postmaster setting?

>
> > I am assuming I will have to export all my data and reimport into 6.4.2,
> > which is a task for sure............I will make this jump soon when I have
> > some downtime.
>
> Good project for a long weekend!
>
> Brett W. McCoy
> http://www.lan2wan.com/~bmccoy
> -----------------------------------------------------------------------
> "If the King's English was good enough for Jesus, it's good enough for
> me!"
> -- "Ma" Ferguson, Governor of Texas (circa 1920)
>

-----------------------------------------------------
Brian Feeny (BF304) signal(at)shreve(dot)net
318-222-2638 x 109 http://www.shreve.net/~signal
Network Administrator ShreveNet Inc. (ASN 11881)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff MacDonald 1999-05-13 15:26:41 Re: [GENERAL] Optimizations for busy DB??
Previous Message Brian 1999-05-13 15:10:28 Re: [GENERAL] Optimizations for busy DB??