Re: [HACKERS] Script to compute randon page cost

2002-09-09 Thread Brett Schwarz
On Mon, 2002-09-09 at 01:16, Hans-Jürgen Schönig wrote: > Christopher Kings-Lynne wrote: > > >Assuming it's giving out correct information, there seems to be a lot of > >evidence for dropping the default random_page_cost to 1... > > > >Chris > > > > > Some time ago Joe Conway suggest a tool bas

Re: [HACKERS] Script to compute randon page cost

2002-09-09 Thread Tom Lane
"Christopher Kings-Lynne" <[EMAIL PROTECTED]> writes: > Assuming it's giving out correct information, there seems to be a lot of > evidence for dropping the default random_page_cost to 1... The fact that a lot of people are reporting numbers below 1 is sufficient evidence that the script is broke

Re: [HACKERS] Script to compute randon page cost

2002-09-09 Thread Hans-Jürgen Schönig
Christopher Kings-Lynne wrote: >Assuming it's giving out correct information, there seems to be a lot of >evidence for dropping the default random_page_cost to 1... > >Chris > > Some time ago Joe Conway suggest a tool based on a genetic algorithm which tries to find the best parameter settings

Re: [HACKERS] Script to compute randon page cost

2002-09-09 Thread Christopher Kings-Lynne
September 2002 4:06 PM > To: pgsql-hackers > Subject: [HACKERS] Script to compute randon page cost > > > Linux RedHat 7.3 (ext3, kernel 2.4.18-3) > 512MB Ram > AMD Athlon 500 > IBM 120GB IDE > > > [hs@backup hs]$ ./randcost.sh /data/db/ > Collecting si

[HACKERS] Script to compute randon page cost

2002-09-09 Thread Hans-Jürgen Schönig
Linux RedHat 7.3 (ext3, kernel 2.4.18-3) 512MB Ram AMD Athlon 500 IBM 120GB IDE [hs@backup hs]$ ./randcost.sh /data/db/ Collecting sizing information ... Running random access timing test ... Running sequential access timing test ... random_page_cost = 0.901961 [hs@backup hs]$ ./randcost.sh