pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: yoav x <yoav112003@yahoo.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: sql-bench
Date: Wed, 13 Sep 2006 10:03:12 -0400
Message-ID: <B12A7F32-A989-40BE-973A-BC73F3E7A975@fastcrypt.com> (raw)
In-Reply-To: <20060913125013.3321.qmail@web35806.mail.mud.yahoo.com>
References: <20060913125013.3321.qmail@web35806.mail.mud.yahoo.com>

First of all you are going to have to show use what these queries are  
exactly, what the machine is you are running on (CPU, memory, and  
disk) , and how you have tuned it.

slow is a relative term.. we need information to determine what  
"slow" means.

Dave
On 13-Sep-06, at 8:50 AM, yoav x wrote:

> So why are these queries so slow in PG?
>
>
> --- Dave Cramer <pg@fastcrypt.com> wrote:
>
>> All of the tuning parameters would affect all queries
>>
>> shared buffers, wal buffers, effective cache, to name a few
>>
>> --dc--
>> On 13-Sep-06, at 8:24 AM, yoav x wrote:
>>
>>> Hi
>>>
>>> I am trying to run sql-bench against PostgreSQL 8.1.4 on Linux.
>>> Some of the insert tests seems to be ver slow
>>>
>>> For example: select_join_in
>>>
>>> Are there any tuning parameters that can be changed to speed these
>>> queries? Or are these queries
>>> especially tuned to show MySQL's stgrenths?
>>>
>>>
>>>
>>>
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Tired of spam?  Yahoo! Mail has the best spam protection around
>>> http://mail.yahoo.com
>>>
>>> ---------------------------(end of
>>> broadcast)---------------------------
>>> TIP 9: In versions below 8.0, the planner will ignore your desire to
>>>        choose an index scan if your joining column's datatypes do  
>>> not
>>>        match
>>>
>>
>>
>> ---------------------------(end of  
>> broadcast)---------------------------
>> TIP 1: if posting/reading through Usenet, please send an appropriate
>>        subscribe-nomail command to majordomo@postgresql.org so  
>> that your
>>        message can get through to the mailing list cleanly
>>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>




view thread (16+ messages)  latest in thread

Message-ID: <B12A7F32-A989-40BE-973A-BC73F3E7A975@fastcrypt.com>
Permalink:  ../B12A7F32-A989-40BE-973A-BC73F3E7A975@fastcrypt.com/
Also on:    postgresql.org/message-id/B12A7F32-A989-40BE-973A-BC73F3E7A975@fastcrypt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: pg@fastcrypt.com, yoav112003@yahoo.com
  Subject: Re: sql-bench
  In-Reply-To: <B12A7F32-A989-40BE-973A-BC73F3E7A975@fastcrypt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox