Re: performance question (something to do w/ parameterized
От | Klint Gore |
---|---|
Тема | Re: performance question (something to do w/ parameterized |
Дата | |
Msg-id | 445FDDEB225.3451KG@129.180.47.120 обсуждение исходный текст |
Ответ на | Re: performance question (something to do w/ parameterized (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-performance |
On Mon, 08 May 2006 19:37:37 -0400, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Jeffrey Tenny <jeffrey.tenny@comcast.net> writes: > > The server was already running with random_page_cost=2 today for all tests, because of > > the mods I've made to improve other problem queries in the past (my settings noted below, and > > before in another msg on this topic). > > > So to nail this particular query something additional is required (even lower random_page_cost?). > > What's a good value for slower processors/memory and database in memory? > > If you're pretty sure the database will always be RAM-resident, then 1.0 > is the theoretically correct value. Would it be possible to craft a set of queries on specific data that could advise a reasonable value for random_page_cost? What sort of data distribution and query type would be heavily dependant on random_page_cost? i.e. randomness of the data, size of the data compared to physical memory. klint. +---------------------------------------+-----------------+ : Klint Gore : "Non rhyming : : EMail : kg@kgb.une.edu.au : slang - the : : Snail : A.B.R.I. : possibilities : : Mail University of New England : are useless" : : Armidale NSW 2351 Australia : L.J.J. : : Fax : +61 2 6772 5376 : : +---------------------------------------+-----------------+
В списке pgsql-performance по дате отправления: