Skip site navigation (1) Skip section navigation (2)

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

From: Theo Kramer <theo(at)flame(dot)co(dot)za>
To: pgsql-performance(at)postgresql(dot)org
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: 2008-07-31 09:52:12
Message-ID: A2792D4E-0E8A-4162-9B9C-E086D8E630D2@flame.co.za (view raw or flat)
Thread:
Lists: pgsql-performance
On 31 Jul 2008, at 11:17AM, Miernik wrote:

> Theo Kramer <theo(at)flame(dot)co(dot)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(at)tarnica:~$ file `which psql`
> /usr/bin/psql: symbolic link to `../share/postgresql-common/ 
> pg_wrapper'
> miernik(at)tarnica:~$ file /usr/share/postgresql-common/pg_wrapper
> /usr/share/postgresql-common/pg_wrapper: a /usr/bin/perl -w script  
> text executable
> miernik(at)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


In response to

pgsql-performance by date

Next:From: Craig RingerDate: 2008-07-31 10:24:32
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
Previous:From: Richard HuxtonDate: 2008-07-31 09:45:20
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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group