pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Silke Trissl <trissl@informatik.hu-berlin.de>
To: pgsql-sql@postgresql.org
Subject: Indexing an array?
Date: Thu, 08 Sep 2005 18:13:44 +0200
Message-ID: <43206338.9020502@informatik.hu-berlin.de> (raw)

Hi,

I have a problem with arrays in Postgres. I want to create a really
large array, lets say 3 billion characters long.

As far I could read from the documentation - this should be possible.
But my question is, is there a kind of index on the array.

Lets say, I want to get element 2,675,345,328. Does Postgres have to
load the entire array into memory and then run through the 2.6 billion
characters to return the one I want or does Postgres have an index - as
where to find this element on disk?

Any advice is welcome and thanks in advance

	Silke Trißl

	




view thread (5+ messages)  latest in thread

Message-ID: <43206338.9020502@informatik.hu-berlin.de>
Permalink:  ../43206338.9020502@informatik.hu-berlin.de/
Also on:    postgresql.org/message-id/43206338.9020502@informatik.hu-berlin.de

 · 

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-sql@postgresql.org
  Cc: trissl@informatik.hu-berlin.de
  Subject: Re: Indexing an array?
  In-Reply-To: <43206338.9020502@informatik.hu-berlin.de>

* 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