Re: benefits of an Array Column? - Mailing list pgsql-novice

From János
Subject Re: benefits of an Array Column?
Date
Msg-id FC1CE866-C388-11D8-9E51-000A95ED10EE@yale.edu
Whole thread Raw
In response to Re: benefits of an Array Column?  (Joe Conway <mail@joeconway.com>)
List pgsql-novice
Is there not a speed advantage using arrays in the right place instead
of tables ?
János
On Jun 20, 2004, at 3:29 PM, Joe Conway wrote:

> Tom Lane wrote:
>> jarednevans@yahoo.com writes:
>>> I fail to see the scenarios where this would be an useful feature.
>>> How
>>> is this better than linking to another table that could serve the
>>> same
>>> purpose?
>
>> I think probably the rule of thumb is that arrays work when you have
>> data items that have an array-like structure, but that substructure
>> isn't interesting from the standpoint of the database structure.
>
> I agree, but would add that arrays are often very useful as
> non-persistent structures for processing data, e.g. in PL/pgSQL
> functions.
>
> Joe
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>
>
------------------------------------------
"The shortest route between two points is the middleman"  Ayn Rand


pgsql-novice by date:

Previous
From:
Date:
Subject: Re: libpq.so
Next
From: Christopher.Becker@apcc.com
Date:
Subject: formatting timestamptz for more precision?