X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 76B549FB1BD for ; Wed, 21 Jun 2006 16:49:20 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 40634-07 for ; Wed, 21 Jun 2006 16:49:06 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.205]) by postgresql.org (Postfix) with ESMTP id F29589FA65C for ; Wed, 21 Jun 2006 16:49:05 -0300 (ADT) Received: by nz-out-0102.google.com with SMTP id n1so227560nzf for ; Wed, 21 Jun 2006 12:49:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JqNNvbIHvrTLPYPpe53BOKE5k7GvSwwc7tlFuSUG/8iRNPty6rSlR5ig8a+pgvcWdmrKK6bOuvf4EsC90jhZYs5/qjNDNPZ1/MNfUC5s5noaO9ZJgcZWmuAF/6vHpD4OoD4FltWOKn9AfB+7hclRTrnEqLErmTXsn7uGFFg9Xm8= Received: by 10.65.210.8 with SMTP id m8mr1558478qbq; Wed, 21 Jun 2006 12:49:04 -0700 (PDT) Received: by 10.65.139.14 with HTTP; Wed, 21 Jun 2006 12:49:04 -0700 (PDT) Message-ID: Date: Wed, 21 Jun 2006 15:49:04 -0400 From: "Merlin Moncure" To: "Merkel Marcel (CR/AEM4)" Subject: Re: Big array speed issues Cc: pgsql-performance@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/419 X-Sequence-Number: 19776 > 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