Re: insert performance for win32

Lists: pgsql-performance
From: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: insert performance for win32
Date: 2005-11-04 13:49:22
Message-ID: 6EE64EF3AB31D5448D0007DD34EEB3417DD7BF@Herge.rcsinc.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-performance

> You mean something like the attached?
not quite: attached is a file to generate test.
to do it:

psql yadda
\i timeit.sql
\t
\o dump.sql
select make_dump(50000, false);
\q
cat dump.sql | psql -q yadda

and see what pops out. I had to do it that way because redirecting psql
to dump file caused psql sit forever waiting on more with cpu load...

Merlin

Attachment Content-Type Size
timeit.sql application/octet-stream 1.6 KB

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
Cc: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>, pgsql-performance(at)postgresql(dot)org
Subject: Re: insert performance for win32
Date: 2005-11-04 14:59:20
Message-ID: 13482.1131116360@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-performance

"Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com> writes:
>> You mean something like the attached?

> not quite: attached is a file to generate test.

> cat dump.sql | psql -q yadda

Ah. Does your psql have readline support? if so, does adding -n to
that command change anything?

regards, tom lane