pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mario Weilguni <mweilguni@sime.com>
To: Kevin Kempter <kevink@consistentstate.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: performance tuning queries
Date: Thu, 27 Nov 2008 11:09:28 +0100
Message-ID: <492E71D8.4060303@sime.com> (raw)
In-Reply-To: <200811262121.05463.kevin@kevinkempterllc.com>
References: <200811262121.05463.kevin@kevinkempterllc.com>

Kevin Kempter schrieb:
> Hi All;
>
> I'm looking for tips / ideas per performance tuning some specific queries. 
> These are generally large tables on a highly active OLTP system 
> (100,000 - 200,000 plus queries per day)
>
> First off, any thoughts per tuning inserts into large tables. I have a large 
> table with an insert like this:
>
> insert into public.bigtab1 (text_col1, text_col2, id) values ...
>
>                 QUERY PLAN                
> ------------------------------------------
>  Result  (cost=0.00..0.01 rows=1 width=0)
> (1 row)
>
> The query cost is low but this is one of the slowest statements per pgfouine
>   
Do you insert multiple values in one transaction, or one transaction per 
insert?




view thread (4+ messages)

Message-ID: <492E71D8.4060303@sime.com>
Permalink:  ../492E71D8.4060303@sime.com/
Also on:    postgresql.org/message-id/492E71D8.4060303@sime.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: mweilguni@sime.com, kevink@consistentstate.com
  Subject: Re: performance tuning queries
  In-Reply-To: <492E71D8.4060303@sime.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