Re: how to fix problem then when two queries run at the same time, it takes longer to complete then if run in sequence - Mailing list pgsql-performance

From Theo Kramer
Subject Re: how to fix problem then when two queries run at the same time, it takes longer to complete then if run in sequence
Date
Msg-id A2792D4E-0E8A-4162-9B9C-E086D8E630D2@flame.co.za
Whole thread Raw
In response to Re: how to fix problem then when two queries run at the same time, it takes longer to complete then if run in sequence  (Miernik <public@public.miernik.name>)
List pgsql-performance
On 31 Jul 2008, at 11:17AM, Miernik wrote:

> Theo Kramer <theo@flame.co.za> wrote:
>> file `which psql`
>> /usr/bin/psql: ELF 32-bit LSB executable, Intel 80386, version 1
>> (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9,
>> stripped
>
> miernik@tarnica:~$ file `which psql`
> /usr/bin/psql: symbolic link to `../share/postgresql-common/
> pg_wrapper'
> miernik@tarnica:~$ file /usr/share/postgresql-common/pg_wrapper
> /usr/share/postgresql-common/pg_wrapper: a /usr/bin/perl -w script
> text executable
> miernik@tarnica:~$


Hmm - looks like you are on a debian or debian derivative. However,
pg_wrapper is
not psql. It invokes psql which is written in C. Once psql is invoked
pg_wrapper drops away.
--
Regards
Theo


pgsql-performance by date:

Previous
From: Richard Huxton
Date:
Subject: Re: how to fix problem then when two queries run at the same time, it takes longer to complete then if run in sequence
Next
From: Craig Ringer
Date:
Subject: Re: how to fix problem then when two queries run at the same time, it takes longer to complete then if run in sequence