Re: Automagic tuning
От | Jim C. Nasby |
---|---|
Тема | Re: Automagic tuning |
Дата | |
Msg-id | 20050201045211.GB32356@decibel.org обсуждение исходный текст |
Ответ на | Re: Automagic tuning (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Automagic tuning
|
Список | pgsql-performance |
On Mon, Jan 31, 2005 at 03:26:12PM -0500, Tom Lane wrote: > Josh Berkus <josh@agliodbs.com> writes: > >> I would like something that really measures values like random_page_cost > >> or cpu_tuple_cost that are hardware dependent. > >> > >> I assume such thing does not exist? > > > Nope. You gotta whip out your calculator and run some queries. > > Preferably a whole lot of queries. All the measurement techniques I can > think of are going to have a great deal of noise, so you shouldn't > twiddle these cost settings based on just a few examples. Are there any examples of how you can take numbers from pg_stats_* or explain analize and turn them into configuration settings (such and random page cost)? -- Jim C. Nasby, Database Consultant decibel@decibel.org Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?"
В списке pgsql-performance по дате отправления: