Re: Multiple Indexing, performance impact

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Daniel Åkerud <zilch(at)home(dot)se>, PostgreSQL-general <pgsql-general(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Multiple Indexing, performance impact
Date: 2001-06-22 21:56:17
Message-ID: 200106222156.f5MLuHW26081@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Strange that even at 1024 performance still drops off at 7. Seems it
> > may be more than buffer thrashing.
>
> Yeah, if anything the knee in the curve seems to be worse at 1024
> buffers. Curious. Deserves more investigation, perhaps.
>
> This does remind me that I'd been thinking of suggesting that we
> raise the default -B to something more reasonable, maybe 1000 or so
> (yielding an 8-meg-plus shared memory area). This wouldn't prevent
> people from setting it small if they have a small SHMMAX, but it's
> probably time to stop letting that case drive our default setting.
> Since 64 is already too much to let 7.1 fit in SHMMAX = 1MB, I think
> the original rationale for using 64 is looking pretty broken anyway.
> Comments?

BSD/OS has a 4MB max but we document how to increase it by recompiling
the kernel. Maybe if we fail the startup we can tell them how to
decrease the buffers in postgresql.conf file. Seems quite clear.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2001-06-22 21:56:46 Re: web site suggestion
Previous Message Tom Lane 2001-06-22 21:52:49 Re: Multiple Indexing, performance impact

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-06-22 21:58:39 Re: Extracting metadata about attributes from catalog
Previous Message Tom Lane 2001-06-22 21:52:49 Re: Multiple Indexing, performance impact