Re: PostgreSQL vs. MySQL
От | Vivek Khera |
---|---|
Тема | Re: PostgreSQL vs. MySQL |
Дата | |
Msg-id | x7ekxno62c.fsf@yertle.int.kciLink.com обсуждение исходный текст |
Ответ на | Re: PostgreSQL vs. MySQL (Bruce Momjian <pgman@candle.pha.pa.us>) |
Список | 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 по дате отправления: