Skip site navigation (1) Skip section navigation (2)

Array performance

From: Ruben Rubio Rey <ruben(at)rentalia(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Array performance
Date: 2006-03-24 12:41:50
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance

I have a select like

SELECT (array[20]+array[21]+ ... +array[50]+array[51]) as total
FROM table
(array[20]+array[21]+ ... +array[50]+array[51])<5000
AND array[20]<>0
AND array[21]<>0
AND array[50]<>0
AND array[51])<>0

Any ideas to make this query faster?

In response to


pgsql-performance by date

Next:From: Svenne KrapDate: 2006-03-24 12:49:17
Subject: Performance problems with multiple layers of functions
Previous:From: Alvaro HerreraDate: 2006-03-24 12:39:02
Subject: Re: WAL logging of SELECT ... INTO command

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group