Обсуждение: Benchmarking PG
Hi to all. I'd like to benchmark PG. I'd like to compare sorting performances (time spent, #of disk accesses, # of run produced etc)of the present Replacement Selection (external sorting) algorithm and of a refinement I'm going to implement. I'm new on PG, I just had the idea of how to possibly get better that algorithm and choosed to test it on PG since it's anopen-source DBMS. I've been searching the web for a benchmark. I suppose TPC-H and Wisconsin could fit, but had problems when trying to usethem. Any suggestion on a "good benchmark"? Any tutorial on how to use them? Thanks for your time. Regards. Manolo. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
On Dec 11, 2007 4:06 AM, Manolo _ <mac_man2005@hotmail.it> wrote: > > Hi to all. > > I'd like to benchmark PG. I'd like to compare sorting performances (time spent, #of disk accesses, # of run produced etc)of the present Replacement Selection (external sorting) algorithm and of a refinement I'm going to implement. > > I'm new on PG, I just had the idea of how to possibly get better that algorithm and choosed to test it on PG since it'san open-source DBMS. > > I've been searching the web for a benchmark. I suppose TPC-H and Wisconsin could fit, but had problems when trying to usethem. > Any suggestion on a "good benchmark"? > Any tutorial on how to use them? > > Thanks for your time. > > Regards. > Manolo. > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today it's FREE! > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend > Well, there's pgbench. http://www.postgresql.org/docs/8.3/static/pgbench.html - Josh / eggyknap
Hi Josh! Thanks for your reply. Actually I forgot to mention PGBench, sorry. But I also forgot to mention I'm looking for an "impartial"... I mean "outer"tool to test PG. Any suggestion, please? Regards. ---------------------------------------- > Date: Tue, 11 Dec 2007 04:16:02 -0700 > From: eggyknap@gmail.com > To: mac_man2005@hotmail.it > Subject: Re: [PERFORM] Benchmarking PG > CC: pgsql-performance@postgresql.org > > On Dec 11, 2007 4:06 AM, Manolo _ wrote: >> >> Hi to all. >> >> I'd like to benchmark PG. I'd like to compare sorting performances (time spent, #of disk accesses, # of run produced etc)of the present Replacement Selection (external sorting) algorithm and of a refinement I'm going to implement. >> >> I'm new on PG, I just had the idea of how to possibly get better that algorithm and choosed to test it on PG since it'san open-source DBMS. >> >> I've been searching the web for a benchmark. I suppose TPC-H and Wisconsin could fit, but had problems when trying touse them. >> Any suggestion on a "good benchmark"? >> Any tutorial on how to use them? >> >> Thanks for your time. >> >> Regards. >> Manolo. >> _________________________________________________________________ >> Express yourself instantly with MSN Messenger! Download today it's FREE! >> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ >> ---------------------------(end of broadcast)--------------------------- >> TIP 6: explain analyze is your friend >> > > Well, there's pgbench. http://www.postgresql.org/docs/8.3/static/pgbench.html > > - Josh / eggyknap _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Manolo _ wrote: > I'd like to benchmark PG. I'd like to compare sorting performances (time spent, #of disk accesses, # of run produced etc)of the present Replacement Selection (external sorting) algorithm and of a refinement I'm going to implement. > > I'm new on PG, I just had the idea of how to possibly get better that algorithm and choosed to test it on PG since it'san open-source DBMS. > > I've been searching the web for a benchmark. I suppose TPC-H and Wisconsin could fit, but had problems when trying to usethem. > Any suggestion on a "good benchmark"? > Any tutorial on how to use them? If you want to compare sorting performance in particular, running a big query that needs a big sort will be much more useful than a generic DBMS benchmark like TPC-H. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com