pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ulrich Wisser <ulrich.wisser@relevanttraffic.se>
To: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
Cc: Pgsql-Performance <pgsql-performance@postgresql.org>
Subject: Re: How to determine cause of performance problem?
Date: Fri, 23 Sep 2005 11:31:25 +0200
Message-ID: <4333CB6D.1010208@relevanttraffic.se> (raw)
In-Reply-To: <1127458167.2475.105.camel@Panoramix>
References: <1127458167.2475.105.camel@Panoramix>

Hi Joost,

why do you convert programmatically? I would do something like

create sequence s_objectid;

insert into 
prototype.orders(objectid,ordernumber,orderdate,customernumber)
select next_val('s_objectid'),ordernummer, orderdatum, klantnummer from
odbc.orders


Sounds a lot faster to me.


/Ulrich



view thread (14+ messages)  latest in thread

Message-ID: <4333CB6D.1010208@relevanttraffic.se>
Permalink:  ../4333CB6D.1010208@relevanttraffic.se/
Also on:    postgresql.org/message-id/4333CB6D.1010208@relevanttraffic.se

 · 

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: ulrich.wisser@relevanttraffic.se, J.Kraaijeveld@Askesis.nl
  Subject: Re: How to determine cause of performance problem?
  In-Reply-To: <4333CB6D.1010208@relevanttraffic.se>

* 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