pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Merlin Moncure <mmoncure@gmail.com>
To: Merkel Marcel (CR/AEM4) <Marcel.Merkel@de.bosch.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Big array speed issues
Date: Wed, 21 Jun 2006 15:49:04 -0400
Message-ID: <b42b73150606211249w34e7b750t3cd1b7682c39497e@mail.gmail.com> (raw)
In-Reply-To: <EA04C6394A303A4CADF281DE22F232A41D4359@si-mail48.de.bosch.com>
References: <b42b73150606201956k7b366d1j5a420a423891be4e@mail.gmail.com>
	<EA04C6394A303A4CADF281DE22F232A41D4359@si-mail48.de.bosch.com>

> Not yet. I would first like to know what is the time consuming part and
> what is a work around. If you are sure individual columns for every
> entry of the array solve the issue I will joyfully implement it. The
> downsize of this approch is that the array dimensions are not always the
> same in my scenario. But I have a workaround in mind for this issue.

The first thing I would try would be to completely normalize te file, aka

create table data as
(
  id int,
  t timestamp,
  map_x int,
  map_y int,
  value float
);

and go with denormalized approach only when this doesn't work for some reason.

merlin



view thread (5+ messages)

Message-ID: <b42b73150606211249w34e7b750t3cd1b7682c39497e@mail.gmail.com>
Permalink:  ../b42b73150606211249w34e7b750t3cd1b7682c39497e@mail.gmail.com/
Also on:    postgresql.org/message-id/b42b73150606211249w34e7b750t3cd1b7682c39497e@mail.gmail.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: mmoncure@gmail.com, Marcel.Merkel@de.bosch.com
  Subject: Re: Big array speed issues
  In-Reply-To: <b42b73150606211249w34e7b750t3cd1b7682c39497e@mail.gmail.com>
  References: <b42b73150606201956k7b366d1j5a420a423891be4e@mail.gmail.com> <EA04C6394A303A4CADF281DE22F232A41D4359@si-mail48.de.bosch.com> <b42b73150606211249w34e7b750t3cd1b7682c39497e@mail.gmail.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