Re: PostgreSQL vs. MySQL - Mailing list pgsql-performance

From Vivek Khera
Subject Re: PostgreSQL vs. MySQL
Date
Msg-id x7ekxno62c.fsf@yertle.int.kciLink.com
Whole thread Raw
In response to Re: PostgreSQL vs. MySQL  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-performance
>>>>> "JB" == Josh Berkus <josh@agliodbs.com> writes:

JB> Hmmm ... both, I think.   The Install Docs should have:

JB> "Here are the top # things you will want to adjust in your PostgreSQL.conf:
JB> 1) Shared_buffers <link>
JB> 2) Sort_mem <link>
JB> 3) effective_cache_size <link>
JB> 4) random_page_cost <link>
JB> 5) Fsync <link>
JB> etc."

Add:

max_fsm_relations (perhaps it is ok with current default)
max_fsm_pages

I don't think you really want to diddle with fsync in the name of
speed at the cost of safety.

and possibly:

checkpoint_segments (if you do a lot of writes to the DB for extended
                    durations of time)  With 7.4 it warns you in the
                    logs if you should increase this.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

pgsql-performance by date:

Previous
From: Dror Matalon
Date:
Subject: Re: Compare rows
Next
From: Neil Conway
Date:
Subject: Re: Presentation