Re: Low performance on Windows problem

From: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
To: "Dalibor Sramek" <dali(at)insula(dot)cz>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Low performance on Windows problem
Date: 2005-09-13 15:05:00
Message-ID: 6EE64EF3AB31D5448D0007DD34EEB3417DD31A@Herge.rcsinc.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> Did you run the select remotely on a Windows server?

yes.

> Yes the server load is practically 0. Note the difference between
local
> and
> remote execution of the command. I think you are right about the
network
> problem possibility. But it is bound to PostgreSQL. MySQL on the same
> machine (and same database content) had no problem.
>
> So are there any known issues with PostgreSQL on Windows sending data
to
> remote hosts connected via ODBC?
> What should I do to find out more debug info?

1. turn on all your logging and make sure we looking at the right place
(planner stats, etc).
2. run explain analyze and compare timings (which returns only explain
output).
3. do a select max(patternxml) test.t_umlpattern and observe the time.
4. do a select substr(patternxml, 1, 10) from test.t_umlpattern and
observe the time.
5. do select array_accum(q::text) from generate_series(1,10000) q;

if array_accum errors out, do:

CREATE AGGREGATE public.array_accum (
sfunc = array_append,
basetype = anyelement,
stype = anyarray,
initcond = '{}'
);

and observe the time.

Merlin

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message evgeny gridasov 2005-09-13 15:26:38 Re: Performance considerations for very heavy INSERT
Previous Message Kevin Grittner 2005-09-13 15:01:13 Re: Low performance on Windows problem